:root {
    /* Paleta It�lia */
    --it-green: #009246;
    --it-white: #ffffff;
    --it-red: #CE2B37;

    /* Base */
    --bg: #f6efee;
    --panel: #ffffff;
    --text: #241a16;
    --muted: #6f615b;
    --divider: #efe7df;
    --brand: var(--it-green);
    --brand-2: var(--it-red);
    --brand-grad: linear-gradient(90deg, var(--it-green), #efe4df, var(--it-red));
    --brand-grad-soft: linear-gradient(90deg, rgba(0, 146, 70, .15), rgba(255, 255, 255, 0), rgba(206, 43, 55, .15));
    --shadow: 0 2px 12px rgba(0, 0, 0, .06);

    --viewer-bg: rgba(0, 0, 0, .68);
    --ring-size: 3.5px;
    /* espessura do anel do bot�o */
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

a {
    color: inherit;
    text-decoration: none
}

/* ===== Topbar ===== */
.topbar {
    display: flex;
    align-items: center;
    justify-content: center;
    /* centraliza a logo */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 250, 243, .88);
    backdrop-filter: blur(6px);
    padding: 16px 18px;
    border-bottom: 1px solid var(--divider);
    box-shadow: var(--shadow);
}

.topbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: var(--brand-grad);
    opacity: .8;
}

.topbar.scrolled {
    background: rgba(255, 250, 243, .75);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    padding: 10px 16px;
}

/* Bot�o hamb�rguer SEMPRE vis�vel (todas as resolu��es) */
.hamburger {
    display: inline-flex;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 34px;
    border: 1px solid var(--divider);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    background: #fffaf3;
    cursor: pointer;
}

.hamburger span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--text);
    transition: transform .25s ease, opacity .2s ease;
}

.hamburger span:nth-child(1) {
    transform: translateY(-5px)
}

.hamburger span:nth-child(3) {
    transform: translateY(5px)
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg)
}

.hamburger.active span:nth-child(2) {
    opacity: 0
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg)
}

/* ===== Acessibilidade ===== */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Logo (centro do header) ===== */
.logo {
    display: flex;
    align-items: center
}

.center-logo .logo-img {
    height: 70px;
    width: auto;
    display: block
}

@media (min-width:1024px) {
    .center-logo .logo-img {
        height: 80px
    }
}

/* ===== T�tulo colorido � esquerda ===== */
.brand-title {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
    line-height: 1.1;
    font-size: 22px;
}

.brand-title .nostra {
    color: #009246
}

.brand-title .gula {
    color: #CE2B37
}

@media (min-width:768px) {
    .brand-title {
        font-size: 26px
    }
}

@media (min-width:1024px) {
    .brand-title {
        font-size: 32px
    }
}

/* ===== Flag-pill (opcional) ===== */
.flag-pill {
    width: 34px;
    height: 16px;
    border-radius: 8px;
    overflow: hidden;
    display: inline-grid;
    grid-template-columns: 1fr 1fr 1fr;
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow: 0 1px 6px rgba(0, 0, 0, .12);
}

.flag-pill i:nth-child(1) {
    background: var(--it-green)
}

.flag-pill i:nth-child(2) {
    background: var(--it-white)
}

.flag-pill i:nth-child(3) {
    background: var(--it-red)
}

@media (max-width:480px) {
    .flag-pill {
        display: none
    }
}

/* ===================================================================== */
/* ======================  MENU / DRAWER (todas telas)  ================= */
/* ===================================================================== */

/* Por padr�o o nav � um drawer fora da tela (nunca aparece no header) */
.nav {
    position: fixed;
    inset: 0 0 0 auto;
    /* encostado � direita */
    width: min(86vw, 260px);
    height: 100dvh;
    background: var(--panel);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px;
    /* top: espa�o do header */
    box-shadow: -10px 0 30px rgba(0, 0, 0, .08);
    transform: translateX(100%);
    opacity: .0;
    z-index: 45;
    transition: transform .25s ease, opacity .25s ease;
}

/* Links da navega��o (s� aparecem no drawer) */
.nav a {
    display: block;
    padding: 10px 0;
    font-weight: 600;
    position: relative;
    color: var(--muted);
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 3px;
    background: var(--brand-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
    border-radius: 2px;
}

.nav a:hover::after {
    transform: scaleX(1)
}

.nav a.active {
    color: var(--text)
}

.nav a.active::after {
    transform: scaleX(1)
}

/* Estado ABERTO: aparece em QUALQUER resolu��o */
.nav.is-open {
    transform: translateX(0);
    opacity: 1
}

/* Backdrop para qualquer resolu��o */
.backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .25);
    z-index: 44;
}

.backdrop.show {
    display: block
}

/* ===== Banner do menu ===== */
/* Escondido por padr�o */
.drawer-banner {
    display: none
}

