@import url('https://fonts.googleapis.com/css2?family=Darker+Grotesque:wght@300..900&family=Pirata+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Elms+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* ---------- Design tokens ---------- */
:root {
    --bg-deep: #221e30;         /* fundo mais profundo (gradiente) */
    --bg: #332d47;              /* fundo principal */
    --surface: #4a4166;        /* cartões */
    --ink: #f7e1ff;             /* texto principal */
    --ink-soft: #c9b3d6;        /* texto secundário */
    --brand: #ffb525;          /* dourado */
    --brand-dark: #ffcf6e;
    --line: rgba(247, 225, 255, 0.14);
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 10px 34px rgba(0, 0, 0, 0.45);
    --nav-h: 76px;
    --max: 1160px;
    --font-body: 'Darker Grotesque', sans-serif, -apple-system;
    --font-head: "Pirata One", system-ui;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

.page { background: var(--bg-deep); scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    background: none;
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 600;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Camadas de fundo (mesmo estilo da loading-screen) ----------
   body não é "positioned", então o próprio background dele pintaria por
   cima de qualquer filho com z-index negativo (regra de stacking do CSS).
   Por isso o brilho, o grid e as partículas vivem em divs fixed próprias,
   todas com z-index negativo, na ordem certa entre si. */
.bg-glow {
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background-image:
        radial-gradient(ellipse 1100px 700px at 50% -8%, rgba(255, 181, 37, 0.07), transparent 60%),
        radial-gradient(ellipse 1400px 1000px at 50% 105%, var(--bg), var(--bg-deep) 55%);
}
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(247, 225, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(247, 225, 255, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 30%, transparent 80%);
}

/* ---------- Camada de partículas douradas (ambiente) ---------- */
.bg-particles {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.bg-particle {
    position: absolute;
    bottom: -10px;
    border-radius: 1px;
    background: var(--brand);
    opacity: 0.35;
    animation: bg-particle-drift linear infinite;
}
@keyframes bg-particle-drift {
    from { transform: translateY(0) rotate(0deg); }
    to   { transform: translateY(-120vh) rotate(180deg); }
}
@media (prefers-reduced-motion: reduce) {
    .bg-particle { animation: none; display: none; }
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; font-weight: 600; }

.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 900;
    font-size: 15px;
    border-radius: 999px;
    padding: 12px 22px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: rgba(247, 225, 255, 0.06); }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--sm { padding: 9px 16px; font-size: 14px; }

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    transition: padding .35s ease;
}

.navbar__inner {
    width: 100%;
    max-width: var(--max);
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 8px;
    border: 1px solid transparent;
    border-radius: 0;
    transition: all .35s ease;
}

/* Estado "encolhido" com efeito glass ao rolar a página */
.navbar.is-scrolled {
    padding: 12px 20px;
}
.navbar.is-scrolled .navbar__inner {
    height: 58px;
    padding: 0 14px 0 20px;
    border-radius: 999px;
    border-color: rgba(247, 225, 255, 0.16);
    background: rgba(74, 65, 102, 0.7);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    box-shadow: var(--shadow-md);
    max-width: 900px;
}

.navbar__start { display: flex; align-items: center; gap: 6px; }
.navbar__brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.navbar__logo { display: inline-flex; color: var(--brand); }
.navbar__name { letter-spacing: -0.02em; }

.navbar__hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    margin-left: -6px;
    border: none;
    background: transparent;
    color: var(--ink);
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s ease;
}
.navbar__hamburger:hover { background: rgba(247, 225, 255, 0.08); }

.navbar__nav { display: flex; align-items: center; gap: 4px; }
.navbar__link {
    padding: 8px 14px;
    border-radius: 999px;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color .2s ease, background .2s ease;
}
.navbar__link:hover { color: var(--ink); background: rgba(247, 225, 255, 0.08); }

.navbar__actions { display: flex; align-items: center; gap: 10px; }

/* ---------- Dropdown de categorias (navbar) ---------- */
.nav-dropdown { position: relative; display: inline-flex; }

/* Gatilho padronizado igual aos demais .navbar__link */
.nav-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border-radius: 999px;
    border: none;
    background: transparent;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-soft);
    cursor: pointer;
    transition: color .2s ease, background .2s ease;
}
.nav-dropdown__trigger:hover { color: var(--ink); background: rgba(247, 225, 255, 0.08); }

