@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&display=swap');

:root {
    --ink: #141414;
    --ink-soft: #2a2a2a;
    --beige: #e8dfd4;
    --beige-deep: #d4c4b3;
    --beige-mid: #c9b8a4;
    --sand: #f3ebe3;
    --gray-100: #f7f5f2;
    --gray-200: #ebe8e4;
    --gray-400: #9c9690;
    --gray-600: #5c5854;
    --white: #ffffff;
    --accent-line: var(--ink);
    --price: #1f2937;
    --promo-green: #28a745;
    --star-yellow: #ffc107;
    --flash-accent: #e8d5a3;
    --danger: #991b1b;
    --ok: #166534;
    --radius: 10px;
    --radius-sm: 6px;
    --shadow: 0 8px 30px rgba(20, 20, 20, 0.06);
    --max: 1320px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 1rem;
}

body.store-body,
body {
    margin: 0;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 15px;
    color: var(--ink);
    background: var(--gray-100);
    line-height: 1.45;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ——— Faixa promocional ——— */
.store-topbar {
    background: var(--ink);
    color: var(--beige);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    padding: 0.45rem 1rem;
}

.store-topbar-inner {
    max-width: var(--max);
    margin: 0 auto;
}

.store-topbar-marquee {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ——— Cabeçalho (rola junto com a página, sem fixed/sticky) ——— */
.store-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.store-header-main {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0.85rem 1.25rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.25rem 2rem;
}

.store-menu-toggle {
    display: none;
    align-items: center;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--ink);
    border-radius: 10px;
    padding: 0.55rem;
    font: inherit;
    cursor: pointer;
    width: 38px;
    height: 38px;
    justify-content: center;
}

.store-menu-toggle-bars {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
}

.store-menu-toggle-bars i {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.2s ease;
    transform-origin: center;
}

.store-menu-toggle.is-open .store-menu-toggle-bars i:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.store-menu-toggle.is-open .store-menu-toggle-bars i:nth-child(2) {
    opacity: 0;
}

.store-menu-toggle.is-open .store-menu-toggle-bars i:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

.store-mobile-menu {
    display: none;
}

.store-mobile-menu-head {
    display: none;
}

.store-mobile-categories {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.store-mobile-categories a {
    display: block;
    text-decoration: none;
    color: var(--gray-600);
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid var(--gray-200);
    background: var(--gray-100);
}

.store-mobile-categories a.is-active {
    background: var(--ink);
    color: var(--beige);
    border-color: var(--ink);
}

.store-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--ink);
    flex-shrink: 0;
}

.store-logo-img {
    display: block;
    height: clamp(52px, 12vw, 72px);
    width: auto;
    max-width: min(380px, 72vw);
    object-fit: contain;
    object-position: left center;
}

.store-logo:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 4px;
    border-radius: 4px;
}

.store-search {
    display: flex;
    align-items: stretch;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    overflow: hidden;
    background: var(--gray-100);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.store-search:focus-within {
    border-color: var(--beige-mid);
    box-shadow: 0 0 0 3px rgba(212, 196, 179, 0.35);
}

.store-search input[type="search"] {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 0.65rem 1.15rem;
    font: inherit;
    color: var(--ink);
    min-width: 0;
}

.store-search input[type="search"]::placeholder {
    color: var(--gray-400);
}

.store-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    border: 0;
    background: var(--ink);
    color: var(--beige);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}

.store-search-btn:hover {
    background: var(--ink-soft);
}

.store-tools {
    display: flex;
    align-items: stretch;
    gap: 0.25rem 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.store-tool {
    position: relative;
}

.store-tool-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--ink);
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.store-tool-link:hover,
.store-tool-link.is-active {
    border-bottom-color: var(--beige-mid);
}

.store-tool-icon {
    display: flex;
    color: var(--gray-600);
}

.store-tool-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: left;
}

.store-tool-text strong {
    font-size: 0.8rem;
    font-weight: 600;
}

.store-tool-text small {
    font-size: 0.7rem;
    color: var(--gray-400);
    font-weight: 400;
}

.store-cart-badge {
    position: absolute;
    top: -4px;
    left: 14px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    background: var(--ink);
    color: var(--beige);
    border-radius: 999px;
}

/* ——— Menu categorias ——— */
.store-categories {
    border-top: 1px solid var(--gray-200);
    background: var(--sand);
}

.store-categories-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0.55rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.5rem;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.store-categories-inner a {
    color: var(--ink);
    text-decoration: none;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
}

.store-categories-inner a:hover,
.store-categories-inner a.is-active {
    border-bottom-color: var(--ink);
}

/* ——— Hero ——— */
.store-hero {
    margin: 0;
}

.store-hero-slides {
    min-height: 290px;
    background:
        linear-gradient(105deg, rgba(20, 20, 20, 0.82) 0%, rgba(20, 20, 20, 0.4) 45%, rgba(20, 20, 20, 0.18) 100%),
        url("img/banner.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.25rem;
}

.store-hero-overlay {
    text-align: center;
    color: var(--white);
    max-width: 520px;
}

.store-hero-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    opacity: 0.9;
}