/* Quando o menu abre:
   - removemos apenas o padding-top do nav para colar a imagem no topo
   - a imagem "sangra" tamb�m nas laterais (esquerda/direita) via margens negativas
*/
.nav.is-open {
    padding-top: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.nav.is-open .drawer-banner {
    display: block;
    width: auto;
    margin: 0 -24px 16px;
    /* cola na esquerda e direita (compensa o padding lateral) */
    padding: 0;
}

.nav.is-open .drawer-banner img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    /* se quiser altura fixa, descomente:
  height:180px;
  */
}

/* Aplica o fade s� quando o drawer estiver aberto */
.nav.is-open {
    /* mant�m o que voc� j� tem */
    padding-top: 0;
    overflow-x: hidden;
    overflow-y: auto;

    /* fade vertical: 0?50% opaco, 100% transparente no final */
    -webkit-mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 1) 60%,
            rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 1) 60%,
            rgba(0, 0, 0, 0) 100%);
    mask-mode: alpha;
    /* browsers que suportam */
}

/* ===================================================================== */
/* ============================  CONTE�DO  ============================== */
/* ===================================================================== */

.shell {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: calc(100dvh - 1px);
}

.hero {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .25s ease;
}

@media (max-width: 768px) {
    .hero {
        position: static;
        height: auto;
    }

    .hero img {
        height: auto;
    }
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 7px;
    background: var(--brand-grad-soft)
}

.panel {
    padding: 28px 24px 72px;
    overflow: auto;
    background: var(--panel)
}

.section-title {
    font-size: 38px;
    line-height: 1.15;
    margin: 4px 0 18px;
    font-weight: 800;
    letter-spacing: .4px;
    background: var(--brand-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-sub {
    margin: -8px 0 18px;
    color: var(--muted)
}

.list {
    display: flex;
    flex-direction: column;
    gap: 22px
}

.item {
    display: grid;
    grid-template-columns: 88px 1fr 72px;
    gap: 18px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--divider);
    cursor: pointer;
}

.item:first-child {
    border-top: 0
}

.thumb {
    width: 100px;
    height: 92px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .07);
    border: 1px solid rgba(0, 0, 0, .04)
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.title {
    font-weight: 800
}

.desc {
    font-weight: 400;
    color: var(--muted);
    font-size: 14px;
    /*margin-top: 6px*/
    margin-top: -4.5px;
}

.price {
    text-align: right;
    font-weight: 800
}

.divider {
    height: 1px;
    background: var(--divider);
    margin: 26px 0;
    position: relative
}

.divider::after {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    /* width: 120px; */
    width: 100%;
    height: 3px;
    background: var(--brand-grad);
    border-radius: 3px
}

.dots {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 4px 0 8px
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%
}

.dot:nth-child(1) {
    background: var(--it-green)
}

.dot:nth-child(2) {
    background: #e9e9e9;
    border: 1px solid #ddd
}

.dot:nth-child(3) {
    background: var(--it-red)
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    border: 1px solid var(--divider);
    box-shadow: 0 1px 6px rgba(0, 0, 0, .04);
    position: relative;
    overflow: hidden;
}

.chip::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--brand-grad)
}

.chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08)
}

/* ===== Foco ===== */
:focus-visible {
    outline: 3px solid rgba(0, 146, 70, .35);
    outline-offset: 2px
}

/* ===== Responsividade conte�do ===== */
@media (max-width:1080px) {
    .shell {
        grid-template-columns: 1fr
    }

    .panel {
        padding-inline: 14px
    }

    .item {
        grid-template-columns: 72px 1fr 64px
    }
}

/* acessibilidade: esconder visualmente sem remover do leitor de tela */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* trava o scroll do fundo quando aberto */
html.viewer-open,
body.viewer-open {
    overflow: hidden;
}

/* overlay base */
.viewer {
    position: fixed;
    inset: 0;
    display: grid;
    grid-template-rows: minmax(52vh, 62vh) auto;
    /* imagem em cima, meta embaixo */
    background: var(--viewer-bg);
    backdrop-filter: saturate(120%) blur(3px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.viewer[hidden] {
    display: grid;
}

/* mant�m grid para transi��es */
.viewer:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
    overflow-x: hidden;
}

/* �rea da imagem (topo) */
.viewer-media {
    position: relative;
    background: #111;
    overflow: hidden;
}

.viewer-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .25s ease;
}

.viewer:not([hidden]) .viewer-media img {
    opacity: 1;
}

/* meta: t�tulo + descri��o */
.viewer-meta {
    background: #fff;
    color: #111;
    padding: 20px clamp(16px, 4vw, 28px) 28px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, .15);
}

.viewer-meta h3 {
    margin: 0 0 8px;
    font-size: clamp(18px, 2.4vw, 28px);
    line-height: 1.2;
}

