/* ═══════════════════════════════════════════
   Florence Intimates — Europa
   Branco · Preto · Vermelho com intenção
   Design System · v2
═══════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --ink:        #0A0A0A;
  --ink-mid:    #5A5A5A;
  --ink-faint:  #888888;
  --bg:         #FFFFFF;
  --bg-alt:     #ECECEC;
  --surface:    #FFFFFF;
  --border:     #E0E0E0;
  --border-mid: #C0C0C0;

  /* Vermelho apenas onde realmente importa */
  --red:        #C0101C;
  --red-hover:  #A00D17;
  --red-light:  #FAECED;

  --success:    #1A5C1A;
  --error:      #C0101C;

  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans:  system-ui, -apple-system, 'Segoe UI', sans-serif;

  --text-xs:   0.6875rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.375rem;
  --text-xl:   1.75rem;
  --text-2xl:  2.5rem;
  --text-3xl:  3.5rem;
  --text-4xl:  4.5rem;

  --max-w:      1280px;
  --max-w-text: 680px;
  --header-h:   72px;
  --ease:        0.18s ease;
}

/* Site sempre branco — decisão de design de marca de luxo.
   Não segue dark mode do sistema. */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: clip; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }
ul, ol { list-style: none; }

body {
  background: var(--bg);
  color: var(--ink);
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: normal;
  text-wrap: balance;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-md); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.eyebrow--red { color: var(--red); }

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
@media (max-width: 600px) { .container { padding: 0 1.25rem; } }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 44px;
  width: auto;
  display: block;
}
/* Mini-dropdown de idioma (mobile) — preso na tela (fixed), fora do cabeçalho */
.lang-dropdown { display: none; }
.lang-dropdown.open {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  position: fixed;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.7rem 1rem;
  z-index: 300;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.lang-dropdown a {
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--text-sm);
  white-space: nowrap;
}
.lang-dropdown a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .logo-img { height: 22px; }
  .header-inner { padding: 0 0.6rem; }
  /* actions coladas à logo — empurra tudo p/ a esquerda, tirando o menu da borda cortada */
  .header-actions { margin-left: 0.75rem; gap: 0.7rem; }
  /* no topo mostra só o idioma ATIVO; o seletor completo vai para dentro do menu ☰ */
  .header-actions .lang-switcher a:not(.active),
  .header-actions .lang-switcher .lang-sep { display: none; }
  /* o idioma ativo é tocável e abre o mini-dropdown para trocar */
  .header-actions .lang-switcher { position: relative; }
  .header-actions .lang-switcher a.active { cursor: pointer; }
  .header-actions .lang-switcher a.active::after {
    content: "▾"; font-size: 0.7em; margin-left: 3px; opacity: 0.55;
  }
}

.site-nav {
  display: flex;
  gap: 2rem;
  flex: 1;
}
.site-nav a {
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  color: var(--ink-mid);
  transition: color var(--ease);
  position: relative;
  padding-bottom: 2px;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after,
.site-nav a.active::after { width: 100%; }
.site-nav a.active { color: var(--ink); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lang-switcher a {
  color: var(--ink-faint);
  transition: color var(--ease);
  padding: 2px 0;
}
.lang-switcher a.active,
.lang-switcher a:hover { color: var(--ink); }
.lang-sep {
  color: var(--border);
  font-size: 0.65rem;
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--ink);
  transition: color var(--ease);
}
.cart-btn:hover { color: var(--red); }

/* ── Search ── */
.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.15rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  transition: color var(--ease);
}
.search-btn:hover { color: var(--red); }

.search-overlay {
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: rgba(255,255,255,0.98);
  z-index: 180;
  display: none;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
}
.search-overlay.open { display: flex; }

/* No mobile a busca ocupa a tela toda (acima do cabeçalho),
   assim o header não corta o campo onde se digita. */
