/* ==========================================================================
   NUVI FITNESS — Site público
   Identidade: off-white quente, bege e nude, dourado suave da logo.
   Tipografia: Italiana (títulos, ecoa as letras finas da marca) + Jost (texto).
   Motivo visual: o arco — a curva do monograma "N" — em fotos e categorias.
   ========================================================================== */

@font-face {
    font-family: "Italiana";
    src: url("../fonts/italiana-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Jost";
    src: url("../fonts/jost-variable.woff2") format("woff2");
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
    --paper: #FAF8F4;
    --linen: #F3ECE2;
    --sand: #E9DDCE;
    --nude: #DCC5B2;
    --clay: #A88D78;
    --gold: #B08A4E;
    --gold-ink: #7A5A2A;
    --ink: #342D29;
    --muted: #6B5E55;
    --line: #E6DBCD;
    --line-strong: #CDBBA6;
    --white: #FFFFFF;
    --danger: #9A3B2E;
    --success: #3F6B4A;

    --font-display: "Italiana", "Didot", "Bodoni 72", Georgia, serif;
    --font-body: "Jost", "Futura", "Segoe UI", system-ui, -apple-system, sans-serif;

    --step--1: 0.875rem;
    --step-0: 1rem;
    --step-1: 1.125rem;
    --step-2: 1.375rem;
    --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
    --step-4: clamp(2.125rem, 1.6rem + 2.2vw, 3rem);
    --step-5: clamp(2.6rem, 1.6rem + 4.4vw, 4.75rem);

    --container: 1240px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 64px;
    --radius: 2px;
    --radius-soft: 10px;
    --shadow-soft: 0 18px 40px -24px rgba(52, 45, 41, 0.28);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--step-0);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-weight: 400;
    line-height: 1.15;
}

p {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

:focus-visible {
    outline: 2px solid var(--gold-ink);
    outline-offset: 3px;
}

main:focus {
    outline: none;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius);
}

.skip-link:focus {
    top: 12px;
}

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.icon {
    width: 22px;
    height: 22px;
    flex: none;
}

.icon-sm {
    width: 18px;
    height: 18px;
}

.icon-xs {
    width: 14px;
    height: 14px;
}

[hidden] {
    display: none !important;
}

/* ---------- Botões e links ---------- */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 26px;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--paper);
    font-size: 0.975rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.button:hover {
    background: var(--gold-ink);
    border-color: var(--gold-ink);
}

.button-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-strong);
}

.button-outline:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.button-small {
    min-height: 40px;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.button-large {
    min-height: 56px;
    font-size: 1.02rem;
}

.button-block {
    width: 100%;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.icon-button {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    transition: background-color 0.2s var(--ease);
}

.icon-button:hover {
    background: var(--linen);
}

.text-link {
    color: var(--gold-ink);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--line-strong);
}

.text-link:hover {
    text-decoration-color: currentColor;
}

.text-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border: 0;
    background: none;
    color: var(--muted);
    font-size: 0.95rem;
}

.text-button:hover {
    color: var(--ink);
}

/* ---------- Cabeçalho ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--paper);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
}

.header-inner {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 8px;
    min-height: var(--header-h);
}

.brand {
    justify-self: center;
    display: block;
}

.brand-logo {
    width: auto;
    height: 22px;
}

.main-nav {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-whatsapp span {
    display: none;
}

.header-whatsapp {
    width: 44px;
    padding: 0;
    border-color: transparent;
    border-radius: 50%;
}

.header-search {
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-block: 12px;
}

.search-form input {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    background: transparent;
    font-size: 1.05rem;
}

.search-form input:focus {
    outline: none;
    border-bottom-color: var(--ink);
}

@media (min-width: 960px) {
    :root {
        --header-h: 80px;
    }

    .header-inner {
        grid-template-columns: auto 1fr auto;
        gap: 32px;
    }

    .header-menu-toggle {
        display: none;
    }

    .brand {
        justify-self: start;
    }

    .brand-logo {
        height: 26px;
    }

    .main-nav {
        display: block;
        justify-self: center;
    }

    .main-nav > ul {
        display: flex;
        align-items: center;
        gap: 34px;
    }

    .main-nav a,
    .nav-dropdown-toggle {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 10px 0;
        border: 0;
        background: none;
        font-size: 0.98rem;
        text-decoration: none;
    }

    .main-nav > ul > li > a::after,
    .nav-dropdown-toggle::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 4px;
        height: 1px;
        background: var(--gold);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.25s var(--ease);
    }

    .main-nav > ul > li > a:hover::after,
    .main-nav > ul > li > a.is-active::after,
    .nav-dropdown-toggle:hover::after,
    .nav-dropdown-toggle.is-active::after {
        transform: scaleX(1);
    }

    .has-dropdown {
        position: relative;
    }

    .nav-dropdown {
        position: absolute;
        top: calc(100% + 8px);
        left: -20px;
        min-width: 230px;
        padding: 10px 0;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: var(--radius-soft);
        box-shadow: var(--shadow-soft);
    }

    .nav-dropdown a {
        display: block;
        padding: 8px 20px;
    }

    .nav-dropdown a:hover {
        background: var(--linen);
    }

    .nav-dropdown-all {
        margin-top: 6px;
        padding-top: 6px;
        border-top: 1px solid var(--line);
    }

    .nav-dropdown-all a {
        color: var(--gold-ink);
    }

    .header-whatsapp {
        width: auto;
        padding: 8px 18px;
        border-color: var(--line-strong);
        border-radius: var(--radius);
    }

    .header-whatsapp span {
        display: inline;
    }
}

/* ---------- Menu do celular ---------- */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 60;
}

.drawer-backdrop,
.filters-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(52, 45, 41, 0.38);
    animation: fade-in 0.2s var(--ease);
}

.drawer-panel {
    position: absolute;
    inset: 0 auto 0 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: min(86vw, 360px);
    padding: 18px 22px calc(24px + env(safe-area-inset-bottom));
    background: var(--paper);
    overflow-y: auto;
    animation: slide-in 0.28s var(--ease);
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-head .brand-logo {
    height: 20px;
}

.drawer-search {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line-strong);
}

