/* =========================================================
   Iris Style PR — produtos profissionais para unhas
   Paleta: preto · dourado · toques de rosa
   ========================================================= */

:root {
  --bg: #080706;
  --bg-2: #0e0c0a;
  --surface: #14110d;
  --line: rgba(214, 179, 106, 0.16);
  --line-strong: rgba(214, 179, 106, 0.4);

  --gold: #d6b36a;
  --gold-hi: #f2dc9b;
  --gold-lo: #9a7432;
  --gold-grad: linear-gradient(100deg, #9a7432 0%, #f2dc9b 32%, #c99c4a 58%, #f5e3a8 80%, #a57c35 100%);

  --pink: #e0258c;
  --pink-hi: #ff5fb0;

  --text: #f4ede1;
  --muted: #a99f8a;
  --dim: #6f6757;

  --header-bg: rgba(8, 7, 6, .82);
  --vignette: rgba(0, 0, 0, .55);
  --logo-shadow: rgba(0, 0, 0, .65);
  --tile: #f3eee6;
  --photo-w: min(34.5vw, 68vh, 760px);
  --gold-lift: 0 14px 34px -16px rgba(214, 179, 106, .9);
  color-scheme: dark;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Tema claro ---------- */
:root[data-theme="light"] {
  --bg: #faf6ef;
  --bg-2: #f2eadd;
  --surface: #fffcf7;
  --line: rgba(122, 92, 38, 0.16);
  --line-strong: rgba(122, 92, 38, 0.38);
  --gold: #9a7432;
  --gold-hi: #84601f;
  --pink: #d81b7f;
  --pink-hi: #b8126a;
  --text: #1d1712;
  --muted: #675c4c;
  --dim: #8f8471;
  --header-bg: rgba(250, 246, 239, .86);
  --vignette: rgba(154, 116, 50, .10);
  --logo-shadow: rgba(110, 74, 20, .22);
  --tile: #eee5d6;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.65;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow { font-size: 11.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05; letter-spacing: -0.01em; margin: 12px 0 14px;
}
.title em { font-style: italic; color: var(--gold-hi); }
.lead { color: var(--muted); font-size: 16.5px; margin: 0; max-width: 52ch; }
.section { padding: clamp(80px, 11vw, 140px) 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px; border-radius: 999px;
  font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; white-space: nowrap;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold-grad); background-size: 160% 100%; color: #1a1206; }
.btn-gold:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: var(--gold-lift); }
.btn-line { border: 1px solid var(--line-strong); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-hi); transform: translateY(-2px); }
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: var(--pink-hi); transform: translateY(-2px); box-shadow: 0 14px 34px -16px rgba(224, 37, 140, .9); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: var(--header-bg); border-bottom-color: var(--line);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; justify-self: start; }
.brand img { height: 44px; width: auto; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.header.scrolled .brand img, .brand.always img { opacity: 1; transform: none; }
.brand span { font-family: var(--serif); font-size: 22px; letter-spacing: .04em; }
.header-right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 12px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); }
.nav a:not(.btn) {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: .78;
  transition: opacity .25s, color .25s;
}
.nav a:not(.btn):hover { opacity: 1; color: var(--gold-hi); }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 11.5px; }

.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 99px; padding: 2px; }
.lang button {
  min-width: 36px; height: 26px; padding: 0 9px; border-radius: 99px;
  font-size: 11px; letter-spacing: .14em; font-weight: 500; color: var(--muted); transition: background .25s, color .25s;
}
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: var(--gold-grad); color: #1a1206; }

/* Botão claro / escuro */
.theme-toggle {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--gold-hi); transition: border-color .25s, transform .4s var(--ease);
}
.theme-toggle:hover { border-color: var(--gold); transform: rotate(-20deg); }
.theme-toggle svg { width: 16px; height: 16px; grid-area: 1 / 1; transition: opacity .3s, transform .45s var(--ease); }
.theme-toggle .i-moon { opacity: 0; transform: scale(.5) rotate(-60deg); }
:root[data-theme="light"] .theme-toggle .i-sun { opacity: 0; transform: scale(.5) rotate(60deg); }
:root[data-theme="light"] .theme-toggle .i-moon { opacity: 1; transform: none; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--gold-hi); transition: transform .35s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */
/* As fotos têm fundo preto: o hero (e o menu sobre ele) fica escuro também no modo claro */
:root[data-theme="light"] .hero,
:root[data-theme="light"] .header:not(.scrolled) {
  --bg: #080706;
  --line: rgba(214, 179, 106, 0.16);
  --line-strong: rgba(214, 179, 106, 0.4);
  --gold: #d6b36a;
  --gold-hi: #f2dc9b;
  --text: #f4ede1;
  --muted: #a99f8a;
  --logo-shadow: rgba(0, 0, 0, .65);
  color: var(--text);
}