.store-hero-title {
    margin: 0;
    font-size: clamp(1.75rem, 5vw, 2.35rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.store-hero-sub {
    margin: 0.75rem 0 1.25rem;
    font-size: 0.95rem;
    opacity: 0.92;
    color: var(--beige);
}

.store-hero-cta {
    display: inline-block;
    padding: 0.65rem 1.75rem;
    background: var(--beige);
    color: var(--ink);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.2s, transform 0.2s;
}

.store-hero-cta:hover {
    background: var(--white);
    transform: translateY(-1px);
}

/* ——— Conteúdo / grade ——— */
.store-main {
    max-width: var(--max);
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
}

.store-main-complement {
    padding-top: 0;
    padding-bottom: 1.25rem;
}

.store-complement-banner {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.store-main.narrow,
.wrap.narrow {
    max-width: 440px;
}

.collections-main {
    padding-top: 1.35rem;
}

.collections-breadcrumb {
    margin-bottom: 1.25rem;
}

.collections-head {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.collections-title {
    margin: 0;
    font-size: clamp(1.25rem, 2.5vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: none;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.collection-tile {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    display: block;
    text-decoration: none;
    min-height: 130px;
    background: #d7d7d7;
}

.collection-tile img,
.collection-tile-placeholder {
    width: 100%;
    height: 100%;
    min-height: 130px;
    display: block;
}

.collection-tile img {
    object-fit: cover;
    transition: transform 0.35s ease;
}

.collection-tile-placeholder {
    background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
}

.collection-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.collection-tile-name {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: clamp(0.95rem, 1.8vw, 1.22rem);
    font-weight: 700;
    text-align: center;
    padding: 0 0.55rem;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.collection-tile:hover img {
    transform: scale(1.03);
}

.page-card {
    background: var(--white);
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.page-title {
    margin: 0 0 1.25rem;
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--ink);
}

.store-main a.text-link,
.store-main p a.text-link,
.store-main .form + p a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--beige-mid);
}

.store-main .form + p a:hover,
.store-main p a.text-link:hover {
    border-bottom-color: var(--ink);
}

.order-result {
    margin-top: 1.25rem;
    padding: 1.15rem 1.25rem;
    background: var(--sand);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

/* ——— Meus pedidos / rastreio ——— */
.store-main.track-page {
    max-width: min(720px, 100%);
}

.track-page-intro {
    margin-bottom: 1.5rem;
}

.track-page-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.45rem, 3.5vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1.2;
}

.track-page-lead {
    margin: 0;
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.5;
    max-width: 42ch;
}

.track-empty-card {
    text-align: center;
    padding: 2.25rem 1.5rem 2rem;
}

.track-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: var(--sand);
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.track-empty-title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.track-empty-text {
    margin: 0 0 1.35rem;
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.55;
    max-width: 34ch;
    margin-left: auto;
    margin-right: auto;
}

.order-track-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-track-card {
    background: var(--white);
    border-radius: 14px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    padding: 1.25rem 1.35rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.order-track-card:hover {
    box-shadow: 0 12px 36px rgba(20, 20, 20, 0.08);
    border-color: var(--beige-mid);
}

.order-track-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.order-track-card__id-block {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.order-track-card__label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
}

.order-track-card__code {
    font-size: 1.05rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    word-break: break-all;
}

.order-status-pill {
    display: inline-block;
    max-width: 100%;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.3;
    border: 1px solid transparent;
    text-align: center;
}

.order-status-pill--neutral {
    background: var(--gray-100);
    color: var(--ink-soft);
    border-color: var(--gray-200);
}

.order-status-pill--wait {
    background: rgba(232, 213, 163, 0.45);
    color: #5c4a1a;
    border-color: var(--flash-accent);
}

.order-status-pill--ship {
    background: rgba(30, 64, 175, 0.08);
    color: #1e3a5f;
    border-color: rgba(30, 64, 175, 0.2);
}

.order-status-pill--ok {
    background: rgba(22, 101, 52, 0.1);
    color: var(--ok);
    border-color: rgba(22, 101, 52, 0.22);
}

.order-status-pill--bad {
    background: rgba(153, 27, 27, 0.08);
    color: var(--danger);
    border-color: rgba(153, 27, 27, 0.2);
}

.order-track-card__meta {
    margin: 0;
    display: grid;
    gap: 0.65rem;
}

.order-track-card__meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 1rem;
}

.order-track-card__meta-row dt {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-600);
}

.order-track-card__meta-row dd {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
    text-align: right;
}

.order-track-card__meta-row--total dt {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
}

.order-track-card__meta-row--total dd {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--price);
}

.order-track-card__foot {
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--gray-200);
}

.order-track-card__tracking-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
    width: 100%;
}

.order-track-card__label--center {
    display: block;
    text-align: center;
}

.order-track-card__tracking-code {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: 0.95rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    word-break: break-all;
}

.btn-track-external {
    font-size: 0.72rem;
    padding: 0.55rem 1rem;
}

.order-track-card__hint {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--gray-600);
}

@media (max-width: 480px) {
    .order-track-card__head {
        flex-direction: column;
        align-items: stretch;
    }

    .order-status-pill {
        align-self: flex-start;
    }

    .order-track-card__meta-row dd {
        text-align: left;
    }
}

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 2rem 1.25rem;
}

.store-catalog-section {
    margin-bottom: 2.75rem;
}

.store-catalog-section:last-of-type {
    margin-bottom: 0;
}