.drawer-search input {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    border: 0;
    background: transparent;
}

.drawer-search input:focus {
    outline: none;
}

.drawer-nav a {
    display: block;
    padding: 11px 0;
    font-family: var(--font-display);
    font-size: 1.6rem;
    text-decoration: none;
}

.drawer-nav-secondary a {
    padding: 8px 0;
    font-family: var(--font-body);
    font-size: 1.05rem;
}

.drawer-label {
    margin: 14px 0 4px;
    color: var(--muted);
    font-size: 0.9rem;
}

@keyframes slide-in {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---------- Títulos e seções ---------- */
.display-title {
    font-family: var(--font-display);
    font-size: var(--step-4);
    line-height: 1.08;
    letter-spacing: 0.01em;
}

.section {
    padding-block: clamp(48px, 7vw, 96px);
}

.section-tight {
    padding-top: 8px;
}

.section-tinted {
    background: var(--linen);
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: clamp(22px, 3vw, 36px);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--step-3);
    line-height: 1.12;
}

.page-head {
    padding-top: clamp(24px, 4vw, 48px);
    padding-bottom: clamp(18px, 3vw, 28px);
}

.page-intro {
    max-width: 60ch;
    margin-top: 12px;
    color: var(--muted);
    font-size: var(--step-1);
}

.lead {
    max-width: 52ch;
    color: var(--muted);
    font-size: var(--step-1);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 0.9rem;
}

.breadcrumb a {
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--ink);
    text-decoration: underline;
}

.breadcrumb span[aria-hidden] {
    color: var(--line-strong);
}

/* ---------- Ornamento da marca (linha · ponto · linha, como na logo) ---------- */
.ornament {
    position: relative;
    display: inline-block;
    flex: none;
    width: 56px;
    height: 7px;
    background:
        linear-gradient(var(--gold), var(--gold)) left center / 22px 1px no-repeat,
        linear-gradient(var(--gold), var(--gold)) right center / 22px 1px no-repeat,
        radial-gradient(circle, var(--gold) 0 3px, transparent 3.5px) center / 7px 7px no-repeat;
}

.ornament-light {
    background:
        linear-gradient(#D9BE8C, #D9BE8C) left center / 22px 1px no-repeat,
        linear-gradient(#D9BE8C, #D9BE8C) right center / 22px 1px no-repeat,
        radial-gradient(circle, #D9BE8C 0 3px, transparent 3.5px) center / 7px 7px no-repeat;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding-top: clamp(20px, 4vw, 56px);
    padding-bottom: clamp(56px, 8vw, 110px);
}

.hero-backdrop {
    position: absolute;
    inset: 0 0 auto auto;
    width: 100%;
    height: 62%;
    background:
        radial-gradient(120% 90% at 100% 0%, var(--sand) 0%, var(--linen) 55%, transparent 100%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    gap: 40px;
}

.hero-media {
    order: -1;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--gold-ink);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    animation: rise 0.9s var(--ease) both;
}

.hero-title {
    max-width: 13ch;
    font-family: var(--font-display);
    font-size: var(--step-5);
    line-height: 1.02;
    letter-spacing: 0.005em;
    animation: rise 0.9s 0.08s var(--ease) both;
}

.hero-subtitle {
    max-width: 38ch;
    color: var(--muted);
    font-size: var(--step-1);
    animation: rise 0.9s 0.16s var(--ease) both;
}

.hero-copy .button-row {
    animation: rise 0.9s 0.24s var(--ease) both;
}

.hero-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    animation: rise 0.9s 0.32s var(--ease) both;
}

.hero-shortcuts a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 6px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    text-decoration: none;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.hero-shortcuts a:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
}

.hero-arches {
    position: relative;
    width: min(100%, 440px);
    margin: 0 auto;
    padding: 0 22px 22px 0;
}

.arch-outline {
    position: absolute;
    inset: 22px 0 0 22px;
    border: 1px solid var(--gold);
    border-radius: 999px 999px var(--radius) var(--radius);
    pointer-events: none;
}

.arch-frame {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 5;
    box-shadow: 0 40px 70px -40px rgba(122, 90, 42, 0.45);
    border-radius: 999px 999px var(--radius) var(--radius);
}

.arch-frame > img,
.arch-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 999px 999px var(--radius) var(--radius);
    background: var(--sand);
}