.nav-dropdown__chevron { transition: transform .2s ease; }
.nav-dropdown.is-open .nav-dropdown__chevron { transform: rotate(180deg); }

.nav-dropdown__menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    display: grid;
    gap: 2px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 200;
}
.nav-dropdown__menu::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    transform: translateX(-50%) rotate(45deg);
    background: var(--surface);
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
}
.nav-dropdown.is-open .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown__item {
    display: block;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}
.nav-dropdown__item:hover { background: rgba(247, 225, 255, 0.08); color: var(--ink); }
.nav-dropdown__empty {
    display: block;
    padding: 9px 14px;
    font-size: 15px;
    color: var(--ink-soft);
}

/* ---------- Layout de seções ---------- */
main { padding-top: var(--nav-h); }

.section {
    max-width: var(--max);
    margin: 0 auto;
    padding: 72px 20px;
}
.section__head { max-width: 620px; margin-bottom: 36px; }
.section__title { font-size: clamp(28px, 4vw, 38px); font-weight: 700;}
.section__desc { color: var(--ink-soft); margin: 10px 0 0; font-size: 18px; }

/* ---------- Hero ---------- */
.hero {
    max-width: var(--max);
    margin: 0 auto;
    padding: 56px 20px 40px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}
.hero__badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-dark);
    background: rgba(255, 181, 37, 0.14);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}
.hero__title { font-size: clamp(34px, 5.4vw, 56px); letter-spacing: -0.02em; font-weight: 400; line-height: 0.85; }
.hero__subtitle { color: var(--ink-soft); font-size: 20px; margin: 20px 0 28px; max-width: 520px; line-height: 1;}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats { display: flex; gap: 40px; margin: 40px 0 0; padding: 0; }
.hero__stats div { margin: 0; }
.hero__stats dt { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--ink); }
.hero__stats dd { margin: 2px 0 0; color: var(--ink-soft); font-size: 18px; }
.hero__media img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* ---------- Categorias ---------- */
.categories { display: flex; flex-wrap: wrap; gap: 12px; }
.category-chip {
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-weight: 500;
    font-size: 15px;
    box-shadow: var(--shadow-sm);
    transition: transform .15s ease, border-color .2s ease;
}
.category-chip:hover { transform: translateY(-2px); border-color: var(--brand); }

/* ---------- Produtos ---------- */
.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.product-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card__media { position: relative; background: var(--bg); }
.product-card__media img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.product-card__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--brand);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
}
.product-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-card__category { font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.product-card__title { font-size: 20px; margin: 8px 0; }
.product-card__desc { color: var(--ink-soft); font-size: 15px; margin: 0 0 18px; flex: 1; }
.product-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-card__price { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--ink); }

.products__more { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- Catálogo completo (produtos.php) ---------- */
.catalog {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}
.catalog__filters { position: sticky; top: calc(var(--nav-h) + 20px); }
.catalog__count { color: var(--ink-soft); font-size: 14px; margin: 0 0 16px; }

.filters {
    display: flex;
    flex-direction: column;
    gap: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px;
}
.filters__group { display: flex; flex-direction: column; gap: 10px; }
.filters__label { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--ink); }
.filters__select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 15px;
    background: var(--bg);
    color: var(--ink);
}
.filters__checks { display: flex; flex-direction: column; gap: 8px; }
.filters__check { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-soft); cursor: pointer; }
.filters__check input { accent-color: var(--brand); width: 16px; height: 16px; }
.filters__empty { font-size: 14px; color: var(--ink-soft); margin: 0; }
.filters__price { display: flex; align-items: center; gap: 8px; }
.filters__price input {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 15px;
    background: var(--bg);
    color: var(--ink);
}
.filters__price span { color: var(--ink-soft); }
.filters__submit { width: 100%; }
.filters__clear { text-align: center; font-size: 14px; color: var(--ink-soft); text-decoration: underline; }
.filters__clear:hover { color: var(--ink); }