/* Faixa em destaque (5ª, 10ª… seção de categoria na home) */
.store-cat-feature {
    margin-bottom: 2.75rem;
    border-radius: 18px;
    overflow: hidden;
    background: var(--ink);
    box-shadow: 0 12px 40px rgba(20, 20, 20, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.store-cat-feature-inner {
    display: flex;
    align-items: stretch;
    min-height: min(320px, 52vw);
}

.store-cat-feature-cta {
    flex: 0 0 clamp(200px, 26%, 300px);
    padding: 1.75rem 1.5rem 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
    color: var(--beige);
}

.store-cat-feature-title {
    margin: 0;
    font-size: clamp(1.35rem, 3.2vw, 1.85rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--beige);
}

.store-cat-feature-tagline {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(232, 223, 212, 0.88);
    max-width: 22ch;
}

.store-cat-feature-btn {
    align-self: flex-start;
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    background: var(--beige);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.store-cat-feature-btn:hover {
    background: var(--white);
    transform: translateY(-1px);
}

.store-cat-feature-btn:focus-visible {
    outline: 2px solid var(--beige);
    outline-offset: 3px;
}

.store-cat-feature-rail-wrap {
    flex: 1;
    min-width: 0;
    position: relative;
    padding: 1.1rem 3.25rem 1.1rem 0.35rem;
    background: linear-gradient(105deg, rgba(26, 26, 26, 0.35) 0%, rgba(20, 20, 20, 0.2) 40%, transparent 100%);
}

.store-cat-feature-rail {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.5rem;
    padding: 0.35rem 0.25rem 0.65rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: var(--beige-mid) transparent;
}

.store-cat-feature-rail:focus-visible {
    outline: 2px solid var(--beige);
    outline-offset: 2px;
    border-radius: 8px;
}

.store-cat-feature-rail::-webkit-scrollbar {
    height: 6px;
}

.store-cat-feature-rail::-webkit-scrollbar-thumb {
    background: var(--beige-mid);
    border-radius: 999px;
}

.store-cat-feature-card {
    flex: 0 0 min(220px, 72vw);
    scroll-snap-align: start;
    max-width: min(220px, 72vw);
}

.store-cat-feature-rail .store-cat-feature-card {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.store-cat-feature-rail .product-card-body {
    padding: 0.75rem 0.85rem 1rem;
}

.store-cat-feature-rail .product-card-name {
    font-size: 0.82rem;
    line-height: 1.35;
}

.store-cat-feature-next {
    position: absolute;
    right: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: background 0.2s, transform 0.2s;
}

.store-cat-feature-next:hover {
    background: var(--beige);
    transform: translateY(-50%) scale(1.05);
}

.store-cat-feature-next:focus-visible {
    outline: 2px solid var(--beige);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .store-cat-feature-inner {
        flex-direction: column;
        min-height: 0;
    }

    .store-cat-feature-cta {
        flex: none;
        max-width: none;
        text-align: center;
        align-items: center;
        padding: 1.5rem 1.25rem 1rem;
    }

    .store-cat-feature-tagline {
        max-width: 36ch;
    }

    .store-cat-feature-btn {
        align-self: center;
    }

    .store-cat-feature-rail-wrap {
        padding: 0.5rem 2.75rem 1.25rem 0.75rem;
    }

    .store-cat-feature-next {
        right: 0.5rem;
    }
}

.store-empty--section {
    margin: 0;
    padding: 0.5rem 0 0;
    text-align: left;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.section-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-bottom: 0.5rem;
    border-bottom: 4px solid var(--ink);
    flex: 1;
    min-width: 200px;
}

.section-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 2px solid var(--beige-mid);
    padding-bottom: 2px;
}

.section-link:hover {
    border-bottom-color: var(--ink);
}

.store-empty {
    text-align: center;
    color: var(--gray-600);
    padding: 3rem 1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem 1rem;
}

@media (max-width: 1200px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .store-header-main {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo menu"
            "search search"
            "tools tools"
            "panel panel";
    }
    .store-logo { grid-area: logo; }
    .store-search { grid-area: search; max-width: none; margin: 0; }
    .store-tools {
        grid-area: tools;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.45rem;
        margin-top: 0.15rem;
    }
    .store-tool {
        min-width: 0;
    }
    .store-tools .store-tool-link {
        background: var(--gray-100);
        padding: 0.4rem 0.45rem;
        border-radius: 9px;
        border: 1px solid var(--gray-200);
        border-bottom: 1px solid var(--gray-200);
        gap: 0.3rem;
        justify-content: center;
    }
    .store-tools .store-tool-text strong {
        font-size: 0.72rem;
    }
    .store-tools .store-tool-text small {
        font-size: 0.64rem;
    }
    .store-menu-toggle { grid-area: menu; display: inline-flex; justify-self: end; }
    .store-menu-toggle {
        position: relative;
        z-index: 10002;
    }
    .store-mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 10001;
        display: none;
        padding: 7rem 1.15rem 1.25rem;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(2px);
        overflow-y: auto;
    }
    .store-mobile-menu.is-open { display: block; }
    .store-categories {
        display: none;
    }
    .store-mobile-categories {
        max-width: 520px;
        margin: 0 auto;
        gap: 0.5rem;
    }
    .store-mobile-categories a {
        text-align: center;
        padding: 0.78rem 0.8rem;
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .store-tools .store-tool-link {
        padding: 0.38rem 0.35rem;
    }
    .store-tools .store-tool-icon svg {
        width: 18px;
        height: 18px;
    }
    .store-tools .store-tool-text strong {
        font-size: 0.68rem;
    }
    .store-tools .store-tool-text small {
        font-size: 0.6rem;
    }
}

@media (min-width: 993px) {
    .store-menu-toggle,
    .store-mobile-menu {
        display: none !important;
    }

    .store-search,
    .store-tools {
        display: flex !important;
    }
}

body.is-mobile-menu-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .collections-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 380px) {
    .product-grid { grid-template-columns: 1fr; }
    .collections-grid { grid-template-columns: 1fr; }
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(20, 20, 20, 0.07);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
    transition: box-shadow 0.25s, transform 0.25s;
}

a.product-card--link {
    text-decoration: none;
    color: inherit;
}

.product-card--link:hover {
    box-shadow: 0 12px 36px rgba(20, 20, 20, 0.12);
    transform: translateY(-4px);
}

.product-card-media {
    position: relative;
    aspect-ratio: 3 / 4;
    background: var(--gray-200);
}

.product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.product-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, var(--gray-200), var(--beige));
}

.product-discount-badge {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    z-index: 2;
    background: var(--promo-green);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.35);
}

.product-badge {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    z-index: 2;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
}

.product-badge--off {
    background: var(--gray-600);
    color: var(--white);
}

.product-card-body {
    padding: 1rem 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.4rem;
}

.product-card-name {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ink);
}

.product-price-block {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem 0.65rem;
    margin-top: 0.15rem;
}

.product-price-block--large {
    margin-top: 0.5rem;
}

.product-price-sale {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--promo-green);
    letter-spacing: -0.02em;
}

.product-price-block--large .product-price-sale {
    font-size: 1.65rem;
}

.product-price-was {
    font-size: 0.85rem;
    color: var(--gray-400);
    text-decoration: line-through;
    font-weight: 500;
}

.product-price-block--large .product-price-was {
    font-size: 1rem;
}

.product-installments {
    margin: 0.15rem 0 0;
    font-size: 0.78rem;
    color: var(--gray-600);
    line-height: 1.4;
}

.product-installments strong {
    color: var(--promo-green);
    font-weight: 700;
}

.product-installments--large {
    font-size: 0.95rem;
}

.product-card-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    margin-top: 0.35rem;
}

.product-stars-yellow {
    color: var(--star-yellow);
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    line-height: 1;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.product-rating-num {
    color: var(--gray-400);
    font-weight: 500;
}

/* Página do produto */
.product-page--full {
    max-width: 1200px;
    margin: 0 auto;
}

.product-panel {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.35rem 1.5rem;
    box-shadow: 0 2px 14px rgba(20, 20, 20, 0.05);
}

.product-panel--gallery {
    padding: 1.15rem 1.25rem;
    height: fit-content;
}

.product-panel--buy {
    padding: 1.35rem 1.5rem;
}

@media (min-width: 901px) {
    .product-panel--buy {
        position: sticky;
        top: 1rem;
        align-self: flex-start;
        width: 100%;
    }
}

.product-panel--desc > :first-child,
.product-panel--trust > :first-child {
    margin-top: 0;
}

.product-panel--trust .product-pay-safe-box {
    box-shadow: none;
    background: var(--gray-100);
}

.product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.82rem;
    color: var(--gray-600);
    margin: 0 0 1.25rem;
}

.product-breadcrumb a {
    color: var(--ink-soft);
    text-decoration: none;
}

.product-breadcrumb a:hover {
    text-decoration: underline;
}

.product-breadcrumb-sep {
    color: var(--gray-400);
    user-select: none;
}

.product-breadcrumb-current {
    color: var(--gray-600);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 2rem 2.5rem;
    align-items: stretch;
    margin-bottom: 3rem;
}

.product-detail-info-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

@media (max-width: 900px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
}

.product-gallery {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.product-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
    max-height: min(72vh, 620px);
    overflow-y: auto;
}

.product-gallery-thumb {
    width: 64px;
    height: 80px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: var(--gray-200);
    flex-shrink: 0;
}

