/* Amapola — boutique femenina: rosa empolvado, ciruela y rojo amapola; Italiana + Jost. */
:root {
  --bg: #f7efe9; --paper: #fdf9f6; --ink: #2b1a20; --muted: #7a6670; --line: rgba(43,26,32,.12);
  --accent: #c4645a; --rose: #c4645a; --blush: #efd9cf; --sage: #9aa58a; --plum: #4a2634;
  --display: "Italiana", "Didot", serif; --sans: "Jost", system-ui, sans-serif;
  --ease: cubic-bezier(.16,1,.3,1); --gut: clamp(18px, 4vw, 60px);
}
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 400; }
::selection { background: var(--rose); color: #fff; }
.wrap { width: min(1360px, 100%); margin-inline: auto; padding-inline: var(--gut); }
em { font-style: italic; color: var(--rose); font-family: var(--display); }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--rose); margin-bottom: 18px; }
.h2 { font: 400 clamp(42px, 5.6vw, 88px)/1 var(--display); letter-spacing: -.01em; }
.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); font-weight: 300; max-width: 46ch; margin-top: 18px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 44px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 17px 30px; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; line-height: 1; transition: background .4s var(--ease), color .4s, border-color .4s, transform .4s var(--ease); white-space: nowrap; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--rose); }
.btn-rose { background: var(--rose); color: #fff; }
.btn-rose:hover { background: var(--ink); }
.btn-line { border: 1px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }

/* Anuncio + nav */
.ann { padding: 10px var(--gut); background: var(--plum); color: #f5e6e0; text-align: center; font-size: 13px; letter-spacing: .04em; }
.ann a { text-decoration: underline; text-underline-offset: 3px; }
.nav { position: sticky; top: 0; z-index: 100; background: var(--bg); transition: box-shadow .4s; }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); background: rgba(247,239,233,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 84px; width: min(1360px, 100%); margin-inline: auto; padding-inline: var(--gut); }
.logo { grid-column: 2; display: inline-flex; align-items: center; gap: 10px; font: 400 36px/1 var(--display); letter-spacing: .04em; }
.logo svg { width: 30px; height: 30px; }
.logo svg g { fill: var(--rose); }
.logo svg circle { fill: var(--ink); }
.menu { display: none; gap: 20px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.wish-link b.is-zero { display: none; }
.menu a { position: relative; padding: 6px 0; }
.menu a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: var(--rose); transition: left .4s var(--ease), right .4s var(--ease); }
.menu a:hover::after { left: 0; right: 0; }
.nav-r { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 14px; margin-right: 54px; }
.wish-link { position: relative; display: grid; place-items: center; width: 42px; height: 42px; }
.wish-link svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.wish-link b { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; border-radius: 99px; background: var(--rose); color: #fff; font-size: 11px; display: grid; place-items: center; font-weight: 600; }
.burger { grid-column: 3; grid-row: 1; justify-self: end; width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; }
.burger span { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-open .burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
.menu-open .menu { display: flex; flex-direction: column; position: fixed; inset: 120px 0 0 0; background: var(--bg); padding: 40px var(--gut); gap: 12px; font: 400 44px/1.2 var(--display); text-transform: none; letter-spacing: 0; }

/* Hero */
.hero { position: relative; padding: clamp(24px, 4vw, 50px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 18px; align-items: end; }
.hc { overflow: hidden; border-radius: 999px 999px 18px 18px; }
.hc img { width: 100%; height: 100%; object-fit: cover; }
.hc1, .hc3 { display: none; }
.hero-mid { display: grid; justify-items: center; text-align: center; gap: 22px; }
.hero-title { font: 400 clamp(64px, 9vw, 150px)/.9 var(--display); }
.hero-title em { display: block; }
.hc2 { width: min(100%, 440px); aspect-ratio: 4/5; }
.hero-script { position: absolute; left: 50%; bottom: -.2em; transform: translateX(-50%); font: 400 clamp(120px, 24vw, 380px)/1 var(--display); color: rgba(196,100,90,.09); white-space: nowrap; pointer-events: none; }

/* Círculos */
.circles { padding: 0 0 clamp(50px, 7vw, 90px); }
.circ-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
.circ { display: grid; justify-items: center; gap: 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-align: center; }
.circ span { width: min(100%, 180px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; outline: 1px solid var(--line); outline-offset: 6px; transition: outline-color .4s, outline-offset .4s var(--ease); }
.circ img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.circ:hover span { outline-color: var(--rose); outline-offset: 10px; }
.circ:hover img { transform: scale(1.08); }

/* Tienda */
.shop { padding: clamp(60px, 8vw, 110px) 0; background: var(--paper); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { padding: 10px 18px; border-radius: 999px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line); transition: all .3s; }
.tab:hover { border-color: var(--ink); }
.tab.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.grid { display: grid; gap: 44px 18px; }
.it-img { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: 4px; background: var(--blush); }
.it-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.it:hover .it-img img { transform: scale(1.05); }
.it-tag { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 99px; background: var(--paper); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.heart { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(253,249,246,.85); backdrop-filter: blur(6px); transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.heart svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; transition: fill .3s, stroke .3s; }
.heart[aria-pressed="true"] svg { fill: var(--rose); stroke: var(--rose); }
.heart:active { transform: scale(.85); }
.heart.pop { animation: heartPop .5s cubic-bezier(.34,1.56,.64,1); }
@keyframes heartPop { 40% { transform: scale(1.3); } }
.it-b { padding-top: 16px; display: grid; gap: 8px; }
.it-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.it h3 { font: 400 26px/1.1 var(--display); }
.it-h b { font-weight: 500; font-variant-numeric: tabular-nums; }
.it-b > p { color: var(--muted); font-size: 14px; font-weight: 300; }
.dots { display: flex; gap: 6px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.sizes button { min-width: 38px; height: 34px; padding: 0 8px; border-radius: 99px; border: 1px solid var(--line); font-size: 12px; transition: all .3s; }
.sizes button:hover { border-color: var(--ink); }
.sizes button[aria-checked="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.add { justify-self: stretch; margin-top: 6px; padding: 14px; border-radius: 999px; border: 1px solid var(--ink); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; transition: background .3s, color .3s; }
.add:hover { background: var(--ink); color: var(--paper); }
.add.ok { background: var(--rose); border-color: var(--rose); color: #fff; }
.it.is-hidden { display: none; }

/* Quiz */
.quiz { padding: clamp(80px, 10vw, 140px) 0; background: var(--blush); }
.quiz-grid { display: grid; gap: 44px; align-items: center; }
.quiz-img { margin-top: 30px; border-radius: 999px 999px 12px 12px; overflow: hidden; aspect-ratio: 4/5; max-width: 420px; }
.quiz-img img { width: 100%; height: 100%; object-fit: cover; }
.qz { position: relative; padding: clamp(26px, 4vw, 52px); border-radius: 22px; background: var(--paper); min-height: 420px; display: grid; align-content: center; overflow: hidden; }
.qz-n { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--rose); margin-bottom: 14px; }
.qz h3 { font: 400 clamp(32px, 3.4vw, 50px)/1.05 var(--display); margin-bottom: 26px; }
.qz-step:not([hidden]), .qz-res:not([hidden]) { animation: qIn .6s var(--ease) both; }
@keyframes qIn { from { opacity: 0; transform: translateX(24px); } }
.qz-opts { display: grid; gap: 10px; }
.qz-opts button { padding: 18px 22px; border-radius: 16px; border: 1px solid var(--line); text-align: left; font-size: 16px; transition: all .3s var(--ease); display: flex; justify-content: space-between; }
.qz-opts button::after { content: "→"; opacity: .3; transition: transform .3s, opacity .3s; }
.qz-opts button:hover { border-color: var(--rose); background: var(--bg); }
.qz-opts button:hover::after { opacity: 1; transform: translateX(4px); color: var(--rose); }
.qz-res p:not(.qz-n) { color: var(--muted); font-weight: 300; margin-bottom: 20px; }
.qz-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.qz-picks figure { display: grid; gap: 6px; font-size: 13px; }
.qz-picks img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; }
.qz-picks b { font-weight: 500; }
.qz-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.qz-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--blush); }
.qz-bar i { display: block; height: 100%; width: 0; background: var(--rose); transition: width .6s var(--ease); }

/* Tallas */
.sizes-sec { padding: clamp(80px, 10vw, 140px) 0; }
.sz-grid { display: grid; gap: 40px; align-items: center; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 460px; }
th, td { padding: 16px 12px; text-align: left; border-bottom: 1px solid var(--line); }
th { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
td:first-child { font: 400 24px/1 var(--display); color: var(--rose); }
tbody tr { transition: background .3s; }
tbody tr:hover { background: var(--paper); }
.table-n { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Club */
.club { padding: clamp(80px, 10vw, 130px) 0; background: var(--plum); color: #f7e7e1; text-align: center; }
.club .eyebrow { color: #f0b3a8; }
.club .h2 { max-width: 20ch; margin-inline: auto; }
.club em { color: #f0b3a8; }
.club-f { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.club-f input { flex: 1 1 220px; max-width: 280px; padding: 16px 20px; border-radius: 999px; border: 1px solid rgba(247,231,225,.3); background: transparent; color: #fff; font-size: 15px; }
.club-f input::placeholder { color: rgba(247,231,225,.55); }
.club-f input:focus { outline: none; border-color: #f0b3a8; }
.club .btn-rose:hover { background: #fff; color: var(--plum); }
.form-ok { width: 100%; color: #f0b3a8; }

/* Boutique */
.bout { padding: clamp(80px, 10vw, 140px) 0; }
.bout-grid { display: grid; gap: 44px; align-items: center; }
.bout-imgs { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: end; }
.bout-imgs figure { overflow: hidden; border-radius: 999px 999px 12px 12px; }
.bout-imgs figure:first-child { aspect-ratio: 3/4; }
.bout-imgs figure:last-child { aspect-ratio: 3/4.6; margin-bottom: 40px; }
.bout-imgs img { width: 100%; height: 100%; object-fit: cover; }
.bt { margin: 26px 0; display: grid; gap: 6px; color: var(--muted); font-weight: 300; }
.bt-open { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: var(--paper); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink) !important; font-weight: 500; }
.bt-open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #bbaab0; }
.bt-open.is-open::before { background: #5aa86e; box-shadow: 0 0 0 4px rgba(90,168,110,.2); }
.acc { margin-bottom: 26px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 30px 18px 0; position: relative; font: 400 24px/1.2 var(--display); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--rose); font: 300 24px/1 var(--sans); transition: transform .4s var(--ease); }
.acc details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acc details p { padding: 0 0 18px; color: var(--muted); font-weight: 300; }

/* Footer */
.foot { background: var(--paper); border-top: 1px solid var(--line); }
.foot-in { display: grid; justify-items: center; gap: 12px; padding: 60px 0 40px; text-align: center; color: var(--muted); font-weight: 300; }
.foot .logo { font-size: 44px; color: var(--ink); }
.foot a { cursor: pointer; }
.foot-legal { font-size: 13px; }

/* Responsive */
@media (min-width: 540px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px) {
  .circ-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-grid { grid-template-columns: 1fr 1.3fr 1fr; }
  .hc1, .hc3 { display: block; aspect-ratio: 3/4.4; }
  .hc1 { transform: translateY(-40px); }
}
@media (min-width: 960px) {
  .menu { display: flex; }
  .burger { display: none; }
  .nav-r { margin-right: 0; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 60px 26px; }
  .quiz-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; }
  .sz-grid { grid-template-columns: 1fr 1.2fr; gap: 80px; }
  .bout-grid { grid-template-columns: 1fr 1fr; gap: 90px; }
}
