/* Mobile-first: la base es celular; los @media (min-width) suman tablet y desktop. */

:root {
  --niebla: #eceae7;
  --lino: #f5f4f1;
  --cacao: #513b20;
  --tinta: #2e261d;
  --gris: #62584e;
  --cemento: #b1a89f;
  --polvo: #d8d3cc;
  --error: #8a2d1b;

  --mono: "Cutive Mono", "Courier New", ui-monospace, monospace;
  --sans: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: 20px;
  --section: 72px;
  --header: 60px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
html:has(dialog[open]) { overflow: hidden; }

body {
  margin: 0;
  background: var(--niebla);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.has-items { padding-bottom: calc(84px + var(--safe-b)); }

img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--cacao); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--cacao); color: var(--niebla); padding: 10px 16px; border-radius: 999px;
}
.skip:focus { top: 12px; }

/* ---------- elementos base ---------- */

.spaced {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: .5em;
  margin-right: -.5em;
  line-height: 1.2;
  color: var(--cacao);
  text-transform: lowercase;
}

.meta {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--gris);
  letter-spacing: .02em;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 26px;
  border: 1px solid var(--cacao); border-radius: 999px;
  background: var(--cacao); color: var(--niebla);
  font-family: var(--sans); font-size: 16px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, transform .12s;
}
.btn:active { transform: scale(.97); }
.btn--wide { width: 100%; }
.btn--ghost { background: transparent; color: var(--cacao); }

.link {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--cacao); font-weight: 500;
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px;
}
.link--light { color: var(--niebla); }

.icon-btn {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--polvo); background: transparent; cursor: pointer;
  font-size: 20px; line-height: 1;
}
.icon-btn:active { background: var(--polvo); }
.icon-btn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.6; fill: none; }

.squiggle { position: absolute; pointer-events: none; overflow: visible; }
.squiggle path { fill: none; stroke: var(--cacao); stroke-width: 1.6; stroke-linecap: round; }

/* ---------- header ---------- */

.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--niebla) 97%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.top.is-scrolled { border-bottom-color: var(--polvo); }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: var(--header); }
.top__logo { color: var(--cacao); display: block; padding-block: 8px; }
.qu-mini { display: block; width: 46px; height: 33px; }
.top__nav { display: none; }

.cart-btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 42px; padding: 5px 6px 5px 16px;
  border: 1px solid var(--cacao); border-radius: 999px;
  background: transparent; color: var(--cacao); cursor: pointer; font-size: 15px; font-weight: 500;
}
.cart-btn__count, .bar__count {
  display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding-inline: 7px;
  border-radius: 999px; background: var(--cacao); color: var(--niebla); font-size: 14px; font-weight: 500;
}
.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.25); } }

/* ---------- hero ---------- */

.hero { padding-block: 28px 8px; }
.hero__grid { display: grid; gap: 36px; }
.hero__brand { color: var(--cacao); }
.hero__mark { display: block; width: 64%; max-width: 280px; height: auto; margin-bottom: 28px; overflow: visible; }
.hero__espacio { font-family: var(--mono); font-size: 50px; letter-spacing: 40px; fill: var(--cacao); opacity: .75; }
.hero__title {
  font-weight: 500; font-size: 31px; line-height: 1.1; letter-spacing: -.02em;
  color: var(--tinta); max-width: 15ch;
}
.hero__lead { margin-top: 14px; max-width: 42ch; color: var(--gris); font-size: 17px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 26px; }

.hero__photo { position: relative; margin: 0 calc(var(--gutter) * -1); }
.hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.squiggle--hero { display: none; }