.arch-placeholder {
    display: grid;
    place-items: center;
    background:
        radial-gradient(55% 35% at 50% 42%, rgba(255, 255, 255, 0.55), transparent 70%),
        linear-gradient(180deg, #E6D6C3 0%, var(--nude) 70%, #CDB29C 100%);
    box-shadow: inset 0 0 0 1px rgba(176, 138, 78, 0.35);
}

.arch-placeholder img {
    width: 46%;
}

.arch-mini {
    position: absolute;
    left: -8px;
    bottom: 48px;
    display: grid;
    place-items: center;
    width: 72px;
    height: 94px;
    border: 1px solid var(--line-strong);
    border-radius: 999px 999px var(--radius) var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.arch-mini img {
    width: 40px;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

@media (min-width: 860px) {
    .hero-backdrop {
        width: 46%;
        height: 100%;
        border-radius: 0 0 0 320px;
        background: linear-gradient(180deg, var(--linen) 0%, #EFE6DA 100%);
    }

    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: center;
        gap: 72px;
    }

    .hero-media {
        order: 0;
    }

    .hero-arches {
        margin-right: 0;
    }

    .arch-mini {
        left: -42px;
        width: 84px;
        height: 108px;
    }
}

/* ---------- Faixa com as categorias ---------- */
.ribbon {
    overflow: hidden;
    padding-block: 18px;
    background: var(--ink);
    color: var(--paper);
}

.ribbon-track {
    display: flex;
    width: max-content;
    animation: ribbon 60s linear infinite;
}

.ribbon-group {
    display: flex;
    align-items: center;
    flex: none;
}

.ribbon-group span {
    padding-inline: 26px;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
    white-space: nowrap;
}

.ribbon-dot {
    width: 6px;
    height: 6px;
    flex: none;
    border-radius: 50%;
    background: var(--gold);
}

@keyframes ribbon {
    to { transform: translateX(-50%); }
}

/* ---------- Títulos centralizados ---------- */
.section-head-center {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.section-lead {
    max-width: 52ch;
    color: var(--muted);
}

/* ---------- Como comprar ---------- */
.steps {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.step {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px 26px 28px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 140px 140px var(--radius) var(--radius);
    text-align: center;
    align-items: center;
}

.step-number {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 4px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold-ink);
    font-family: var(--font-display);
    font-size: 1.6rem;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.55rem;
}

.step p {
    max-width: 30ch;
    color: var(--muted);
}

.steps-cta {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

@media (min-width: 760px) {
    .steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .step {
        padding: 42px 28px 34px;
    }
}

/* ---------- Sobre a loja ---------- */
.about-grid {
    display: grid;
    gap: 36px;
    align-items: center;
}

.about-arch {
    display: grid;
    place-items: center;
    width: min(70%, 300px);
    aspect-ratio: 3 / 4;
    margin: 0 auto;
    border-radius: 999px 999px var(--radius) var(--radius);
    background: linear-gradient(180deg, var(--linen), var(--sand));
    outline: 1px solid var(--gold);
    outline-offset: 12px;
}

.about-arch img {
    width: 52%;
}

.about-copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-copy p {
    max-width: 58ch;
    font-size: var(--step-1);
    line-height: 1.7;
}

@media (min-width: 860px) {
    .about-grid {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 72px;
    }
}

/* ---------- Categorias (arcos) ---------- */
.category-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(132px, 40%);
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--line-strong) transparent;
}

.category-list > li {
    scroll-snap-align: start;
}

.category-tile {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
}

.category-arch {
    display: block;
    aspect-ratio: 3 / 4;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 999px 999px var(--radius) var(--radius);
    background: var(--sand);
}

.category-arch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.category-arch-empty {
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, var(--linen), var(--sand));
    border: 1px solid var(--line);
}

.category-initial {
    font-family: var(--font-display);
    font-size: 3.4rem;
    color: var(--gold);
}

.category-name {
    font-family: var(--font-display);
    font-size: 1.45rem;
    line-height: 1.1;
}

.category-count {
    color: var(--muted);
    font-size: 0.88rem;
}

.category-tile:hover .category-arch img {
    transform: scale(1.04);
}

.category-tile:hover .category-name {
    color: var(--gold-ink);
}

@media (min-width: 700px) {
    .category-list {
        grid-auto-flow: row;
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
        gap: 28px 22px;
        overflow: visible;
    }
}

/* ---------- Cards de produto ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
}

@media (min-width: 700px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 40px 20px;
    }
}

@media (min-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 48px 24px;
    }
}

.product-card {
    min-width: 0;
}

.product-card-link {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    text-decoration: none;
}

/* Quadro padronizado 3:4 para todas as fotos */
.product-card-media {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 4px;
    background: var(--linen);
}

.product-card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 22%;
}

/* Fotos de corpo inteiro (bem mais altas que o quadro): peça inteira, sem corte e sem ampliação */
.product-card-media.is-whole {
    background: #FFFFFF;
    box-shadow: inset 0 0 0 1px rgba(52, 45, 41, 0.05);
}

.product-card-media.is-whole > img:first-child,
.product-card-media img.is-whole {
    padding: 5% 6% 3%;
    object-fit: contain;
    object-position: 50% 100%;
    background: #FFFFFF;
}

.product-card-alt {
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}

.product-card-alt:not([src]) {
    visibility: hidden;
}

@media (hover: hover) and (pointer: fine) {
    .product-card-link:hover .product-card-alt[src] {
        opacity: 1;
    }
}

/* Produto sem foto */
.product-card-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(180deg, var(--paper) 0%, var(--linen) 100%);
}

.placeholder-arch {
    display: grid;
    place-items: center;
    width: 40%;
    max-width: 120px;
    aspect-ratio: 3 / 4;
    border: 1px solid var(--line-strong);
    border-radius: 999px 999px 4px 4px;
    background: rgba(255, 255, 255, 0.6);
}

.product-card-placeholder .placeholder-arch img {
    position: static;
    width: 46%;
    height: auto;
    padding: 0;
    opacity: 0.75;
}

.placeholder-text {
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

/* Esgotado: foto suavizada, sem esconder a peça */
.is-unavailable .product-card-media > img {
    filter: grayscale(0.6);
    opacity: 0.6;
}

.product-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    pointer-events: none;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(250, 248, 244, 0.95);
    color: var(--ink);
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: 0 1px 2px rgba(52, 45, 41, 0.08);
}

.badge-offer {
    background: var(--ink);
    color: var(--paper);
}

.badge-muted {
    background: rgba(52, 45, 41, 0.78);
    color: var(--paper);
}

.product-card-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0 2px;
}

.product-card-title {
    display: -webkit-box;
    overflow: hidden;
    min-height: 2.8em;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card-link:hover .product-card-title {
    text-decoration: underline;
    text-decoration-color: var(--line-strong);
}

.product-card-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
}

.product-card-price .price-current {
    font-size: 1.02rem;
    font-weight: 600;
}

.price-current {
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.price-old {
    color: var(--muted);
    font-size: 0.86rem;
}

.product-card-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 10px;
    margin-top: 2px;
}

