/* ===========================================================
   SISTER'S PLUMA — FOLHA DE ESTILOS
   -----------------------------------------------------------
   Organização do arquivo:
   1. Reset básico
   2. Tokens de design (cores, tipografia, espaçamento)
   3. Elementos globais (tipografia, botões, container)
   4. Cabeçalho + banner LGPD
   5. Hero
   6. Vitrine de produtos (filtros + cartões)
   7. Seção "Sobre"
   8. Faixa de confiança
   9. Rodapé
   10. Carrinho (drawer lateral)
   11. Modal de checkout Pix
   12. Toast de notificação
   13. Media queries (responsividade)
=========================================================== */

/* -----------------------------------------------------------
   1. RESET BÁSICO
----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Respeita usuários que pediram menos movimento no sistema */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* -----------------------------------------------------------
   2. TOKENS DE DESIGN
   Paleta extraída diretamente da logomarca (rosé/champagne +
   marrom escuro), amostrada por pixel a partir do arquivo
   enviado. Ajuste aqui se a identidade visual mudar — todo o
   restante do CSS consome estas variáveis, nunca cores soltas.
----------------------------------------------------------- */
:root {
  /* Cor */
  --blush-50:   #fdf6f4;  /* fundo mais claro (seções alternadas) */
  --blush-100:  #fbe4e2;  /* fundo principal da página */
  --blush-200:  #f6d2ce;  /* hover / realces suaves */
  --rose-gold-300: #d9a98c;
  --rose-gold:  #bc7b5f;  /* cor de assinatura da marca (extraída do "SP") */
  --rose-gold-600: #9c5f45;
  --ink:        #3a2015;  /* texto principal (extraído do "Sister's") */
  --ink-soft:   #6b4a3b;  /* texto secundário */
  --white:      #fffbfa;
  --line:       rgba(58, 32, 21, 0.14);

  --success: #4c7a5a;
  --danger:  #b3462c;

  /* Tipografia
     Fraunces = display, usada nos títulos com peso variável (assim
     como a serifa desenhada da logo). Jost = texto corrido e
     versaletes com tracking, ecoando "PLUMA" e o subtítulo da logo. */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Jost', -apple-system, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-sm: 4px;
  --radius: 10px;
  --radius-lg: 28px;
  --shadow-soft: 0 18px 40px -22px rgba(58, 32, 21, 0.35);
  --header-h: 84px;
}

/* -----------------------------------------------------------
   3. ELEMENTOS GLOBAIS
----------------------------------------------------------- */
body {
  font-family: var(--font-body);
  background: var(--blush-100);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-gold-600);
  margin-bottom: 10px;
}

/* Divisor com pontos, citando o traço radial abaixo de "PLUMA" na logo */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 0;
}
.divider span { width: 46px; height: 1px; background: var(--rose-gold-300); }
.divider i { width: 5px; height: 5px; border-radius: 50%; background: var(--rose-gold); }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--rose-gold-600); outline-offset: 2px; }
/* [hidden] tem a mesma especificidade (0,1,0) de .btn (display:inline-flex)
   — sem isso, `elemento.hidden = true` não esconde um <a>/<button class="btn">
   de verdade. Mesmo problema já corrigido em .cart-drawer/.lgpd-banner/etc,
   aplicado aqui de forma geral pra cobrir qualquer botão atual ou futuro. */
.btn[hidden] { display: none; }

.btn--primary {
  background: var(--ink);
  color: var(--white);
}
.btn--primary:hover { background: var(--rose-gold-600); }

.btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--white); }

.btn--sm { padding: 9px 20px; font-size: 0.82rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.icon-btn {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: 50%;
  cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease;
}
.icon-btn:hover { background: var(--blush-200); border-color: var(--rose-gold-300); }

/* -----------------------------------------------------------
   4. CABEÇALHO + BANNER LGPD
----------------------------------------------------------- */
.lgpd-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  max-width: 560px; margin: 0 auto;
  background: var(--ink); color: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  box-shadow: var(--shadow-soft);
}
/* Mesmo problema do .cart-drawer: [hidden] tem a mesma especificidade
   (0,1,0) do seletor de classe acima, então sem este reforço o
   `display: flex` vence e o banner nunca some ao clicar em "Entendi". */
