@import url('fonts.css');

:root {
    --bege: #0B4578;
    --bege-hover: #09365e;
    --escuro: #111111;
    --texto: #222;
    --fundo: #fff;
    --cinza: #333;
    --branco: #fff;
    --texto: #222;
    --borda: #e5e5e5;
    --sombra: 0 2px 12px rgba(0,0,0,.08);
    --ouro: #C69C54;
    --font: 'Montserrat', sans-serif;
    --font-logo: 'Playfair Display', Georgia, serif;
    --max-width: 1200px;
    --touch: 48px;
    --fs-body: 1rem;
    --fs-apoio: 0.875rem;
    --fs-titulo: 1.25rem;
    --fs-titulo-sm: 1.125rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: var(--fs-body);
    color: var(--texto);
    background: var(--fundo);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

button, input, select, textarea {
    font-family: inherit;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Top bar */
.top-bar {
    background: linear-gradient(180deg, var(--bege) 0%, color-mix(in srgb, var(--bege) 92%, #000) 100%);
    font-size: 12px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.top-bar-contacts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    min-width: 0;
}

.top-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .62);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.top-icon-wa {
    color: #128C7E;
    background: rgba(255, 255, 255, .78);
}

.top-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--escuro);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    padding: 3px 10px 3px 3px;
    border-radius: 999px;
    transition: background .18s ease;
}

.top-contact:hover {
    background: rgba(255, 255, 255, .35);
}

.top-contact:hover .top-icon {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

.top-contact-wa:hover .top-icon-wa {
    color: #0d6e63;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.top-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--escuro);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 11px 3px 3px;
    border-radius: 999px;
    transition: background .18s ease;
}

.top-cart-badge {
    top: -2px;
    right: 4px;
    width: 17px;
    height: 17px;
    font-size: 9px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
}

.top-action:hover {
    background: rgba(255, 255, 255, .35);
}

.top-action:hover .top-icon {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

.top-action-label {
    line-height: 1.2;
}

/* Header */
.site-header {
    background: var(--branco);
    padding: 12px 0;
    border-bottom: 1px solid var(--borda);
    position: sticky;
    top: 0;
    z-index: 40;
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "logo search";
    align-items: center;
    gap: 16px 20px;
}

.header-inner .logo {
    grid-area: logo;
    justify-self: start;
}

.logo img {
    height: var(--logo-h, 48px);
    width: auto;
    max-width: var(--logo-w-max, none);
    display: block;
}

.header-search {
    grid-area: search;
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 5px 5px 5px 16px;
    background: #f7f7f7;
    border: 1px solid #e8e8e8;
    border-radius: 999px;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.header-search:focus-within {
    background: var(--branco);
    border-color: var(--bege);
    box-shadow: 0 0 0 3px rgba(196, 165, 116, .22);
}

.header-search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin: 0;
    cursor: text;
}

.header-search-icon {
    color: #9ca3af;
    font-size: 15px;
    flex-shrink: 0;
    transition: color .2s;
}

.header-search:focus-within .header-search-icon {
    color: var(--bege);
}

.header-search input {
    border: none;
    outline: none;
    padding: 10px 0;
    flex: 1;
    min-width: 0;
    font-size: 14px;
    background: transparent;
    color: var(--texto);
}

.header-search input::placeholder {
    color: #9ca3af;
}

.header-search input::-webkit-search-cancel-button {
    cursor: pointer;
}

.header-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
    min-height: 40px;
    padding: 0 20px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--bege) 0%, var(--bege-hover) 100%);
    color: var(--branco);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .4px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(196, 165, 116, .35);
    transition: transform .15s, box-shadow .2s, filter .2s;
}

.header-search-btn:hover {
    filter: brightness(1.05);
    box-shadow: 0 4px 14px rgba(196, 165, 116, .45);
}

.header-search-btn:active {
    transform: scale(.97);
}

.header-search-btn-icon {
    display: none;
    font-size: 15px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 0;
    background: var(--bege);
    color: var(--branco);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Nav — categorias */
.main-nav {
    background: var(--escuro);
    position: relative;
    z-index: 30;
    clear: both;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.main-nav .container,
.main-nav-inner {
    position: relative;
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav a {
    color: var(--branco);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    padding: 14px 18px;
    display: block;
    transition: background .2s;
}

.main-nav a:hover { background: var(--cinza); }

/* —— Layouts de header (admin → Layout da loja) —— */
.header-quick-links {
    display: none;
    align-items: center;
    gap: 6px;
    grid-area: actions;
}

.loja-no-topbar .header-quick-links {
    display: flex;
}

.header-quick-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    color: var(--escuro);
    background: #f7f7f7;
    border: 1px solid #eee;
    transition: background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}

.header-quick-links a:hover {
    background: var(--escuro);
    color: var(--branco);
    border-color: var(--escuro);
    transform: translateY(-1px);
}

.header-quick-links .top-icon {
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    font-size: 16px;
}

.header-quick-links a:hover .top-icon {
    background: transparent;
    box-shadow: none;
    color: inherit;
    transform: none;
}

.header-layout-centralizado .header-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
        "logo"
        "search"
        "actions";
    justify-items: center;
    text-align: center;
}

.header-layout-centralizado .header-inner .logo {
    justify-self: center;
}

.header-layout-centralizado .header-search {
    max-width: 560px;
    width: 100%;
}

.header-layout-centralizado.loja-no-topbar .header-quick-links {
    justify-self: center;
}

.header-layout-compacto.site-header {
    padding: 6px 0;
}

.header-layout-compacto .header-search {
    max-width: 380px;
    padding: 3px 3px 3px 12px;
}

.header-layout-compacto .header-search input {
    padding: 8px 0;
    font-size: 13px;
}

.header-layout-compacto .header-search-btn {
    padding: 8px 14px;
    font-size: 12px;
}

.header-layout-compacto .logo img {
    height: calc(var(--logo-h, 48px) * 0.88);
}

.header-layout-largo .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "logo search actions";
}