.product-card-colors {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-card-sizes {
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.product-card-status {
    color: var(--muted);
    font-size: 0.82rem;
}

.swatch {
    display: inline-block;
    flex: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(52, 45, 41, 0.2);
    background: repeating-linear-gradient(45deg, var(--linen) 0 3px, var(--sand) 3px 6px);
}

.swatch-sm {
    width: 13px;
    height: 13px;
}

.swatch-more {
    color: var(--muted);
    font-size: 0.8rem;
}

@media (max-width: 380px) {
    .product-grid {
        gap: 24px 10px;
    }

    .product-card-title {
        font-size: 0.9rem;
    }

    .product-card-sizes {
        white-space: normal;
    }
}

/* ---------- Faixa de contato ---------- */
.contact-band {
    position: relative;
    display: grid;
    gap: 24px;
    align-items: center;
    overflow: hidden;
    padding: clamp(32px, 6vw, 64px);
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius);
}

.contact-band-arch {
    position: absolute;
    right: -60px;
    bottom: -120px;
    width: 300px;
    height: 400px;
    border: 1px solid rgba(217, 190, 140, 0.35);
    border-radius: 999px 999px 0 0;
    pointer-events: none;
}

.contact-band-arch::after {
    content: "";
    position: absolute;
    inset: 26px;
    border: 1px solid rgba(217, 190, 140, 0.2);
    border-radius: 999px 999px 0 0;
}

.contact-band-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-band-copy p {
    max-width: 48ch;
    color: #D8CFC6;
}

.button-gold {
    position: relative;
    background: #C9A465;
    border-color: #C9A465;
    color: var(--ink);
}

.button-gold:hover {
    background: var(--paper);
    border-color: var(--paper);
    color: var(--ink);
}

@media (min-width: 860px) {
    .contact-band {
        grid-template-columns: 1fr auto;
        gap: 48px;
    }
}

/* ---------- Estado vazio ---------- */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: clamp(32px, 6vw, 64px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.empty-state p {
    max-width: 52ch;
    color: var(--muted);
}

/* ---------- Catálogo ---------- */
.catalog-layout {
    display: grid;
    gap: 32px;
    padding-bottom: clamp(56px, 8vw, 100px);
}

.catalog-filters {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 60;
    width: min(88vw, 360px);
    padding: 18px 22px calc(24px + env(safe-area-inset-bottom));
    background: var(--paper);
    overflow-y: auto;
    transform: translateX(-102%);
    transition: transform 0.28s var(--ease);
    visibility: hidden;
}

.catalog-filters.is-open {
    transform: none;
    visibility: visible;
}

.filters-backdrop {
    z-index: 55;
}

.filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.filters-title {
    font-family: var(--font-display);
    font-size: 1.7rem;
}

.filters-form {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-label {
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 500;
}

.input-with-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-inline: 12px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--white);
}

.input-with-icon .icon {
    color: var(--muted);
}

.input-with-icon input {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    border: 0;
    background: transparent;
}

.input-with-icon input:focus {
    outline: none;
}

.input-with-icon:focus-within {
    border-color: var(--ink);
}

.filter-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.filter-links a {
    display: block;
    padding: 6px 0;
    color: var(--muted);
    text-decoration: none;
}

.filter-links a:hover,
.filter-links a.is-active {
    color: var(--ink);
}

.filter-links a.is-active {
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--gold);
}

.chip-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip-option {
    position: relative;
}

.chip-option input,
.option-chip input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.chip-option span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 44px;
    min-height: 40px;
    justify-content: center;
    padding: 6px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--white);
    font-size: 0.92rem;
    cursor: pointer;
    transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.chip-option input:checked + span {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
}

.chip-option input:focus-visible + span {
    outline: 2px solid var(--gold-ink);
    outline-offset: 2px;
}

.check-line {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    cursor: pointer;
}

.check-line input {
    width: 18px;
    height: 18px;
    accent-color: var(--ink);
}

.filter-actions {
    position: sticky;
    bottom: -24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 14px 0 6px;
    background: var(--paper);
}

.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-bottom: 20px;
}

.catalog-count {
    color: var(--muted);
    font-size: 0.92rem;
}

.sort-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    font-size: 0.92rem;
}

.sort-form label {
    color: var(--muted);
}

.sort-form select {
    min-height: 40px;
    padding: 6px 30px 6px 12px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23342D29' stroke-width='1.5'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center / 16px;
    appearance: none;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.active-filters a:not(.text-link) {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--sand);
    font-size: 0.88rem;
    text-decoration: none;
}

.active-filters a:not(.text-link):hover {
    background: var(--nude);
}

@media (max-width: 959px) {
    .catalog-toolbar .catalog-count {
        order: 3;
        width: 100%;
    }
}

@media (min-width: 960px) {
    .catalog-layout {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 48px;
        align-items: start;
    }

    .catalog-filters {
        position: sticky;
        top: calc(var(--header-h) + 16px);
        z-index: 1;
        width: auto;
        max-height: calc(100vh - var(--header-h) - 32px);
        padding: 0 4px 0 0;
        background: transparent;
        transform: none;
        visibility: visible;
    }

    .filters-close,
    .filters-open,
    .filters-backdrop {
        display: none !important;
    }

    .filters-title {
        font-size: 1.45rem;
    }

    .filter-actions {
        position: static;
        align-items: stretch;
        text-align: center;
    }
}

/* ---------- Paginação ---------- */
.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 16px;
    margin-top: 56px;
}

.pagination ul {
    display: flex;
    gap: 4px;
}

.pagination a,
.pagination-current,
.pagination-gap {
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    height: 44px;
    padding: 0 8px;
    border-radius: 50%;
    text-decoration: none;
}

.pagination a:hover {
    background: var(--linen);
}

.pagination-current {
    background: var(--ink);
    color: var(--paper);
}

.pagination-gap {
    color: var(--muted);
}

.pagination .pagination-step {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: auto;
    border-radius: var(--radius);
    padding: 0 12px;
}

/* ---------- Página do produto ---------- */
.product-page {
    padding-top: clamp(18px, 3vw, 32px);
    padding-bottom: clamp(32px, 5vw, 64px);
}

.product-layout {
    display: grid;
    gap: 32px;
}

.gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.gallery-main {
    position: relative;
    margin-inline: calc(var(--gutter) * -1);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--linen);
}