.lgpd-banner[hidden] { display: none; }
.lgpd-banner p { color: rgba(255,255,255,0.82); font-size: 0.85rem; flex: 1 1 220px; }
.lgpd-banner .btn--ghost { border-color: rgba(255,255,255,0.5); color: var(--white); }
.lgpd-banner .btn--ghost:hover { background: var(--rose-gold); border-color: var(--rose-gold); }

.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(253, 244, 241, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
/* Classe alternada via JS quando a página rola (ver main.js) */
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(58,32,21,0.5); }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 44px; height: 44px; border-radius: 50%; }
.brand__wordmark { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-size: 1.15rem; }
.brand__tagline { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose-gold-600); }

.site-nav { display: flex; gap: 32px; font-size: 0.92rem; }
.site-nav a { position: relative; padding: 6px 0; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--rose-gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }

.cart-toggle {
  position: relative;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 50%;
  cursor: pointer; transition: border-color 0.2s ease;
}
.cart-toggle:hover { border-color: var(--rose-gold); }
.cart-toggle__count {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--rose-gold); color: var(--white);
  font-size: 0.68rem; font-weight: 600;
  border-radius: 999px; display: flex; align-items: center; justify-content: center;
}

/* -----------------------------------------------------------
   5. HERO
   O "signature element" do design: o anel duplo da logomarca,
   ampliado e usado como moldura decorativa atrás do título —
   a mesma geometria do medalhão da marca, em escala arquitetônica.
----------------------------------------------------------- */
.hero {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
  text-align: center;
}
.hero__ring {
  position: absolute; top: 50%; left: 50%;
  width: 720px; height: 720px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--rose-gold-300);
  border-radius: 50%;
  opacity: 0.5;
}
.hero__ring::before {
  content: ""; position: absolute; inset: 22px;
  border: 1px solid var(--rose-gold-300);
  border-radius: 50%;
  opacity: 0.6;
}
.hero__inner { position: relative; max-width: 640px; margin: 0 auto; }
.hero__title {
  font-size: clamp(2.4rem, 1.9rem + 2.4vw, 3.8rem);
  line-height: 1.08;
  margin: 6px 0 22px;
}
.hero__lede { max-width: 460px; margin: 0 auto 34px; font-size: 1.02rem; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* -----------------------------------------------------------
   6. VITRINE DE PRODUTOS
----------------------------------------------------------- */
.collection { padding: 30px 0 100px; }
.section-head { text-align: center; margin-bottom: 40px; }

.filters {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin: 34px 0 42px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.82rem; letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.18s ease;
}
.filter-btn:hover { border-color: var(--rose-gold); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 28px;
}

/* Estado "sem produtos" (categoria vazia OU falha ao carregar a API) —
   ocupa a largura toda do grid. Ver Shop.loadError em shop-common.js. */
.grid-message { grid-column: 1 / -1; text-align: center; color: var(--ink-soft); padding: 24px 0; }
.grid-message .btn { margin-top: 14px; }

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--blush-50);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
/* Foto de verdade preenche a moldura por inteiro (o badge flutua por
   cima); a ilustração de linha (sem foto cadastrada ainda) fica menor
   e centralizada, como um ícone — do mesmo jeito que a galeria da
   página de produto já faz. */
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__media svg { width: 60%; height: 60%; }

.product-card__badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--rose-gold); color: var(--white);
  font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.product-card__badge--out { background: var(--danger); }

.product-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-card__cat { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rose-gold-600); }
.product-card__name { font-family: var(--font-display); font-size: 1.12rem; }
.product-card__name a:hover { color: var(--rose-gold-600); }
.product-card__desc { font-size: 0.84rem; margin-top: 2px; flex: 1; }