.product-gallery-thumb.is-active {
    border-color: var(--ink);
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-gallery-main {
    flex: 1;
    min-width: 0;
}

.product-zoom-wrap {
    border-radius: 12px;
    overflow: hidden;
    background: var(--gray-100);
}

.product-detail-main-media {
    aspect-ratio: 3 / 4;
    max-height: min(72vh, 620px);
}

.product-detail-main-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
    will-change: transform;
}

.product-zoom-hint {
    margin: 0.5rem 0 0;
    font-size: 0.78rem;
    color: var(--gray-400);
}

.product-flash-bar {
    background: var(--ink);
    color: var(--flash-accent);
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.65rem;
}

.product-flash-bar__sep {
    opacity: 0.5;
}

.product-flash-bar__timer strong {
    color: var(--beige);
    font-weight: 700;
}

.product-detail-meta-line {
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
    color: var(--gray-600);
}

.product-detail-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.product-verified {
    display: inline-flex;
    vertical-align: middle;
    flex-shrink: 0;
}

.product-verified svg {
    display: block;
}

/* Selo verificado: sempre azul (independente do tema da loja) */
.product-verified svg circle {
    fill: #2563eb;
    stroke: #1d4ed8;
    stroke-width: 1.2;
}

.product-verified svg path {
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-detail-rating {
    margin-bottom: 0.35rem;
}

.product-sku-stock {
    margin: 0 0 1rem;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.dot-sep {
    margin: 0 0.25rem;
    opacity: 0.6;
}

.product-stock-ok {
    color: var(--promo-green);
    font-weight: 600;
}

.product-stock-off {
    color: var(--danger);
    font-weight: 600;
}

.product-variants {
    margin-bottom: 1rem;
}

.product-variants-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: 0.45rem;
}

.product-variants-label strong {
    color: var(--ink);
    font-weight: 700;
}

.product-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.product-pill {
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--ink);
    transition: border-color 0.2s, background 0.2s;
}

.product-pill:hover {
    border-color: var(--beige-mid);
}

.product-pill.is-selected {
    border-color: var(--ink);
    background: var(--sand);
}

.product-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.product-size {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    background: var(--white);
    font: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.product-size:hover {
    border-color: var(--beige-mid);
}

.product-size.is-selected {
    background: var(--ink);
    color: var(--beige);
    border-color: var(--ink);
}

.product-price-panel {
    margin: 1rem 0 1.15rem;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.product-price-de {
    margin: 0 0 0.25rem;
    font-size: 0.9rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.product-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.65rem;
}

.product-price-sale--xl {
    font-size: clamp(1.65rem, 4vw, 2.1rem);
}

.product-pct-pill {
    background: var(--promo-green);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.product-savings-pill {
    display: inline-block;
    margin: 0.65rem 0 0;
    background: rgba(40, 167, 69, 0.12);
    color: var(--promo-green);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
}

.product-shipping-box {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    margin-bottom: 1.25rem;
}

.product-shipping-box__line {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    margin: 0;
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.45;
}

.product-shipping-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: -0.2em;
    margin-right: 0.4rem;
    color: var(--ink);
}

.store-vitrine-ic {
    display: block;
    flex-shrink: 0;
}

.store-vitrine-ic--truck {
    opacity: 0.92;
}

.product-shipping-box__sub {
    margin: 0.5rem 0 0;
    font-size: 0.78rem;
    color: var(--gray-600);
}

.product-bestseller-badge {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0.75rem 0 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
}

.product-bestseller-badge__ic {
    display: inline-flex;
    flex-shrink: 0;
    color: #b45309;
}

.product-bestseller-badge__text strong {
    font-weight: 700;
}

.product-detail-buy {
    max-width: none;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.product-pay-strip {
    margin-top: 1.25rem;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    text-align: center;
}

.product-pay-strip__head {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.5rem;
}

.product-pay-strip__icon {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--ink);
    opacity: 0.88;
}

.product-pay-strip__text {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--gray-600);
    line-height: 1.35;
    text-align: center;
}

.product-pay-strip__emph {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--ink);
}

.product-pay-badges-img {
    margin: 0 auto;
    max-width: min(100%, 220px);
    line-height: 0;
    background: transparent;
}

.product-pay-badges-img img {
    display: block;
    width: 100%;
    height: auto;
}

.product-detail-gallery-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}

.product-gallery-below {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.product-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 0.75rem;
}

.product-lead {
    margin: 0 0 1rem;
    color: var(--gray-600);
    line-height: 1.65;
    font-size: 0.95rem;
}

.product-specs-list {
    margin: 0 0 1.5rem;
    padding-left: 1.15rem;
    color: var(--gray-600);
    line-height: 1.65;
    font-size: 0.92rem;
}

.product-size-chart {
    margin: 0 0 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    background: var(--white);
}

.product-size-chart img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

.product-long-desc {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 0.95rem;
}

.product-aside-title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: var(--ink);
}

.product-faq-list {
    margin: 0 0 1.25rem;
    padding-left: 1.1rem;
    color: var(--gray-600);
    font-size: 0.88rem;
    line-height: 1.55;
}

.product-faq-list strong {
    color: var(--ink);
}

.product-faq-custom {
    margin-bottom: 1rem;
    font-size: 0.88rem;
}

.product-faq-q {
    margin: 0 0 0.35rem;
    font-weight: 700;
    color: var(--ink);
}

.product-faq-a {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.55;
}

.product-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.82rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.product-trust-badges .tb-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.4rem;
    vertical-align: middle;
    color: var(--promo-green);
}

.product-pay-safe-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: var(--shadow);
}

.product-pay-safe-box h4 {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    color: var(--ink);
}

.product-pay-safe-box p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.product-related {
    margin-bottom: 2.5rem;
}

.product-grid--related {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1100px) {
    .product-grid--related {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .product-page--full .product-panel {
        padding: 1.1rem 1.15rem;
        border-radius: 14px;
    }
    .product-page--full .product-panel--gallery {
        padding: 1rem;
    }
    .product-grid--related {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-gallery {
        flex-direction: column-reverse;
    }
    .product-gallery-thumbs {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        width: 100%;
    }
}

.store-trust-bar {
    background: var(--sand);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 1.25rem 1rem;
    margin-bottom: 2rem;
}

.store-trust-bar-viewport {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.store-trust-bar-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 1.25rem;
    align-items: start;
    font-size: 0.82rem;
    color: var(--gray-600);
}

.store-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    min-width: 0;
}

.store-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    opacity: 0.92;
    flex-shrink: 0;
}

.store-trust-copy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.store-trust-copy strong {
    display: block;
    color: var(--ink);
    font-size: 0.88rem;
}