.gallery-zoom {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

.gallery-zoom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-empty {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 12px;
    color: var(--muted);
    background: linear-gradient(180deg, var(--linen), var(--sand));
}

.gallery-empty img {
    width: 96px;
    opacity: 0.65;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-top: -21px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(250, 248, 244, 0.9);
    color: var(--ink);
}

.gallery-prev {
    left: 12px;
}

.gallery-next {
    right: 12px;
}

.gallery-counter {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(250, 248, 244, 0.9);
    font-size: 0.82rem;
    font-variant-numeric: tabular-nums;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.gallery-thumb {
    display: block;
    flex: none;
    width: 68px;
    aspect-ratio: 4 / 5;
    padding: 0;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: var(--linen);
    overflow: hidden;
    opacity: 0.7;
    transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
    opacity: 1;
}

.gallery-thumb.is-active {
    border-color: var(--ink);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-category {
    color: var(--gold-ink);
    font-size: 0.95rem;
    text-decoration: none;
}

.product-category:hover {
    text-decoration: underline;
}

.product-title {
    font-family: var(--font-display);
    font-size: var(--step-4);
    line-height: 1.08;
}

.product-sku {
    color: var(--muted);
    font-size: 0.88rem;
}

.product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
}

.price-large {
    font-size: 1.6rem;
    font-weight: 500;
}

.product-price .price-old {
    font-size: 1rem;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.availability-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
}

.availability.is-unavailable {
    color: var(--muted);
}

.availability.is-unavailable .availability-dot {
    background: var(--clay);
}

.product-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.option-group legend {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 0.95rem;
}

.option-group legend strong {
    color: var(--ink);
    font-weight: 500;
}

.option-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.option-chip {
    position: relative;
}

.option-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 52px;
    min-height: 46px;
    padding: 8px 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.option-chip span em {
    color: var(--muted);
    font-size: 0.82rem;
    font-style: normal;
}

.option-chip:hover span {
    border-color: var(--ink);
}

.option-chip input:checked + span {
    border-color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--ink);
}

.option-chip input:focus-visible + span {
    outline: 2px solid var(--gold-ink);
    outline-offset: 2px;
}

.option-chip input:disabled + span,
.option-chip.is-unavailable span {
    color: var(--muted);
    background: var(--linen);
    border-style: dashed;
    cursor: not-allowed;
    text-decoration: line-through;
    text-decoration-color: var(--clay);
}

.option-chip.is-sold-out input:disabled + span {
    text-decoration: none;
}

.option-hint {
    min-height: 1.5em;
    color: var(--muted);
    font-size: 0.92rem;
}

.option-hint.is-warning {
    color: var(--danger);
}

.product-note {
    color: var(--muted);
    font-size: 0.88rem;
}

.product-description {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.product-description p {
    max-width: 62ch;
    color: var(--ink);
}

.product-subtitle {
    font-family: var(--font-display);
    font-size: 1.55rem;
}

.notice {
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--line-strong);
    background: var(--white);
    font-size: 0.94rem;
}

.notice-warning {
    border-color: #D9BE8C;
    background: #FBF3E3;
}

@media (min-width: 900px) {
    .product-layout {
        grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
        gap: 64px;
        align-items: start;
    }

    .gallery {
        position: sticky;
        top: calc(var(--header-h) + 20px);
        flex-direction: row-reverse;
        align-items: flex-start;
    }

    .gallery-main {
        flex: 1;
        margin-inline: 0;
        border-radius: var(--radius);
    }

    .gallery-thumbs {
        flex-direction: column;
        max-height: 70vh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .gallery-thumb {
        width: 76px;
    }
}

/* ---------- Lightbox ---------- */
.lightbox {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(250, 248, 244, 0.98);
    color: var(--ink);
}

.lightbox[open] {
    display: grid;
    place-items: center;
    animation: fade-in 0.2s var(--ease);
}

.lightbox::backdrop {
    background: rgba(52, 45, 41, 0.5);
}

.lightbox img {
    max-width: 100vw;
    max-height: 100dvh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: var(--paper);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    border: 0;
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow-soft);
}

.lightbox-prev {
    left: 12px;
}

.lightbox-next {
    right: 12px;
}

/* ---------- Texto corrido ---------- */
.prose {
    max-width: 72ch;
}

.prose h2 {
    margin: 36px 0 12px;
    font-family: var(--font-display);
    font-size: 1.75rem;
}

.prose p,
.prose li {
    color: var(--ink);
    line-height: 1.75;
}

.prose p + p {
    margin-top: 12px;
}

.prose ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 20px;
    list-style: disc;
}

.prose li::marker {
    color: var(--gold);
}

.prose a {
    color: var(--gold-ink);
}

/* ---------- Pré-visualização (painel) ---------- */
.preview-bar {
    padding-block: 10px;
    background: #FBF3E3;
    border-bottom: 1px solid #E5CFA4;
    font-size: 0.92rem;
}

.preview-bar a {
    margin-left: 8px;
    color: var(--gold-ink);
    font-weight: 500;
}

/* ---------- Rodapé ---------- */
.site-footer {
    margin-top: clamp(24px, 4vw, 48px);
    padding-top: clamp(48px, 6vw, 72px);
    background: var(--linen);
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    gap: 36px;
    padding-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    width: 150px;
}

.footer-brand p {
    max-width: 42ch;
    color: var(--muted);
}

.footer-title {
    margin-bottom: 14px;
    font-family: var(--font-display);
    font-size: 1.35rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col a {
    color: var(--muted);
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--ink);
    text-decoration: underline;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
}

.footer-contact .icon {
    margin-top: 3px;
    color: var(--gold-ink);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-block: 20px calc(20px + env(safe-area-inset-bottom));
    background: linear-gradient(var(--line-strong), var(--line-strong)) no-repeat top center / calc(100% - var(--gutter) * 2) 1px;
    color: var(--muted);
    font-size: 0.85rem;
}

@media (min-width: 760px) {
    .footer-grid {
        grid-template-columns: 1.4fr repeat(3, 1fr);
        gap: 48px;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        gap: 24px;
    }

    .footer-business {
        text-align: right;
    }
}

/* ---------- Páginas de erro ---------- */
.error-page {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-block: clamp(48px, 8vw, 110px);
}