/* dibujo del logo al cargar */
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s cubic-bezier(.6, .05, .3, 1) forwards; }
.draw--q { animation-duration: 1.25s; animation-delay: .2s; }
.draw--u { animation-duration: .75s; animation-delay: 1.25s; }
.draw-dot { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: dot .35s 1.95s ease-out forwards; }
.hero__espacio { animation: fade 1s .1s both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dot { 70% { transform: scale(1.2); } to { transform: scale(1); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- secciones ---------- */

.section { position: relative; padding-block: var(--section); }
.section--lino { background: var(--lino); overflow: hidden; }
.section--cacao { background: var(--cacao); color: var(--niebla); padding-bottom: 56px; }
.section--cacao .spaced { color: var(--niebla); }

.section__head { display: grid; gap: 12px; margin-bottom: 28px; }
.section__intro { max-width: 44ch; color: var(--gris); }

/* ---------- productos ---------- */

.filters {
  position: sticky; top: var(--header); z-index: 5;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1) 20px; padding: 10px var(--gutter);
  background: color-mix(in srgb, var(--niebla) 97%, transparent);
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none; min-height: 40px; padding: 6px 16px; border-radius: 999px;
  border: 1px solid var(--polvo); background: transparent; cursor: pointer; font-size: 15px;
}
.filter[aria-pressed="true"] { background: var(--cacao); border-color: var(--cacao); color: var(--niebla); }

.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 12px;
}
.card { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; text-decoration: none; }
/* celular: la card que pasa por el centro de la pantalla muestra su segunda foto */
.card.is-active .card__photo img + img { opacity: 1; }
.card__photo, .card .meta { display: block; }
.card__photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--polvo); transition: transform .12s; }
.card:active .card__photo { transform: scale(.98); }
.card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s ease; }
.card__photo img + img { opacity: 0; }
.card__row { display: flex; flex-direction: column; margin-top: 10px; }
.card__name { font-size: 17px; font-weight: 500; line-height: 1.3; color: var(--tinta); }
.card__price { font-size: 15px; color: var(--cacao); white-space: nowrap; }
.card .meta { margin-top: 1px; font-family: var(--sans); font-size: 13px; letter-spacing: 0; }

.grid__refill { grid-column: 1 / -1; }
.refill-tile {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); height: 100%;
  background: var(--lino); color: var(--tinta); text-decoration: none;
}
.refill-tile img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.refill-tile__body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 20px 18px; }
.refill-tile .spaced { font-size: 20px; }
.refill-tile__text { color: var(--gris); font-size: 15px; line-height: 1.5; max-width: 32ch; }
.refill-tile .link { align-self: flex-start; }

/* ---------- fragancias ---------- */

.aromas { display: grid; gap: 36px; }
.aroma-group__pill {
  display: inline-block; margin: 0 0 12px calc(var(--gutter) * -1);
  padding: 8px 24px 8px var(--gutter);
  background: var(--cemento); color: var(--cacao);
  border-radius: 0 999px 999px 0;
  font-family: var(--mono); font-size: 17px; letter-spacing: .25em; text-transform: lowercase;
}
.aroma { padding-block: 14px; border-top: 1px solid var(--polvo); }
.aroma h3 { font-size: 17px; font-weight: 600; color: var(--cacao); }
.aroma p { margin-top: 4px; color: var(--gris); font-size: 15px; line-height: 1.55; max-width: 40ch; }
.squiggle--aromas { display: none; }

/* ---------- refills ---------- */

.refills { display: grid; gap: 32px; }
.refills__photo { margin: 0 calc(var(--gutter) * -1); order: 2; }
.refills__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.refills__body .spaced { margin-bottom: 20px; }
.refills__text { max-width: 52ch; color: var(--gris); }
.refills__text + .refills__text { margin-top: 12px; }
.refill-list { list-style: none; margin: 28px 0 0; padding: 0; }
.refill {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px;
  padding-block: 16px; border-top: 1px solid var(--polvo);
}
.refill:last-child { border-bottom: 1px solid var(--polvo); }
.refill__name { font-size: 17px; font-weight: 500; }
.refill__price { color: var(--cacao); font-size: 15px; }
.refill .meta { font-family: var(--sans); font-size: 14px; letter-spacing: 0; }
.refill .btn { grid-row: 1 / span 2; grid-column: 2; min-height: 42px; padding: 8px 18px; font-size: 15px; }

/* ---------- preguntas ---------- */

.faq { display: grid; gap: 24px; }
.faq__list { border-top: 1px solid var(--polvo); }
.faq__item { border-bottom: 1px solid var(--polvo); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding-block: 14px; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 500; -webkit-tap-highlight-color: transparent;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex: none; font-family: var(--mono); font-size: 24px; line-height: 1; color: var(--cacao);
  transition: transform .25s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding-bottom: 18px; color: var(--gris); max-width: 60ch; }

/* ---------- página de producto ---------- */

.pdp__grid { display: grid; }
.pdp .sheet__info { padding-top: 18px; }
.pdp .sheet__buy { background: var(--niebla); }
.pdp__back { align-self: flex-start; margin-bottom: 18px; font-size: 15px; }
.is-pdp .bar { display: none !important; }
.grid--rel { margin-top: 0; }

/* ---------- cómo pedir ---------- */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: paso; display: grid; }
.steps li {
  counter-increment: paso;
  display: grid; grid-template-columns: 40px 1fr; column-gap: 8px;
  padding-block: 18px; border-top: 1px solid color-mix(in srgb, var(--niebla) 30%, transparent);
}
.steps li::before {
  content: counter(paso); grid-row: span 2;
  font-family: var(--mono); font-size: 34px; line-height: 1; color: var(--cemento);
}
.steps h3 { font-size: 18px; font-weight: 500; line-height: 1.3; }
.steps p { margin-top: 4px; color: color-mix(in srgb, var(--niebla) 80%, transparent); max-width: 34ch; font-size: 15px; }