.store-trust-copy span {
    display: block;
    line-height: 1.45;
    font-size: 0.8rem;
}

.store-trust-bar--cart .store-trust-item {
    align-items: flex-start;
    text-align: left;
}

.store-trust-bar--cart .store-trust-icon {
    justify-content: flex-start;
}

@media (max-width: 640px) {
    .store-trust-bar {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .store-trust-bar-viewport {
        margin-left: -0.25rem;
        margin-right: -0.25rem;
        max-width: none;
    }

    .store-trust-bar-inner {
        display: flex;
        flex-wrap: nowrap;
        gap: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }

    .store-trust-bar-inner::-webkit-scrollbar {
        display: none;
    }

    .store-trust-item {
        flex: 0 0 100%;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        box-sizing: border-box;
        padding: 0.35rem 0.75rem 0.5rem;
        align-items: center;
        text-align: center;
    }

    .store-trust-bar--cart .store-trust-item {
        align-items: center;
        text-align: center;
    }

    .store-trust-bar--cart .store-trust-icon {
        justify-content: center;
    }
}

.cart-variant-hint {
    font-size: 0.78rem;
    color: var(--gray-600);
}

/* ——— Botões ——— */
.btn {
    display: inline-block;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: background 0.2s, color 0.2s, filter 0.2s;
}

.btn-primary {
    background: var(--ink);
    color: var(--beige);
}

.btn-primary:hover {
    background: var(--ink-soft);
}

.btn-buy {
    background: var(--ink);
    color: var(--beige);
}

.btn-buy:hover {
    filter: brightness(1.12);
}

.btn.btn-buy.btn-buy--block {
    width: 100%;
    max-width: 100%;
    padding: 1.15rem 1.25rem;
    font-size: 1rem;
    border-radius: 12px;
}

/* ——— Rodapé loja ——— */
.store-footer {
    background: var(--ink);
    color: var(--beige);
    margin-top: auto;
    padding: 1.25rem;
    font-size: 0.85rem;
    text-align: center;
}

.store-footer--rich {
    text-align: left;
    padding: 2.5rem 1.25rem 1.5rem;
}

.store-footer-grid {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .store-footer-grid {
        grid-template-columns: 1fr;
    }
}

.store-footer-logo {
    display: inline-block;
    margin-bottom: 0.75rem;
    line-height: 0;
    text-decoration: none;
}

.store-footer-logo:focus-visible {
    outline: 2px solid var(--beige);
    outline-offset: 4px;
    border-radius: 4px;
}

.store-footer-logo img {
    display: block;
    height: clamp(48px, 11vw, 64px);
    width: auto;
    max-width: min(320px, 92vw);
    object-fit: contain;
    object-position: left center;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.store-footer-logo:hover img {
    opacity: 1;
}

.store-footer-muted {
    margin: 0;
    opacity: 0.85;
    line-height: 1.5;
    font-size: 0.82rem;
}

.store-footer-email {
    margin: 0.55rem 0 0.85rem;
    padding: 0;
    font-size: 0.84rem;
    line-height: 1.45;
    max-width: 100%;
}

.store-footer-email a {
    color: var(--beige);
    text-decoration: none;
    opacity: 0.92;
    word-break: break-all;
}

.store-footer-email a:hover {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.store-footer-social {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.store-footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--beige);
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease;
}

.store-footer-social-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.store-footer-social-btn:focus-visible {
    outline: 2px solid var(--beige);
    outline-offset: 3px;
}

.store-footer-social-btn--wa:not(.store-footer-social-btn--disabled) {
    color: #25d366;
}

.store-footer-social-btn--wa.store-footer-social-btn--disabled {
    opacity: 0.38;
    cursor: default;
    pointer-events: none;
}

.store-footer-social-btn--fb {
    color: #8b9dc3;
}

.store-footer-social-btn--ig {
    color: #f0a4c3;
}

.store-footer-heading {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.75;
    margin-bottom: 0.65rem;
}

.store-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
    line-height: 1.7;
}

.store-footer-links a {
    color: var(--beige);
    opacity: 0.9;
}

.store-footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.store-footer-bottom {
    max-width: var(--max);
    margin: 2rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(232, 223, 212, 0.2);
    font-size: 0.78rem;
    opacity: 0.9;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.store-footer-copy {
    margin: 0;
    flex: 1 1 220px;
    line-height: 1.5;
    text-align: left;
    opacity: 0.85;
}

.store-footer-verify {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.store-footer-verify-link {
    display: block;
    line-height: 0;
    border-radius: 8px;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.store-footer-verify-link:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.store-footer-verify-link:focus-visible {
    outline: 2px solid var(--beige);
    outline-offset: 4px;
}

.store-footer-verify-link img {
    display: block;
    height: 42px;
    width: auto;
    max-width: min(140px, 38vw);
    object-fit: contain;
}

@media (max-width: 640px) {
    .store-footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .store-footer-copy {
        text-align: center;
        flex-basis: auto;
    }

    .store-footer-verify {
        justify-content: center;
    }
}

.store-footer-inner {
    max-width: var(--max);
    margin: 0 auto;
}

.store-footer p {
    margin: 0;
    opacity: 0.9;
}

/* ——— Formulários (cadastro, checkout, rastreio…) ——— */
.form label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
}

.form input,
.form textarea {
    width: 100%;
    padding: 0.55rem 0.75rem;
    margin-top: 0.35rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font: inherit;
    background: var(--white);
}

.form input:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--beige-mid);
    box-shadow: 0 0 0 3px rgba(201, 184, 164, 0.25);
}

.form button {
    margin-top: 0.5rem;
}

.err { color: var(--danger); }
.ok { color: var(--ok); }
.hint { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 1rem; }

/* ——— Carrinho / checkout ——— */
.qty-input {
    width: 4rem;
    padding: 0.35rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
}

.link-btn {
    background: none;
    border: 0;
    color: var(--danger);
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    font: inherit;
}

.cart-flash {
    margin: 0 0 1rem;
}

.cart-empty-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    max-width: 420px;
    margin: 0 auto;
}

.cart-empty-text {
    margin: 0 0 1.25rem;
    color: var(--gray-600);
    font-size: 1rem;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 1.5rem 2rem;
    align-items: start;
    margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary-card {
        position: static;
    }
}

.cart-lines-card {
    padding: 0;
    overflow: hidden;
}

.cart-lines-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px 100px;
    gap: 0.75rem 1rem;
    padding: 0.85rem 1.25rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-600);
    background: var(--sand);
    border-bottom: 1px solid var(--gray-200);
}

.cart-lines-head-tot {
    text-align: right;
}

.cart-lines-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cart-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px 100px;
    gap: 0.75rem 1rem;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid var(--gray-200);
    align-items: start;
}