.header-layout-largo .header-search {
    max-width: none;
    justify-self: stretch;
}

.loja-no-topbar .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "logo search actions";
}

.loja-no-topbar .header-layout-centralizado .header-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
        "logo"
        "search"
        "actions";
}

/* —— Layouts de menu —— */
.nav-layout-claro.main-nav {
    background: var(--branco);
    box-shadow: none;
    border-bottom: 1px solid var(--borda);
}

.nav-layout-claro.main-nav a {
    color: var(--escuro);
}

.nav-layout-claro.main-nav a:hover {
    background: #f5f5f5;
    color: var(--bege);
}

.nav-layout-destaque.main-nav {
    background: var(--bege);
    box-shadow: none;
}

.nav-layout-destaque.main-nav a {
    color: var(--escuro);
    font-weight: 700;
}

.nav-layout-destaque.main-nav a:hover {
    background: rgba(0, 0, 0, .08);
}

.nav-layout-minimal.main-nav {
    background: transparent;
    box-shadow: none;
    border-bottom: 2px solid var(--escuro);
}

.nav-layout-minimal.main-nav a {
    color: var(--escuro);
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.nav-layout-minimal.main-nav a:hover {
    color: var(--bege);
    background: transparent;
}

.nav-layout-pills.main-nav {
    background: #f3f3f3;
    box-shadow: none;
}

.nav-layout-pills.main-nav ul {
    gap: 8px;
    padding: 10px 0 12px;
}

.nav-layout-pills.main-nav a {
    color: var(--escuro);
    background: var(--branco);
    border: 1px solid var(--borda);
    border-radius: 999px;
    padding: 10px 16px;
    text-transform: none;
    letter-spacing: .3px;
    font-size: 11px;
    font-weight: 600;
}

.nav-layout-pills.main-nav a:hover {
    border-color: var(--bege);
    background: #faf8f5;
    color: var(--escuro);
}

/* Hero — mesma regra na home e nas categorias */
.hero-wrap {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    background: #0b0b0b;
}

.hero-banner-link {
    display: block;
    line-height: 0;
}

.hero-banner {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
}

.hero-wrap.hero-placeholder {
    background: linear-gradient(135deg, #ddd 0%, #bbb 100%);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    line-height: normal;
    font-size: 14px;
}

/* Loja — conteúdo principal */
.shop-main {
    display: block;
    width: 100%;
    flex: 1 0 auto;
    padding: 48px 0 72px;
    margin: 0;
    clear: both;
    position: relative;
    z-index: 0;
    background: var(--branco);
    border-top: 1px solid var(--borda);
}

.shop-main .container {
    padding-left: 16px;
    padding-right: 16px;
}

.shop-breadcrumb {
    font-size: 13px;
    color: #666;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--borda);
}

.shop-breadcrumb a {
    color: var(--bege);
}

.shop-breadcrumb a:hover {
    text-decoration: underline;
}

.shop-breadcrumb span {
    margin: 0 8px;
    color: #ccc;
}

.shop-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 56px;
    clear: both;
}

.shop-section-last {
    margin-bottom: 0;
}

.shop-section-promo {
    margin-bottom: 56px;
}

.shop-empty {
    text-align: center;
    padding: 48px 24px;
    color: #666;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Section title */
.section-title {
    text-align: center;
    font-family: var(--font);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
    padding: 0 8px 8px;
    color: var(--escuro);
    clear: both;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.font-accent {
    font-family: var(--font-logo);
    font-style: italic;
    font-weight: 600;
}

/* Products grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 24px;
    margin: 0;
    padding: 0;
    align-items: stretch;
    width: 100%;
}

.product-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    background: #fff;
    border: 1px solid var(--borda);
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
    min-height: 0;
    z-index: 0;
}

.product-card .img-wrap {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 4/3;
    margin-bottom: 0;
    flex-shrink: 0;
    display: block;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #ccc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 2;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .15);
    transition: color .2s, transform .2s;
}

.wishlist-btn:hover,
.wishlist-btn.active {
    color: #c0392b;
    transform: scale(1.05);
}

.product-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 14px 16px;
    gap: 8px;
}

.product-card h3 {
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    min-height: auto;
    line-height: 1.4;
    padding: 0 4px;
    letter-spacing: .2px;
}

.product-card h3 a:hover {
    color: var(--bege);
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.product-price-hidden {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    line-height: 1.5;
}

.product-price-hidden i {
    margin-right: 4px;
    color: var(--bege);
}

.product-price-hidden a {
    color: var(--bege);
    font-weight: 700;
    text-decoration: underline;
}

.product-price-detail {
    font-size: 1.5rem;
    margin: 16px 0;
}

.size-options-left {
    justify-content: flex-start;
}

.cart-price-hidden {
    margin-bottom: 8px;
}

.cart-login-hint {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.cart-summary .btn-outline {
    display: block;
    text-align: center;
    margin-top: 10px;
    padding: 12px 16px;
    border: 1px solid var(--borda);
    border-radius: 8px;
    font-weight: 700;
    color: var(--escuro);
    text-decoration: none;
}

.cart-summary .btn-outline:hover {
    border-color: var(--bege);
    color: var(--bege);
}

/* Modal login carrinho */
body.loja-modal-open {
    overflow: hidden;
}

.loja-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.loja-modal[hidden] {
    display: none;
}

.loja-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}

.loja-modal-box {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: var(--branco);
    border-radius: 12px;
    padding: 28px 24px 24px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .2);
    text-align: center;
}

.loja-modal-fechar {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: #f5f5f5;
    color: #666;
    cursor: pointer;
    font-size: 16px;
}

.loja-modal-fechar:hover {
    background: #eee;
    color: var(--escuro);
}

.loja-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #faf8f5;
    color: var(--bege);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.loja-modal-box h2 {
    font-size: 1.25rem;
    margin: 0 0 10px;
    color: var(--escuro);
}

.loja-modal-box p {
    font-size: 14px;
    line-height: 1.55;
    color: #666;
    margin: 0 0 20px;
}

.loja-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.loja-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.loja-modal-actions .btn-primary {
    background: var(--bege);
    color: var(--branco);
    border: none;
}

.loja-modal-actions .btn-primary:hover {
    background: var(--bege-hover);
}

.loja-modal-actions .btn-outline {
    background: var(--branco);
    color: var(--escuro);
    border: 1px solid var(--borda);
}

.loja-modal-actions .btn-outline:hover {
    border-color: var(--bege);
    color: var(--bege);
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin: 4px 0 8px;
    max-width: 100%;
}

.size-btn {
    border: 1px solid var(--borda);
    background: var(--branco);
    padding: 8px 12px;
    min-height: 40px;
    font-size: 12px;
    cursor: pointer;
    transition: all .2s;
    flex-shrink: 0;
    border-radius: 6px;
}

.size-btn:hover, .size-btn.selected {
    border-color: var(--escuro);
    background: var(--escuro);
    color: var(--branco);
}

.btn-add-cart {
    width: 100%;
    background: var(--bege);
    color: var(--branco);
    border: none;
    padding: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s;
    min-height: var(--touch);
    margin-top: auto;
}

.btn-add-cart:hover { background: var(--bege-hover); }

/* Promo banner */
.promo-banner {
    background: var(--escuro);
    color: var(--branco);
    text-align: center;
    padding: 20px 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    border-radius: 6px;
    clear: both;
}

/* Footer — layout mockup Duna */
.site-footer {
    background: #2b2b2b;
    color: #fff;
    padding: 48px 0 0;
    font-size: 13px;
    clear: both;
    position: relative;
    z-index: 10;
    margin-top: 0;
    flex-shrink: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 32px 40px;
    padding-bottom: 36px;
    align-items: start;
}

.footer-col {
    min-width: 0;
}

.footer-logo-box {
    background: #fff;
    border-radius: 6px;
    padding: 20px 24px;
    margin-bottom: 20px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-box .footer-logo img {
    max-height: var(--logo-h-footer, 48px);
    height: auto;
    width: auto;
    max-width: var(--logo-w-max, none);
    filter: none;
}

.footer-logo-box .logo-text {
    font-family: var(--font-logo);
    font-size: 2rem;
    color: #1a1a1a;
    text-transform: lowercase;
}

.footer-label {
    font-size: 12px;
    color: rgba(255,255,255,.75);
    margin: 0 0 6px;
    line-height: 1.4;
}

.footer-label-spaced {
    margin-top: 22px;
}

.footer-text {
    font-size: 13px;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.55;
    word-break: break-word;
}

.footer-phone {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 2px;
}

.footer-vendedora {
    font-size: 11px;
    color: rgba(255,255,255,.7);
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.footer-contact-block {
    margin-bottom: 14px;
}

.footer-white-box {
    background: #fff;
    border-radius: 8px;
    padding: 16px 18px;
    color: #333;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    justify-content: flex-start;
}

.payment-icons i {
    font-size: 28px;
    color: #444;
}

.btn-enviar-email {
    display: inline-block;
    background: #6b6b6b;
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 13px;
    margin: 8px 0 4px;
    transition: background .2s;
}

.btn-enviar-email:hover {
    background: #7a7a7a;
}

.footer-seals-box {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-seal-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    text-transform: uppercase;
}

.footer-seal-item i {
    font-size: 28px;
    color: #4285f4;
}

.footer-seal-item .seal-green {
    color: #22c55e;
}

.footer-title-institucional {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: #fff;
    text-transform: none;
    letter-spacing: 0;
}

.footer-inst-links {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.footer-inst-links li {
    margin-bottom: 6px;
}

.footer-inst-links a {
    color: #fff;
    font-size: 13px;
    line-height: 1.45;
    opacity: .95;
}

.footer-inst-links a:hover {
    color: var(--bege);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 20px;
    transition: opacity .2s;
}

.footer-social a:hover {
    opacity: .85;
}

.footer-shipping-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.footer-shipping-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 8px 4px;
}

.footer-shipping-item i {
    font-size: 32px;
    color: #555;
}

.footer-shipping-item span {
    font-size: 9px;
    font-weight: 700;
    color: #333;
    letter-spacing: .3px;
    line-height: 1.3;
}

.footer-bottom-bar {
    background: var(--bege);
    color: #fff;
    text-align: center;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
}

/* —— Layouts do rodapé (admin → Layout da loja) —— */
.footer-layout-centralizado .footer-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.footer-layout-centralizado .footer-logo-box {
    margin-left: auto;
    margin-right: auto;
}

.footer-layout-centralizado .footer-inst-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
}

.footer-layout-centralizado .footer-inst-links li {
    margin-bottom: 0;
}

.footer-layout-centralizado .footer-social,
.footer-layout-centralizado .payment-icons,
.footer-layout-centralizado .footer-seals-box {
    justify-content: center;
}

.footer-layout-centralizado .btn-enviar-email {
    margin-left: auto;
    margin-right: auto;
}

.footer-layout-compacto.site-footer {
    padding-top: 32px;
}

.footer-layout-compacto .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
}

.footer-layout-compacto .footer-col-right {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
    align-items: start;
}

.footer-layout-compacto .footer-title-institucional {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.footer-layout-largo .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 56px;
    max-width: 1320px;
    margin: 0 auto;
}

.footer-layout-minimal.site-footer {
    padding-top: 28px;
}

.footer-layout-minimal .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.footer-layout-minimal .footer-col-center,
.footer-layout-minimal .footer-extra-left,
.footer-layout-minimal .footer-extra-center,
.footer-layout-minimal .footer-extra-right {
    display: none;
}

.footer-layout-minimal .footer-col-left .footer-label,
.footer-layout-minimal .footer-col-left .footer-text {
    display: none;
}

.footer-layout-minimal .footer-logo-box {
    margin: 0 auto 8px;
    min-height: 64px;
    padding: 16px 20px;
}

.footer-layout-minimal .footer-col-right {
    order: 2;
}

.footer-layout-minimal .footer-inst-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    margin-bottom: 12px;
}