@media (max-width: 900px) {
    .catalog { grid-template-columns: 1fr; }
    .catalog__filters { position: static; }
}

/* ---------- CTA ---------- */
.cta {
    max-width: var(--max);
    margin: 0 auto 72px;
    padding: 0 20px;
}
.cta__inner {
    background: linear-gradient(145deg, var(--surface), var(--bg-deep));
    border: 1px solid var(--line);
    box-shadow: 0 0 70px rgba(255, 181, 37, 0.08), var(--shadow-md);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 64px 40px;
    text-align: center;
}
.cta__title { font-size: clamp(28px, 4vw, 42px); color: #fff; }
.cta__desc { color: rgba(255, 255, 255, 0.75); max-width: 560px; margin: 16px auto 28px; font-size: 17px; }

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer__inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 56px 20px 32px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
}
.footer__brand { display: flex; gap: 12px; align-items: flex-start; }
.footer__name { font-family: var(--font-head); font-weight: 700; font-size: 20px; margin: 0; }
.footer__tagline { color: var(--ink-soft); font-size: 14px; margin: 4px 0 0; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a { color: var(--ink-soft); font-size: 15px; }
.footer__nav a:hover { color: var(--ink); }
.footer__contact p { font-weight: 600; margin: 0 0 10px; }
.footer__contact a { display: block; color: var(--ink-soft); font-size: 15px; margin-bottom: 6px; }
.footer__contact a:hover { color: var(--brand-dark); }
.footer__bottom {
    max-width: var(--max);
    margin: 0 auto;
    padding: 20px;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 14px;
    text-align: center;
}

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding-top: 40px; }
    .hero__media { order: -1; }
    .products { grid-template-columns: repeat(2, 1fr); }
    .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .navbar__nav { display: none; }
    .navbar__hamburger { display: inline-flex; }
    .navbar__name { display: none; }
    .navbar__actions .btn,
    .navbar__actions .user-menu { display: none; }
}

/* ---------- Menu mobile (hambúrguer) ---------- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
}
.mobile-menu.is-open { display: block; }
.mobile-menu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 20, 0.6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.mobile-menu__panel {
    position: relative;
    width: min(300px, 84vw);
    height: 100%;
    background: rgba(74, 65, 102, 0.7);
    border-right: 1px solid rgba(247, 225, 255, 0.16);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    box-shadow: var(--shadow-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    animation: mobileMenuIn .22s ease;
}
@keyframes mobileMenuIn {
    from { transform: translateX(-16px); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__close {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    color: var(--ink-soft);
    cursor: pointer;
    border-radius: 999px;
    transition: background .2s ease;
}
.mobile-menu__close:hover { background: rgba(247, 225, 255, 0.08); color: var(--ink); }

.mobile-menu__nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu__link {
    padding: 12px 10px;
    border-radius: 12px;
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
}
.mobile-menu__link:hover { background: rgba(247, 225, 255, 0.08); }
.mobile-menu__link--sub { padding-left: 22px; font-family: var(--font-body); font-size: 15px; color: var(--ink-soft); }
.mobile-menu__label {
    margin: 8px 0 0;
    padding: 0 10px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--ink-soft);
}

.mobile-menu__actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.mobile-menu__actions .btn { width: 100%; }
.mobile-menu__email { margin: 0; font-size: 13px; color: var(--ink-soft); word-break: break-all; }

@media (max-width: 560px) {
    .products { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr; }
    .hero__stats { gap: 24px; }
    .navbar__actions .btn { padding: 9px 16px; font-size: 14px; }
    .cta__inner { padding: 48px 24px; }
}

/* ---------- Carrinho de compras (navbar) ---------- */
.cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: transparent;
    border: none;
    color: var(--ink-soft);
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.cart-btn:hover { background: rgba(247, 225, 255, 0.08); color: var(--ink); }
.cart-btn svg { display: block; }
.cart-btn__count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