.cart-line:last-child {
    border-bottom: 0;
}

@media (max-width: 640px) {
    .cart-lines-head {
        display: none;
    }

    .cart-line {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cart-line-total {
        text-align: left;
        padding-top: 0.25rem;
        border-top: 1px dashed var(--gray-200);
    }

    .cart-line-total-val {
        font-size: 1.05rem;
    }
}

.cart-line-product {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    min-width: 0;
}

.cart-line-thumb {
    flex-shrink: 0;
    width: 88px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--gray-200);
    align-self: flex-start;
}

.cart-line-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.cart-line-thumb-placeholder {
    display: block;
    aspect-ratio: 3 / 4;
    background: var(--gray-200);
}

.cart-line-thumb:hover img {
    opacity: 0.92;
}

.cart-line-info {
    min-width: 0;
}

.cart-line-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ink);
    text-decoration: none;
    line-height: 1.3;
    display: inline-block;
}

.cart-line-name:hover {
    text-decoration: underline;
}

.cart-line-variant {
    margin: 0.35rem 0 0.45rem;
    font-size: 0.8rem;
    color: var(--gray-600);
    letter-spacing: 0.02em;
}

.cart-line-prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem 0.65rem;
}

.cart-line-price-sale {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--promo-green);
}

.cart-line-price-was {
    font-size: 0.82rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.cart-line-qty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cart-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: var(--white);
    overflow: hidden;
}

.cart-qty-form {
    margin: 0;
    padding: 0;
    display: inline;
}

.cart-qty-btn {
    width: 2.15rem;
    height: 2.15rem;
    border: 0;
    background: var(--gray-100);
    color: var(--ink);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s;
}

.cart-qty-btn:hover:not(:disabled) {
    background: var(--sand);
}

.cart-qty-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.cart-qty-value {
    min-width: 2rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ink);
}

.cart-remove-form {
    margin: 0;
}

.cart-remove-link {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--danger);
    text-decoration: underline;
    cursor: pointer;
}

.cart-remove-link:hover {
    color: var(--ink);
}

.cart-line-total {
    text-align: right;
    align-self: center;
}

.cart-line-total-val {
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink);
}

.cart-summary-card {
    position: sticky;
    top: 1rem;
}

.cart-summary-row--total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.88rem;
    color: var(--gray-600);
    margin-bottom: 0.65rem;
}

.cart-summary-total {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.cart-summary-saved {
    margin: 0 0 0.85rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--promo-green);
}

.cart-summary-pill {
    margin: 0 0 1rem;
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--promo-green);
    background: rgba(40, 167, 69, 0.12);
    padding: 0.4rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(40, 167, 69, 0.25);
}

.cart-summary-ship {
    margin: 0 0 1.15rem;
    padding: 0.75rem 0.85rem;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cart-summary-ship-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-600);
}

.cart-summary-ship-value {
    font-size: 0.82rem;
    color: var(--ink-soft);
    line-height: 1.4;
}

.cart-summary-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.btn-cart-checkout {
    width: 100%;
    text-align: center;
    text-decoration: none;
    padding: 1.05rem 1.15rem;
    font-size: 0.95rem;
    border-radius: 12px;
}

.btn-cart-continue {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    padding: 0.85rem 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 12px;
    border: 2px solid var(--ink);
    background: var(--white);
    color: var(--ink);
    transition: background 0.2s, color 0.2s;
}

.btn-cart-continue:hover {
    background: var(--sand);
}

.cart-pay-foot {
    margin-top: 1rem;
    text-align: center;
}

.cart-pay-foot__title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0 0 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-600);
}

.cart-pay-foot__lock {
    display: inline-flex;
    color: var(--ink);
    opacity: 0.75;
}

.cart-pay-foot__img {
    max-width: 200px;
    margin: 0 auto;
    line-height: 0;
}

.cart-pay-foot__img img {
    display: block;
    width: 100%;
    height: auto;
}

.cart-upsell {
    margin-bottom: 2.5rem;
}

.cart-upsell-title {
    margin: 0 0 1.25rem;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink);
    padding-bottom: 0.45rem;
    border-bottom: 3px solid var(--ink);
    max-width: 100%;
}

.cart-upsell-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
    .cart-upsell-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cart-upsell-grid {
        grid-template-columns: 1fr;
    }
}

.cart-upsell-card .product-card-name {
    font-size: 0.88rem;
}

.cart-upsell-cta {
    display: block;
    margin-top: 0.65rem;
    padding: 0.55rem 0.75rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 10px;
    background: var(--ink);
    color: var(--beige);
}

.cart-upsell-card:hover .cart-upsell-cta {
    filter: brightness(1.1);
}

.cart-trust-bar {
    margin-bottom: 0;
}

.cart-trust-bar-inner {
    text-align: left;
}

.checkout-summary {
    background: var(--white);
    padding: 1.15rem 1.35rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    border: 1px solid var(--gray-200);
}

.checkout-summary h2 {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-600);
}

.cart-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.cart-page .btn-buy:not(.btn-cart-checkout) {
    width: 100%;
    max-width: 320px;
    display: inline-block;
    text-align: center;
}

.cart-page-head .cart-page-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.checkout-lines {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--gray-600);
}

.tracking-code {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-family: ui-monospace, monospace;
    background: var(--sand);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px dashed var(--beige-mid);
    color: var(--ink);
}

.cart-form-hidden {
    margin: 0;
    padding: 0;
    border: 0;
}

/* ——— Catálogo com sidebar (categoria / novidades / busca) ——— */
.store-main--catalog {
    max-width: none;
    width: 100%;
    padding-top: 1.5rem;
}

.catalog-layout {
    display: grid;
    grid-template-columns: minmax(200px, 248px) minmax(0, 1fr);
    gap: 1.5rem 2rem;
    align-items: start;
    max-width: var(--max);
    margin: 0 auto;
}

@media (max-width: 900px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .catalog-sidebar {
        order: 0;
    }

    .catalog-main {
        order: 1;
    }
}

.catalog-sidebar {
    padding: 1.25rem 1.35rem;
    position: sticky;
    top: 1rem;
}

@media (max-width: 900px) {
    .catalog-sidebar {
        position: static;
    }
}

.catalog-sidebar-title {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.catalog-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.catalog-sidebar-link {
    display: block;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    color: var(--gray-600);
    transition: background 0.15s, color 0.15s;
}

.catalog-sidebar-link:hover {
    background: var(--sand);
    color: var(--ink);
}

.catalog-sidebar-link.is-active {
    background: var(--ink);
    color: var(--beige);
}

.catalog-main {
    padding: 1.35rem 1.5rem 1.5rem;
    min-width: 0;
}

.catalog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.8rem;
    color: var(--gray-600);
    margin: 0 0 1.25rem;
}