.footer-layout-minimal .footer-inst-links li {
    margin-bottom: 0;
}

.footer-layout-minimal .footer-social {
    justify-content: center;
}

.footer-layout-minimal .footer-title-institucional {
    font-size: 1rem;
    margin-bottom: 10px;
}

/* —— Temas do rodapé —— */
.footer-tema-claro.site-footer {
    background: #f5f5f5;
    color: #333;
}

.footer-tema-claro .footer-label {
    color: #666;
}

.footer-tema-claro .footer-text,
.footer-tema-claro .footer-phone,
.footer-tema-claro .footer-title-institucional {
    color: #222;
}

.footer-tema-claro .footer-vendedora {
    color: #777;
}

.footer-tema-claro .footer-inst-links a {
    color: #333;
}

.footer-tema-claro .footer-inst-links a:hover {
    color: var(--bege);
}

.footer-tema-claro .btn-enviar-email {
    background: var(--escuro);
}

.footer-tema-claro .btn-enviar-email:hover {
    background: #333;
}

.footer-tema-destaque.site-footer {
    background: var(--bege);
    color: var(--escuro);
}

.footer-tema-destaque .footer-label {
    color: rgba(26, 26, 26, .75);
}

.footer-tema-destaque .footer-text,
.footer-tema-destaque .footer-phone,
.footer-tema-destaque .footer-title-institucional {
    color: var(--escuro);
}