.product-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.product-card__price { font-family: var(--font-display); font-size: 1.15rem; }
.product-card__price small { display: block; font-family: var(--font-body); font-size: 0.68rem; color: var(--ink-soft); font-weight: 400; }

.add-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.18s ease, transform 0.15s ease;
}
.add-btn:hover { background: var(--rose-gold-600); }
.add-btn:active { transform: scale(0.92); }
.add-btn:disabled { background: var(--line); color: var(--ink-soft); cursor: not-allowed; }
.add-btn:disabled:hover { background: var(--line); }

/* Feedback rápido no botão ao adicionar (classe alternada via JS) */
.add-btn.is-added { background: var(--success); }

/* Skeleton de carregamento — mostrado enquanto /api/products responde
   (ver renderSkeleton() em main.js), no lugar da grade ficar vazia. */
@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton-shimmer {
  background: linear-gradient(100deg, var(--blush-100) 30%, var(--blush-50) 50%, var(--blush-100) 70%);
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.7s ease-in-out infinite;
}
.product-card.is-skeleton { border-color: transparent; pointer-events: none; }
.skeleton-line { height: 11px; border-radius: 999px; }
.skeleton-line--cat { width: 35%; height: 8px; }
.skeleton-line--name { width: 78%; height: 15px; margin-top: 4px; }
.skeleton-line--title { width: 60%; height: 26px; margin-top: 4px; }
.skeleton-line--desc { width: 92%; }
.skeleton-line--price { width: 42%; height: 18px; margin-top: 10px; }

/* -----------------------------------------------------------
   7. SEÇÃO "SOBRE"
----------------------------------------------------------- */
.about { padding: 90px 0; background: var(--blush-50); }
.about__inner {
  display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: center;
}
.about__ring {
  width: 260px; height: 260px; border-radius: 50%;
  border: 1px solid var(--rose-gold-300);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.about__ring::before {
  content: ""; position: absolute; inset: -16px;
  border: 1px solid var(--rose-gold-300); border-radius: 50%; opacity: 0.55;
}
.about__ring img { width: 220px; height: 220px; border-radius: 50%; }

.about__text p { max-width: 52ch; margin-top: 14px; }
.about__pillars { margin-top: 30px; display: grid; gap: 16px; }
.about__pillars li { display: flex; gap: 14px; align-items: baseline; }
.about__pillars strong { font-family: var(--font-display); min-width: 110px; color: var(--ink); }
.about__pillars span { font-size: 0.88rem; color: var(--ink-soft); }

/* -----------------------------------------------------------
   8. FAIXA DE CONFIANÇA
----------------------------------------------------------- */
.trust-strip { padding: 44px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-strip__inner { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 0.9rem; }
.trust-item svg { color: var(--rose-gold); flex-shrink: 0; }

/* -----------------------------------------------------------
   8b. ONDE NOS ENCONTRAR (endereço + vendedoras)
----------------------------------------------------------- */
.contact-block { padding: 80px 0; }
.contact-block__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
}
.contact-address { margin-top: 12px; font-size: 0.95rem; line-height: 1.7; }
.delivery-methods { margin-top: 22px; display: grid; gap: 14px; }
.delivery-methods li { display: flex; flex-direction: column; gap: 2px; }
.delivery-methods strong { font-family: var(--font-display); font-size: 0.98rem; color: var(--ink); }
.delivery-methods span { font-size: 0.86rem; color: var(--ink-soft); }

.sellers-list { margin-top: 16px; display: grid; gap: 12px; }
.sellers-list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; background: var(--blush-50); border-radius: var(--radius);
  border: 1px solid var(--line);
}
.sellers-list__name { font-family: var(--font-display); font-size: 0.98rem; }
.sellers-list a { font-size: 0.82rem; color: var(--rose-gold-600); font-weight: 500; }
.sellers-list a:hover { text-decoration: underline; }