@media (max-width: 768px) {
  .search-overlay { top: 0; z-index: 300; }
  .search-inner { padding-top: max(1.5rem, env(safe-area-inset-top)); }
}

.search-inner {
  width: 100%;
  max-width: 680px;
  padding: 2.5rem 1.5rem 4rem;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.3rem;
  font-family: inherit;
  background: transparent;
  color: var(--ink);
}
.search-input::placeholder { color: var(--ink-faint); font-weight: 300; }

.search-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-mid);
  font-size: 1.1rem;
  padding: 0.25rem;
  line-height: 1;
  transition: color var(--ease);
}
.search-close:hover { color: var(--ink); }

.search-result {
  display: flex;
  gap: 1rem;
  padding: 0.875rem 0.5rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  transition: background var(--ease);
  border-radius: 2px;
}
.search-result:hover { background: var(--bg-alt); }

.search-result-img {
  width: 52px;
  height: 66px;
  flex-shrink: 0;
  background: var(--bg-alt);
  overflow: hidden;
}
.search-result-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.search-result-info { display: flex; flex-direction: column; justify-content: center; gap: 0.15rem; }
.search-result-name  { font-size: 0.9rem; font-weight: 500; }
.search-result-sub   { font-size: 0.8rem; color: var(--ink-mid); }
.search-result-price { font-size: 0.8rem; color: var(--ink-mid); margin-top: 0.2rem; }

.search-empty { padding: 3rem 0; font-size: 0.9rem; color: var(--ink-faint); text-align: center; }

.search-hint { font-size: 0.8rem; color: var(--ink-faint); text-align: center; padding: 1.5rem 0 0; letter-spacing: 0.04em; }
.cart-count {
  position: absolute;
  top: -6px;
  right: -7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  box-sizing: border-box;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 8px;
}
.cart-count:empty { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 26px;
  padding: 6px 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: var(--ease);
}
@media (max-width: 768px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 2rem;
    gap: 1.5rem;
  }
}

/* Seletor de idioma dentro do menu mobile (☰) — escondido no desktop */
.nav-lang { display: none; }
@media (max-width: 768px) {
  .site-nav.open .nav-lang {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    margin-top: 0.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
  }
  .site-nav.open .nav-lang a {
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: var(--text-sm);
  }
  .site-nav.open .nav-lang a.active { color: var(--ink); font-weight: 600; }
  .site-nav.open .nav-lang .lang-sep { color: var(--border); }
}

/* ── Hero — editorial, fundo branco ── */
.hero {
  background: var(--bg);
  padding: 0;
  display: flex;
  align-items: stretch;
}
.hero-grid {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 0;
  align-items: stretch;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: auto; padding: 4rem 1.25rem; }
}
.hero-text {
  padding: 5rem 4rem 5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 860px) {
  .hero-text { padding: 0 0 3rem; }
}
.hero-eyebrow {
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 2rem;
  display: block;
}
.hero h1 {
  font-size: clamp(2.75rem, 5.5vw, var(--text-4xl));
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 1.75rem;
  font-weight: normal;
}
.hero-desc {
  font-size: var(--text-md);
  color: var(--ink-mid);
  max-width: 42ch;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-visual {
  position: relative;
  overflow: hidden;
  align-self: stretch;
}
.hero-visual img,
.hero-visual video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 860px) {
  .hero-visual {
    min-height: 60vw;
    aspect-ratio: 4/3;
  }
}

/* ── Announcement bar ── */
.announcement {
  background: #0A0A0A;
  color: #F2F2F2;
  padding: 0.6rem 0;
  text-align: center;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Trust strip ── */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.trust-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 640px) {
  .trust-strip-inner { grid-template-columns: 1fr 1fr; }
}
.trust-item {
  padding: 1.25rem 1.5rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.trust-item:last-child { border-right: none; }
.trust-item-title {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
}
.trust-item-sub {
  font-size: var(--text-xs);
  color: var(--ink-faint);
}

/* ── Botões ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.25rem;
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
  transition: var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

/* Preto — CTA principal */
.btn-dark {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
}
.btn-dark:hover { background: var(--ink-mid); border-color: var(--ink-mid); }

/* Vermelho — apenas para "Adicionar ao carrinho" */
.btn-red {
  background: var(--red);
  color: #FFFFFF;
  border: 1px solid var(--red);
}
.btn-red:hover { background: var(--red-hover); border-color: var(--red-hover); }

/* Contorno — secundário */
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }

/* Texto — terciário */
.btn-ghost {
  background: transparent;
  color: var(--ink-mid);
  border: none;
  padding: 0;
  letter-spacing: 0.06em;
  font-size: var(--text-sm);
}
.btn-ghost:hover { color: var(--ink); }
.btn-ghost::after { content: ' →'; }

/* ── Seções ── */
.section     { padding: 6rem 0; }
.section--sm { padding: 4rem 0; }

.section-header { margin-bottom: 3.5rem; }
.section-header .eyebrow { margin-bottom: 0.75rem; display: block; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p  { color: var(--ink-mid); max-width: 52ch; }

/* ── Grid de produtos ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1rem;
}
@media (max-width: 960px)  { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .product-grid { grid-template-columns: repeat(2, 1fr); } }

.product-card { display: flex; flex-direction: column; }

.product-img-wrap {
  aspect-ratio: 3/4;
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
  margin-bottom: 1rem;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2em 0.55em;
  background: var(--red);
  color: #fff;
}

.product-name {
  font-family: var(--font-serif);
  font-size: var(--text-md);
  margin-bottom: 0.2rem;
  color: var(--ink);
}
.product-sub {
  font-size: var(--text-sm);
  color: var(--ink-faint);
  margin-bottom: 0.5rem;
}
.product-price {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.product-price-note {
  font-weight: 400;
  color: var(--ink-faint);
}
.price-old  { text-decoration: line-through; color: var(--ink-faint); font-weight: 400; }
.price-sale { color: var(--red); }

/* ── Story ── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 768px) { .story-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.story-img {
  aspect-ratio: 4/5;
  width: 100%;
  background: var(--bg-alt);
  display: block;
  overflow: hidden;
  position: relative;
}
.story-img video,
.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}
.story-text .eyebrow { margin-bottom: 1.25rem; display: block; }
.story-text h2       { margin-bottom: 1.5rem; }
.story-text p        { color: var(--ink-mid); margin-bottom: 1.25rem; max-width: 46ch; }

/* ── Divisor ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── Newsletter ── */
.newsletter {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.newsletter .eyebrow { margin-bottom: 0.75rem; display: block; }
.newsletter h2 { margin-bottom: 0.75rem; }
.newsletter p  {
  color: var(--ink-mid);
  margin-bottom: 2.5rem;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}
.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 420px;
  margin: 0 auto;
  border: 1px solid var(--border-mid);
}
.newsletter-form input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: none;
  background: var(--bg);
  color: var(--ink);
  font-size: var(--text-sm);
  outline: none;
}
.newsletter-form input::placeholder { color: var(--ink-faint); }
.newsletter-form .btn-dark {
  border-radius: 0;
  padding: 0.875rem 1.5rem;
  font-size: var(--text-xs);
}
@media (max-width: 500px) {
  .newsletter-form { flex-direction: column; border: none; gap: 0.5rem; }
  .newsletter-form input { border: 1px solid var(--border-mid); }
}

/* ── Footer — sempre escuro ── */
.site-footer {
  background: #0A0A0A;
  color: #F2F2F2;
  padding: 5rem 0 2.5rem;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; } }