.footer-tema-destaque .footer-vendedora {
    color: rgba(26, 26, 26, .65);
}

.footer-tema-destaque .footer-inst-links a {
    color: var(--escuro);
}

.footer-tema-destaque .footer-inst-links a:hover {
    opacity: .75;
}

.footer-tema-destaque .btn-enviar-email {
    background: var(--escuro);
    color: #fff;
}

.footer-tema-destaque .footer-bottom-bar {
    background: var(--escuro);
    color: #fff;
}

.footer-tema-contraste.site-footer {
    background: #111;
}

.footer-tema-contraste .footer-bottom-bar {
    background: var(--bege);
    color: var(--escuro);
}

.footer-tema-contraste .footer-inst-links a:hover {
    color: var(--bege);
}

.footer-tema-contraste .btn-enviar-email {
    background: var(--bege);
    color: var(--escuro);
}

.footer-tema-contraste .btn-enviar-email:hover {
    background: var(--bege-hover);
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--bege);
    color: var(--branco);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 100;
    box-shadow: var(--sombra);
}

.back-to-top.visible { opacity: 1; visibility: visible; }

/* Login */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f6f3;
    padding: 24px;
}

.auth-shell {
    width: 100%;
    max-width: 400px;
}

.auth-voltar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 10px 14px;
    min-height: var(--touch);
    border-radius: 8px;
    color: var(--escuro);
    font-size: var(--fs-apoio);
    font-weight: 600;
    background: rgba(255, 255, 255, .7);
    border: 1px solid var(--borda);
    transition: background .15s, border-color .15s, color .15s;
}

.auth-voltar:hover {
    background: var(--branco);
    border-color: var(--bege);
    color: var(--bege);
}

.auth-voltar i {
    font-size: 13px;
}

.auth-card {
    background: var(--branco);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--sombra);
    border-radius: 8px;
}

.auth-card .logo { text-align: center; margin-bottom: 24px; }
.auth-card h1 { font-size: var(--fs-titulo); margin-bottom: 24px; text-align: center; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: var(--fs-apoio); margin-bottom: 6px; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--borda);
    font-size: 1rem;
    border-radius: 4px;
}
.form-group input,
.form-group select {
    min-height: var(--touch);
}
.form-group textarea {
    min-height: 96px;
    resize: vertical;
}