/* -----------------------------------------------------------
   9. RODAPÉ
----------------------------------------------------------- */
.site-footer { padding: 70px 0 26px; }
.site-footer__inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid var(--line);
}
.footer-brand { display: flex; gap: 12px; }
.footer-brand img { border-radius: 50%; }
.footer-brand p { font-family: var(--font-display); color: var(--ink); font-size: 1.02rem; }
.footer-brand span { font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rose-gold-600); }
.footer-col h3 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.footer-col p { font-size: 0.88rem; margin-bottom: 6px; }
.footer-col a:hover { color: var(--rose-gold-600); }
.site-footer__legal { text-align: center; font-size: 0.78rem; color: var(--ink-soft); margin-top: 24px; }

/* -----------------------------------------------------------
   10. CARRINHO — DRAWER LATERAL
----------------------------------------------------------- */
.drawer-overlay, .modal-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(58, 32, 21, 0.38);
  animation: fadeIn 0.2s ease;
}

.cart-drawer {
  position: fixed; top: 0; right: 0; z-index: 91;
  width: min(420px, 100vw); height: 100%;
  background: var(--white);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 50px -28px rgba(58,32,21,0.5);
  transform: translateX(0);
  animation: slideIn 0.28s ease;
}
/* [hidden] tem a mesma especificidade de .cart-drawer (0,1,0); sem este
   reforço, o `display: flex` acima venceria e o painel apareceria aberto
   mesmo com o atributo `hidden` presente no HTML. */
.cart-drawer[hidden] { display: none; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.cart-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 1px solid var(--line);
}
.cart-drawer__head h2 { font-size: 1.15rem; }

.cart-drawer__body { flex: 1; overflow-y: auto; padding: 10px 24px; }

.cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item__media {
  width: 66px; height: 78px; border-radius: 10px; background: var(--blush-50);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cart-item__media svg, .cart-item__media img { width: 70%; height: 70%; object-fit: cover; border-radius: 6px; }
.cart-item__info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.cart-item__name { font-family: var(--font-display); font-size: 0.98rem; }
.cart-item__meta { font-size: 0.76rem; color: var(--ink-soft); }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }

.qty-control { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 6px; }
.qty-control button {
  width: 22px; height: 22px; border-radius: 50%; border: none; background: transparent;
  cursor: pointer; font-size: 1rem; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.qty-control button:hover { background: var(--blush-200); }
.qty-control span { min-width: 14px; text-align: center; font-size: 0.86rem; }

.cart-item__price { font-family: var(--font-display); font-size: 0.95rem; }
.cart-item__remove { font-size: 0.74rem; color: var(--danger); background: none; border: none; cursor: pointer; text-decoration: underline; padding: 0; }

.cart-drawer__empty { display: none; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 40px; }
.cart-drawer__empty p { color: var(--ink-soft); }
.cart-drawer__empty-icon { color: var(--rose-gold-300); }

.cart-drawer__foot { padding: 20px 24px 26px; border-top: 1px solid var(--line); }
.cart-drawer__row { display: flex; justify-content: space-between; font-size: 1.02rem; margin-bottom: 4px; }
.cart-drawer__row strong { font-family: var(--font-display); }
.cart-drawer__hint { font-size: 0.76rem; color: var(--ink-soft); margin-bottom: 16px; }
.min-order-note {
  font-size: 0.8rem; color: var(--rose-gold-600); background: var(--blush-50);
  border-radius: var(--radius-sm); padding: 9px 12px; margin: -6px 0 14px;
}

/* Estado vazio: alternado via JS (main.js/cart.js) trocando qual bloco fica visível */
.cart-drawer.is-empty .cart-drawer__body,
.cart-drawer.is-empty .cart-drawer__foot { display: none; }
.cart-drawer.is-empty .cart-drawer__empty { display: flex; }

/* -----------------------------------------------------------
   11. MODAL DE CHECKOUT PIX
----------------------------------------------------------- */
.pix-modal {
  position: fixed; top: 50%; left: 50%; z-index: 101;
  transform: translate(-50%, -50%);
  width: min(440px, calc(100vw - 32px));
  max-height: min(88vh, 720px);
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 30px 30px;
  box-shadow: var(--shadow-soft);
  animation: popIn 0.22s ease;
}
@keyframes popIn { from { opacity: 0; transform: translate(-50%, -46%); } to { opacity: 1; transform: translate(-50%, -50%); } }
.modal-overlay { z-index: 100; }

.pix-modal__close { position: absolute; top: 18px; right: 18px; }
.pix-modal h2 { font-size: 1.35rem; margin-bottom: 6px; }
.pix-modal__lede { font-size: 0.88rem; margin-bottom: 20px; }

/* Indicador de progresso do checkout: Dados -> Pagamento -> Confirmado.
   Classe is-active/is-done alternada via JS em goToStep() (shop-common.js). */
.pix-progress { display: flex; justify-content: center; gap: 9px; margin-bottom: 22px; }
.pix-progress__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--line);
  transition: background 0.25s ease, transform 0.25s ease;
}
.pix-progress__dot.is-active { background: var(--rose-gold); transform: scale(1.4); }
.pix-progress__dot.is-done { background: var(--rose-gold-300); }