.places {
  display: flex; flex-wrap: wrap; gap: 14px 32px;
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--niebla) 30%, transparent);
}
.places p { font-size: 16px; }
.places__label { display: block; font-family: var(--mono); font-size: 14px; color: var(--cemento); }

/* ---------- footer ---------- */

.foot { background: var(--cacao); color: var(--niebla); padding-block: 8px calc(40px + var(--safe-b)); }
.foot__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.qu-foot { width: 96px; height: 68px; color: var(--niebla); }
.foot__links { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.foot__links a { color: var(--niebla); text-underline-offset: 5px; padding-block: 6px; }
.foot__about { width: 100%; max-width: 62ch; font-size: 14px; line-height: 1.6; color: var(--cemento); }

/* ---------- barra de pedido (celular) ---------- */

.bar {
  position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 58px; padding: 8px 22px 8px 20px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--cacao); color: var(--niebla); font-size: 16px; font-weight: 500;
  box-shadow: 0 10px 30px -12px rgb(46 38 29 / .6);
  animation: rise .35s cubic-bezier(.2, .8, .2, 1);
}
.bar__label { display: inline-flex; align-items: center; gap: 10px; }
.bar__count { background: var(--niebla); color: var(--cacao); }
.bar:active { transform: scale(.98); }

/* ---------- dialogs ---------- */

dialog { color: var(--tinta); border: 0; padding: 0; }
dialog::backdrop { background: rgb(46 38 29 / .45); }

.sheet {
  width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0;
  background: var(--lino); overflow: auto; overscroll-behavior: contain;
}
.sheet[open] { animation: up .38s cubic-bezier(.2, .8, .2, 1); }
.sheet__close-form { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; z-index: 2; }
.sheet__close { background: var(--lino); border-color: transparent; box-shadow: 0 2px 10px rgb(46 38 29 / .15); }
.sheet__grid { display: grid; min-height: 100%; grid-template-rows: auto 1fr; }
.sheet__photos {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 4px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--polvo);
}
.sheet__photos::-webkit-scrollbar { display: none; }
.sheet__photos img { width: 100%; aspect-ratio: 3 / 4; max-height: 62dvh; object-fit: cover; scroll-snap-align: start; }
.sheet__photos:has(img:only-child) { grid-auto-columns: 100%; }
.sheet__photos img:only-child { aspect-ratio: 1 / 1; }
.sheet__info { padding: 22px var(--gutter) 0; display: flex; flex-direction: column; }
.sheet__name { font-size: 30px; font-weight: 500; line-height: 1.1; letter-spacing: -.01em; margin-top: 2px; }
.sheet__price { margin-top: 6px; font-size: 19px; color: var(--cacao); }
.sheet__desc { margin-top: 14px; color: var(--gris); font-size: 15px; line-height: 1.6; }

.field { margin-top: 24px; }
.field__label { font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.field__error { margin-top: 10px; color: var(--error); font-size: 15px; }

.options { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  min-height: 42px; padding: 6px 16px; border-radius: 999px;
  border: 1px solid var(--polvo); background: transparent; cursor: pointer; font-size: 15px; text-align: left;
  transition: transform .12s;
}
.opt:active { transform: scale(.96); }
.opt[aria-checked="true"] { background: var(--cacao); border-color: var(--cacao); color: var(--niebla); }
.opt__price { opacity: .75; margin-left: 6px; }

.aroma-pick + .aroma-pick { margin-top: 12px; }
.aroma-pick__name { font-family: var(--mono); font-size: 14px; color: var(--gris); margin-bottom: 6px; }
.aroma-desc {
  margin-top: 14px; padding: 12px 14px; border-radius: 12px;
  background: var(--niebla); color: var(--gris); font-size: 15px; line-height: 1.5;
}
.aroma-desc strong { color: var(--cacao); font-weight: 600; }

.sheet__buy {
  position: sticky; bottom: 0; z-index: 1; background: var(--lino);
  display: flex; gap: 10px; align-items: center;
  margin: auto calc(var(--gutter) * -1) 0; padding: 12px var(--gutter) calc(12px + var(--safe-b));
  border-top: 1px solid var(--polvo);
}
.sheet__buy .btn { flex: 1; padding-inline: 16px; }
.field:has(+ .sheet__buy) { margin-bottom: 28px; }

.stepper { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--polvo); border-radius: 999px; padding: 3px; }
.stepper .icon-btn { border: 0; width: 42px; height: 42px; }
.stepper output { min-width: 22px; text-align: center; }