.viacep-hint {
    display: block;
    margin-top: 6px;
    font-size: var(--fs-apoio);
    color: var(--texto-suave, #666);
}
.viacep-hint.is-loading { color: var(--texto-suave, #666); }
.viacep-hint.is-success { color: #2e7d32; }
.viacep-hint.is-error { color: #c62828; }

.btn-primary {
    width: 100%;
    background: var(--bege);
    color: var(--branco);
    border: none;
    padding: 14px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    min-height: var(--touch);
}

.btn-primary:hover { background: var(--bege-hover); }

.alert {
    padding: 12px;
    margin-bottom: 16px;
    border-radius: 4px;
    font-size: 14px;
}
.alert-error { background: #fde8e8; color: #c0392b; }
.alert-success { background: #e8f8ef; color: #27ae60; }

.auth-links { text-align: center; margin-top: 16px; font-size: var(--fs-apoio); }
.auth-links a { color: var(--bege); font-weight: 600; }

/* Modal cookies (LGPD) */
body.cookie-modal-open {
    overflow: hidden;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal[hidden] {
    display: none;
}

.cookie-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .5);
}

.cookie-modal-box {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: var(--branco);
    border-radius: 12px;
    padding: 28px 24px 24px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .2);
    text-align: center;
}

.cookie-modal-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #faf8f5;
    color: var(--bege);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.cookie-modal-box h2 {
    font-size: 1.15rem;
    margin: 0 0 12px;
    color: var(--escuro);
}

.cookie-modal-box p {
    font-size: 14px;
    line-height: 1.55;
    color: #666;
    margin: 0 0 20px;
    text-align: left;
}

.cookie-modal-box p a {
    color: var(--bege);
    font-weight: 600;
    text-decoration: underline;
}

.cookie-modal-btn {
    width: 100%;
    text-transform: none;
    letter-spacing: 0;
}

/* Cart & checkout */
.page-inner {
    padding-top: 32px;
    padding-bottom: 60px;
}
.page-inner h1 { font-size: 1.5rem; margin-bottom: 24px; }
.page-content { font-size: 15px; line-height: 1.7; color: #333; max-width: 720px; }
.page-content p { margin: 0 0 1em; }
.page-content p:last-child { margin-bottom: 0; }
.page-content h2, .page-content h3, .page-content h4 {
    margin: 1.5em 0 0.75em;
    line-height: 1.3;
    color: var(--escuro);
}
.page-content h2 { font-size: 1.35rem; }
.page-content h3 { font-size: 1.15rem; }
.page-content h4 { font-size: 1rem; }
.page-content ul, .page-content ol { margin: 0 0 1em 1.25em; padding: 0; }
.page-content li { margin-bottom: 0.35em; }
.page-content a { color: var(--bege); font-weight: 600; text-decoration: underline; }
.page-content img { max-width: 100%; height: auto; border-radius: 4px; margin: 1em 0; }
.page-content blockquote {
    margin: 1em 0;
    padding: 12px 16px;
    border-left: 4px solid var(--bege);
    background: #faf8f5;
    color: #555;
}
.page-content table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14px; }
.page-content th, .page-content td { padding: 10px 12px; border: 1px solid var(--borda); text-align: left; }
.page-content th { background: #f5f5f5; font-weight: 600; }
.page-content hr { border: none; border-top: 1px solid var(--borda); margin: 1.5em 0; }

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 12px; border-bottom: 1px solid var(--borda); text-align: left; }

.carrinho-page h1 {
    margin-bottom: 24px;
}

.carrinho-vazio {
    font-size: 1rem;
    color: #555;
}

.cart-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.cart-item {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: 16px;
    align-items: start;
    padding: 16px;
    border: 1px solid var(--borda);
    border-radius: 12px;
    background: #fff;
}

.cart-item-media img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 8px;
    background: #f5f5f5;
}

.cart-item-nome {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.35;
}

.cart-item-peso,
.cart-item-preco-unit {
    margin: 0 0 4px;
    font-size: 0.875rem;
    color: #666;
}

.cart-item-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.cart-qtd-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}

.cart-qtd-btn {
    width: 44px;
    min-height: 44px;
    border: none;
    background: #f5f5f5;
    color: var(--escuro);
    font-size: 1.125rem;
    cursor: pointer;
    transition: background .15s;
}

.cart-qtd-btn:hover {
    background: #ebebeb;
}

.cart-qtd-input {
    width: 52px;
    min-height: 44px;
    border: none;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    text-align: center;
    font-size: 1rem;
    -moz-appearance: textfield;
}

.cart-qtd-input::-webkit-outer-spin-button,
.cart-qtd-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-remove-form {
    margin: 0;
}

.cart-remove-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 12px;
    border: none;
    background: none;
    color: #c0392b;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

.cart-remove-btn:hover {
    text-decoration: underline;
}

.cart-item-total {
    text-align: right;
    min-width: 100px;
}

.cart-item-total-label {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 4px;
}

.cart-item-total-valor {
    font-size: 1.0625rem;
    color: var(--escuro);
}

.cart-summary-subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 16px;
    font-size: 1rem;
}

.cart-summary-subtotal strong {
    font-size: 1.25rem;
}

.cart-checkout-btn {
    display: block;
    text-align: center;
    margin-top: 0;
}

.cart-continuar {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 0.875rem;
    color: var(--bege);
    text-decoration: none;
}

.cart-continuar:hover {
    text-decoration: underline;
}

.cart-summary {
    max-width: 360px;
    margin-left: auto;
    margin-top: 24px;
    padding: 20px;
    background: #f9f9f9;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
}

.payment-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--borda);
    margin-bottom: 8px;
    cursor: pointer;
    border-radius: 4px;
}

.payment-options input:checked + span,
.payment-options label:has(input:checked) {
    border-color: var(--bege);
    background: #faf8f5;
}

/* Botão menu — oculto no desktop; visível só em telas pequenas */
.menu-toggle {
    background: #fafafa;
    border: 1px solid #eee;
    color: var(--escuro);
    font-size: 20px;
    padding: 0;
    cursor: pointer;
    min-width: var(--touch);
    min-height: var(--touch);
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: background .15s, color .15s;
}

.header-inner > .header-menu-toggle {
    display: none;
    grid-area: menu;
}

.menu-toggle:hover {
    background: var(--escuro);
    color: var(--branco);
    border-color: var(--escuro);
}