.error-code {
    color: var(--gold-ink);
    font-size: 0.95rem;
}

.page-minimal {
    min-height: 100vh;
}

.minimal-shell {
    max-width: 640px;
    margin: 0 auto;
    padding: 48px 24px;
}

.minimal-brand img {
    width: 150px;
    margin-bottom: 8px;
}

.minimal-shell .error-page {
    padding-block: 24px;
}

.debug-box {
    width: 100%;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #E5CFA4;
    background: #FBF3E3;
    font-size: 0.9rem;
}

.debug-box pre {
    margin: 10px 0 0;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ---------- Loja física ---------- */
.store-head .hero-kicker {
    margin-bottom: 10px;
}

.store-layout {
    display: grid;
    gap: 40px;
    padding-bottom: clamp(24px, 4vw, 48px);
}

.store-photo-wrap,
.store-teaser-media {
    position: relative;
    width: min(100%, 460px);
    margin: 0 auto;
    padding: 0 22px 22px 0;
}

.store-photo {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 999px 999px var(--radius) var(--radius);
    background: var(--sand);
    box-shadow: 0 40px 70px -40px rgba(122, 90, 42, 0.45);
}

.store-photo > img,
.store-photo .arch-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.store-badge {
    position: absolute;
    left: -8px;
    bottom: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100% - 20px);
    padding: 10px 16px 10px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(250, 248, 244, 0.96);
    box-shadow: var(--shadow-soft);
}

.store-badge > span:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.store-badge strong {
    overflow: hidden;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-badge small {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-badge-icon,
.store-fact-icon,
.store-map-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ink);
    color: #D9BE8C;
}

.store-thumbs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.store-thumb {
    display: block;
    width: 72px;
    aspect-ratio: 4 / 5;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 999px 999px 4px 4px;
    background: var(--linen);
    opacity: 0.75;
    transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
}

.store-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-thumb:hover,
.store-thumb.is-active {
    opacity: 1;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(176, 138, 78, 0.25);
}

.store-info {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: clamp(22px, 4vw, 36px);
    border: 1px solid var(--line);
    border-radius: 18px;
    background:
        radial-gradient(80% 60% at 100% 0%, var(--linen), transparent 70%),
        var(--white);
}

.store-facts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.store-fact {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.store-fact > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.store-fact-title {
    color: var(--gold-ink);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
}

.store-fact address {
    display: flex;
    flex-direction: column;
    font-style: normal;
    line-height: 1.55;
}

.store-fact address span:first-child {
    font-family: var(--font-display);
    font-size: 1.45rem;
    line-height: 1.25;
}

.store-fact p {
    line-height: 1.6;
}

.store-fact a {
    color: var(--ink);
}

.store-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.store-actions .button {
    flex: 1 1 180px;
}

@media (min-width: 900px) {
    .store-layout {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: 64px;
        align-items: center;
    }

    .store-photo-wrap {
        margin-left: 0;
    }

    .store-badge {
        left: -36px;
    }
}

/* Mapa */
.store-map {
    position: relative;
}

.store-map-canvas {
    position: relative;
    height: clamp(340px, 52vw, 520px);
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    background: #EFE5D8;
}

.store-map-art {
    width: 100%;
    height: 100%;
}

.map-ground {
    fill: #EFE5D8;
}

.map-blocks rect {
    fill: #E5D6C3;
}

.map-park rect {
    fill: #DCCDB3;
}

.map-park circle {
    fill: #CDBB9C;
}

.map-roads path {
    fill: none;
    stroke: #FBF9F5;
    stroke-width: 14;
    stroke-linecap: round;
}

.map-roads .road-main {
    stroke-width: 22;
}

.map-roads .road-small {
    stroke-width: 8;
}

.map-route {
    fill: none;
    stroke: #B08A4E;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1 11;
    animation: route-flow 1.6s linear infinite;
}

@keyframes route-flow {
    to { stroke-dashoffset: -24; }
}

.pin-halo {
    fill: #B08A4E;
    opacity: 0.12;
    transform-box: fill-box;
    transform-origin: center;
    animation: pin-pulse 2.4s var(--ease) infinite;
}

.pin-halo-strong {
    opacity: 0.22;
    animation: none;
}

@keyframes pin-pulse {
    0% { transform: scale(0.7); opacity: 0.28; }
    100% { transform: scale(1.25); opacity: 0; }
}

.pin-arch {
    fill: #342D29;
    stroke: #D9BE8C;
    stroke-width: 1.5;
}

.store-map-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    animation: fade-in 0.4s var(--ease);
}

.store-map-card {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin: -64px 14px 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(250, 248, 244, 0.97);
    box-shadow: 0 24px 50px -30px rgba(52, 45, 41, 0.55);
}

.store-map-text {
    min-width: 0;
}

.store-map-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.2;
}

.store-map-sub {
    color: var(--muted);
    font-size: 0.92rem;
}

.store-map-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    grid-column: 1 / -1;
}

.store-map-actions .button {
    flex: 1 1 160px;
}

.store-map-note {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.84rem;
    text-align: center;
}

.store-map.is-live .store-map-art {
    display: none;
}

.store-map.is-live .store-map-card {
    margin-top: 14px;
}

@media (min-width: 760px) {
    .store-map-card {
        position: absolute;
        left: 24px;
        bottom: 56px;
        width: min(460px, calc(100% - 48px));
        margin: 0;
    }

    .store-map.is-live .store-map-card {
        position: absolute;
        margin: 0;
        left: auto;
        right: 24px;
        bottom: auto;
        top: 24px;
        width: auto;
        max-width: 360px;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .store-map.is-live .store-map-actions .button {
        flex: 0 1 auto;
    }
}

.store-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 22px;
    padding: 26px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    text-align: center;
}

/* Seção na página inicial */
.store-teaser {
    position: relative;
    overflow: hidden;
}

.store-teaser-grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

.store-teaser-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.store-facts-compact {
    gap: 14px;
    margin: 4px 0 8px;
}

.store-facts-compact .store-fact {
    align-items: center;
}