/* ---------- Menu do usuário ---------- */
.navbar__actions { gap: 10px; }

.user-menu { position: relative; display: inline-flex; }
.user-menu__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 999px;
    transition: box-shadow .2s ease;
}
.user-menu__trigger:hover { box-shadow: 0 0 0 3px rgba(255, 181, 37, 0.20); }
.user-menu__avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}
.user-menu__dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 210px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.user-menu.is-open .user-menu__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.user-menu__email { margin: 0 0 10px; font-size: 13px; color: var(--ink-soft); word-break: break-all; }
.user-menu__logout {
    display: block;
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    text-decoration: none;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 9px 12px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
    transition: background .2s ease;
}
.user-menu__dropdown form + form,
.user-menu__dropdown a.user-menu__logout {
    margin-bottom: 8px;
}
.user-menu__logout:hover { background: rgba(255, 181, 37, 0.10); color: var(--brand-dark); }

/* ---------- Modal de autenticação ---------- */
.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.auth-modal.is-open { display: flex; }
.auth-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 20, 0.6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.auth-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: rgba(74, 65, 102, 0.7);
    border: 1px solid rgba(247, 225, 255, 0.16);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 28px;
    animation: authIn .25s ease;
}
@keyframes authIn {
    from { opacity: 0; transform: translateY(12px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.auth-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    color: var(--ink-soft);
    cursor: pointer;
    border-radius: 999px;
    transition: background .2s ease;
}
.auth-modal__close:hover { background: rgba(247, 225, 255, 0.08); color: var(--ink); }

.auth-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px;
    margin-top: 16px;
    margin-bottom: 20px;
}
.auth-tab {
    flex: 1;
    border: none;
    background: transparent;
    padding: 9px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    color: var(--ink-soft);
    transition: background .2s ease, color .2s ease;
}
.auth-tab.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

.auth-alert {
    border-radius: 12px;
    padding: 11px 14px;
    font-size: 14px;
    margin-bottom: 16px;
}
.auth-alert--error { background: rgba(200, 60, 40, 0.18); color: #ff8a75; border: 1px solid rgba(200, 60, 40, 0.35); }
.auth-alert--success { background: rgba(40, 150, 90, 0.18); color: #6fe3a8; border: 1px solid rgba(40, 150, 90, 0.35); }

.auth-form { display: none; flex-direction: column; gap: 14px; }
.auth-form.is-active { display: flex; }
.auth-form__title { font-size: 24px; }
.auth-form__desc { margin: -6px 0 4px; color: var(--ink-soft); font-size: 15px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.auth-field input {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg);
    color: var(--ink);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.auth-field input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(255, 181, 37, 0.15);
}
.auth-form__submit { width: 100%; margin-top: 4px; }
.auth-form__switch { text-align: center; font-size: 14px; color: var(--ink-soft); margin: 4px 0 0; }
.auth-form__switch button {
    background: none;
    border: none;
    color: var(--brand-dark);
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 14px;
    cursor: pointer;
    padding: 0;
}
.auth-form__switch button:hover { text-decoration: underline; }

.auth-modal__dialog--wide { max-width: 560px; }
.address-field-row { display: flex; gap: 12px; }
.address-field-row .auth-field { flex: 1; min-width: 0; }
.auth-field--wide { flex: 2 !important; }
.auth-field--inline { flex-direction: row; align-items: center; gap: 8px; }
.auth-field--inline input[type="checkbox"] { width: auto; accent-color: var(--brand); }

/* ---------- Toast (mensagens de status) ---------- */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 300;
    padding: 13px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
    max-width: 90vw;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast--success { background: #1f7a4d; color: #fff; }
.toast--error { background: #a33223; color: #fff; }

/* ---------- Painel administrativo ---------- */
.admin { background: var(--bg); }

.admin-topbar {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}
.admin-topbar__inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.admin-topbar__right { display: flex; align-items: center; gap: 10px; }
.admin-topbar__badge {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-dark);
    background: rgba(255, 181, 37, 0.12);
    padding: 6px 12px;
    border-radius: 999px;
}

.admin-main { max-width: var(--max); margin: 0 auto; padding: 32px 20px 64px; }
.admin-head { margin-bottom: 24px; }
.admin-head__title { 
    font-weight: 900;
    font-size: clamp(26px, 4vw, 34px); 
}

.admin-head__desc { 
    font-weight: 400;
    color: var(--ink-soft); 
    margin: 6px 0 0; 
}

.admin-alert {
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}
.admin-alert--success { background: rgba(40, 150, 90, 0.18); color: #6fe3a8; border: 1px solid rgba(40, 150, 90, 0.35); }
.admin-alert--error { background: rgba(200, 60, 40, 0.18); color: #ff8a75; border: 1px solid rgba(200, 60, 40, 0.35); }

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 24px;
    align-items: start;
}
.admin-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.admin-card__title { 
    font-weight: 600;
    font-size: 20px; 
    margin-bottom: 18px; 
}

.admin-form { display: flex; flex-direction: column; gap: 14px; }
.admin-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-form textarea {
    font-family: var(--font-body);
    font-size: 15px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg);
    color: var(--ink);
    resize: vertical;
}
.admin-form textarea:focus,
.admin-form input[type="file"]:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(255, 181, 37, 0.15);
}
.admin-form input[type="file"] {
    font-family: var(--font-body);
    font-size: 14px;
    padding: 10px 12px;
    border: 1px dashed var(--line);
    border-radius: 12px;
    background: var(--bg);
    color: var(--ink-soft);
}
.admin-check { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; cursor: pointer; }
.admin-check input { width: 18px; height: 18px; accent-color: var(--brand); }
.admin-hint { margin: -6px 0 0; font-size: 13px; color: var(--ink-soft); }

.admin-list { display: flex; flex-direction: column; gap: 12px; }
.admin-empty { color: var(--ink-soft); }
.admin-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--bg);
}
.admin-item__img { border-radius: 10px; object-fit: cover; width: 56px; height: 56px; }
.admin-item__info { flex: 1; min-width: 0; }
.admin-item__name { font-weight: 600; margin: 0; display: flex; align-items: center; gap: 8px; }
.admin-item__star {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--brand);
    padding: 2px 8px;
    border-radius: 999px;
}
.admin-item__meta { margin: 2px 0 0; font-size: 14px; color: var(--ink-soft); }
.admin-item__del {
    border: 1px solid var(--line);
    background: transparent;
    color: #ff8a75;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}
.admin-item__del:hover { background: rgba(200, 60, 40, 0.15); border-color: rgba(200, 60, 40, 0.4); }

@media (max-width: 820px) {
    .admin-grid { grid-template-columns: 1fr; }
}

/* ---------- Painel administrativo: navegação por abas ---------- */
.admin-nav {
    display: flex;
    gap: 6px;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: auto;
}
.admin-nav__link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    color: var(--ink-soft);
    padding: 12px 16px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color .15s ease, border-color .15s ease;
}
.admin-nav__link:hover { color: var(--ink); }
.admin-nav__link.is-active { color: var(--brand); border-color: var(--brand); }

