/* Fetiche · Tu Esencia (light only)
   Brand: soyfetiche.com (white, black, red, grey; Nunito). Red is an accent (marks, counters, small bars), never a background block.
   One component system: controls are 48px (small 40px), radius 12px, three button kinds (primary / soft / outline).
   Signature: every perfume carries a horizontal bar painted with its own accords. */
:root {
  --paper: #f2f3f5;       /* page */
  --card: #ffffff;        /* cards, header */
  --soft: #eceef1;        /* inputs, soft buttons, image wells */
  --mist: #f2f3f5;
  --line: #e2e4e8;
  --ink: #212529;
  --muted: #6c757d;
  --red: #ea0000;
  --red-text: #d10000;
  --red-tint: #fdecec;
  --yellow: #ffe900;      /* the "Gran Bazar" ribbon on the site */
  --grey-tag: #686663;    /* the site's "Recargable" ribbon */
  --btn-bg: #212529;
  --btn-fg: #ffffff;
  --display: "Nunito", system-ui, -apple-system, sans-serif;
  --body: "Nunito", system-ui, -apple-system, sans-serif;
  --mono: "Nunito", system-ui, -apple-system, sans-serif;
  --r: 16px;              /* cards */
  --r-ctl: 12px;          /* controls */
  --h: 48px;
  --gutter: 16px;
  --top-h: 57px;
  --shadow-sm: 0 1px 2px rgb(16 24 40 / .06), 0 1px 3px rgb(16 24 40 / .05);
  --shadow-md: 0 4px 14px rgb(16 24 40 / .08), 0 1px 3px rgb(16 24 40 / .06);
  --shadow-lg: 0 -8px 40px rgb(16 24 40 / .18);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 8px; }
main:focus, main:focus-visible { outline: none; }
input:focus-visible, select:focus-visible { outline: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--gutter); top: 8px; background: var(--card); padding: 8px 12px; z-index: 60; }
.muted { color: var(--muted); }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-red { color: var(--red); }

/* ---------- buttons: one system */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 3px 20px 0; border: 1.5px solid transparent; border-radius: var(--r-ctl);
  font: 800 14px/1 var(--body); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s; }
.btn:active { transform: scale(.985); }
.btn-block { display: flex; width: 100%; }
.btn-sm { height: 40px; padding: 3px 14px 0; font-size: 12.5px; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:not(:disabled):hover { background: color-mix(in srgb, var(--btn-bg) 88%, #888); }
.btn-soft { background: var(--soft); color: var(--ink); }
.btn-soft:hover { background: color-mix(in srgb, var(--soft) 82%, #999); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-card { padding-top: 0; background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); justify-content: flex-start; text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 700; }
.btn:disabled { background: var(--soft); color: var(--muted); cursor: not-allowed; border-color: transparent; }
.icon-btn { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: var(--r-ctl); background: var(--soft); color: var(--ink); }
.cta { display: block; width: 100%; height: var(--h); border: 0; border-radius: var(--r-ctl); background: var(--btn-bg); color: var(--btn-fg); font: 800 14px/1 var(--body); text-transform: uppercase; letter-spacing: .03em; }

/* ---------- form controls */
.lbl { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.lbl > span:first-child, .lbl-t { font-size: 13px; font-weight: 800; color: var(--ink); }
.input, .select select { width: 100%; height: var(--h); padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-ctl); background: var(--card); font: 600 15px var(--body); color: var(--ink); -webkit-appearance: none; appearance: none; }
.input:focus, .select select:focus { border-color: var(--ink); }
.input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); font-weight: 400; }
.select { position: relative; display: block; }
.select select { padding-right: 40px; }
.select .ic { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.field input { height: var(--h); padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-ctl); background: var(--card); font-size: 16px; color: var(--ink); }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 8px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.switch-row:last-child { border-bottom: 0; }
.switch-row b { display: block; font-size: 15px; font-weight: 700; }
.switch-row small { display: block; color: var(--muted); font-size: 13px; }
.sw { flex: none; position: relative; width: 50px; height: 30px; margin: 0; border-radius: 15px; background: var(--line); -webkit-appearance: none; appearance: none; transition: background .15s; cursor: pointer; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .3); transition: transform .15s; }
.sw:checked { background: var(--ink); }
.sw:checked::after { transform: translateX(20px); }
.sw:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--soft); border-radius: var(--r-ctl); }
.seg-2 { grid-template-columns: 1fr 1fr; margin: 4px 0 14px; }
.seg button { height: 40px; border: 0; border-radius: 9px; background: transparent; font-size: 14px; font-weight: 700; color: var(--muted); }
.seg button[aria-checked="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chips button { height: 40px; border: 0; border-radius: var(--r-ctl); background: var(--card); box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 700; }

/* ---------- header */
.top { position: sticky; top: 0; z-index: 30; background: var(--card); box-shadow: 0 1px 0 var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; padding: 0 var(--gutter); }
.brand { display: flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0; text-align: left; color: var(--ink); }
.brand-logo { display: block; height: 28px; width: auto; }
.brand-sub { flex: none; white-space: nowrap; font: 900 13px/1.1 var(--body); text-transform: uppercase; letter-spacing: .04em; }
.list-btn { gap: 6px; }
.list-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--red); color: #fff; font: 800 11.5px/20px var(--body); text-align: center; letter-spacing: 0; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.nohay-top { background: var(--ink); color: var(--card); }