.store-facts-compact .store-fact address span:first-child {
    font-size: 1.25rem;
}

@media (min-width: 860px) {
    .store-teaser-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 72px;
    }

    .store-teaser-media {
        margin-left: 0;
        width: min(100%, 400px);
    }

    .store-teaser-media .store-badge {
        left: -30px;
    }
}

/* ---------- Sacola, botões de compra e contato rápido ---------- */
.header-bag {
    position: relative;
}

.bag-count {
    position: absolute;
    top: 4px;
    right: 2px;
    display: grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--gold-ink);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1;
}

.button-whatsapp {
    background: #2E6B4A;
    border-color: #2E6B4A;
    color: var(--white);
}

.button-whatsapp:hover {
    background: #24573C;
    border-color: #24573C;
}

.button-whatsapp-outline {
    color: #24573C;
    border-color: #9CC2AD;
}

.button-whatsapp-outline:hover {
    background: #2E6B4A;
    border-color: #2E6B4A;
    color: var(--white);
}

.buy-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-group.needs-choice legend {
    color: var(--danger);
}

.option-group.needs-choice .option-chip span {
    border-color: #D9A497;
    animation: nudge 0.35s var(--ease) 2;
}

@keyframes nudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

/* Barra fixa no celular */
.buy-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(250, 248, 244, 0.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 30px -18px rgba(52, 45, 41, 0.4);
    backdrop-filter: blur(8px);
    transform: translateY(110%);
    transition: transform 0.25s var(--ease);
}

.buy-bar.is-visible {
    transform: none;
}

.buy-bar-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.buy-bar-info strong {
    font-size: 1.1rem;
    font-weight: 600;
}

.buy-bar-info span {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.buy-bar .button {
    flex: none;
    min-height: 46px;
}

@media (min-width: 900px) {
    .buy-bar {
        display: none;
    }
}

/* Botão flutuante de WhatsApp */
.float-whatsapp {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 44;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #2E6B4A;
    color: var(--white);
    box-shadow: 0 16px 34px -14px rgba(36, 87, 60, 0.75);
    text-decoration: none;
    transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}

.float-whatsapp:hover {
    background: #24573C;
    transform: translateY(-2px);
}

.float-whatsapp .icon {
    width: 26px;
    height: 26px;
}

.float-whatsapp span {
    display: none;
}

@media (min-width: 900px) {
    .float-whatsapp {
        width: auto;
        height: 52px;
        padding: 0 22px 0 18px;
        right: 24px;
        bottom: 24px;
    }

    .float-whatsapp span {
        display: inline;
        font-weight: 500;
    }
}

.cart-open .float-whatsapp,
.cart-open .buy-bar {
    visibility: hidden;
}

/* Painel da sacola */
.cart {
    position: fixed;
    inset: 0;
    z-index: 70;
}

.cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(52, 45, 41, 0.42);
    animation: fade-in 0.2s var(--ease);
}

.cart-panel {
    position: absolute;
    inset: 0 0 0 auto;
    display: flex;
    flex-direction: column;
    width: min(100vw, 430px);
    background: var(--paper);
    box-shadow: -30px 0 60px -40px rgba(52, 45, 41, 0.6);
    animation: cart-in 0.28s var(--ease);
}

@keyframes cart-in {
    from { transform: translateX(100%); }
    to { transform: none; }
}

.cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 14px 22px;
    border-bottom: 1px solid var(--line);
}

.cart-title {
    font-family: var(--font-display);
    font-size: 1.9rem;
    line-height: 1.1;
}

.cart-count-text {
    color: var(--muted);
    font-size: 0.88rem;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 22px 16px;
}

.cart-list {
    display: flex;
    flex-direction: column;
}

.cart-item {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    padding: 16px 28px 16px 0;
    border-bottom: 1px solid var(--line);
}

.cart-item.is-unavailable .cart-thumb,
.cart-item.is-unavailable .cart-name,
.cart-item.is-unavailable .cart-price {
    opacity: 0.55;
}

.cart-thumb {
    display: grid;
    place-items: center;
    width: 76px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 999px 999px 4px 4px;
    background: var(--linen);
    color: var(--muted);
}

.cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.cart-name {
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
}

.cart-name:hover {
    text-decoration: underline;
}

.cart-meta {
    color: var(--muted);
    font-size: 0.86rem;
}

.cart-warning {
    color: var(--danger);
    font-size: 0.84rem;
}

.cart-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
}

.cart-price {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--white);
}

.qty-btn {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--ink);
}

.qty-btn:hover:not(:disabled) {
    background: var(--linen);
}

.qty-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.qty-value {
    min-width: 24px;
    font-weight: 500;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.cart-remove {
    position: absolute;
    top: 12px;
    right: -6px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--muted);
}

.cart-remove:hover {
    background: var(--linen);
    color: var(--ink);
}

.cart-hint {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.85rem;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 48px 12px;
    text-align: center;
}

.cart-empty-arch {
    display: grid;
    place-items: center;
    width: 84px;
    height: 104px;
    margin-bottom: 8px;
    border-radius: 999px 999px 4px 4px;
    background: linear-gradient(180deg, var(--linen), var(--sand));
    color: var(--gold-ink);
    box-shadow: 0 0 0 1px var(--line-strong);
}

.cart-empty-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
}

.cart-empty-text {
    max-width: 30ch;
    margin-bottom: 8px;
    color: var(--muted);
}

.cart-foot {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 22px calc(16px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--white);
}

.cart-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.cart-total span {
    color: var(--muted);
}

.cart-total strong {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
}

.cart-extra summary {
    min-height: 36px;
    padding: 6px 0;
    color: var(--gold-ink);
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
}

.cart-extra summary .optional {
    margin-left: 4px;
    color: var(--muted);
    font-weight: 400;
}

.cart-extra input,
.cart-extra textarea {
    width: 100%;
    margin-top: 8px;
    padding: 10px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--paper);
    font-size: 1rem;
}

.cart-extra input:focus,
.cart-extra textarea:focus {
    outline: none;
    border-color: var(--ink);
}