.catalog-breadcrumb a {
    color: var(--ink-soft);
    text-decoration: none;
}

.catalog-breadcrumb a:hover {
    text-decoration: underline;
}

.catalog-breadcrumb-sep {
    color: var(--gray-400);
    user-select: none;
}

.catalog-breadcrumb-current {
    color: var(--gray-600);
    max-width: 100%;
}

.catalog-main-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem 1.5rem;
    margin-bottom: 1.35rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.catalog-main-title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.catalog-main-count {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem 1.25rem;
    margin: 0;
}

.catalog-toolbar-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0;
}

.catalog-toolbar-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--gray-600);
}

.catalog-toolbar-select {
    min-width: 9.5rem;
    padding: 0.45rem 0.55rem;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: var(--white);
    font: inherit;
    font-size: 0.82rem;
    color: var(--ink);
    cursor: pointer;
}

.catalog-toolbar-views .catalog-toolbar-label {
    display: block;
    width: 100%;
}

.catalog-view-toggle {
    display: inline-flex;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    background: var(--gray-100);
}

.catalog-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.35rem;
    color: var(--gray-600);
    background: transparent;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.catalog-view-btn:hover {
    color: var(--ink);
    background: var(--sand);
}

.catalog-view-btn.is-active {
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 0 0 1px var(--gray-200);
}

.catalog-products {
    min-height: 4rem;
}

.catalog-products .product-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
    .catalog-products .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 720px) {
    .catalog-products .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 380px) {
    .catalog-products .product-grid {
        grid-template-columns: 1fr;
    }
}

/* Lista (risquinhos): linhas, sem card */
.catalog-product-row-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--gray-200);
}

.catalog-product-row {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr) auto;
    gap: 1.25rem 1.5rem;
    align-items: center;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--gray-200);
    background: transparent;
    box-shadow: none;
}

@media (max-width: 720px) {
    .catalog-product-row {
        grid-template-columns: 80px minmax(0, 1fr);
        grid-template-rows: auto auto;
    }

    .catalog-row-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: flex-start;
    }
}

.catalog-row-media {
    position: relative;
    display: block;
    width: 100px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--gray-200);
    flex-shrink: 0;
}

.catalog-row-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.catalog-row-placeholder {
    aspect-ratio: 3 / 4;
    background: var(--gray-200);
}

.catalog-row-media .product-discount-badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.35rem;
}

.catalog-row-main {
    min-width: 0;
}

.catalog-row-title {
    display: inline-block;
    margin: 0 0 0.4rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    line-height: 1.3;
}

.catalog-row-title:hover {
    text-decoration: underline;
}

.catalog-row-prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.25rem;
}

.catalog-row-price-sale {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--promo-green);
}

.catalog-row-price-was {
    font-size: 0.85rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.catalog-row-installments {
    margin: 0.15rem 0 0.35rem;
    font-size: 0.82rem;
    color: var(--ink-soft);
}

.catalog-row-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
}

.catalog-row-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
    min-width: 9.5rem;
}

.btn-catalog-row-primary,
.btn-catalog-row-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    padding: 0.65rem 1.15rem;
    min-height: 2.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.25;
    border-radius: 999px;
    border: 2px solid var(--ink);
    cursor: pointer;
    font-family: inherit;
    transition: filter 0.15s, background 0.15s;
}

.btn-catalog-row-primary {
    background: var(--ink);
    color: var(--beige);
}

.btn-catalog-row-primary:hover {
    filter: brightness(1.1);
}

.btn-catalog-row-secondary {
    background: var(--white);
    color: var(--ink);
}

.btn-catalog-row-secondary:hover {
    background: var(--sand);
}

/* Modal visualização rápida */
.catalog-quick-modal[hidden] {
    display: none !important;
}

.catalog-quick-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.catalog-quick-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(4px);
}

.catalog-quick-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(1040px, 100%);
    max-height: min(92vh, 900px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--gray-200);
}

.catalog-quick-modal-body {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0;
}

.catalog-quick-loading,
.catalog-quick-error {
    padding: 2rem;
    text-align: center;
    color: var(--gray-600);
}

.product-quick-inner {
    position: relative;
    padding: 1.35rem 1.5rem 1.5rem;
}

.product-quick-close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--ink);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.product-quick-close:hover {
    background: var(--gray-200);
}

.product-quick-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: 1.25rem 1.75rem;
    align-items: start;
    padding-right: 1.5rem;
}

@media (max-width: 840px) {
    .product-quick-layout {
        grid-template-columns: 1fr;
        padding-right: 0;
    }

    .product-quick-gallery-col {
        max-width: 360px;
        margin: 0 auto;
    }
}

.product-quick-title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    font-weight: 800;
    line-height: 1.2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.product-quick-gallery .product-gallery-thumbs {
    max-height: min(50vh, 400px);
}

.product-quick-main-media {
    aspect-ratio: 3 / 4;
    max-height: min(52vh, 420px);
}

.product-quick-main-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-quick-info-col .product-detail-buy {
    margin-top: 0.5rem;
}

.product-quick-buy {
    border-radius: 12px;
    padding: 1rem 1.1rem;
    font-size: 0.9rem;
}

.product-quick-fullpage {
    margin: 0.85rem 0 0;
    font-size: 0.82rem;
}

.product-quick-fullpage a {
    color: var(--ink-soft);
    font-weight: 600;
}

.product-quick-pay {
    margin-top: 1rem;
}

.product-quick-pay .product-pay-badges-img {
    max-width: 200px;
}

.catalog-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--gray-200);
}

.catalog-page-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    transition: background 0.15s;
}

.catalog-page-link:hover {
    background: var(--sand);
}

.catalog-page-info {
    font-size: 0.82rem;
    color: var(--gray-600);
}

/* ——— Checkout em etapas ——— */
.checkout-page-body {
    background: var(--gray-100);
}

.checkout-top-trust {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 0.5rem 1.25rem;
}

.checkout-top-trust-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.checkout-top-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    color: var(--ink);
}

.checkout-top-logo-img {
    display: block;
    height: clamp(28px, 7vw, 40px);
    width: auto;
    max-width: min(200px, 55vw);
    object-fit: contain;
    object-position: left center;
}

.checkout-top-logo:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
    border-radius: 4px;
}

.checkout-top-trust-right {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--promo-green);
    flex-shrink: 0;
}

.checkout-top-trust-lock {
    display: flex;
    color: var(--promo-green);
}

.checkout-offer-banner {
    background: var(--ink);
    color: var(--beige);
    padding: 0.85rem 1.25rem;
    text-align: center;
}