main { max-width: 640px; margin: 0 auto; padding: 8px var(--gutter) calc(48px + env(safe-area-inset-bottom)); outline: none; }
.view { animation: rise .25s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- home */
.hero-title { font: 800 clamp(26px, 7.4vw, 30px)/1.15 var(--display); margin: 24px 0 16px; }
.search { position: relative; }
.search > .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--muted); pointer-events: none; z-index: 1; }
.search-input { width: 100%; height: 58px; padding: 0 16px 0 48px; border: 1.5px solid transparent; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-md); font: 600 17px var(--body); color: var(--ink); -webkit-appearance: none; appearance: none; }
.search-input:focus { border-color: var(--ink); }
.search-input::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); font-weight: 400; font-size: 16px; }
.search-input::-webkit-search-cancel-button { display: none; }
.sugg { position: absolute; z-index: 15; left: 0; right: 0; top: calc(100% + 8px); padding: 6px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow-md), 0 0 0 1px var(--line); max-height: 60vh; overflow: auto; }
.sugg li { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px; border-radius: 10px; cursor: pointer; }
.sugg li[aria-selected="true"], .sugg li:hover { background: var(--soft); }
.s-brand { display: block; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.s-name { display: block; font-weight: 700; }
.s-tag { flex: none; font: 800 10.5px/1 var(--body); text-transform: uppercase; letter-spacing: .05em; color: var(--ink); background: var(--soft); padding: 5px 7px; border-radius: 6px; }
.sugg li[data-miss] { display: block; color: var(--muted); }
.sugg li[data-miss] strong { color: var(--ink); }
.eyebrow.quick-t { margin: 28px 0 10px; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.q-chip { height: var(--h); padding: 0 12px 1px; border: 0; border-radius: var(--r-ctl); background: var(--card); box-shadow: var(--shadow-sm); color: var(--ink); font: 700 15px/1 var(--body); }
.q-chip:active { transform: scale(.985); }
.asesor-note { margin: -6px 0 16px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.asesor-note b { color: var(--ink); }
.asesor-note .ic { width: 18px; height: 18px; margin: 0 2px; vertical-align: -4px; color: var(--ink); }
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.way { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 164px; padding: 16px; border: 0; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-sm); text-align: left; }
.way-ic { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: auto; border-radius: 12px; background: var(--soft); }
.way-t { margin-top: 14px; font: 800 15px/1.2 var(--display); }
.way-d { color: var(--muted); font-size: 13px; line-height: 1.3; }
.ways-col { grid-template-columns: 1fr; }
.eyebrow.es-t-h { margin: 26px 0 12px; }
.view > .way-row { width: 100%; }
.way-tx { display: grid; gap: 2px; min-width: 0; text-align: left; }
.way-row { flex-direction: row; align-items: center; gap: 14px; min-height: 0; padding: 16px; }
.way-row .way-ic { margin-bottom: 0; flex: none; }
.way-row .way-t { margin-top: 0; }
.way-row .way-go { margin-left: auto; flex: none; color: var(--muted); }
.way-id .way-go { color: color-mix(in srgb, var(--card) 70%, transparent); }
.way-id { background: var(--ink); color: var(--card); }
.way-id .way-ic { background: rgb(255 255 255 / .14); }
.way-id .way-d { color: color-mix(in srgb, var(--card) 70%, transparent); }

/* ---------- inner views */
.back { display: inline-flex; align-items: center; gap: 2px; height: 40px; margin: 6px 0 2px -6px; padding: 0 8px; border: 0; background: none; color: var(--muted); font-weight: 700; font-size: 15px; }
.view-title { font: 800 clamp(21px, 5.9vw, 24px)/1.2 var(--display); margin: 8px 0 8px; }
.view-sub { color: var(--muted); margin-bottom: 16px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { position: relative; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 12px; border: 2px solid transparent; border-radius: var(--r-ctl); background: var(--card); box-shadow: var(--shadow-sm); text-align: left; font-weight: 700; font-size: 14.5px; line-height: 1.2; }
.tile i { flex: none; width: 20px; height: 20px; border-radius: 7px; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .1); }
.tile > span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tile small { display: block; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; color: var(--muted); font-weight: 400; font-size: 12px; line-height: 1.25; }
.tile .ic { position: absolute; right: 8px; top: 8px; width: 16px; height: 16px; opacity: 0; color: var(--ink); }
.tile[aria-pressed="true"] { border-color: var(--ink); }
.tile[aria-pressed="true"] .ic { opacity: 1; }
.tune-d { margin-top: 18px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-sm); }
.tune-d summary { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 16px; font-weight: 800; cursor: pointer; list-style: none; }
.tune-d summary::-webkit-details-marker { display: none; }
.tune-d summary span { color: var(--muted); font-weight: 400; font-size: 13px; }
.tune-d summary .ic { margin-left: auto; color: var(--muted); transition: transform .2s; }
.tune-d[open] summary .ic { transform: rotate(180deg); }
.tune { display: grid; gap: 16px; padding: 4px 16px 18px; }
.tune-row { display: grid; gap: 8px; }
.ing { display: grid; gap: 16px; margin-top: 14px; }
.eyebrow { font: 800 14px/1.2 var(--body); color: var(--ink); margin: 0 0 10px; }
.tgroup { margin-top: 22px; }
.tgroup:first-child { margin-top: 8px; }
#ings { margin-bottom: 4px; }
.ing + .eyebrow { margin-top: 26px; }
.go { margin-top: 18px; }
.stack { display: grid; gap: 16px; margin-top: 14px; }
.card-row { padding: 6px 16px; border-radius: var(--r-ctl); background: var(--card); box-shadow: var(--shadow-sm); }
.pin-err { color: var(--red-text); font-weight: 700; }

/* ---------- filters: unfold in place */
.fslot { margin-top: 14px; }
.fslot[data-open] { margin-top: 26px; }
.fslot[data-open] .eyebrow { margin: 0 0 10px; }
.fpanel-foot[hidden] { display: none; }
.fbtn { gap: 10px; }
.fbtn .fchev { flex: none; margin-left: 6px; color: var(--muted); transition: transform .2s; }
.fbtn[aria-expanded="true"] .fchev { transform: rotate(180deg); }
.fpanel { display: grid; gap: 20px; margin-top: 10px; padding: 18px 16px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-sm); }
.fgroup { display: grid; gap: 10px; }
.bubbles { display: flex; flex-wrap: wrap; gap: 8px; }
.bubbles button { height: 38px; padding: 0 14px 1px; border: 0; border-radius: 999px; background: var(--soft); color: var(--ink); font: 700 13.5px/1 var(--body); white-space: nowrap; transition: background .15s, color .15s; }
.bubbles[data-f="para"] { flex-wrap: nowrap; gap: 6px; }
.bubbles[data-multi] { display: grid; grid-template-columns: 1fr 1fr; }   /* the four "Solo" options: two even rows, none left alone */
.bubbles[data-f="para"] button { flex: 1 1 auto; padding: 0 6px 1px; }
.bubbles button[aria-checked="true"] { background: var(--ink); color: var(--card); }
.fpanel-foot { display: grid; grid-template-columns: 1fr; gap: 10px; }
.fpanel-foot:has([data-fapply]) { grid-template-columns: 1fr 2fr; }
.fslot-res { margin-top: 16px; }