/* Cards mobile for cart */
@media (max-width: 900px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
    .shop-main { padding: 32px 0 56px; }
    .shop-section { gap: 24px; margin-bottom: 40px; }
    .shop-section-promo { margin-bottom: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-layout-compacto .footer-col-right {
        grid-template-columns: 1fr;
    }
    .footer-layout-largo .footer-grid {
        gap: 28px 32px;
    }
    .checkout-grid { grid-template-columns: 1fr; }
    .checkout-frete-header {
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-frete-recalc {
        width: 100%;
        justify-content: center;
    }

    .checkout-resumo {
        position: static;
        margin-top: 8px;
    }

    .checkout-frete-opcao-top {
        flex-direction: column;
        gap: 4px;
    }

    .checkout-frete-opcao-preco {
        align-self: flex-start;
    }

    .top-bar {
        padding: 6px 0;
    }

    .top-bar-inner {
        gap: 8px;
    }

    .top-contact-text {
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .site-header {
        padding: 10px 0;
    }

    .header-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "logo"
            "search";
        gap: 10px 12px;
    }

    .header-inner .logo {
        justify-self: start;
    }

    .header-search {
        max-width: none;
        justify-self: stretch;
    }

    .main-nav ul {
        justify-content: flex-start;
        gap: 0;
    }

    .main-nav a {
        padding: 12px 14px;
        font-size: 11px;
        min-height: var(--touch);
    }

    /* Tipografia padrão — tablet / telas médias */
    .page-inner {
        padding-top: 24px;
        padding-bottom: 48px;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .page-inner h1 {
        font-size: var(--fs-titulo);
        margin-bottom: 16px;
        line-height: 1.3;
    }

    .page-content {
        font-size: var(--fs-apoio);
        line-height: 1.6;
    }

    .page-content h2 {
        font-size: var(--fs-titulo-sm);
    }

    .page-content h3 {
        font-size: 1rem;
    }

    .section-title {
        font-size: var(--fs-titulo);
        letter-spacing: 2px;
    }

    .product-price {
        font-size: 1rem;
    }

    .shop-breadcrumb {
        font-size: var(--fs-apoio);
    }

    .cart-login-hint,
    .alert {
        font-size: var(--fs-apoio);
    }

    .checkout-section-title,
    .checkout-card-title {
        font-size: var(--fs-titulo-sm);
    }

    .auth-card {
        padding: 28px 20px;
    }

    .size-btn {
        min-height: 44px;
        padding: 10px 14px;
    }

    .wishlist-btn {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }
}

@media (max-width: 600px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .products-grid { grid-template-columns: 1fr; gap: 24px; }
    .shop-main { padding: 28px 0 48px; }
    .shop-section { gap: 20px; }
    .section-title {
        padding-bottom: 4px;
        font-size: var(--fs-titulo-sm);
        letter-spacing: 1.5px;
    }

    .page-inner h1 {
        font-size: var(--fs-titulo-sm);
        margin-bottom: 14px;
    }

    .page-content {
        font-size: var(--fs-apoio);
    }

    .page-content h2 {
        font-size: 1.05rem;
    }

    .page-content h3 {
        font-size: 0.95rem;
    }

    .product-card h3 {
        font-size: var(--fs-apoio);
    }

    .product-price {
        font-size: 0.95rem;
    }

    .product-price-hidden {
        font-size: var(--fs-apoio);
    }

    .promo-banner {
        font-size: 12px;
        letter-spacing: 1px;
        padding: 14px 16px;
    }

    .site-footer {
        font-size: var(--fs-apoio);
        padding-top: 36px;
    }

    .cart-summary {
        max-width: none;
        margin-left: 0;
    }

    .cart-summary h2,
    .cart-summary .cart-total-label {
        font-size: var(--fs-titulo-sm);
    }

    .form-group label {
        font-size: var(--fs-apoio);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* evita zoom automático no iOS */
    }

    .btn-add-cart,
    .btn-primary {
        font-size: 12px;
    }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-layout-compacto .footer-grid,
    .footer-layout-compacto .footer-col-right {
        grid-template-columns: 1fr;
    }
    .footer-shipping-box { grid-template-columns: 1fr; }

    .header-inner {
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "menu logo"
            "search search";
    }

    .header-inner > .header-menu-toggle {
        display: inline-flex;
    }

    .header-inner .logo {
        justify-self: center;
    }

    .loja-no-topbar .header-inner {
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "menu logo actions"
            "search search search";
    }

    .loja-no-topbar .header-layout-centralizado .header-inner {
        grid-template-areas:
            "menu logo actions"
            "search search search";
        justify-items: stretch;
    }

    .loja-no-topbar .header-layout-centralizado .header-inner .logo {
        justify-self: center;
    }

    .logo img {
        height: var(--logo-h-mobile, 38px);
    }

    .main-nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 4px 0 8px;
    }

    .main-nav.open ul {
        display: flex;
    }

    .main-nav.open {
        box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
    }

    .main-nav a {
        padding: 14px 16px;
        font-size: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .nav-layout-claro.main-nav.open,
    .nav-layout-minimal.main-nav.open,
    .nav-layout-pills.main-nav.open {
        box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
    }

    .nav-layout-claro.main-nav a,
    .nav-layout-minimal.main-nav a,
    .nav-layout-destaque.main-nav a,
    .nav-layout-pills.main-nav a {
        border-bottom-color: var(--borda);
    }

    .nav-layout-pills.main-nav ul {
        padding: 8px 0 12px;
    }

    .nav-layout-pills.main-nav a {
        border-radius: 8px;
        margin: 0 8px;
    }

    .main-nav li:last-child a {
        border-bottom: none;
    }

    .cart-table thead { display: none; }
    .cart-table tr {
        display: block;
        margin-bottom: 16px;
        border: 1px solid var(--borda);
        padding: 12px;
    }
    .cart-table td { display: block; border: none; padding: 4px 0; }

    .cart-item {
        grid-template-columns: 72px 1fr;
    }

    .cart-item-media img {
        width: 72px;
        height: 72px;
    }

    .cart-item-total {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 8px;
        border-top: 1px solid #eee;
        text-align: left;
    }

    .cart-item-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-qtd-stepper {
        width: 100%;
        justify-content: space-between;
    }

    .cart-qtd-input {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .top-bar-contacts {
        gap: 8px;
    }

    .top-contact-text {
        display: none;
    }

    .top-contact {
        padding: 0;
        width: auto;
        height: auto;
        background: transparent;
    }

    .top-contact .top-icon {
        width: 36px;
        height: 36px;
        border-radius: 11px;
        font-size: 15px;
    }

    .top-action-label {
        display: none;
    }

    .top-action {
        width: auto;
        height: auto;
        padding: 0;
        border-radius: 0;
    }

    .top-action .top-icon {
        width: 36px;
        height: 36px;
        border-radius: 11px;
        font-size: 15px;
    }

    .top-links a {
        width: auto;
        height: auto;
        padding: 0;
    }

    .header-search {
        padding-left: 14px;
    }

    .header-search-btn {
        padding: 0 14px;
        min-width: 44px;
    }

    .header-search-btn-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .header-search-btn-icon {
        display: block;
    }

    .header-menu-toggle {
        min-width: var(--touch);
        min-height: var(--touch);
        font-size: 18px;
    }

    .page-inner h1,
    .section-title,
    .auth-card h1 {
        font-size: var(--fs-titulo-sm);
    }

    .page-content,
    .produto-descricao,
    .cart-login-hint,
    .auth-links,
    .shop-breadcrumb {
        font-size: var(--fs-apoio);
    }

    .product-card-body {
        padding: 12px;
        gap: 6px;
    }

    .header-search-btn {
        min-width: var(--touch);
        min-height: var(--touch);
    }

    .top-contact .top-icon,
    .top-action .top-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
}

/* Checkout / Mercado Pago */
.checkout-section-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 24px 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.payment-mp {
    border: 2px solid var(--bege);
    border-radius: 8px;
    padding: 16px;
    background: rgba(196, 165, 116, 0.08);
}

.payment-mp label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
}

.payment-mp .payment-mp-hint {
    margin: 8px 0 0;
    font-size: 13px;
    color: #666;
}

.alert-error {
    background: #fdecea;
    color: #b71c1c;
    border: 1px solid #f5c6cb;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.alert-info {
    background: #e8f4fd;
    color: #0d47a1;
    border: 1px solid #bbdefb;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.payment-mp-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.payment-mp-logo {
    max-height: 28px;
    width: auto;
}

.payment-mp-discount {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
}

.checkout-hint,
.checkout-pix-hint {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

.checkout-pay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.checkout-card-box {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--borda);
    border-radius: 12px;
    background: #fafafa;
}

.checkout-frete-box {
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid var(--borda);
    border-radius: 12px;
    background: #fafafa;
}

.checkout-frete-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.checkout-frete-status {
    margin: 0;
    flex: 1;
}

.checkout-frete-recalc {
    flex-shrink: 0;
    min-height: 44px;
    white-space: nowrap;
}

.checkout-frete-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px dashed var(--borda);
    font-size: var(--fs-apoio);
    color: #555;
}

.checkout-frete-opcoes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkout-frete-opcao {
    display: flex;
    align-items: stretch;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid var(--borda);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s, background .15s, box-shadow .15s;
}

.checkout-frete-opcao:hover {
    border-color: #ccc;
}

.checkout-frete-opcao:has(input:checked) {
    border-color: var(--bege);
    background: #faf8f5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.checkout-frete-opcao input {
    margin-top: 4px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--bege);
}

.checkout-frete-opcao-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkout-frete-opcao-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.checkout-frete-opcao-nome {
    font-size: 0.9375rem;
    line-height: 1.35;
}

.checkout-frete-opcao-preco {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--escuro);
    white-space: nowrap;
}

