/* =========================================================
   MOU Skincare by Miry Núñez — estilos
   ========================================================= */

:root {
  --ink: #1f1a19;
  --ink-soft: #4a403e;
  --muted: #7a6d6a;
  --line: #e7ddd6;
  --paper: #fdfaf7;
  --cream: #f7f1ec;
  --sand: #efe4da;
  --nude: #d8bfa8;
  --rose: #cf94a2;
  --rose-deep: #a9627a;
  --rose-soft: #f4e3e6;
  --card: #f4f2f1;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 20px 50px -25px rgba(60, 35, 30, .35);
  --shadow-sm: 0 8px 24px -14px rgba(60, 35, 30, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.locked { overflow: hidden; }
html, body { overflow-x: clip; }
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; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--rose-soft); }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 128px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- Tipografía ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: #f6dfe4; }
.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.05;
  letter-spacing: -.01em;
}
.h2 em, .hero__title em { font-style: italic; color: var(--rose-deep); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--dark:hover { --bg: var(--rose-deep); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: rgba(31, 26, 25, .25); }
.btn--ghost:hover { --bg: var(--ink); --fg: #fff; }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { --bg: var(--rose-soft); }
.btn--block { width: 100%; }
.link { color: var(--rose-deep); font-size: 14px; font-weight: 500; letter-spacing: .02em; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-grid; place-items: center;
  transition: background .25s;
}
.icon-btn:hover { background: rgba(31, 26, 25, .06); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Topbar / Header ---------- */
.topbar {
  background: var(--ink); color: #f3e7e3;
  text-align: center; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  padding: 10px 16px;
}
.topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 250, 247, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 30px -24px rgba(0, 0, 0, .4); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand img { height: 52px; width: auto; filter: brightness(0); }
.nav { display: flex; gap: 34px; margin-left: auto; }
.nav a {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
  position: relative; padding-block: 6px;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rose-deep);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }

.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--rose-deep); color: #fff; font-size: 11px; line-height: 18px; text-align: center;
  transform: scale(0); transition: transform .3s var(--ease);
}
.cart-count.show { transform: scale(1); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.menu-toggle { display: none; flex-direction: column; gap: 6px; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform .3s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 85% 30%, var(--rose-soft) 0%, transparent 60%),
    linear-gradient(180deg, var(--cream), var(--paper));
  padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 110px);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(54px, 8vw, 112px); line-height: .95; letter-spacing: -.02em;
}
.hero__lead { margin-top: 26px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-soft); max-width: 30ch; font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__facts { display: flex; gap: clamp(20px, 4vw, 48px); margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 520px; }
.hero__facts strong { display: block; font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1; }
.hero__facts span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.hero__media { position: relative; }
.hero__arch {
  aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 40%; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.hero__media:hover .hero__arch img { transform: scale(1.08); }
.float-card {
  position: absolute; left: -36px; bottom: 48px;
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px);
  padding: 12px 22px 12px 12px; border-radius: 18px; box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
  transition: transform .3s;
}
.float-card img { width: 64px; height: 64px; border-radius: 12px; background: var(--card); object-fit: cover; mix-blend-mode: multiply; }
.float-card small { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--rose-deep); }
.float-card strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.15; }
.float-card em { font-style: normal; font-size: 14px; color: var(--muted); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Categorías ---------- */
.cats { margin-top: -40px; position: relative; z-index: 2; }
.cats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 14px 20px; text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
}
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.cat__img { width: 96px; height: 96px; border-radius: 50%; background: var(--card); overflow: hidden; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.cat:hover .cat__img img { transform: scale(1.1); }
.cat__name { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.1; margin-top: 6px; }
.cat__count { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Conócenos ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; padding-bottom: 70px; }
.about__photo { width: 86%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 50%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about__badge {
  position: absolute; right: 0; bottom: 0; width: 46%;
  aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff;
  border: 10px solid var(--paper); box-shadow: var(--shadow);
}
.about__badge img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); }
.about__quote { margin: 28px 0 0; padding: 0; font-family: var(--serif); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.55; color: var(--ink-soft); }
.about__quote p + p { margin-top: 18px; }
.signature { margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--rose-deep); }

/* ---------- Rutina ---------- */
.routine { background: var(--cream); }
.section__head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.routine__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: var(--paper); border-radius: var(--radius); padding: 32px 26px 28px;
  display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.step__num { font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--rose); font-style: italic; }
.step h3 { font-family: var(--serif); font-size: 28px; }
.step p { color: var(--muted); font-size: 15px; flex: 1; }
.step .link { align-self: flex-start; margin-top: 6px; }