/* ---------- Painel administrativo: KPIs do dashboard ---------- */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}
.stat-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}
.stat-card__label { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.stat-card__value { margin: 8px 0 0; font-size: 28px; font-weight: 700; }

/* ---------- Painel administrativo: itens em duas colunas / ações ---------- */
.admin-item__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.admin-item__edit {
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-dark);
    background: rgba(255, 181, 37, 0.16);
    border: 1px solid rgba(255, 181, 37, 0.4);
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    transition: background 0.15s ease;
}
.admin-item__edit:hover { background: rgba(255, 181, 37, 0.26); }

/* ---------- Painel administrativo: selos de status ---------- */
.status-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .02em;
}
.status-badge--pendente  { background: rgba(255, 181, 37, 0.18); color: var(--brand-dark); }
.status-badge--pago,
.status-badge--concluido,
.status-badge--ativo     { background: rgba(40, 150, 90, 0.22); color: #6fe3a8; }
.status-badge--cancelado,
.status-badge--inativo   { background: rgba(200, 60, 40, 0.22); color: #ff8a75; }
.status-badge--enviado   { background: rgba(43, 100, 200, 0.24); color: #7fb2ff; }

/* ---------- Painel administrativo: modal (usado nos formulários de edição) ---------- */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 1000;
}
.modal.is-open { display: flex; }
.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 20, 0.6);
}
.modal__dialog {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.modal__close {
    font-size: 1.6rem;
    line-height: 1;
    color: var(--ink-soft);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 4px;
}
.modal__close:hover { color: var(--ink); }
.modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

/* ---------- Controle de quantidade (produto e carrinho) ---------- */
.qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    background: var(--surface);
}
.qty__btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--ink);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease;
}
.qty__btn:hover { background: rgba(247, 225, 255, 0.08); }
.qty__input {
    width: 46px;
    height: 38px;
    border: none;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    text-align: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    background: transparent;
    color: var(--ink);
    -moz-appearance: textfield;
}
.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__input:focus { outline: none; }