.checkout-frete-opcao-prazo {
    font-size: var(--fs-apoio);
    color: #666;
}

.checkout-frete-opcao-prazo i {
    margin-right: 4px;
    opacity: .75;
}

.checkout-resumo {
    position: sticky;
    top: 16px;
    border-radius: 12px;
    border: 1px solid var(--borda);
}

.checkout-resumo h3 {
    margin: 0 0 16px;
    font-size: 1.125rem;
}

.checkout-resumo-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.checkout-resumo-linha {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: var(--fs-apoio);
}

.checkout-resumo-linha span {
    color: #555;
}

.checkout-resumo-linha strong {
    font-size: 1rem;
    text-align: right;
    white-space: nowrap;
}

.checkout-resumo-desconto {
    color: #2e7d32;
}

.checkout-resumo-frete-detalhe {
    display: block;
    font-style: normal;
    font-size: 0.75rem;
    color: #888;
    margin-top: 2px;
    max-width: 180px;
    line-height: 1.3;
}

.checkout-resumo-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0 4px;
    border-top: 2px solid var(--escuro);
    margin-bottom: 12px;
}

.checkout-resumo-total span {
    font-size: 1rem;
    font-weight: 600;
}

.checkout-resumo-total strong {
    font-size: 1.25rem;
    color: var(--escuro);
}

.checkout-frete-box .btn-sm {
    min-height: 48px;
    margin-bottom: 10px;
}

.checkout-card-title {
    font-size: 1.05rem;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-asaas label {
    min-height: 48px;
}

.checkout-card-actions {
    margin-top: 12px;
}

.checkout-card-actions .btn-sm {
    min-height: 48px;
    padding: 0 16px;
}

/* Modal de pagamento (checkout + área cliente) */
body.pay-modal-open { overflow: hidden; }

.pay-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.pay-modal[hidden] { display: none !important; }

.pay-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}

.pay-modal-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    max-height: calc(100vh - 32px);
    overflow: auto;
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px 20px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .25);
}

.pay-modal-box-lg { max-width: 480px; }

.pay-modal-fechar {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #f3f4f6;
    color: #333;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pay-modal-lead {
    font-size: 0.875rem;
    color: #555;
    margin: 0 0 16px;
}

.pay-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.pay-modal-actions .btn-primary,
.pay-modal-actions .btn-outline {
    min-height: 48px;
    flex: 1 1 auto;
}

/* Página do produto — layout referência e-commerce */
.produto-page .produto-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: 48px;
    align-items: start;
}

.produto-col-media {
    min-width: 0;
}

.produto-gallery {
    position: relative;
}

.produto-slider-main {
    position: relative;
    display: block;
}

.produto-slider-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #fff;
    aspect-ratio: 1 / 1;
}

.produto-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.produto-slider-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.produto-slider-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.produto-slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.produto-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    color: var(--escuro);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s, border-color .2s;
}