/* ---------- results */
.fsum { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 13px; font-weight: 600; }
.refcard { margin-top: 6px; padding: 18px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-sm); }
.ref-label { font: 800 11.5px/1.2 var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ref-name { font: 800 clamp(22px, 6vw, 26px)/1.15 var(--display); margin: 6px 0 4px; }
.ref-brand { font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.callout { display: flex; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 15px; }
.callout .ic { margin-top: 2px; color: var(--muted); }
.callout strong { font-weight: 800; }
.callout .btn { margin-top: 10px; }
.conf { margin-top: 8px; color: var(--muted); font-size: 13.5px; }
.band { margin-top: 28px; }
.band-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.band-h::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--red); }
.band-h h2 { font: 800 15px/1.1 var(--display); }
.band-n { margin-left: auto; min-width: 24px; padding: 3px 8px; border-radius: 12px; background: var(--soft); color: var(--muted); font: 800 12px/1.3 var(--body); text-align: center; }
.cards { display: grid; gap: 12px; }
.hint-budget { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--yellow) 28%, var(--paper)); font-size: 14px; }
.hint-budget button { background: none; border: 0; padding: 0; font-weight: 800; text-decoration: underline; }

/* ---------- perfume card: photo + identity on top, price and action below; the detail lives on its own page */
.pcard { display: grid; grid-template-columns: 116px 1fr; gap: 6px 14px; padding: 12px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-sm); cursor: pointer; }
.pc-media { position: relative; width: 116px; height: 144px; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: var(--soft); }
.pc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px; mix-blend-mode: multiply; }   /* absolute: a percentage height can't make the box grow */
.pc-ph { width: 36px; height: 36px; color: var(--muted); opacity: .45; }
.rib { display: inline-block; font: 800 9.5px/1 var(--body); text-transform: uppercase; letter-spacing: .04em; padding: 5px 5px 3px; border-radius: 3px; white-space: nowrap; }
.rib-bazar { background: var(--yellow); color: #000; }
.rib-dark { background: #000; color: #fff; }
.rib-grey { background: var(--grey-tag); color: #fff; }
.rib-outline { background: #fff; color: #000; box-shadow: inset 0 0 0 1px #000; }
.pc-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; padding-top: 2px; }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pc-brand { min-width: 0; font: 800 12px/1.2 var(--body); text-transform: uppercase; letter-spacing: .05em; }
.gbub { flex: none; padding: 5px 9px 3px; border-radius: 999px; background: var(--soft); color: var(--ink); font: 800 10.5px/1 var(--body); text-transform: uppercase; letter-spacing: .06em; }
.pc-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.pc-open { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding: 0; border: 0; background: none; text-align: left; color: inherit; font: 400 17px/1.25 var(--body); cursor: pointer; }
.abar { display: flex; gap: 2px; height: 8px; margin-top: 4px; }
.abar span { min-width: 4px; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .1); }
.abar span:first-child { border-radius: 4px 0 0 4px; }
.abar span:last-child { border-radius: 0 4px 4px 0; }
.abar-names { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 12.5px; color: var(--muted); }
.abar-names span { display: inline-flex; align-items: center; gap: 5px; }
.abar-names i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); }
.tag-comm { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; margin-top: auto; padding: 4px 8px; border-radius: 6px; background: var(--red-tint); color: var(--red-text); font: 800 11px/1.2 var(--body); }
.tag-comm .ic { width: 13px; height: 13px; }
.more .band-cont { margin-top: 12px; }
.more-btn { margin-top: 16px; }
.more-btn .ic { transition: transform .2s; }
.more-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.pc-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.pc-price small { display: block; color: var(--muted); font: 700 11px/1.2 var(--body); text-transform: uppercase; letter-spacing: .05em; }
.pc-price b { display: block; font: 800 21px/1.15 var(--body); font-variant-numeric: tabular-nums; }
.pc-price em { display: block; font-style: normal; color: var(--muted); font-size: 12px; }
.try[aria-pressed="true"] { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }

/* ---------- Tu Esencia result card */
.esencia.top { margin-top: 10px; }
.esencia .btn + .btn { margin-top: 10px; }
.esencia .btn-ghost { background: transparent; color: var(--card); border-color: color-mix(in srgb, var(--card) 40%, transparent); }
.esencia { margin-top: 32px; padding: 20px; border-radius: var(--r); background: var(--ink); color: var(--card); }
.esencia .ref-label { color: color-mix(in srgb, var(--card) 65%, transparent); }
.esencia-name { font: 800 22px/1.15 var(--display); margin: 8px 0 4px; }
.esencia .abar { height: 8px; margin: 12px 0 4px; }
.esencia p { margin-top: 8px; color: color-mix(in srgb, var(--card) 80%, transparent); }
.esencia .btn { margin-top: 16px; background: var(--card); color: var(--ink); }

/* ---------- empty / loading */
.empty { display: grid; justify-items: start; gap: 10px; padding: 28px 0; }
.empty h2 { font: 800 19px/1.2 var(--display); }
.empty p { color: var(--muted); }
.empty .btn { margin-top: 6px; }
.skel { pointer-events: none; }
.skel i { display: block; height: 14px; margin: 4px 0 10px; border-radius: 6px; background: linear-gradient(90deg, var(--soft), var(--line), var(--soft)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.skel i:first-child { width: 40%; height: 10px; }
.skel i:nth-child(2) { width: 80%; height: 20px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Tu Esencia quiz */
.q-progress { display: flex; gap: 6px; margin: 4px 0 14px; }
.q-progress i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.q-progress i.on { background: var(--ink); }
.q-step { font: 800 12px/1 var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.q-title { font: 800 clamp(21px, 5.9vw, 24px)/1.2 var(--display); margin-bottom: 18px; }
.q-title:focus { outline: none; }
.q-opts { display: grid; gap: 10px; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 10px 16px; border: 2px solid transparent; border-radius: var(--r-ctl); background: var(--card); box-shadow: var(--shadow-sm); text-align: left; font-size: 16px; font-weight: 700; }
.opt .ic { color: var(--muted); }
.opt[aria-pressed="true"] { border-color: var(--ink); }
.q-prev { margin-top: 12px; }

/* ---------- my list */
.lrow { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; padding: 10px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-sm); }
.lrow + .lrow { margin-top: 10px; }
.lrow .pc-media { width: 64px; height: 76px; }
.lrow .pc-img { padding: 4px; }
.lrow b { display: block; font: 800 15px/1.2 var(--body); font-variant-numeric: tabular-nums; margin-top: 4px; }
.lista-share { margin-top: 18px; }
#lista { margin-top: 14px; }

/* ---------- the perfume page */
.fi { display: grid; gap: 12px; margin-top: 4px; }
.fi-hero { overflow: hidden; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-sm); }
.fi-hero .fi-photo { width: 100%; height: auto; aspect-ratio: 1 / 1; max-height: 380px; border-radius: 0; }
.fi-photo .pc-img { padding: 16px; }
.fi-id { display: grid; gap: 8px; padding: 18px; }
.fi-name { font: 400 clamp(22px, 6vw, 26px)/1.2 var(--body); }
.fi-sub { color: var(--muted); font-size: 14px; }
.fi-buy { margin: 6px 0 4px; }
.fi-card { padding: 18px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-sm); }
.fi-card h2 { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font: 800 15px/1.2 var(--display); }
.fi-card h2 .band-n { margin-left: auto; }
.fi-note { margin: -4px 0 8px; color: var(--muted); font-size: 12.5px; }
.fi-card h2::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--red); }
.comm-note { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; padding: 12px 14px; border-radius: 12px; background: var(--red-tint); color: var(--red-text); font-size: 14.5px; font-weight: 700; }
.comm-note .ic { margin-top: 1px; }
.rs { display: grid; gap: 8px; padding: 12px 0; }
.rs + .rs, .comm-note + .rs { border-top: 1px solid var(--line); }
.comm-note + .rs { border-top: 0; padding-top: 6px; }
.rs:last-child { padding-bottom: 0; }
.rs-l { font: 800 11px/1.2 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.rs-c { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rs-t { color: var(--muted); font-size: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--soft); font: 700 13.5px/1 var(--body); }
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18); }
.chip b { font-weight: 900; }
.chip-down b { color: var(--red-text); }
.stages { display: grid; }
.stage { position: relative; padding: 0 0 18px 28px; }
.stage:last-child { padding-bottom: 0; }
.stage::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: -2px; width: 2px; background: var(--line); }
.stage:last-child::before { display: none; }
.stage::after { content: ""; position: absolute; left: 0; top: 1px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--card); }
.stage-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 8px; }
.stage-h b { font: 800 13px/1.2 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.stage-h small { color: var(--muted); font-size: 13px; }
.arow { display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 12px; padding: 5px 0; font-size: 14px; font-weight: 600; }
.arow-bar { height: 8px; border-radius: 4px; background: var(--soft); overflow: hidden; }
.arow-bar i { display: block; height: 100%; border-radius: 4px; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .1); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fact { padding: 12px 14px; border-radius: 12px; background: var(--soft); }
.fact small { display: block; color: var(--muted); font: 700 11px/1.2 var(--body); text-transform: uppercase; letter-spacing: .06em; }
.fact b { display: block; margin-top: 2px; font-size: 16px; font-weight: 800; }
.pres { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; row-gap: 10px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pres:first-of-type { padding-top: 4px; }
.pres:last-child { padding-bottom: 0; border-bottom: 0; }
.pres-thumb { grid-row: 1 / span 3; width: 64px; height: 64px; border-radius: 12px; }
.pres-thumb .pc-img { padding: 5px; }
.pres > :not(.pres-thumb) { grid-column: 2; }
.pres-h { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; min-height: 28px; }
.pres-h b { font: 800 15px/1.25 var(--body); }
.pres-h .pc-tags:empty { display: none; }
.szs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.sz { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 9px 8px 9px 10px; border-radius: 12px; background: var(--soft); }
a.sz, a.set-row { color: inherit; text-decoration: none; transition: background .15s; }
a.sz:hover, a.set-row:hover { background: color-mix(in srgb, var(--soft) 80%, #999); }
.sz-top { display: flex; align-items: center; justify-content: space-between; gap: 3px; white-space: nowrap; }
.sz-top .ic, .set-row > .ic { width: 12px; height: 12px; flex: none; color: var(--muted); }
.sz b { font: 700 12px/1.2 var(--body); color: var(--muted); }
.sz-p { font: 800 15.5px/1.2 var(--body); font-variant-numeric: tabular-nums; }
.sz-d { color: var(--muted); font: 700 11px/1.3 var(--body); }
.sz-d s { margin-right: 4px; font-weight: 600; }
.sz small, .set-row small { color: var(--muted); font-size: 11px; }
.sz small { margin-top: auto; padding-top: 5px; }   /* stock always sits at the bottom, aligned across sizes */
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: 13.5px; line-height: 1.35; }
.set-row small { display: block; }
.set-row b { flex: none; font: 800 15px/1 var(--body); font-variant-numeric: tabular-nums; }
.set-row + .set-row { margin-top: -2px; }

/* ---------- toast */
.toast { position: fixed; z-index: 80; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); max-width: calc(100vw - 32px); background: var(--ink); color: var(--card); padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 700; box-shadow: var(--shadow-md); }
.list-btn.bump { animation: bump .35s ease-out; }
@keyframes bump { 50% { transform: scale(1.08); } }

@media (prefers-reduced-motion: reduce) {
  .view, .skel i, .list-btn.bump { animation: none; }
}
@media (max-width: 360px) { .brand-sub { display: none; } .pcard { grid-template-columns: 100px 1fr; } .pc-media { width: 100px; height: 128px; } .ways { gap: 10px; } .way { padding: 14px; } }

/* ---------- the 7 esencias */
.es-list { display: grid; gap: 10px; }
.es-card { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto 16px; align-items: center; gap: 14px; width: 100%; padding: 14px 14px 14px 12px; border: 0; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-sm); text-align: left; }
.es-card > i { align-self: stretch; border-radius: 4px; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .1); }
.es-t b { display: block; font: 800 16px/1.25 var(--body); }
.es-t small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.es-n { text-align: right; font: 800 18px/1.1 var(--body); font-variant-numeric: tabular-nums; }
.es-n small { display: block; color: var(--muted); font: 600 11px/1.2 var(--body); }
.es-card > .ic { color: var(--muted); }