/* ---------- Página de produto ---------- */
.product-page__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
}
.product-page__back:hover { color: var(--ink); }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.gallery__main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
}
.gallery__main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumb {
    width: 72px; height: 72px; padding: 0;
    border-radius: 12px; overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: var(--surface);
    transition: border-color .15s ease;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active, .gallery__thumb:hover { border-color: var(--brand); }

.product-info__category { font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.product-info__title { font-size: clamp(26px, 3.4vw, 36px); margin: 10px 0 14px; }
.product-info__price {
    display: flex; align-items: baseline; gap: 8px;
    font-family: var(--font-head); font-weight: 700; font-size: 28px;
    color: var(--ink); margin: 0 0 18px;
}
.product-info__price-label { font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.product-info__desc { color: var(--ink-soft); font-size: 16px; margin: 0 0 24px; }
.product-info__perks {
    list-style: none; margin: 28px 0 0; padding: 0;
    display: flex; flex-direction: column; gap: 10px;
    color: var(--ink-soft); font-size: 14px;
}
.product-info__perks li { padding-left: 22px; position: relative; }
.product-info__perks li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

.product-form { display: flex; flex-direction: column; gap: 22px; }
.product-form__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.product-form__submit { flex: 1; min-width: 220px; }

.variations__label { font-weight: 600; font-size: 14px; margin: 0 0 10px; }
.variations__options { display: flex; flex-wrap: wrap; gap: 10px; }
.variation { cursor: pointer; display: inline-flex; position: relative; }
.variation input { position: absolute; opacity: 0; pointer-events: none; }
.variation__box {
    display: flex; flex-direction: column; gap: 2px;
    padding: 10px 16px; min-width: 88px;
    border: 1.5px solid var(--line); border-radius: 12px;
    background: var(--surface);
    transition: border-color .15s ease, background .15s ease;
}
.variation input:checked + .variation__box { border-color: var(--brand); background: rgba(255, 181, 37, 0.08); }
.variation__type { font-size: 11px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink-soft); }
.variation__value { font-weight: 700; font-size: 14px; }
.variation__price { font-size: 13px; color: var(--ink-soft); }
.variation__out { font-size: 11px; color: #ff8a75; font-weight: 700; }
.variation.is-out { opacity: .5; }
.variation.is-out .variation__box { cursor: not-allowed; }

@media (max-width: 820px) {
    .product-detail { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Produtos relacionados (reaproveita .products / .product-card) ---------- */
.related { margin-top: 12px; }

/* ---------- Página do carrinho ---------- */
.cart-empty {
    text-align: center; padding: 60px 20px;
    color: var(--ink-soft);
    display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
    display: grid;
    grid-template-columns: 76px 1fr auto auto;
    align-items: center; gap: 16px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.cart-item__media img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; }
.cart-item__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-item__name { font-weight: 700; font-size: 15px; }
.cart-item__name:hover { color: var(--brand-dark); }
.cart-item__variation { font-size: 13px; color: var(--ink-soft); }
.cart-item__unit { font-size: 13px; color: var(--ink-soft); }
.cart-item__qty { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cart-item__update { border: none; background: transparent; color: var(--brand-dark); font-weight: 700; font-size: 12px; cursor: pointer; }
.cart-item__update:hover { text-decoration: underline; }
.cart-item__right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-item__subtotal { font-family: var(--font-body); font-weight: 700; font-size: 16px; }
.cart-item__remove {
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); background: transparent; color: var(--ink-soft);
    border-radius: 10px; cursor: pointer; transition: .15s ease;
}
.cart-item__remove:hover { background: rgba(200, 60, 40, 0.15); border-color: rgba(200, 60, 40, 0.4); color: #ff8a75; }
.cart-items__clear { text-align: right; margin-top: 4px; }
.cart-link { border: none; background: transparent; color: var(--ink-soft); font-size: 14px; font-weight: 600; cursor: pointer; padding: 0; }
.cart-link:hover { color: #ff8a75; text-decoration: underline; }

.cart-summary {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex; flex-direction: column; gap: 20px;
    position: sticky; top: calc(var(--nav-h) + 16px);
}
.cart-summary__title { font-size: 19px; }

.cart-summary__lines { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.cart-summary__lines > div { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--ink-soft); }
.cart-summary__lines dt, .cart-summary__lines dd { margin: 0; font-weight: 500; }
.cart-summary__discount dd { color: #6fe3a8; font-weight: 700; }
.cart-summary__total { padding-top: 14px; border-top: 1px solid var(--line); }
.cart-summary__total dt, .cart-summary__total dd { font-family: var(--font-body); font-weight: 700; font-size: 19px; color: var(--ink); }
.cart-summary__checkout { width: 100%; }
.cart-summary__note { font-size: 12px; color: var(--ink-soft); text-align: center; margin: 0; }

@media (max-width: 900px) {
    .cart-layout { grid-template-columns: 1fr; }
    .cart-item {
        grid-template-columns: 60px 1fr;
        grid-template-areas: "media info" "qty qty" "right right";
    }
    .cart-item__media { grid-area: media; }
    .cart-item__info { grid-area: info; }
    .cart-item__qty { grid-area: qty; flex-direction: row; justify-content: space-between; }
    .cart-item__right { grid-area: right; flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Dois botões: comprar agora / adicionar ao carrinho ---------- */
.product-form__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.product-form__actions .btn { flex: 1; min-width: 200px; }

@media (max-width: 480px) {
    .product-form__actions { flex-direction: column; }
    .product-form__actions .btn { width: 100%; }
}

/* ---------- Rodapé: redes sociais e formas de pagamento ---------- */
.footer__social-col p { font-weight: 600; margin: 0 0 10px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-soft);
    transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.footer__social a:hover { color: #fff; background: var(--brand); border-color: var(--brand); }

.footer__payments {
    max-width: var(--max);
    margin: 0 auto;
    padding: 24px 20px 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
}
.footer__payments-label { font-size: 13px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.footer__payments-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.payment-badge {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--bg);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--ink-soft);
}
.payment-badge img {
    display: block;
    width: 50px;
    height: 30px;
    object-fit: contain;
}

/* Ajusta o grid do rodapé para acomodar a 4ª coluna (redes sociais) */
@media (min-width: 901px) {
    .footer__inner { grid-template-columns: 1.2fr 0.8fr 1fr 0.8fr; }
}
@media (max-width: 560px) {
    .footer__payments { justify-content: center; text-align: center; }
}

/* ---------- Seletor de método de pagamento (checkout) ---------- */
.payment-method {
    border: none;
    margin: 0;
    padding: 0px 0px 20px 0px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.payment-method legend {
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
    padding: 0 0 4px;
}
.payment-method__option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: var(--bg);
    font-size: 14px;
    color: var(--ink-soft);
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.payment-method__option:hover { border-color: rgba(255, 181, 37, 0.4); }
.payment-method__option input {
    width: 18px;
    height: 18px;
    accent-color: var(--brand);
    flex-shrink: 0;
}
.payment-method__option:has(input:checked) {
    border-color: var(--brand);
    background: rgba(255, 181, 37, 0.08);
    color: var(--ink);
    font-weight: 600;
}

/* ---------- Frete (carrinho) ---------- */
.shipping { display: flex; flex-direction: column; gap: 12px; }
.shipping__field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.shipping__row { display: flex; gap: 8px; }
.shipping__row input {
    flex: 1; min-width: 0;
    padding: 10px 14px;
    border: 1px solid var(--line); border-radius: 10px;
    font-family: var(--font-body); font-size: 14px;
    background: var(--bg); color: var(--ink);
}
.shipping__row input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255, 181, 37, 0.15); }
.shipping__chosen {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    font-size: 13px;
    background: rgba(40, 150, 90, 0.16);
    border: 1px solid rgba(40, 150, 90, 0.35);
    color: #6fe3a8;
    padding: 10px 14px;
    border-radius: 10px;
}
.shipping__change { border: none; background: transparent; color: #6fe3a8; font-weight: 700; text-decoration: underline; cursor: pointer; font-size: 12px; }
.shipping__options { display: flex; flex-direction: column; gap: 8px; }
.shipping__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: var(--bg);
    font-size: 13px;
    color: var(--ink-soft);
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.shipping__option:hover { border-color: rgba(255, 181, 37, 0.4); }
.shipping__option input { width: 16px; height: 16px; accent-color: var(--brand); flex-shrink: 0; }
.shipping__option:has(input:checked) { border-color: var(--brand); background: rgba(255, 181, 37, 0.08); color: var(--ink); font-weight: 600; }

/* ---------- Cupom (carrinho) ---------- */
.coupon { display: flex; flex-direction: column; gap: 12px; }
.coupon__field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.coupon__row { display: flex; gap: 8px; }
.coupon__row input {
    flex: 1; min-width: 0;
    padding: 10px 14px;
    border: 1px solid var(--line); border-radius: 10px;
    font-family: var(--font-body); font-size: 14px;
    background: var(--bg); color: var(--ink);
}
.coupon__row input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255, 181, 37, 0.15); }
.coupon__applied {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    font-size: 13px;
    background: rgba(40, 150, 90, 0.16);
    border: 1px solid rgba(40, 150, 90, 0.35);
    color: #6fe3a8;
    padding: 10px 14px;
    border-radius: 10px;
}
.coupon__change { border: none; background: transparent; color: #6fe3a8; font-weight: 700; text-decoration: underline; cursor: pointer; font-size: 12px; }

/* ---------- Pagamento Pix (página de confirmação do pedido) ---------- */
.pix-payment {
    max-width: 420px;
    margin: 0 auto 40px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.pix-payment__qr {
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.pix-payment__qr img { width: 100%; height: 100%; object-fit: contain; }
.pix-payment__code {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pix-payment__code label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    text-align: left;
}
.pix-payment__code textarea {
    width: 100%;
    resize: none;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg);
    color: var(--ink-soft);
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.5;
}
.pix-payment__code textarea:focus { outline: none; border-color: var(--brand); }
.pix-payment__status {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}
.pix-payment__status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--brand);
    animation: pix-pulse 1.4s ease-in-out infinite;
}
@keyframes pix-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}