.footer-logo-img {
  height: 42px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: invert(1);
  opacity: 1;
}
@media (max-width: 480px) { .footer-logo-img { height: 30px; margin-bottom: 1rem; } }
.footer-brand p {
  font-size: var(--text-sm);
  color: rgba(242,242,242,0.45);
  max-width: 28ch;
  line-height: 1.7;
}
.footer-col-title {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242,242,242,0.35);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a {
  font-size: var(--text-sm);
  color: rgba(242,242,242,0.6);
  transition: color var(--ease);
}
.footer-col a:hover { color: #FFFFFF; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.75rem 2rem 0;
  border-top: 1px solid rgba(242,242,242,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p,
.footer-bottom a {
  font-size: var(--text-xs);
  color: rgba(242,242,242,0.3);
  letter-spacing: 0.04em;
}
.footer-bottom a:hover { color: rgba(242,242,242,0.7); }
.footer-legal { display: flex; gap: 1.5rem; }

/* ── Footer social ── */
.footer-social {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 2rem 0;
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.footer-social a {
  color: rgba(242,242,242,0.45);
  transition: color var(--ease);
  display: flex;
  align-items: center;
}
.footer-social a:hover { color: #fff; }
.footer-social svg { display: block; }

/* ── Footer Trust Bar ── */
.footer-trust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.trust-ssl {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(242,242,242,0.55);
}
.trust-cards {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.trust-cards svg { display: block; border-radius: 3px; }
.trust-stripe {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  color: rgba(242,242,242,0.35);
  padding-left: 0.65rem;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.trust-stripe svg { display: block; }

/* ── Cart Drawer ── */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(10,10,10,0.4);
  z-index: 300;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(2px);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: var(--bg);
  z-index: 301;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  border-left: 1px solid var(--border);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border);
}
.cart-header h3 {
  font-family: var(--font-serif);
  font-size: var(--text-md);
  font-weight: normal;
}
.cart-close { color: var(--ink-faint); font-size: 1.1rem; transition: color var(--ease); }
.cart-close:hover { color: var(--ink); }

.cart-items { flex: 1; overflow-y: auto; padding: 1.25rem 1.75rem; }
.cart-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; height: 100%;
  gap: 0.75rem; color: var(--ink-faint); font-size: var(--text-sm);
}

/* Shipping progress bar */
.cart-shipping-bar { padding: 1rem 0 1.25rem; border-bottom: 1px solid var(--border); }
.shipping-bar-text { font-size: var(--text-xs); color: var(--ink-mid); margin-bottom: 0.6rem; line-height: 1.5; }
.shipping-bar-track { height: 2px; background: var(--bg-alt); }
.shipping-bar-fill  { height: 100%; background: var(--ink); transition: width 0.5s ease; }

.cart-item {
  display: grid; grid-template-columns: 72px 1fr;
  gap: 1rem; padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img { width: 72px; aspect-ratio: 3/4; overflow: hidden; background: var(--bg-alt); flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item-info { display: flex; flex-direction: column; }
.cart-item-top  { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.2rem; }
.cart-item-name { font-family: var(--font-serif); font-size: var(--text-sm); line-height: 1.3; }
.cart-item-remove { color: var(--ink-faint); font-size: 0.7rem; flex-shrink: 0; padding: 0.15rem; transition: color var(--ease); }
.cart-item-remove:hover { color: var(--ink); }
.cart-item-variant { font-size: var(--text-xs); color: var(--ink-faint); margin-bottom: auto; padding-bottom: 0.6rem; }
.cart-item-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.cart-item-qty { display: flex; align-items: center; gap: 0.5rem; font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.qty-btn {
  width: 24px; height: 24px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; line-height: 1; color: var(--ink-mid);
  transition: var(--ease);
}
.qty-btn:hover { border-color: var(--ink); color: var(--ink); }
.cart-item-price { font-size: var(--text-sm); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }

.cart-footer {
  padding: 1.5rem 1.75rem;
  border-top: 1px solid var(--border);
}
.cart-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 1.25rem;
}
.cart-total-label { font-size: var(--text-sm); color: var(--ink-mid); }
.cart-total-value { font-family: var(--font-serif); font-size: var(--text-lg); font-variant-numeric: tabular-nums; }

/* ── Coupon field ── */
.cart-coupon { margin-bottom: 0.875rem; }
.cart-coupon-row {
  display: flex;
  gap: 0.5rem;
}
.coupon-input {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  font-size: var(--text-sm);
  font-family: inherit;
  background: var(--bg);
  color: var(--ink);
  outline: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.coupon-input:focus { border-color: var(--ink); }
.coupon-apply-btn {
  padding: 0.55rem 1rem;
  background: var(--ink);
  color: #fff;
  border: none;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.coupon-apply-btn:hover { opacity: 0.8; }
.coupon-error { font-size: var(--text-xs); color: var(--red); margin-top: 0.35rem; min-height: 1rem; }

.coupon-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 0.6rem 0.875rem;
  font-size: var(--text-sm);
}
.coupon-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-faint);
  font-size: 0.8rem;
  padding: 0 0.25rem;
  transition: color 0.15s;
}
.coupon-remove:hover { color: var(--ink); }

/* Totals breakdown when coupon active */
.cart-total-rows { width: 100%; }
.cart-row-sub, .cart-row-disc, .cart-row-final {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.4rem;
}
.cart-row-sub { font-size: var(--text-sm); color: var(--ink-mid); }
.cart-row-disc { font-size: var(--text-sm); color: var(--red); }
.cart-disc-val { font-variant-numeric: tabular-nums; }
.cart-row-final {
  font-size: var(--text-base);
  font-weight: 600;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  margin-bottom: 0;
}
.cart-row-final span:last-child { font-family: var(--font-serif); font-size: var(--text-lg); }

/* Announcement rotation */
.announcement { transition: opacity 0.35s ease; }
.announcement--fade { opacity: 0; }

/* ── Utilities ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-red   { color: var(--red); }
.text-mid   { color: var(--ink-mid); }
.text-faint { color: var(--ink-faint); }
.mt-2  { margin-top: 0.5rem; }
.mt-4  { margin-top: 1rem; }
.mt-8  { margin-top: 2rem; }
.mb-0  { margin-bottom: 0; }

/* ── Favorites / Hearts ── */
.fav-header-link {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.fav-count {
  position: absolute;
  top: -5px;
  right: -8px;
  background: var(--ink);
  color: var(--bg);
  font-size: 9px;
  font-weight: 700;
  min-width: 14px;
  height: 14px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
  line-height: 1;
}

.heart-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.88);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mid);
  transition: color 0.18s, transform 0.15s, background 0.18s;
  z-index: 3;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
@media (hover: hover) {
  .heart-btn:hover { color: #cc1144; transform: scale(1.12); background: #fff; }
}
.heart-btn.heart--active { color: #cc1144; }
.heart-btn.heart--active svg { fill: #cc1144; }

.heart-popover {
  position: absolute;
  z-index: 600;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  border-radius: 2px;
  min-width: 210px;
  padding: 0.875rem;
}
.heart-pop-title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 0.75rem;
}
.heart-pop-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--ink-mid);
}
.heart-pop-row:hover { color: var(--ink); }
.heart-pop-row input { accent-color: var(--ink); cursor: pointer; }
.heart-pop-new {
  display: flex;
  gap: 0.375rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.heart-pop-new input {
  flex: 1;
  padding: 0.375rem 0.5rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  min-width: 0;
}
.heart-pop-new input:focus { outline: none; border-color: var(--ink); }
.heart-pop-new button {
  padding: 0.375rem 0.625rem;
  background: var(--ink);
  color: var(--bg);
  border: none;
  cursor: pointer;
  font-size: var(--text-sm);
  white-space: nowrap;
  font-family: var(--font-sans);
}
.heart-pop-new button:hover { opacity: 0.85; }

.heart-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(0.75rem);
  background: var(--ink);
  color: var(--bg);
  padding: 0.6rem 1.25rem;
  border-radius: 2rem;
  font-size: var(--text-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
  z-index: 700;
  white-space: nowrap;
}
.heart-toast--show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Favorites page ── */
.fav-page-header {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
}
.fav-page-header h1 { font-size: clamp(1.6rem, 3vw, var(--text-2xl)); }

.fav-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.fav-tabs::-webkit-scrollbar { display: none; }
.fav-tab {
  padding: 0.875rem 1.25rem;
  border: none;
  background: none;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--ink-mid);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--ease), border-color var(--ease);
}
.fav-tab:hover { color: var(--ink); }
.fav-tab--active { color: var(--ink); font-weight: 500; border-bottom-color: var(--ink); }
.fav-tab--new { color: var(--ink-faint); font-size: var(--text-sm); }
.fav-tab--new:hover { color: var(--ink); }
.fav-tab-count {
  background: var(--bg-alt);
  border-radius: 10px;
  font-size: 11px;
  padding: 0 6px;
  min-width: 18px;
  text-align: center;
  color: var(--ink-mid);
}

.fav-list-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.fav-action-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink-mid);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: color var(--ease), border-color var(--ease);
}
.fav-action-btn:hover { color: var(--ink); border-color: var(--ink); }
.fav-action-btn--danger:hover { color: var(--red); border-color: var(--red); }
.fav-action-btn svg { flex-shrink: 0; }