.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center; overflow: hidden;
  padding: 110px var(--gutter) 90px;
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(224, 37, 140, .07), transparent 70%),
    var(--bg);
}
/* Fotos nos cantos do hero */
.hero-photo {
  position: absolute; bottom: 0; width: var(--photo-w); height: auto; max-width: none; pointer-events: none;
  mix-blend-mode: lighten;
}
.hero-photo--left { left: 0; }
.hero-photo--right { right: 0; }
.js .intro .hero-photo { animation: photoIn 1.6s .25s var(--ease) both; }
@keyframes photoIn { from { opacity: 0; } to { opacity: 1; } }

.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

.logo-stage { position: relative; margin: 0; perspective: 1100px; width: min(440px, 74vw); }
.logo-tilt { display: block; position: relative; will-change: transform; }
.logo-tilt img { width: 100%; height: auto; }

.hero-tag { margin-top: clamp(18px, 3vh, 30px); }
.hero-slogan {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; max-width: 18em; color: var(--text); margin: 12px 0 28px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; z-index: 1; transform: translateX(-50%);
  width: 1px; height: 46px; background: var(--line); overflow: hidden;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%;
  background: var(--gold); animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { to { top: 110%; } }

/* Entrada do hero: só roda quando os scripts rodam, para nada ficar invisível em visualizadores simples */
.js .intro .logo-tilt img { animation: logoIn 1.8s var(--ease) both; }
.js .intro .hero-tag, .js .intro .hero-slogan, .js .intro .hero-ctas, .js .intro .scroll-cue { animation: rise 1.1s var(--ease) both; }
.js .intro .hero-tag { animation-delay: .9s; }
.js .intro .hero-slogan { animation-delay: 1.05s; }
.js .intro .hero-ctas { animation-delay: 1.2s; }
.js .intro .scroll-cue { animation-delay: 1.6s; }
@keyframes logoIn {
  from { opacity: 0; transform: translateY(26px) scale(.9); }
  to { opacity: 1; transform: none; }
}
/* O desfoque da entrada fica só no computador: em celulares ele pode fazer a imagem sumir */
@keyframes logoInBlur {
  from { opacity: 0; transform: translateY(26px) scale(.9); filter: blur(14px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@media (hover: hover) and (pointer: fine) {
  .js .intro .logo-tilt img { animation-name: logoInBlur; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Faixa de diferenciais ---------- */
.perks { background: var(--surface); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.perks .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.perk { padding: 26px 0; text-align: center; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.perk + .perk { border-left: 1px solid var(--line); }
.perk b { color: var(--gold-hi); font-weight: 500; }

/* ---------- Catálogo ---------- */
.catalog-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.filters-bar { position: relative; margin-bottom: 38px; }
.filters { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.filters-arrow { display: none; }
.chip {
  display: inline-flex; align-items: center; flex: none; cursor: pointer; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  min-height: 44px; padding: 0 20px; border-radius: 99px; border: 1px solid var(--line-strong);
  font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text);
  transition: color .25s, border-color .25s, transform .35s var(--ease), box-shadow .35s var(--ease);
}
#f-all:checked ~ .filters-bar .chip[for="f-all"],
#f-acrilico:checked ~ .filters-bar .chip[for="f-acrilico"],
#f-geles:checked ~ .filters-bar .chip[for="f-geles"],
#f-bases:checked ~ .filters-bar .chip[for="f-bases"],
#f-herramientas:checked ~ .filters-bar .chip[for="f-herramientas"],
#f-equipos:checked ~ .filters-bar .chip[for="f-equipos"],
#f-cabello:checked ~ .filters-bar .chip[for="f-cabello"],
#f-accesorios:checked ~ .filters-bar .chip[for="f-accesorios"],
#f-spa:checked ~ .filters-bar .chip[for="f-spa"] {
  background: var(--gold-grad); background-size: 160% 100%; color: #1a1206; border-color: transparent;
  transform: translateY(-2px); background-position: 100% 0; box-shadow: var(--gold-lift);
}
@media (hover: hover) {
  .chip:hover {
    background: var(--gold-grad); background-size: 160% 100%; color: #1a1206; border-color: transparent;
    transform: translateY(-2px); background-position: 100% 0; box-shadow: var(--gold-lift);
  }
}
.chip .count { opacity: .7; margin-left: 6px; font-variant-numeric: tabular-nums; }

/* Botões de opção escondidos: quem controla o filtro é o rótulo (.chip) */
.f-radio { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
#f-all:focus-visible ~ .filters-bar .chip[for="f-all"],
#f-acrilico:focus-visible ~ .filters-bar .chip[for="f-acrilico"],
#f-geles:focus-visible ~ .filters-bar .chip[for="f-geles"],
#f-bases:focus-visible ~ .filters-bar .chip[for="f-bases"],
#f-herramientas:focus-visible ~ .filters-bar .chip[for="f-herramientas"],
#f-equipos:focus-visible ~ .filters-bar .chip[for="f-equipos"],
#f-cabello:focus-visible ~ .filters-bar .chip[for="f-cabello"],
#f-accesorios:focus-visible ~ .filters-bar .chip[for="f-accesorios"],
#f-spa:focus-visible ~ .filters-bar .chip[for="f-spa"] { outline: 2px solid var(--gold); outline-offset: 3px; }
#f-acrilico:checked ~ .products-grid .product:not([data-cat="acrilico"]) { display: none; }
#f-geles:checked ~ .products-grid .product:not([data-cat="geles"]) { display: none; }
#f-bases:checked ~ .products-grid .product:not([data-cat="bases"]) { display: none; }
#f-herramientas:checked ~ .products-grid .product:not([data-cat="herramientas"]) { display: none; }
#f-equipos:checked ~ .products-grid .product:not([data-cat="equipos"]) { display: none; }
#f-cabello:checked ~ .products-grid .product:not([data-cat="cabello"]) { display: none; }
#f-accesorios:checked ~ .products-grid .product:not([data-cat="accesorios"]) { display: none; }
#f-spa:checked ~ .products-grid .product:not([data-cat="spa"]) { display: none; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 24px; }
.product { display: flex; flex-direction: column; }
.product-media {
  position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--tile);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.product:hover .product-media > img { transform: scale(1.04); }
.product-media.placeholder {
  background: radial-gradient(70% 70% at 50% 42%, rgba(214, 179, 106, .14), transparent 70%), var(--surface);
  display: grid; place-items: center; text-align: center; border: 1px solid var(--line);
}
.ph-logo { width: 52%; max-width: 150px; height: auto; margin: 0 auto; opacity: .85; transition: transform .9s var(--ease); }
.product:hover .ph-logo { transform: scale(1.05); }
.ph-kind { display: block; margin-top: 12px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  padding: 5px 10px; border-radius: 99px; background: var(--pink); color: #fff;
}
.badge.new { background: #0d0b09; color: #f2dc9b; }
.badge.out { background: rgba(13, 11, 9, .8); color: #c9bfae; }

.product-body { padding: 16px 2px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-cat { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.product h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; margin: 0; line-height: 1.25; letter-spacing: .01em; }
.product-desc {
  font-size: 13.5px; color: var(--muted); margin: 2px 0 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 10px; }
.price { font-size: 19px; font-weight: 500; color: var(--gold-hi); line-height: 1; font-variant-numeric: tabular-nums; }
.price s { font-size: 13.5px; font-weight: 400; color: var(--dim); margin-right: 6px; }
.price small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 5px; }
.price em { font-style: normal; font-size: 12px; font-weight: 400; color: var(--muted); margin-right: 5px; }
.product-vars { font-size: 12.5px; color: var(--gold); margin-bottom: 2px; }
.product-actions { display: flex; gap: 8px; }
.add-btn {
  flex: 1; min-width: 0; min-height: 42px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text);
  transition: color .25s, border-color .25s, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.add-btn svg { width: 16px; height: 16px; flex: none; }
.add-btn.is-added {
  background: var(--gold-grad); background-size: 160% 100%; background-position: 100% 0; color: #1a1206; border-color: transparent;
}
@media (hover: hover) {
  .add-btn:not([disabled]):hover {
    background: var(--gold-grad); background-size: 160% 100%; background-position: 100% 0; color: #1a1206; border-color: transparent;
    transform: translateY(-2px); box-shadow: var(--gold-lift);
  }
}
.add-btn[disabled] { opacity: .4; cursor: default; }
.product-actions .icon-btn { width: 42px; height: 42px; flex: none; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--gold-hi); transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.icon-btn:hover { border-color: var(--gold); transform: translateY(-2px); }
.icon-btn.wa { background: var(--pink); border-color: var(--pink); color: #fff; }
.icon-btn.wa:hover { background: var(--pink-hi); border-color: var(--pink-hi); }
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn[aria-disabled="true"] { opacity: .3; pointer-events: none; }

/* ---------- Sobre a marca ---------- */
.story { background: var(--bg-2); }
.story .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.story-img { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; }
/* Enquadra rosto, frasco e mãos */
.story-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; }
.story-sign { display: flex; align-items: center; gap: 16px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.story-sign img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.story-sign b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.1; }
.story-sign span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Contato ---------- */
.contact { text-align: center; }
.contact .title { margin-left: auto; margin-right: auto; max-width: 18ch; }
.contact .lead { margin: 0 auto 30px; }
.contact-ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.contact-info { display: flex; justify-content: center; gap: 12px 34px; flex-wrap: wrap; margin-top: 40px; font-size: 14px; color: var(--muted); }
.contact-info a:hover { color: var(--gold-hi); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--dim); }
.footer img { height: 40px; width: auto; }
.footer a:hover { color: var(--gold-hi); }

/* Aparece sempre, e some só quando os scripts realmente rodam */
.js .no-js-note { display: none; }
.no-js-note { margin: 0 0 22px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 12px; font-size: 13.5px; color: var(--text); }

/* ---------- Carrinho ---------- */
.cart-btn {
  position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--gold-hi); transition: border-color .25s;
}
.cart-btn:hover { border-color: var(--gold); }
.cart-btn svg { width: 18px; height: 18px; }
.cart-count {
  position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px;
  display: grid; place-items: center; background: var(--pink); color: #fff;
  font-size: 10.5px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums;
}
.cart-count[hidden] { display: none; }
.cart-btn.bump { animation: cartBump .45s var(--ease); }
@keyframes cartBump { 40% { transform: scale(1.18); } }

.cart-overlay {
  position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s;
}
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 71; width: min(430px, 100%);
  display: flex; flex-direction: column; background: var(--bg-2); color: var(--text); border-left: 1px solid var(--line);
  transform: translateX(100%); visibility: hidden;
  transition: transform .45s var(--ease), visibility 0s .45s;
}
.cart-open { overflow: hidden; }
.cart-open .cart-overlay { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.cart-open .cart { transform: none; visibility: visible; transition: transform .45s var(--ease); }

.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-head h2 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1; }
.cart-close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--text); border: 1px solid var(--line-strong); transition: border-color .25s; }
.cart-close:hover { border-color: var(--gold); }
.cart-close svg { width: 16px; height: 16px; }
.cart-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }

.cart-list { list-style: none; margin: 0; padding: 0 20px; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-thumb { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--tile); display: grid; place-items: center; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb.is-logo { background: var(--surface); border: 1px solid var(--line); }
.cart-thumb .ph-logo { width: 46px; height: auto; object-fit: contain; }
.cart-info { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cart-name { font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1.25; }
.cart-variant {
  align-self: flex-start; margin: 2px 0 1px; padding: 2px 9px; border-radius: 99px;
  font-size: 12px; font-weight: 500; color: var(--gold-hi); border: 1px solid var(--line-strong);
}
.cart-unit { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cart-row { display: flex; align-items: center; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 99px; }
.stepper button { width: 34px; height: 34px; border-radius: 50%; font-size: 17px; line-height: 1; color: var(--text); }
.stepper button:hover:not([disabled]) { color: var(--gold-hi); }
.stepper button[disabled] { opacity: .3; cursor: default; }
.stepper span { min-width: 22px; text-align: center; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.cart-remove { min-height: 34px; font-size: 12.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.cart-remove:hover { color: var(--pink-hi); }
.cart-line-total { font-size: 15px; font-weight: 500; color: var(--gold-hi); font-variant-numeric: tabular-nums; }

.cart-foot { padding: 18px 20px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.cart-foot[hidden] { display: none; }
.cart-subtotal { display: flex; align-items: baseline; justify-content: space-between; font-size: 14px; }
.cart-subtotal strong { font-size: 22px; font-weight: 500; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.cart-note { margin: 0; font-size: 12.5px; color: var(--muted); }
.cart-row { display: flex; align-items: baseline; justify-content: space-between; font-size: 14px; font-variant-numeric: tabular-nums; }
.cart-row-soft { font-size: 12.5px; color: var(--muted); }
.cart-state { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.cart-state select { width: 100%; min-height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg, #0b0a08); color: var(--text); font: inherit; }
.cart-state select:focus-visible { outline: 2px solid var(--gold-hi, #d6b36a); outline-offset: 1px; }
.cart-checkout { width: 100%; white-space: normal; text-align: center; padding: 8px 16px; letter-spacing: .14em; }
.cart-keep { min-height: 40px; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.cart-keep:hover { color: var(--text); }

.cart-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 30px; text-align: center; color: var(--muted); }
.cart-empty p { margin: 0; }
.cart-empty-title { font-family: var(--serif); font-size: 25px; color: var(--text); }
.cart-empty .btn { margin-top: 18px; color: var(--text); }

/* ---------- Escolha de variantes ---------- */
.picker-overlay {
  position: fixed; inset: 0; z-index: 72; background: rgba(0, 0, 0, .65);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s;
}
.picker {
  position: fixed; left: 50%; top: 50%; z-index: 73; width: min(620px, calc(100% - 32px)); max-height: min(86vh, 760px);
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg-2); color: var(--text); border: 1px solid var(--line-strong); border-radius: 22px;
  opacity: 0; visibility: hidden; transform: translate(-50%, -46%);
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .3s;
}
.picker-open { overflow: hidden; }
.picker-open .picker-overlay { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.picker-open .picker { opacity: 1; visibility: visible; transform: translate(-50%, -50%); transition: opacity .3s var(--ease), transform .4s var(--ease); }

.picker-head { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.picker-thumb { width: 76px; height: 76px; border-radius: 14px; overflow: hidden; background: var(--tile); display: grid; place-items: center; }
.picker-thumb img { width: 100%; height: 100%; object-fit: cover; }
.picker-thumb.is-logo { background: var(--surface); border: 1px solid var(--line); }
.picker-thumb .ph-logo { width: 50px; height: auto; object-fit: contain; }
.picker-title { min-width: 0; }
.picker-title h2 { margin: 0; font-family: var(--sans); font-size: 19px; font-weight: 600; line-height: 1.2; }
.picker-price { display: block; margin-top: 5px; font-size: 18px; font-weight: 500; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.picker-price em { font-style: normal; font-size: 12px; font-weight: 400; color: var(--muted); margin-right: 5px; }
.picker-price small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 5px; }
.picker-close { align-self: start; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--text); transition: border-color .25s; }
.picker-close:hover { border-color: var(--gold); }
.picker-close svg { width: 15px; height: 15px; }

.picker-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 18px 20px; }
.picker-label { margin: 0 0 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.picker-label b { color: var(--text); font-weight: 500; letter-spacing: .04em; text-transform: none; font-size: 14px; margin-left: 6px; }
.picker-hint { margin: -6px 0 16px; font-size: 13px; color: var(--muted); }
.vars { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 14px 6px; }
.vars.has-long { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.var { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; color: var(--text); }
/* A bolinha: mostra a foto da variante quando existir; senão, o número */
.var-dot {
  position: relative; width: 50px; height: 50px; border-radius: 50%; overflow: hidden; flex: none;
  display: grid; place-items: center; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums;
  background: radial-gradient(70% 70% at 35% 30%, rgba(214, 179, 106, .22), transparent 75%), var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow .2s, transform .25s var(--ease);
}
.var-dot img { width: 100%; height: 100%; object-fit: cover; }
.var-dot.is-color {
  background:
    radial-gradient(38% 30% at 34% 26%, rgba(255, 255, 255, .62), rgba(255, 255, 255, .1) 70%, transparent 72%),
    radial-gradient(80% 80% at 70% 85%, rgba(0, 0, 0, .28), transparent 65%),
    var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), inset 0 0 0 1px var(--line-strong);
}
.var-dot.is-color.is-matte {
  background: radial-gradient(80% 80% at 70% 85%, rgba(0, 0, 0, .18), transparent 65%), var(--c);
}
/* Transparentes (base, top, clear pink): um xadrez bem leve atrás para dar para ver a transparência */
.var-dot.is-color.is-clear {
  background:
    radial-gradient(38% 30% at 34% 26%, rgba(255, 255, 255, .62), rgba(255, 255, 255, .1) 70%, transparent 72%),
    linear-gradient(var(--c), var(--c)),
    repeating-conic-gradient(rgba(128, 128, 128, .22) 0 25%, transparent 0 50%) 0 0 / 12px 12px;
}
.var-dot.is-color.is-clear.is-matte {
  background: linear-gradient(var(--c), var(--c)), repeating-conic-gradient(rgba(128, 128, 128, .22) 0 25%, transparent 0 50%) 0 0 / 12px 12px;
}
.var-name { font-size: 11.5px; line-height: 1.25; text-align: center; color: var(--muted); overflow-wrap: anywhere; }
.var-cost { font-size: 11.5px; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .var:not([disabled]):hover .var-dot { transform: scale(1.06); box-shadow: inset 0 0 0 1px var(--gold); } }
.var[aria-pressed="true"] .var-dot { box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 4px var(--gold-hi); }
.var[aria-pressed="true"] .var-name { color: var(--text); }
/* Selo de marcado, para ficar claro que dá para escolher vários */
.var { position: relative; }
.var[aria-pressed="true"]::after {
  content: ""; position: absolute; top: -3px; left: calc(50% + 13px); width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold-hi) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1206' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
  box-shadow: 0 0 0 2px var(--bg-2);
}
.var[disabled] { opacity: .35; cursor: default; }

.picker-chart { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.picker-chart summary {
  cursor: pointer; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--gold-hi);
  list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 36px;
}
.picker-chart summary::-webkit-details-marker { display: none; }
.picker-chart summary::after { content: "+"; font-size: 16px; line-height: 1; }
.picker-chart[open] summary::after { content: "\2212"; }
.picker-chart img { width: 100%; height: auto; margin-top: 10px; border-radius: 12px; background: #fff; }
.picker-foot { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); }
.picker-add { flex: 1; min-width: 0; min-height: 48px; padding: 6px 14px; white-space: normal; text-align: center; letter-spacing: .12em; }
.picker-add[disabled] { background: none; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-strong); cursor: default; transform: none; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--pink); color: #fff;
  box-shadow: 0 14px 34px -12px rgba(224, 37, 140, .9); transition: transform .35s var(--ease), background .3s;
}
.wa-float:hover { transform: scale(1.07); background: var(--pink-hi); }
.wa-float svg { width: 27px; height: 27px; }

/* ---------- Aparecer ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Sem scripts: esconde os controles que não funcionariam */
html:not(.js) .picker, html:not(.js) .add-btn, html:not(.js) .cart-btn, html:not(.js) .lang, html:not(.js) .theme-toggle, html:not(.js) .menu-toggle { display: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  /* Celular: só a foto de blazer rosa, centralizada. A parte de baixo é cortada pelo hero */
  :root { --photo-w: min(100vw, 620px); }
  .hero { padding-bottom: calc(var(--photo-w) * 1.025 + 8px); }
  .hero-photo--left { display: none; }
  .hero-photo--right { left: 0; right: 0; margin: 0 auto; bottom: calc(var(--photo-w) * -.225); }
  .scroll-cue { display: none; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 100%);
    flex-direction: column; align-items: flex-start; gap: 24px; padding: 40px var(--gutter);
    background: var(--bg); border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease); }
  .menu-open { overflow: hidden; }
  .menu-open .header { background: var(--bg); }
  .menu-open .wa-float { display: none; }
  .nav a:not(.btn) { font-size: 15px; }
  .filters-bar {
    position: sticky; top: 76px; z-index: 20;
    margin: 0 calc(-1 * var(--gutter)) 26px; background: var(--bg);
  }
  html:not(.js) .filters-bar { top: 0; }
  .filters {
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain;
    padding: 10px 64px 12px var(--gutter); /* o espaço à direita evita que a seta cubra o último filtro */
    scrollbar-width: none;
  }
  .filters::-webkit-scrollbar { display: none; }

  /* Setinha: avisa que há mais filtros para o lado */
  .filters-arrow {
    position: absolute; top: 0; bottom: 0; z-index: 1; width: 64px;
    display: flex; align-items: center; color: var(--gold-hi);
    transition: opacity .25s;
  }
  .filters-arrow--next { right: 0; justify-content: flex-end; padding-right: 10px; background: linear-gradient(to left, var(--bg) 52%, transparent); }
  .filters-arrow--prev { left: 0; justify-content: flex-start; padding-left: 10px; background: linear-gradient(to right, var(--bg) 52%, transparent); }
  .filters-arrow span {
    width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
    background: var(--bg); border: 1px solid var(--line-strong);
  }
  .filters-arrow svg { width: 15px; height: 15px; }
  .filters-arrow--next span { animation: arrowNudge 1.6s var(--ease) infinite; }
  @keyframes arrowNudge { 0%, 100% { transform: none; } 50% { transform: translateX(4px); } }
  .at-start .filters-arrow--prev, .at-end .filters-arrow--next { opacity: 0; pointer-events: none; }

  /* Sem scripts a seta só avisa (o arrasto passa por ela) e some no fim da linha, onde o navegador permite */
  html:not(.js) .filters-arrow--prev { display: none; }
  html:not(.js) .filters-arrow--next { pointer-events: none; }
  @supports (animation-timeline: scroll()) {
    html:not(.js) .filters-bar { timeline-scope: --filtros; }
    html:not(.js) .filters { scroll-timeline: --filtros inline; }
    html:not(.js) .filters-arrow--next { animation: arrowEnd linear both; animation-timeline: --filtros; }
    @keyframes arrowEnd { 0%, 94% { opacity: 1; } 100% { opacity: 0; } }
  }
  .story .wrap { grid-template-columns: 1fr; }
  .story-img { width: 100%; max-width: 520px; margin: 0 auto; }
}
/* Tablet: a foto não encosta na borda da tela, então a manga some aos poucos em vez de cortar reto */
@media (min-width: 621px) and (max-width: 900px) {
  .hero-photo--right {
    -webkit-mask-image: linear-gradient(to left, transparent, #000 16%);
            mask-image: linear-gradient(to left, transparent, #000 16%);
  }
}
@media (max-width: 600px) {
  .header .wrap { height: 66px; }
  .filters-bar { top: 66px; }
  /* No celular a escolha sobe de baixo */
  .picker {
    left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 88vh; max-height: 88dvh;
    border-radius: 22px 22px 0 0; border-width: 1px 0 0; transform: translateY(100%);
  }
  .picker-open .picker { transform: none; }
  .picker-head { grid-template-columns: 60px 1fr auto; padding: 12px 14px; }
  .picker-thumb { width: 60px; height: 60px; }
  .picker-body { padding: 14px; }
  .picker-foot { padding: 12px 14px; }
  .brand img { height: 36px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .perks .wrap { grid-template-columns: 1fr; }
  .perk { padding: 16px 0; }
  .perk + .perk { border-left: 0; border-top: 1px solid var(--line); }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .product h3 { font-size: 15px; }
  .product-desc { display: none; }
  .price { font-size: 16px; }
  .price s { display: block; font-size: 12px; margin: 0 0 3px; }
  .product-actions .icon-btn { width: 40px; height: 40px; }
  .add-btn { min-height: 40px; padding: 0 6px; gap: 5px; font-size: 10.5px; letter-spacing: .08em; white-space: nowrap; }
  .add-btn svg { width: 14px; height: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