.pix-summary {
  background: var(--blush-50); border-radius: var(--radius); padding: 14px 16px;
  margin-bottom: 22px; font-size: 0.85rem; display: grid; gap: 6px;
}
.pix-summary__row { display: flex; justify-content: space-between; }
.pix-summary__row.total { font-weight: 600; color: var(--ink); border-top: 1px solid var(--line); padding-top: 6px; margin-top: 2px; }

.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 6px; }
.field input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--blush-50); font-size: 0.92rem;
}
.field input:focus { outline: none; border-color: var(--rose-gold); background: var(--white); }
.field-error { color: var(--danger); font-size: 0.8rem; margin: -8px 0 14px; }

/* Grupo de opções (forma de pagamento / forma de entrega) */
.field-group { border: none; padding: 0; margin: 0 0 16px; }
.field-group legend { font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 8px; padding: 0; }

.option-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.option-chips--stack { flex-direction: column; }

.option-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--blush-50);
  font-size: 0.86rem; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease;
}
.option-chip:has(input:checked), .option-chip.is-selected { border-color: var(--rose-gold); background: var(--white); box-shadow: inset 0 0 0 1px var(--rose-gold); }
.option-chip input { margin: 0; accent-color: var(--rose-gold-600); }

.delivery-note { font-size: 0.8rem; color: var(--ink-soft); margin: -8px 0 16px; }
.field-hint { font-size: 0.76rem; color: var(--ink-soft); margin: -8px 0 14px; }

.pix-qr { display: flex; justify-content: center; padding: 18px; background: var(--blush-50); border-radius: var(--radius); margin-bottom: 18px; }
.pix-qr canvas { display: block; }

.pix-amount { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.pix-amount span { font-size: 0.82rem; color: var(--ink-soft); }
.pix-amount strong { font-family: var(--font-display); font-size: 1.4rem; }

.copy-row { display: flex; gap: 8px; }
.copy-row input {
  flex: 1; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--blush-50); font-size: 0.76rem; font-family: monospace;
}

.pix-status {
  display: flex; align-items: center; gap: 10px; font-size: 0.84rem; color: var(--ink-soft);
  margin: 18px 0 8px;
}
.pix-status__dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--rose-gold);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.pix-status.is-confirmed .pix-status__dot { background: var(--success); animation: none; }

.pix-modal__note { font-size: 0.78rem; color: var(--ink-soft); }
.pix-modal__note--highlight {
  font-size: 0.84rem; color: var(--ink); font-weight: 500;
  background: var(--blush-50); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 12px;
}

.pix-done-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--blush-50); color: var(--success);
  display: flex; align-items: center; justify-content: center; margin: 6px auto 18px;
}
#pixStepDone { text-align: center; }
#pixStepDone .btn { margin-top: 18px; }