.fav-empty {
  grid-column: 1/-1;
  padding: 5rem 0;
  text-align: center;
  color: var(--ink-faint);
}
.fav-empty svg { margin-bottom: 1rem; opacity: 0.25; }
.fav-empty p { font-size: var(--text-sm); max-width: 28ch; margin: 0.5rem auto 1.5rem; }

.fav-shared-banner {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.fav-shared-banner p { font-size: var(--text-sm); color: var(--ink-mid); margin: 0; }

/* Share modal */
.share-modal {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(0,0,0,0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.share-modal.open { display: flex; }
.share-modal-box {
  background: var(--bg);
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  position: relative;
}
.share-modal-box h3 {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  margin-bottom: 0.4rem;
}
.share-modal-box p {
  font-size: var(--text-sm);
  color: var(--ink-mid);
  margin-bottom: 1.25rem;
}
.share-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none; border: none;
  font-size: 1.1rem; cursor: pointer; color: var(--ink-mid);
}
/* Branded prompt/confirm dialog (favourites) */
.fav-dialog-input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-mid);
  background: var(--bg);
  color: var(--ink);
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  margin-top: 0.25rem;
}
.fav-dialog-input:focus { outline: none; border-color: var(--ink); }
.fav-dialog-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  margin-top: 1.4rem;
}
.fav-dialog-actions .btn { padding: 0.6rem 1.15rem; }
.share-url-row {
  display: flex;
  gap: 0.5rem;
}
.share-url-row input {
  flex: 1;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--ink);
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  min-width: 0;
}
.share-url-row button {
  padding: 0.625rem 1rem;
  background: var(--ink);
  color: var(--bg);
  border: none;
  cursor: pointer;
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  white-space: nowrap;
}
.share-copied { font-size: var(--text-sm); color: #2a9d4e; margin-top: 0.5rem; }

/* ── Reviews ── */
.reviews-section {
  padding: 4rem 0 5rem;
  border-top: 1px solid var(--border);
}
.reviews-header {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.reviews-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, var(--text-xl));
}
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--ink-mid);
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: #c8922a;
}
.stars svg { flex-shrink: 0; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .reviews-grid { grid-template-columns: 1fr; } }