.produto-gallery:hover .produto-slider-nav,
.produto-gallery:focus-within .produto-slider-nav {
    opacity: 1;
}

.produto-slider-prev { left: 12px; }
.produto-slider-next { right: 12px; }

.produto-slider-nav:hover {
    border-color: var(--bege);
    color: var(--bege);
}

.produto-slider-nav[hidden] {
    display: none;
}

.produto-slider-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.produto-slider-thumb {
    width: 56px;
    height: 56px;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    opacity: .7;
    transition: border-color .2s, opacity .2s;
}

.produto-slider-thumb.is-active,
.produto-slider-thumb:hover {
    border-color: var(--escuro);
    opacity: 1;
}

.produto-slider-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.produto-slider-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.produto-slider-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
}

.produto-slider-dot.is-active {
    background: var(--bege);
}

.produto-share {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 16px;
}

.produto-share a {
    color: var(--escuro);
    font-size: 1.125rem;
    text-decoration: none;
    transition: color .2s;
}

.produto-share a:hover {
    color: var(--bege);
}

.produto-media-caption {
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--escuro);
    margin: 12px 0 0;
}

.produto-col-info {
    padding-top: 4px;
}

.produto-categoria {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 0 8px;
}

.produto-titulo {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
    letter-spacing: .02em;
}

.produto-preco {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--escuro);
    line-height: 1.1;
}

.produto-pagamento-box {
    margin-bottom: 4px;
}

.produto-parcelas {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    padding: 10px 12px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    font-size: 0.875rem;
    color: #444;
    background: #fafafa;
}

.produto-parcelas i {
    color: #666;
}

.produto-pix-off {
    margin: 0 0 8px;
    font-size: 0.875rem;
    color: #555;
}

.produto-link-pagamento {
    display: inline-block;
    margin: 4px 0 0;
    padding: 0;
    border: none;
    background: none;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--bege);
    text-decoration: underline;
    cursor: pointer;
}

.produto-meios-pagamento {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #fafafa;
}

.produto-meios-pagamento ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.produto-meios-pagamento li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.875rem;
    color: #444;
}

.produto-meios-pagamento li i {
    width: 18px;
    color: var(--bege);
}

.produto-divider {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 20px 0;
}

.produto-campo {
    margin-bottom: 16px;
}

.produto-campo-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: .06em;
    color: #888;
    margin-bottom: 8px;
}

.produto-peso-opcoes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.produto-peso-opcoes .size-btn {
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: var(--escuro);
    font-size: 0.875rem;
    cursor: pointer;
    transition: border-color .2s, background .2s, color .2s;
}

.produto-peso-opcoes .size-btn:hover,
.produto-peso-opcoes .size-btn.selected {
    border-color: var(--escuro);
    background: #f5f5f5;
    color: var(--escuro);
    font-weight: 600;
}

.produto-qtd-input {
    width: 72px;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    text-align: center;
}

.produto-btn-comprar {
    display: block;
    width: 100%;
    min-height: 52px;
    margin: 8px 0 24px;
    padding: 0 24px;
    border: none;
    border-radius: 4px;
    background: var(--bege);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: .08em;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

.produto-btn-comprar:hover {
    background: var(--bege-hover);
}

.produto-btn-comprar:disabled {
    opacity: .65;
    cursor: wait;
}

.produto-frete {
    padding: 16px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.produto-frete-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--escuro);
}

.produto-frete-head i {
    font-size: 1.125rem;
    color: #666;
}

.produto-frete-form {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.produto-cep-input {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9375rem;
}

.produto-frete-calc {
    flex-shrink: 0;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid var(--escuro);
    border-radius: 4px;
    background: #fff;
    color: var(--escuro);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: .04em;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.produto-frete-calc:hover {
    background: var(--escuro);
    color: #fff;
}

.produto-frete-calc:disabled {
    opacity: .6;
    cursor: wait;
}

.produto-cep-ajuda {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.8125rem;
    color: var(--bege);
    text-decoration: none;
}

.produto-cep-ajuda:hover {
    text-decoration: underline;
}

.produto-frete-resultado {
    margin-top: 12px;
}

.produto-frete-msg {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}

.produto-frete-msg.is-error {
    color: #c62828;
}

.produto-frete-lista {
    list-style: none;
    margin: 0;
    padding: 0;
}

.produto-frete-lista li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.875rem;
    color: #444;
}

.produto-frete-lista li:last-child {
    border-bottom: none;
}

.produto-frete-lista strong {
    white-space: nowrap;
    font-size: 0.9375rem;
    color: var(--escuro);
}

.produto-confianca {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.produto-confianca-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.produto-confianca-item > i {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #666;
    margin-top: 2px;
}

.produto-confianca-item strong {
    display: block;
    font-size: 0.9375rem;
    margin-bottom: 2px;
}

.produto-confianca-item p {
    margin: 0;
    font-size: 0.8125rem;
    color: #666;
    line-height: 1.45;
}

.produto-sobre {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #eee;
}

.produto-sobre h2 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.produto-sobre .produto-descricao {
    color: #555;
    line-height: 1.7;
    font-size: 0.9375rem;
}

@media (max-width: 900px) {
    .produto-page.page-inner {
        padding-top: 20px;
        padding-bottom: 48px;
    }

    .produto-page .produto-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .produto-col-info {
        padding: 0;
    }

    .produto-titulo {
        font-size: 1.125rem;
    }

    .produto-preco {
        font-size: 1.625rem;
    }

    .produto-slider-nav {
        opacity: 1;
    }

    .produto-slider-thumbs {
        display: none;
    }

    .produto-slider-dots {
        display: flex;
    }

    .produto-frete-form {
        flex-direction: column;
    }

    .produto-frete-calc {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .produto-preco {
        font-size: 1.5rem;
    }

    .produto-share {
        gap: 16px;
    }
}