.drawer {
  width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto;
  background: var(--lino); overflow: hidden;
}
.drawer[open] { display: flex; flex-direction: column; animation: slide .35s cubic-bezier(.2, .8, .2, 1); }
.drawer__head {
  display: flex; justify-content: space-between; align-items: center; flex: none;
  padding: calc(10px + env(safe-area-inset-top, 0px)) var(--gutter) 10px; border-bottom: 1px solid var(--polvo);
}
.drawer__title { font-size: 21px; font-weight: 500; }
.drawer__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--gutter) 24px; }
.drawer__empty { padding-top: 28px; }
.drawer__empty p { color: var(--gris); margin-bottom: 22px; }
.drawer__foot {
  flex: none; padding: 12px var(--gutter) calc(14px + var(--safe-b));
  border-top: 1px solid var(--polvo); background: var(--lino);
}

.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 68px 1fr; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--polvo); }
.line img { width: 68px; aspect-ratio: 3 / 4; object-fit: cover; }
.line__top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.line__name { font-weight: 500; line-height: 1.3; }
.line__remove { font-size: 14px; color: var(--gris); font-weight: 400; flex: none; padding: 4px 0; }
.line .meta { font-family: var(--sans); font-size: 14px; letter-spacing: 0; }
.line__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 10px; }
.line .stepper .icon-btn { width: 36px; height: 36px; font-size: 18px; }

.total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 18px; }
.total strong { font-weight: 600; color: var(--cacao); }

.order { display: grid; gap: 18px; padding-top: 22px; }
.input { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.input > span, .input legend { font-weight: 600; font-size: 15px; padding: 0; margin-bottom: 4px; }
.input input:not([type="radio"]), .input textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--tinta);
  background: var(--niebla); border: 1px solid var(--polvo); border-radius: 12px; padding: 12px 14px;
}
.input input:focus, .input textarea:focus { outline: 2px solid var(--cacao); outline-offset: 1px; }
.input textarea::placeholder { color: var(--cemento); }
.radio { display: flex; gap: 12px; align-items: center; min-height: 44px; cursor: pointer; }
.radio input { accent-color: var(--cacao); width: 20px; height: 20px; margin: 0; flex: none; }
.order__note { margin-top: 10px; font-size: 14px; color: var(--gris); text-align: center; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }

/* ---------- toast ---------- */

.toast {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); z-index: 40;
  display: flex; gap: 16px; align-items: center; justify-content: space-between;
  background: var(--tinta); color: var(--niebla); padding: 12px 20px; border-radius: 16px;
  font-size: 15px; line-height: 1.4; animation: rise .3s ease;
}
.has-items .toast { bottom: calc(80px + var(--safe-b)); }
.toast .link { flex: none; }

/* ---------- tablet ---------- */