.review-card {
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.review-card-stars { color: #c8922a; display: flex; gap: 2px; }
.review-card-text {
  font-size: var(--text-sm);
  color: var(--ink-mid);
  line-height: 1.7;
  flex: 1;
}
.review-card-text::before { content: '"'; }
.review-card-text::after  { content: '"'; }
.review-card-author {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.review-card-source {
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.reviews-show-more {
  margin-top: 2rem;
  text-align: center;
}
.reviews-show-more button {
  background: none;
  border: 1px solid var(--border);
  padding: 0.625rem 2rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--ink-mid);
  cursor: pointer;
  transition: border-color var(--ease), color var(--ease);
}
.reviews-show-more button:hover { border-color: var(--ink); color: var(--ink); }

/* Rating bar in PDP */
.pdp-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: var(--text-sm);
  color: var(--ink-mid);
}
.pdp-rating a {
  color: var(--ink-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: var(--text-xs);
}
.pdp-rating a:hover { color: var(--ink); }

/* Testimonials section on homepage */
.testimonials {
  padding: 5rem 0;
  background: var(--bg-alt);
}
.testimonials .section-eyebrow { text-align: center; margin-bottom: 0.5rem; }
.testimonials h2 { text-align: center; margin-bottom: 3rem; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  /* Mobile: full-width horizontal swipe carousel (one card at a time) */
  .tc-wrap { gap: 0; }
  .tc-arrow { display: none; }
  .tc-dots { display: none; }
  .testimonials-grid.tc-track {
    display: flex;
    grid-template-columns: none;
    gap: 0.85rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.25rem 0 0.5rem;
    margin: 0 -1px;
  }
  .testimonials-grid.tc-track::-webkit-scrollbar { display: none; }
  .testimonials-grid.tc-track .testimonial-card {
    flex: 0 0 87%;
    scroll-snap-align: center;
  }
}
.testimonial-card {
  background: var(--bg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial-card .stars { color: #c8922a; }
.testimonial-card blockquote {
  font-size: var(--text-sm);
  color: var(--ink-mid);
  line-height: 1.75;
  font-style: italic;
  margin: 0;
  flex: 1;
}
.testimonial-card cite {
  font-style: normal;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.04em;
}

/* Testimonials carousel */
.tc-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.tc-viewport { flex: 1; min-width: 0; }
.tc-arrow {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.15s, opacity 0.15s;
  margin-top: 2.5rem;
}
.tc-arrow:hover:not(:disabled) { border-color: var(--ink); }
.tc-arrow:disabled { opacity: 0.3; cursor: default; }
.tc-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.tc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s;
}
.tc-dot--active { background: var(--ink); }

/* Frete: seletor de modalidade no checkout
   (seletores com .ship-methods… para vencer .form-field input/label do checkout) */
.ship-methods { display: flex; flex-direction: column; gap: 0.6rem; }
.ship-methods .ship-method {
  display: flex; align-items: center; gap: 0.7rem;
  border: 1px solid var(--border); border-radius: 2px;
  padding: 0.85rem 0.9rem; margin: 0; cursor: pointer;
  text-transform: none; letter-spacing: normal;
  transition: border-color 0.15s;
}
.ship-methods .ship-method:has(input:checked) { border-color: var(--ink); }
.ship-methods .ship-method input[type="radio"] {
  width: 18px; height: 18px; min-width: 0; flex: 0 0 auto;
  margin: 0; padding: 0; border: none; background: none; box-shadow: none;
  -webkit-appearance: radio; appearance: radio;
  accent-color: var(--ink); cursor: pointer;
}
.ship-methods .ship-method-name { flex: 1; font-size: var(--text-sm); color: var(--ink); }
.ship-methods .ship-method-price { font-size: var(--text-sm); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink-mid); }

/* Link "continuar comprando" no checkout */
.checkout-back {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: var(--text-sm); color: var(--ink-mid); text-decoration: none;
  margin-bottom: 1.5rem; transition: color 0.15s;
}
.checkout-back:hover { color: var(--ink); }

/* Linha discreta com as medidas da modelo na página de produto */
.pdp-model-fit {
  font-size: var(--text-xs);
  color: var(--ink-faint);
  line-height: 1.6;
  margin: -0.25rem 0 2rem;
}

/* Split size selectors (conjuntos + short doll) */
.split-size-group { margin-bottom: 1rem; }
.split-size-sublabel {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 0.4rem;
}

/* WhatsApp floating button */
.wa-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37,211,102,0.55);
}

/* Floating video player (product pages) */
/* Floating video player — circle */
.vp {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 800;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: visible;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.vp:hover { transform: scale(1.08); }
.vp-inner {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  position: relative;
  background: #000;
}
.vp-inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vp-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.22);
  border-radius: 50%;
}
.vp-overlay svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.7));
}
.vp-close {
  position: absolute;
  top: -2px;
  right: -2px;
  z-index: 2;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,0,0,0.65);
  border: none;
  color: #fff;
  font-size: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.vp-close:hover { background: #000; }

/* Fullscreen video modal */
.vp-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
}
.vp-modal video {
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.vp-modal-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  z-index: 2001;
}
.vp-modal-close:hover { background: rgba(255,255,255,0.28); }
.vp-modal-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  z-index: 2001;
}
.vp-modal-nav:hover { background: rgba(255,255,255,0.25); }
.vp-modal-prev { left: 1rem; }
.vp-modal-next { right: 1rem; }
.vp-modal-counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.45);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  z-index: 2001;
  pointer-events: none;
}