/* -----------------------------------------------------------
   12. TOAST
----------------------------------------------------------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; z-index: 120;
  transform: translate(-50%, 20px);
  background: var(--ink); color: var(--white);
  padding: 13px 22px; border-radius: 999px;
  font-size: 0.86rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
/* Quando o carrinho ou o checkout estão abertos, o toast sobe para não
   tampar o botão de finalizar compra que fica fixo no rodapé desses painéis. */
.toast.is-raised { bottom: 130px; }

/* -----------------------------------------------------------
   13. RESPONSIVIDADE
----------------------------------------------------------- */
@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; text-align: center; }
  .about__ring { margin: 0 auto; }
  .about__pillars li { justify-content: center; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .contact-block__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .site-nav { display: none; }
  .brand__tagline { display: none; }
  .hero { padding: 60px 0 60px; }
  .hero__ring { width: 480px; height: 480px; }
  .collection { padding: 10px 0 70px; }
  .trust-strip__inner { gap: 28px; }
  .cart-drawer { width: 100vw; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-card__body { padding: 12px 14px 14px; }
  .product-card__name { font-size: 0.94rem; }
  .pix-modal { padding: 26px 18px 22px; }
}

/* -----------------------------------------------------------
   14. PÁGINA DE DETALHE DO PRODUTO (produto.html)
----------------------------------------------------------- */
.product-detail { padding: 20px 0 100px; }
.back-link { display: inline-block; margin: 28px 0 20px; font-size: 0.85rem; color: var(--ink-soft); }
.back-link:hover { color: var(--rose-gold-600); }
.product-detail__loading { text-align: center; padding: 80px 0; color: var(--ink-soft); }
.product-detail__loading a { color: var(--rose-gold-600); text-decoration: underline; }

.product-detail__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}

/* Skeleton mostrado em #productLoading enquanto o produto ainda não
   carregou — usa o mesmo grid de duas colunas do conteúdo real, pra
   não haver "pulo" de layout quando o conteúdo substitui o skeleton. */
.product-detail__skeleton-media { aspect-ratio: 4 / 5; border-radius: var(--radius); }
#productLoading .product-detail__info { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
/* [hidden] tem a mesma especificidade (0,1,0) de .product-detail__grid
   (que define display:grid); sem este reforço, o skeleton nunca some
   quando o produto termina de carregar — mesmo problema documentado em
   .cart-drawer[hidden] e .lgpd-banner[hidden] neste arquivo. */
#productLoading[hidden] { display: none; }

.product-gallery__main {
  aspect-ratio: 4 / 5;
  background: var(--blush-50);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  padding: 30px; overflow: hidden;
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.product-gallery__main svg { width: 62%; height: 62%; color: var(--rose-gold); }

.product-gallery__thumbs { display: flex; gap: 10px; margin-top: 14px; }
.gallery-thumb {
  width: 74px; height: 88px; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--line); padding: 0; cursor: pointer; background: var(--blush-50);
  transition: border-color 0.15s ease;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { border-color: var(--rose-gold-300); }
.gallery-thumb.is-active { border-color: var(--rose-gold); box-shadow: inset 0 0 0 1px var(--rose-gold); }

.product-detail__info h1 { font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin: 8px 0 12px; }
.product-detail__price { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 18px; }
.product-detail__price small { font-family: var(--font-body); font-size: 0.7rem; color: var(--ink-soft); font-weight: 400; }
.product-detail__desc { max-width: 46ch; margin-bottom: 26px; line-height: 1.7; }

.field-group__label { display: block; font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 8px; }

.qty-stepper { display: flex; align-items: center; gap: 16px; margin: 26px 0; }
.qty-stepper > span:first-child { font-size: 0.85rem; color: var(--ink-soft); }
.qty-stepper .qty-control { padding: 6px 10px; }
.qty-stepper .qty-control button { width: 28px; height: 28px; font-size: 1.1rem; }
.qty-stepper .qty-control span { font-size: 1rem; min-width: 20px; }

#pdMinOrderHint { margin-top: 12px; font-size: 0.78rem; color: var(--ink-soft); }

@media (max-width: 900px) {
  .product-detail__grid { grid-template-columns: 1fr; gap: 30px; }
}