@media (min-width: 761px) {
  :root { --gutter: 32px; --section: 110px; --header: 68px; }
  body { font-size: 17px; }
  .spaced { font-size: 30px; }

  .hero { padding-block: 56px 32px; }
  .hero__grid { grid-template-columns: 1fr minmax(0, .9fr); gap: 56px; align-items: center; }
  .hero__mark { width: 100%; max-width: 420px; margin-bottom: 48px; }
  .hero__title { font-size: clamp(36px, 4.2vw, 54px); line-height: 1.08; }
  .hero__lead { margin-top: 20px; font-size: 18px; }
  .hero__actions { margin-top: 36px; }
  .hero__photo { margin: 0; }
  .squiggle--hero { display: block; width: 92px; height: 200px; right: -34px; top: -56px; }

  .section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; margin-bottom: 52px; }

  .filters { position: static; overflow: visible; flex-wrap: wrap; margin: 0 0 36px; padding: 0; background: none; }
  .grid { gap: 56px 24px; }
  .card__row { flex-direction: row; justify-content: space-between; gap: 16px; align-items: baseline; margin-top: 16px; }
  .card__name { font-size: 20px; }
  .card__price { font-size: 17px; }
  .card .meta { font-family: var(--mono); font-size: 15px; letter-spacing: .02em; }
  .refill-tile__body { padding: 40px; gap: 20px; }
  .refill-tile .spaced { font-size: 30px; }
  .refill-tile__text { font-size: 17px; }

  .aroma-group__pill { padding: 10px 28px 10px var(--gutter); font-size: 18px; margin-bottom: 20px; }
  .aroma h3 { font-size: 19px; }
  .aroma p { font-size: 16px; }

  .refills { grid-template-columns: minmax(0, .8fr) 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
  .refills__photo { margin: 0; order: 0; }
  .refills__photo img { aspect-ratio: 3 / 4; }
  .refills__body .spaced { margin-bottom: 32px; }
  .refill { gap: 4px 24px; padding-block: 18px; }
  .refill__name { font-size: 19px; }
  .refill__price { font-size: 17px; }

  .section--cacao { padding-bottom: 88px; }
  .steps li { display: block; padding-block: 24px 0; }
  .steps li::before { display: block; margin-bottom: 20px; font-size: 44px; }
  .steps h3 { font-size: 21px; }
  .steps p { margin-top: 8px; font-size: 17px; }
  .places { gap: 16px 56px; margin-top: 80px; padding-top: 28px; }
  .places p { font-size: 18px; }

  .foot__links { width: auto; }
  .qu-foot { width: 120px; height: 85px; }

  .bar { display: none; }
  body.has-items { padding-bottom: 0; }
  .toast, .has-items .toast { left: 50%; right: auto; bottom: calc(20px + var(--safe-b)); transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); border-radius: 999px; padding: 12px 14px 12px 22px; }

  .sheet { width: min(1000px, calc(100% - 48px)); height: auto; max-height: calc(100dvh - 48px); margin: auto; }
  .sheet[open] { animation-name: rise; }
  .sheet__close-form { top: 14px; right: 14px; }
  .sheet__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; min-height: 0; }
  .sheet__photos { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; align-content: start; }
  .sheet__photos img, .sheet__photos img:only-child { aspect-ratio: 3 / 4; max-height: none; }
  .sheet__info { padding: 44px 44px 0; }
  .sheet__name { font-size: 36px; margin-top: 6px; }
  .sheet__desc { font-size: 16px; margin-top: 18px; }
  .sheet__buy { margin-inline: -44px; padding: 20px 44px; border-top: 0; }

  .drawer { width: min(460px, 100%); }

  .faq__item summary { font-size: 19px; min-height: 64px; }

  .pdp__grid {
    max-width: var(--wrap); margin-inline: auto; padding: 40px var(--gutter) 24px;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start;
  }
  .pdp .sheet__info { position: sticky; top: calc(var(--header) + 24px); padding: 0; }
  .pdp .sheet__buy { position: static; margin: 32px 0 0; padding: 0; }
}

/* ---------- desktop ---------- */

@media (min-width: 961px) {
  :root { --gutter: 40px; --section: clamp(110px, 11vw, 150px); }
  .spaced { font-size: clamp(30px, 3.2vw, 36px); }
  .hero__grid { gap: clamp(56px, 6vw, 96px); }
  .hero__mark { max-width: 460px; }
  .top__nav { display: flex; gap: 28px; margin-right: auto; }
  .top__nav a { color: var(--tinta); text-decoration: none; font-size: 15px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 5vw, 64px) clamp(16px, 2.4vw, 32px); }
  .grid__refill { grid-column: span 2; }
  .grid--rel { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .faq { grid-template-columns: auto minmax(0, 1fr); gap: clamp(48px, 7vw, 110px); align-items: start; }
  .aromas { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px clamp(24px, 4vw, 56px); }
  .aroma-group__pill { margin-left: 0; padding-left: 28px; border-radius: 999px; }
  .squiggle--aromas { display: block; width: 260px; height: 120px; right: 4%; top: 48px; opacity: .8; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 56px); }
}

/* hover solo donde hay mouse, para que en celular no queden estados pegados */
@media (hover: hover) {
  .btn:hover { background: var(--tinta); border-color: var(--tinta); }
  .btn--ghost:hover { background: var(--cacao); border-color: var(--cacao); color: var(--niebla); }
  .link:hover { text-decoration-thickness: 2px; }
  .icon-btn:hover { border-color: var(--cacao); }
  .top__nav a:hover { color: var(--cacao); text-decoration: underline; text-underline-offset: 6px; }
  .cart-btn:hover { background: var(--cacao); color: var(--niebla); }
  .cart-btn:hover .cart-btn__count { background: var(--niebla); color: var(--cacao); }
  .filter:hover { border-color: var(--cacao); }
  .filter[aria-pressed="true"]:hover { border-color: var(--cacao); }
  .opt:hover { border-color: var(--cacao); }
  .card:hover .card__photo img + img { opacity: 1; }
  .card:hover .card__name { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
  .refill-tile:hover .link { text-decoration-thickness: 2px; }
  .stepper .icon-btn:hover { background: var(--polvo); }
}
.card:focus-visible .card__photo img + img { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