.checkout-offer-inner {
    max-width: var(--max);
    margin: 0 auto;
}

.checkout-offer-title {
    margin: 0 0 0.35rem;
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    font-weight: 800;
    letter-spacing: 0.04em;
}

.checkout-offer-timer {
    margin: 0;
    font-size: 0.88rem;
    opacity: 0.95;
}

.checkout-offer-timer strong {
    color: var(--flash-accent);
    font-weight: 800;
    margin-left: 0.25rem;
}

.checkout-page-main {
    max-width: var(--max);
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 1.75rem 2rem;
    align-items: start;
}

@media (max-width: 960px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-sidebar {
        order: -1;
    }
}

.checkout-flow {
    min-width: 0;
}

.checkout-err {
    margin-bottom: 1rem;
}

.checkout-step {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 1.35rem 1.5rem 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow);
    opacity: 0.55;
    transition: opacity 0.2s;
}

.checkout-step.is-active {
    opacity: 1;
    border-color: var(--beige-mid);
}

.checkout-step-head {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.15rem;
}

.checkout-step-num {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    background: var(--gray-200);
    color: var(--gray-600);
}

.checkout-step.is-active .checkout-step-num {
    background: var(--ink);
    color: var(--beige);
}

.checkout-step-title {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ink);
}

.checkout-step-desc {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
    max-width: 52ch;
}

.checkout-label {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-600);
}

.checkout-label input,
.checkout-label textarea {
    display: block;
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font: inherit;
    font-size: 0.95rem;
    color: var(--ink);
}

.checkout-label--cep {
    position: relative;
}

.checkout-cep-status {
    display: block;
    margin-top: 0.35rem;
    min-height: 1.15em;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--gray-600);
}

.checkout-cep-status.is-loading {
    color: var(--gray-500);
}

.checkout-cep-status.is-error {
    color: #b42318;
}

.checkout-label-text {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-600);
}

.checkout-input-group {
    display: flex;
    align-items: stretch;
    margin-top: 0.4rem;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
}

.checkout-label:has(.checkout-input-group) > .checkout-label-text {
    margin-bottom: 0;
}

.checkout-input-group-prefix {
    flex-shrink: 0;
    padding: 0.55rem 0.75rem;
    background: var(--gray-100);
    border-right: 1px solid var(--gray-200);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ink);
    display: flex;
    align-items: center;
}

.checkout-input-group .checkout-input-group-field {
    flex: 1;
    min-width: 0;
    margin-top: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    outline: none;
}

.checkout-input-group .checkout-input-group-field:focus {
    box-shadow: inset 0 0 0 1px var(--beige-mid);
}

.checkout-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
}

@media (max-width: 520px) {
    .checkout-grid-2 {
        grid-template-columns: 1fr;
    }
}

.checkout-input-uf {
    text-transform: uppercase;
}

.checkout-btn-green {
    width: 100%;
    max-width: 22rem;
    padding: 0.95rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 0;
    border-radius: 10px;
    background: var(--promo-green);
    color: var(--white);
    cursor: pointer;
    transition: filter 0.15s;
}

.checkout-btn-green:hover {
    filter: brightness(1.08);
}

.checkout-step-nav-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    margin-top: 0.5rem;
}

.checkout-btn-back {
    background: var(--white);
    border: 2px solid var(--gray-200);
    color: var(--ink);
    padding: 0.65rem 1.1rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.checkout-btn-back:hover {
    background: var(--sand);
}

.checkout-btn-submit {
    flex: 1;
    min-width: 12rem;
    max-width: none;
}

.checkout-logged-hint {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.checkout-pay-placeholder {
    margin-bottom: 1rem;
    padding: 1rem 1.15rem;
}

.checkout-pay-lead {
    margin: 0 0 0.5rem;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--ink);
}

.checkout-pay-text {
    margin: 0 0 0.65rem;
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.checkout-pay-list {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.55;
}

.checkout-sidebar-title {
    margin: 0 0 1rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-600);
}

.checkout-coupon-row {
    margin-bottom: 1.15rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.checkout-coupon-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.4rem;
}

.checkout-coupon-fields {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.checkout-coupon-input {
    flex: 1;
    min-width: 8rem;
    padding: 0.45rem 0.55rem;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font: inherit;
    opacity: 0.7;
}

.checkout-coupon-hint {
    font-size: 0.75rem;
    color: var(--gray-400);
    font-weight: 600;
}

.checkout-sidebar-totals {
    margin-bottom: 1.15rem;
}

.checkout-sidebar-line,
.checkout-sidebar-total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 0.35rem;
    font-size: 0.88rem;
    color: var(--gray-600);
}

.checkout-sidebar-total {
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--gray-200);
    font-size: 0.95rem;
}

.checkout-sidebar-total strong {
    color: var(--promo-green);
    font-size: 1.05rem;
}

.checkout-sidebar-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.checkout-side-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.checkout-side-item:last-child {
    border-bottom: 0;
}

.checkout-side-thumb {
    flex-shrink: 0;
    width: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--gray-200);
}

.checkout-side-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.checkout-side-thumb-ph {
    display: block;
    aspect-ratio: 3 / 4;
    background: var(--gray-200);
}

.checkout-side-meta {
    min-width: 0;
}

.checkout-side-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    line-height: 1.3;
    display: inline-block;
}

.checkout-side-name:hover {
    text-decoration: underline;
}

.checkout-side-var {
    margin: 0.2rem 0 0;
    font-size: 0.72rem;
    color: var(--gray-600);
}

.checkout-side-price {
    margin: 0.25rem 0 0;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--ink);
}

.checkout-side-qty {
    margin: 0.15rem 0 0;
    font-size: 0.72rem;
    color: var(--gray-600);
}

.checkout-sidebar-cart-link {
    margin: 0.85rem 0 0;
    font-size: 0.8rem;
}

.checkout-sidebar-cart-link a {
    color: var(--ink-soft);
    font-weight: 600;
}

.checkout-reviews {
    margin-top: 1.25rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--gray-200);
}

.checkout-reviews-title {
    margin: 0 0 0.75rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-600);
}

.checkout-review-card {
    background: var(--gray-100);
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    margin-bottom: 0.65rem;
}

.checkout-review-card:last-child {
    margin-bottom: 0;
}

.checkout-review-stars {
    color: var(--star-yellow);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.checkout-review-name {
    margin: 0 0 0.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink);
}

.checkout-review-text {
    margin: 0;
    font-size: 0.78rem;
    color: var(--gray-600);
    line-height: 1.45;
}

/* ——— Legado: bar antiga (se algum include antigo) ——— */
.bar {
    display: none;
}