.cart-foot .button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cart-note {
    color: var(--muted);
    font-size: 0.82rem;
    text-align: center;
}

/* Sacola em página inteira (/sacola) */
.cart.is-inline {
    position: static;
    padding-bottom: clamp(40px, 6vw, 80px);
}

.cart.is-inline .cart-backdrop,
.cart.is-inline .cart-title {
    display: none;
}

.cart.is-inline .cart-panel {
    position: static;
    width: min(100% - 2 * var(--gutter), 720px);
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    animation: none;
}

.cart.is-inline .cart-head {
    padding-block: 12px;
}

.page-cart .page-head {
    width: min(100%, 720px + 2 * var(--gutter));
}

.page-cart .section-tight {
    padding: 0;
}

/* Aviso de peça adicionada */
.cart-toast {
    position: fixed;
    left: 50%;
    bottom: calc(84px + env(safe-area-inset-bottom));
    z-index: 75;
    display: flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    max-width: calc(100vw - 32px);
    padding: 10px 10px 10px 14px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    box-shadow: 0 20px 40px -18px rgba(52, 45, 41, 0.7);
    opacity: 0;
    transform: translate(-50%, 12px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.cart-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.cart-toast-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #D2AE6E;
    color: var(--ink);
}

.cart-toast-action {
    min-height: 36px;
    padding: 6px 14px;
    border: 0;
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    font-weight: 500;
}

@media (min-width: 900px) {
    .cart-toast {
        bottom: 32px;
    }
}

/* ---------- Fotos da página do produto: peça inteira, sem corte ---------- */
.gallery-main {
    aspect-ratio: 3 / 4;
    background: #FFFFFF;
}

.gallery-zoom img {
    object-fit: contain;
    padding: 3% 4%;
}

.gallery-arrow {
    width: 44px;
    height: 44px;
    margin-top: -22px;
    box-shadow: 0 2px 8px rgba(52, 45, 41, 0.12);
}

.gallery-zoom-hint {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(250, 248, 244, 0.92);
    color: var(--ink);
    pointer-events: none;
}

.gallery-status {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(52, 45, 41, 0.82);
    color: var(--paper);
    font-size: 0.8rem;
    font-weight: 500;
}

.gallery-thumb {
    background: #FFFFFF;
    border-color: var(--line);
}

.gallery-thumb img {
    object-fit: contain;
    padding: 3px;
}

@media (min-width: 600px) and (max-width: 899px) {
    .gallery-main {
        max-height: 72vh;
    }
}

@media (min-width: 900px) {
    .gallery-main {
        aspect-ratio: 4 / 5;
        max-height: 82vh;
        box-shadow: inset 0 0 0 1px rgba(52, 45, 41, 0.05);
    }

    .gallery-main .gallery-zoom img {
        max-height: 82vh;
    }
}

/* Voltar ao catálogo (celular) e caminho de navegação (computador) */
.back-public {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 40px;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.92rem;
    text-decoration: none;
}

.back-public:hover {
    color: var(--ink);
}

@media (max-width: 899px) {
    .product-breadcrumb {
        display: none;
    }
}

@media (min-width: 900px) {
    .back-public {
        display: none;
    }
}

.unavailable-note {
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--linen);
    color: var(--ink);
    font-size: 0.92rem;
}

/* Seleção de cor e tamanho mais fácil no toque */
.option-chip span {
    min-height: 48px;
    min-width: 54px;
}

@media (max-width: 480px) {
    .option-list {
        gap: 8px;
    }

    .option-chip span {
        padding: 8px 14px;
    }
}

/* ---------- Catálogo no celular: busca e categorias sempre à mão ---------- */
.catalog-quick {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.quick-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--white);
}

.quick-search .icon {
    color: var(--muted);
}

.quick-search input {
    flex: 1;
    min-width: 0;
    min-height: 46px;
    border: 0;
    background: transparent;
    font-size: 1rem;
}

.quick-search input:focus {
    outline: none;
}

.quick-search:focus-within {
    border-color: var(--ink);
}

.category-chips {
    display: flex;
    gap: 8px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 2px var(--gutter) 6px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.category-chips::-webkit-scrollbar {
    display: none;
}

.category-chips a {
    flex: none;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 6px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--white);
    font-size: 0.92rem;
    text-decoration: none;
    white-space: nowrap;
    scroll-snap-align: start;
}

.category-chips a.is-active {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
}

@media (min-width: 960px) {
    .catalog-quick {
        display: none;
    }
}

.filter-checks {
    gap: 4px;
}

/* ---------- Ajustes gerais para telas pequenas ---------- */
@media (max-width: 380px) {
    :root {
        --gutter: 14px;
    }

    .header-inner {
        gap: 4px;
    }

    .header-actions .icon-button {
        width: 40px;
        height: 40px;
    }

    .brand-logo {
        height: 19px;
    }

    .display-title {
        font-size: 2rem;
    }

    .product-title {
        font-size: 1.85rem;
    }

    .button {
        padding-inline: 18px;
    }

    .sort-form label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .header-actions .header-whatsapp {
        width: 40px;
        min-height: 40px;
        height: 40px;
        padding: 0;
    }
}

/* ---------- Compra pelo site: sacola e página do produto ---------- */
.buy-box .product-note {
    text-align: center;
}

.buy-box .product-note .icon {
    display: inline-block;
    margin-right: 6px;
    color: var(--success);
    vertical-align: -3px;
}

.product-doubt,
.cart-doubt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    color: #24573C;
    font-size: 0.92rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.product-doubt {
    align-self: flex-start;
    margin-top: 4px;
}

.cart-doubt {
    width: 100%;
}

.product-doubt:hover,
.cart-doubt:hover {
    color: var(--ink);
}

[data-cart-send].is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Miniaturas da sacola: peça inteira */
.cart-thumb {
    background: #FFFFFF;
    box-shadow: inset 0 0 0 1px var(--line);
}

.cart-thumb img {
    object-fit: contain;
    padding: 4px 2px 0;
}