/* ---------- Tienda ---------- */
.shop__count { color: var(--muted); font-size: 14px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; color: var(--ink-soft); background: #fff;
  transition: background .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip sup { font-size: 10px; margin-left: 3px; opacity: .6; }
.toolbar__right { display: flex; gap: 10px; flex-wrap: wrap; }
.search, .select {
  display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.search:focus-within, .select:focus-within { border-color: var(--ink); }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; }
.search input, .select select { border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: var(--ink); }
.search input { width: 180px; }
.select select { cursor: pointer; padding-right: 4px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }
.card { display: flex; flex-direction: column; animation: cardIn .6s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } }
.card__media {
  position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--card);
  cursor: pointer;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  background: #fff; color: var(--rose-deep); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.card__actions {
  position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 8px;
  opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s var(--ease);
}
.card:hover .card__actions, .card:focus-within .card__actions { opacity: 1; transform: none; }
.card__actions button {
  flex: 1; height: 42px; border-radius: 999px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); transition: background .25s, color .25s;
}
.card__actions button:hover { background: #fff; }
.card__actions .add { background: var(--ink); color: #fff; }
.card__actions .add:hover { background: var(--rose-deep); }
.card__body { padding: 16px 4px 0; display: flex; flex-direction: column; gap: 2px; }
.card__cat { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.card__name { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.2; cursor: pointer; }
.card__name:hover { color: var(--rose-deep); }
.card__price { font-size: 15px; color: var(--ink-soft); margin-top: 4px; }
.card__mobile-add { display: none; }
.empty { text-align: center; color: var(--muted); padding: 48px 0; }

/* ---------- Kits ---------- */
.kits {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(42, 28, 28, .88) 0%, rgba(110, 62, 75, .72) 55%, rgba(110, 62, 75, .25) 100%),
    url("../img/site/natural-cosmetics.jpg") center / cover no-repeat;
}
.kits__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding-block: clamp(64px, 8vw, 100px); }
.kits .h2 em { color: #f6d5dc; }
.kits__copy p:not(.eyebrow) { margin: 22px 0 34px; max-width: 46ch; color: rgba(255, 255, 255, .85); font-weight: 300; }
.kits__img { width: min(460px, 100%); height: auto; justify-self: center; align-self: center; border-radius: 50%; background: #f4f2f1; aspect-ratio: 1; object-fit: cover; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }

/* ---------- Testimonios ---------- */
.testimonial__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.compare {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); user-select: none; max-width: 460px;
}
.compare > img, .compare__before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px);
  pointer-events: none;
}
.compare__handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  font-size: 18px; color: var(--ink); box-shadow: var(--shadow-sm); letter-spacing: 2px;
}
.compare input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0;
}
.compare__tag {
  position: absolute; top: 16px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  background: rgba(255, 255, 255, .9); padding: 6px 12px; border-radius: 999px; pointer-events: none;
}
.compare__tag--l { left: 16px; }
.compare__tag--r { right: 16px; }
.testimonial__quote {
  margin: 28px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.45; color: var(--ink-soft);
  position: relative;
}
.testimonial__author { margin-top: 24px; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; }
.hint { margin-top: 32px; font-size: 13px; color: var(--muted); }

/* ---------- Catálogo ---------- */
.catalog {
  background: linear-gradient(rgba(247, 241, 236, .55), rgba(247, 241, 236, .55)), url("../img/site/white-sands.jpg") center / cover;
}
.catalog__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: clamp(56px, 7vw, 88px); }

/* ---------- Contacto ---------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact__aside { position: relative; }
.contact__aside > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.contact__card {
  position: absolute; left: 24px; right: 24px; bottom: 24px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow);
}
.contact__card h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 12px; }
.contact__card li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; word-break: break-word; }
.contact__card li span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact__card a:hover { color: var(--rose-deep); }
.contact__form-wrap .muted { margin-top: 16px; }

.form { margin-top: 36px; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid #cdbfb7;
  padding: 26px 0 10px; outline: 0; resize: vertical; border-radius: 0;
  transition: border-color .3s;
}
.field span {
  position: absolute; left: 0; top: 24px; color: var(--muted); font-size: 16px; pointer-events: none;
  transform-origin: left top; transition: transform .3s var(--ease), color .3s;
}
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span {
  transform: translateY(-20px) scale(.75); color: var(--rose-deep);
}
.field.invalid input, .field.invalid textarea { border-color: #c0392b; }
.field.invalid span { color: #c0392b; }
.form .btn { margin-top: 12px; }
.form__ok { text-align: center; color: var(--rose-deep); font-family: var(--serif); font-size: 24px; font-style: italic; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #d9ccc8; padding-top: 80px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 40px; }
.footer__logo { height: 64px; width: auto; }
.footer__tag { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 22px; color: #f1dfe3; }
.footer h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 500; }
.footer__links li { margin-bottom: 10px; font-size: 15px; }
.footer__links a:hover, .footer__links button:hover { color: #fff; }
.footer__links button { font-size: 15px; color: inherit; }
.social { display: flex; gap: 10px; }
.social a {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2);
  display: grid; place-items: center; transition: background .3s, border-color .3s;
}
.social a:hover { background: var(--rose-deep); border-color: var(--rose-deep); }
.social svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.social svg .fill { fill: #fff; stroke: none; }
.footer__bottom { margin-top: 64px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #a89a96; }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .6);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------- Modal ---------- */
.modal, .drawer { position: fixed; inset: 0; z-index: 100; }
.modal[hidden], .drawer[hidden] { display: none; }
.modal__backdrop, .drawer__backdrop { position: absolute; inset: 0; background: rgba(31, 26, 25, .45); backdrop-filter: blur(3px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.modal__panel {
  position: relative; margin: 5vh auto; width: min(1000px, 100% - 32px); max-height: 90vh;
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .5);
  animation: pop .45s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(255, 255, 255, .85); font-size: 16px; }
.modal__media { background: var(--card); }
.modal__media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.modal__body { padding: 44px 40px 32px; overflow-y: auto; display: flex; flex-direction: column; }
.modal__title { font-family: var(--serif); font-size: clamp(30px, 3vw, 40px); line-height: 1.1; }
.modal__price { margin-top: 10px; font-size: 20px; color: var(--ink-soft); }
.modal__desc { margin-top: 22px; font-size: 15px; color: var(--ink-soft); flex: 1; }
.modal__desc h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin: 20px 0 8px; font-weight: 500; }
.modal__desc p + p { margin-top: 8px; }
.modal__desc ul { display: grid; gap: 6px; }
.modal__desc li { position: relative; padding-left: 20px; }
.modal__desc li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--rose); }
.modal__buy {
  position: sticky; bottom: -32px; margin: 28px -40px -32px; padding: 18px 40px 24px;
  background: linear-gradient(transparent, var(--paper) 24%); display: flex; gap: 12px;
}
.modal__buy .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 52px; background: #fff; }
.qty button { width: 44px; height: 100%; font-size: 18px; border-radius: 999px; }
.qty button:hover { color: var(--rose-deep); }
.qty span { min-width: 24px; text-align: center; }