.viewer-meta .viewer-desc {
    margin: 0;
    font-size: clamp(14px, 1.8vw, 18px);
    color: #444;
    margin-top: 30px;
    white-space: pre-line;
    /* respeita \n */
}


/* responsivo: um pouco menos de altura da imagem no mobile */
@media (max-width: 768px) {
    .viewer {
        grid-template-rows: minmax(48vh, 56vh) auto;
    }
}

/* ===================== BOT�O FECHAR (X TRICOLOR) ===================== */
.viewer-close {
    position: absolute;
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    /* sem fundo branco */
    border-radius: 999px;
    cursor: pointer;
    z-index: 2;
    /* sombra para destacar sobre a imagem */
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35));
}

/* anel tricolor girat�rio (sem preencher o centro) */
.viewer-close::before {
    content: "";
    position: absolute;
    inset: -1px;
    /* cresce um pouco para o anel ficar fora do bot�o */
    border-radius: inherit;
    background: conic-gradient(from 0deg,
            var(--it-green) 0 120deg,
            var(--it-white) 120deg 240deg,
            var(--it-red) 240deg 360deg);
    /* "vaza" s� a borda usando m�scara radial */
    -webkit-mask: radial-gradient(farthest-side,
            transparent calc(100% - var(--ring-size)),
            #000 0);
    mask: radial-gradient(farthest-side,
            transparent calc(100% - var(--ring-size)),
            #000 0);
    animation: ring-spin 2s linear infinite;
    /* gira o anel */
    animation-play-state: paused;
    /* s� gira no hover/focus */
}

/* o X � desenhado via pseudo-elemento (sem fundo) */
.viewer-close::after {
    content: "\00D7";
    /* � */
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    /* branco puro para contraste */
    font-size: 26px;
    line-height: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
    /* legibilidade sobre imagens claras */
    transform: rotate(0deg) scale(1);
    transition: transform .18s ease;
}

/* intera��es */
.viewer-close:hover::before,
.viewer-close:focus-visible::before {
    animation-play-state: running;
    /* ativa rota��o do anel */
}

.viewer-close:hover::after {
    transform: rotate(8deg) scale(1.08);
    /* anima��o sutil do X */
}

.viewer-close:active::after {
    transform: rotate(-6deg) scale(.94);
}

/* sem outline feio; foco vis�vel com o pr�prio anel */
.viewer-close:focus {
    outline: none;
}

.viewer-close:focus-visible {
    outline: none;
}

/* anima��o do anel */
@keyframes ring-spin {
    to {
        transform: rotate(360deg);
    }
}

/* acessibilidade: reduz anima��es se o usu�rio prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
    .viewer-close::before {
        animation: none;
    }

    .viewer-close:hover::after {
        transform: none;
    }
}

/* fallback para navegadores sem conic-gradient */
@supports not (background: conic-gradient(red, green)) {
    .viewer-close::before {
        background:
            linear-gradient(90deg, var(--it-green), var(--it-white), var(--it-red));
    }
}

/* posiciona o logo e reserva espa�o no t�tulo para n�o sobrepor */
.viewer-meta {
    position: relative;
}

/* reserva espa�o para o logo � direita do t�tulo */
.viewer-meta h3 {
    padding-right: 80px;
}

/* link do logo */
.viewer-brand {
    position: absolute;
    top: 28px;
    right: clamp(16px, 4vw, 28px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    /* altura alvo do logo */
    aspect-ratio: auto;
    text-decoration: none;
    transform: translateZ(0);
    /* evita blur em alguns browsers */
    transition: transform .16s ease, opacity .16s ease, filter .16s ease;
    z-index: 1;
}

/* imagem do logo */
.viewer-brand img {
    height: 55px;
    width: auto;
    display: block;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .18));
}

/* efeitos */
.viewer-brand:hover {
    transform: translateY(-1px) scale(1.02);
}

.viewer-brand:active {
    transform: translateY(0) scale(.98);
}

/* foco acess�vel */
.viewer-brand:focus {
    outline: none;
}

.viewer-brand:focus-visible {
    outline: 2px solid #111;
    outline-offset: 3px;
    border-radius: 8px;
}

/* responsivo: logo um pouco menor em telas muito pequenas */
@media (max-width: 480px) {
    .viewer-brand {
        height: 26px;
    }

    .viewer-meta h3 {
        padding-right: 68px;
    }

    .section-title {
        font-size: 36px;
    }
}

.btn-gallery {
    position: absolute;
    right: 68px;
    /* antes do hamb�rguer */
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    background: #fff;
    border: 1px solid var(--divider);
    box-shadow: 0 1px 6px rgba(0, 0, 0, .06);
    text-decoration: none;
}

.btn-gallery:hover {
    transform: translateY(-50%) scale(1.02);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

.btn-gallery.active {
    border-color: transparent;
    background: var(--brand-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* texto com gradiente */
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

@media (max-width:360px) {
    .btn-gallery {
        display: none;
    }
}

/* Linha superior do drawer da galeria: primeiro link + bot�o � direita */
.nav-firstline {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 6px;
    /* separa dos pr�ximos links */
}

/* Faz o primeiro link ocupar o espa�o da esquerda e o bot�o ?colar? � direita */
.nav-firstline>a:first-child {
    flex: 1;
}

/* Estilo do bot�o Galeria quando DENTRO do nav (override do posicionamento absoluto global) */
.nav .btn-gallery {
    position: static;
    /* remove absolute */
    transform: none;
    /* zera transform herdado */
    right: auto;
    top: auto;
    /* zera coords */
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    background: #fff;
    border: 1px solid var(--divider);
    box-shadow: 0 1px 6px rgba(0, 0, 0, .3);
    white-space: nowrap;
}

.nav .btn-gallery:hover {
    transform: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

.nav .btn-gallery.active {
    border-color: transparent;
    background: var(--brand-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

/* Importante: dentro do nav (drawer), N�O esconda o bot�o no mobile */
@media (max-width:480px) {
    .nav .btn-gallery {
        display: inline-flex;
    }
}

/* ============================  FOOTER  ============================ */
.site-footer {
    margin-top: 32px;
    background: #fff;
    border-top: 1px solid var(--divider);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .04);
    color: var(--text);
}

.site-footer .footer-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 16px clamp(16px, 4vw, 28px);
    background: rgba(255, 250, 243, .8);
    position: relative;
}

.site-footer .footer-top::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: var(--brand-grad);
    opacity: .8;
}

.footer-brand img {
    height: 60px;
    width: auto;
    display: block;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .08));
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    justify-content: center;
}

.footer-nav a {
    font-weight: 700;
    font-size: 16px;
    color: var(--muted);
    position: relative;
    padding-bottom: 4px;
}

.footer-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--brand-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.footer-nav a:hover::after {
    transform: scaleX(1);
}

.footer-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 16px;
    background: #fff;
    border: 1px solid var(--divider);
    box-shadow: 0 1px 6px rgba(0, 0, 0, .06);
}

.btn-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    width: 72px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    background: #fff;
    font-weight: 800;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .06);
    border: 1px solid var(--divider);
}