/* ── Welcome popup (first-order coupon) ── */
.welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(15, 12, 10, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.welcome-overlay.open { opacity: 1; pointer-events: auto; }
.welcome-box {
  background: var(--bg);
  width: 100%;
  max-width: 400px;
  padding: 2.75rem 2rem 2rem;
  position: relative;
  text-align: center;
  transform: translateY(14px);
  transition: transform 0.35s ease;
}
.welcome-overlay.open .welcome-box { transform: translateY(0); }
.welcome-close {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-faint);
  transition: color var(--ease);
}
.welcome-close:hover { color: var(--ink); }
.welcome-eyebrow {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.85rem;
}
.welcome-box h2 {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  line-height: 1.2;
  margin-bottom: 0.7rem;
  color: var(--ink);
}
.welcome-box p {
  font-size: var(--text-sm);
  color: var(--ink-mid);
  line-height: 1.7;
  max-width: 30ch;
  margin: 0 auto;
}
.welcome-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.4rem;
}
.welcome-form input[type="email"] {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-mid);
  background: var(--bg);
  color: var(--ink);
  font-size: var(--text-sm);
  text-align: center;
  width: 100%;
}
.welcome-form input[type="email"]:focus { outline: none; border-color: var(--ink); }
.welcome-form button {
  padding: 0.85rem 1rem;
  width: 100%;
  justify-content: center;
}
.welcome-error {
  font-size: var(--text-xs);
  color: #b3261e;
  min-height: 1em;
  margin-top: 0.15rem;
}
.welcome-consent {
  font-size: 0.66rem;
  color: var(--ink-faint);
  line-height: 1.5;
  margin-top: 1rem;
}
.welcome-consent a { color: var(--ink-mid); text-decoration: underline; }
/* Success state */
.welcome-coupon {
  border: 1px dashed var(--border-mid);
  background: var(--bg-alt);
  padding: 1rem;
  margin: 1.4rem 0 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.welcome-coupon code {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  letter-spacing: 0.1em;
  color: #9a6f1c;
  font-weight: 600;
}
.welcome-coupon button {
  background: none;
  border: 1px solid var(--border-mid);
  padding: 0.35rem 0.7rem;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--ink-mid);
  transition: border-color var(--ease), color var(--ease);
}
.welcome-coupon button:hover { border-color: var(--ink); color: var(--ink); }
@media (max-width: 420px) {
  .welcome-box { padding: 2.5rem 1.35rem 1.75rem; }
}

/* Footer newsletter feedback */
.newsletter-note { font-size: var(--text-sm); color: var(--ink-mid); margin-top: 0.85rem; text-align: center; line-height: 1.5; }
.newsletter-note--error { color: #b3261e; }