/* ---------- Carrito ---------- */
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: var(--paper); display: flex; flex-direction: column;
  animation: slide .45s var(--ease); box-shadow: -30px 0 80px -40px rgba(0, 0, 0, .5);
}
@keyframes slide { from { transform: translateX(100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-family: var(--serif); font-size: 30px; }
.drawer__items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.citem { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.citem img { width: 76px; height: 76px; border-radius: 14px; background: var(--card); object-fit: cover; mix-blend-mode: multiply; }
.citem__name { font-family: var(--serif); font-size: 19px; line-height: 1.15; }
.citem__price { font-size: 14px; color: var(--muted); }
.citem .qty { height: 34px; margin-top: 8px; }
.citem .qty button { width: 32px; font-size: 15px; }
.citem__remove { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; align-self: start; margin-top: 4px; }
.citem__remove:hover { color: var(--rose-deep); }
.drawer__empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 18px; color: var(--muted); }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer__total strong { font-family: var(--serif); font-size: 30px; font-weight: 500; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120;
  transform: translate(-50%, 140%); opacity: 0;
  background: var(--ink); color: #fff; padding: 14px 24px; border-radius: 999px; font-size: 14px;
  box-shadow: var(--shadow); transition: transform .45s var(--ease), opacity .3s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Animación de aparición ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .routine__steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav { gap: 22px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: inline-flex; }
  .brand { margin-inline: auto; }
  .brand img { height: 42px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .3s var(--ease);
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; box-shadow: 0 30px 40px -30px rgba(0, 0, 0, .3); }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav a::after { display: none; }

  .hero__grid, .about__grid, .testimonial__grid, .contact__grid, .kits__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__facts { flex-wrap: wrap; }
  .hero__media { max-width: 480px; width: 100%; margin-inline: auto; }
  .float-card { left: 12px; bottom: 24px; }
  .cats { margin-top: 0; padding-top: 8px; }
  .cats__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 150px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 2px 16px; }
  .cat { scroll-snap-align: start; }
  .about__media { max-width: 520px; }
  .compare { margin-inline: auto; }
  .kits__img { width: min(340px, 80%); }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .contact__aside { order: 2; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, 1240px); }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .card__actions { display: none; }
  .card__name { font-size: 18px; }
  .card__mobile-add {
    display: inline-flex; align-items: center; justify-content: center; margin-top: 10px; height: 38px;
    border-radius: 999px; border: 1px solid var(--ink); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  }
  .card__mobile-add:active { background: var(--ink); color: #fff; }
  .routine__steps { grid-template-columns: 1fr; }
  .toolbar__right, .search { width: 100%; }
  .search input { width: 100%; }
  .select { width: 100%; }
  .select select { width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; }
  .chip { flex: none; }
  .form__row { grid-template-columns: 1fr; }
  .hero__facts strong { font-size: 28px; }
  .footer__grid { grid-template-columns: 1fr; }
  .catalog__inner { flex-direction: column; align-items: flex-start; }
  .modal__panel { grid-template-columns: 1fr; margin: 0; width: 100%; max-height: 100%; height: 100%; border-radius: 0; overflow-y: auto; }
  .modal__media { aspect-ratio: 1; }
  .modal__body { overflow: visible; padding: 28px 22px 24px; }
  .modal__buy { position: sticky; bottom: 0; margin: 24px -22px -24px; padding: 16px 22px 20px; background: var(--paper); border-top: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