.btn-top:hover,
.btn-outline:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

.footer-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, 1fr);
    padding: 22px clamp(16px, 4vw, 28px);
}

.f-col {
    min-width: 0;
}

.f-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    background: var(--brand-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.f-text {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.f-link {
    color: inherit;
    text-decoration: underline dotted;
    text-underline-offset: 3px;
}

.f-link:hover {
    text-decoration-style: solid;
}

.social {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.soc {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    background: #fff;
    border: 1px solid var(--divider);
    box-shadow: 0 1px 6px rgba(0, 0, 0, .04);
    transition: transform .15s ease, filter .15s ease, background-color .15s ease;
    text-decoration: none;
}

.soc:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.soc img {
    display: block;
    width: 28px;
    height: 28px;
    /* mant�m n�tido em telas retina (se o PNG for 56?64px) */
}

.footer-bottom {
    border-top: 1px solid var(--divider);
    padding: 12px clamp(16px, 4vw, 28px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: var(--muted);
}

@media (max-width: 960px) {
    .site-footer .footer-top {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }

    .footer-cta {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }


    .footer-brand img {
        display: inline;
    }
}

/* ===== Layout especial: title full-width, img � esquerda da desc, price abaixo da desc � direita ===== */
.item--wide {
    /* muda o grid desse item espec�fico */
    grid-template-columns: 88px 1fr;
    /* coluna da thumb + coluna de texto */
    grid-template-areas:
        "title title"
        /* t�tulo atravessa as duas colunas */
        "thumb desc"
        /* linha 2: thumb � esq, desc � dir */
        "thumb price";
    /* linha 3: thumb � esq, price � dir */
    align-items: start;
    row-gap: 6px;
    /* aproxima as linhas */
}

/* o 2� filho � o wrapper que cont�m .title e .desc; vira "transparente" pro grid */
.item--wide>div:nth-child(2) {
    display: contents;
}

/* mapeia as �reas do grid */
.item--wide .thumb {
    grid-area: thumb;
}

.item--wide .title {
    grid-area: title;
}

.item--wide .desc {
    grid-area: desc;
}

.item--wide .price {
    grid-area: price;
    justify-self: start;
    /* encosta � direita */
    text-align: right;
    margin-top: 6px;
}

/* opcional: leve ajuste no mobile */
@media (max-width: 480px) {
    .item--wide {
        grid-template-columns: 85px 1fr;
    }
     .list {
        gap: 10px
    }
}