/* ===== Reset / base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

:root {
  --black: #1d1d1f;
  --grey: #6e6e73;
  --line: #e3e3e6;
  --bg-grey: #ffffff;
  --white: #ffffff;
  --radius: 18px;
  --maxw: 1040px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 52px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.brand__mark { flex-shrink: 0; color: var(--black); }
.brand__name {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--grey);
  line-height: 1;
}
.brand__name b { font-weight: 700; color: var(--black); }
.nav__links { display: none; }

/* Botón hamburguesa */
.nav__hamburger {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--black);
  border-radius: 2px;
}
.nav__cta {
  font-size: 13px;
  font-weight: 500;
  background: var(--black);
  color: #fff;
  padding: 6px 14px;
  border-radius: 980px;
  transition: opacity 0.2s ease;
}
.nav__cta:hover { opacity: 0.82; }

/* ===== Hero ===== */
.hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 88px 22px 0;
  text-align: center;
}
.hero__eyebrow {
  font-size: 19px;
  font-weight: 600;
  color: var(--grey);
  margin-bottom: 6px;
}
.hero__title {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.hero__sub {
  font-size: clamp(17px, 2.4vw, 22px);
  color: var(--grey);
  font-weight: 400;
  margin-bottom: 26px;
}
.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}
.hero__media {
  margin-top: 50px;
}
.hero__media img {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-radius: 24px;
}

/* ===== Buttons / links ===== */
.btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  padding: 11px 24px;
  border-radius: 980px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease;
  font-family: inherit;
}
.btn--primary { background: var(--black); color: #fff; }
.btn--primary:hover { opacity: 0.85; }
.btn--primary:active { transform: scale(0.98); }
.btn--full { width: 100%; }
.btn:disabled { background: var(--line); color: #fff; cursor: not-allowed; }

.link-arrow {
  font-size: 16px;
  color: var(--black);
  font-weight: 400;
  transition: opacity 0.2s ease;
}
.link-arrow:hover { opacity: 0.6; }

/* ===== Trust strip ===== */
.strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 30px 22px;
  font-size: 13px;
  color: var(--grey);
}
.strip .dot { opacity: 0.4; }

/* ===== Sections ===== */
.section { padding: 84px 22px; }
.section--grey { background: var(--bg-grey); }
.section__head {
  max-width: var(--maxw);
  margin: 0 auto 48px;
  text-align: center;
}
.section__head h2 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.section__head p {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--grey);
}

/* ===== Product grid ===== */
.grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.card {
  flex: 0 1 312px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 14px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.08); }
.card:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
.card__imgwrap {
  position: relative;
  background: var(--white);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
}
.card--out .card__imgwrap img { opacity: 0.55; filter: grayscale(0.25); }
.card__imgwrap img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.badge {
  position: absolute;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 11px;
  border-radius: 980px;
}
.badge--sale {
  top: 12px;
  left: 12px;
  background: #e0162b;
  color: #fff;
}
.badge--out {
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--black);
  border: 1px solid var(--line);
}
.card__name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  min-height: 3.9em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__desc {
  font-size: 13px;
  line-height: 1.45;
  color: var(--grey);
  margin-bottom: 16px;
  min-height: 5.7em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}
.card__antes {
  font-size: 14px;
  color: var(--grey);
  text-decoration: line-through;
}
.card__now {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #e0162b;
}
.card__btn { margin-top: auto; width: 100%; cursor: pointer; }
.btn--ghost {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--line);
}
.btn--ghost:hover { background: var(--bg-grey); opacity: 1; }

/* ===== Steps ===== */
.steps {
  max-width: var(--maxw);
  margin: 0 auto;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.steps li { text-align: left; }
.steps__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}
.steps h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.steps p { font-size: 15px; color: var(--grey); }

/* ===== Features ===== */
.features {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.feature h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--grey); }

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: var(--grey);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  padding: 0 4px 24px;
  font-size: 16px;
  color: var(--grey);
  max-width: 90%;
}

/* ===== CTA band ===== */
.cta-band {
  text-align: center;
  padding: 92px 22px;
  background: var(--white);
}
.cta-band h2 {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-grey);
  padding: 40px 22px;
  border-top: 1px solid var(--line);
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}
.footer__brand { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.footer__links a { font-size: 13px; color: var(--grey); }
.footer__links a:hover { color: var(--black); }
.footer__legal { font-size: 12px; color: var(--grey); opacity: 0.8; }

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.modal.open { display: block; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.modal__card {
  position: relative;
  background: #fff;
  max-width: 720px;
  width: calc(100% - 36px);
  margin: 7vh auto 0;
  border-radius: 24px;
  overflow: hidden;
  animation: pop 0.25s ease;
}
@keyframes pop {
  from { transform: translateY(14px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal__close {
  position: absolute;
  top: 14px; right: 16px;
  z-index: 2;
  width: 30px; height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  font-size: 20px;
  line-height: 1;
  color: var(--black);
  cursor: pointer;
}
.modal__close:hover { background: rgba(0,0,0,0.12); }
.modal__body { display: grid; grid-template-columns: 1fr 1fr; }
.modal__img {
  background: var(--bg-grey);
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 36px;
}
.modal__info { padding: 36px 34px 34px; }
.modal__info h3 { font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.modal__price { display: flex; align-items: baseline; gap: 10px; margin: 12px 0 4px; }
.modal__antes { font-size: 15px; color: var(--grey); text-decoration: line-through; }
.modal__now { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; color: #e0162b; }
.modal__desc { font-size: 15px; line-height: 1.5; color: var(--black); margin: 14px 0 16px; }
.modal__note { font-size: 13px; color: var(--grey); margin-bottom: 20px; }
.modal__soldout {
  margin-top: 8px;
  padding: 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--grey);
  background: var(--bg-grey);
  border-radius: 12px;
}

/* ===== Form ===== */
.form { display: flex; flex-direction: column; gap: 10px; }
.form input {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.2s ease;
}
.form input:focus { outline: none; border-color: var(--black); }
.form button { margin-top: 4px; }
.form__ok {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 500;
  color: #1d8a3a;
  text-align: center;
}

/* ===== Página de producto (PDP) ===== */
.pdp { max-width: 980px; margin: 0 auto; padding: 30px 22px 80px; }
.pdp__back {
  display: inline-block;
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 22px;
}
.pdp__back:hover { color: var(--black); }
.pdp__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.pdp__media {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
}
.pdp__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.pdp__media.is-out img { opacity: 0.55; filter: grayscale(0.25); }

.pdp__info h1 {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.pdp__rating { display: flex; align-items: center; gap: 8px; margin: 12px 0; }
.stars { color: #f5a623; letter-spacing: 1px; font-size: 15px; }
.pdp__rating a { font-size: 13px; color: var(--grey); text-decoration: underline; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 14px; }
.pdp__antes { font-size: 17px; color: var(--grey); text-decoration: line-through; }
.pdp__now { font-size: 30px; font-weight: 700; letter-spacing: -0.01em; color: #e0162b; }
.pdp__short { font-size: 16px; line-height: 1.5; color: var(--grey); margin-bottom: 22px; }
.pdp__soldout {
  padding: 13px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--grey);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.pdp__form { margin-top: 14px; }
.pdp__trust {
  list-style: none;
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.pdp__trust li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--black);
  margin-bottom: 10px;
}
.pdp__trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1d8a3a;
  font-weight: 700;
}

/* Secciones de la ficha (descripción + valoraciones apiladas) */
.pdp__section { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); }
.pdp__h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.prose { max-width: 760px; }
.prose p { font-size: 16px; line-height: 1.65; color: var(--black); margin-bottom: 16px; }
.prose h4 {
  font-size: 19px;
  font-weight: 700;
  margin: 22px 0 12px;
  letter-spacing: -0.01em;
}
.prose ul { list-style: none; }
.prose li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--black);
  margin-bottom: 12px;
}
.prose li::before { content: "✓"; position: absolute; left: 0; color: #1d8a3a; font-weight: 700; }

/* Reviews */
.reviews__avg { font-size: 16px; color: var(--grey); margin-bottom: 22px; }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.review {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.review__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.review__name { font-size: 15px; font-weight: 600; }
.review__verified {
  font-size: 11px;
  color: #1d8a3a;
  background: rgba(29, 138, 58, 0.1);
  padding: 2px 8px;
  border-radius: 980px;
}
.review__text { font-size: 14px; line-height: 1.55; color: var(--black); margin-bottom: 14px; }
.review__photo {
  width: 100%;
  margin-top: auto;
  border-radius: 12px;
  max-height: 300px;
  object-fit: cover;
  background: var(--bg-grey);
}

/* ===== Cesta en la barra ===== */
.nav__cart {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--black);
  margin-left: auto;
}
.nav__cart:hover { opacity: 0.7; }
.nav__cartcount {
  position: absolute;
  top: -7px;
  right: -9px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 980px;
  background: #e0162b;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Página de la cesta ===== */
.cart { max-width: 980px; margin: 0 auto; padding: 34px 22px 80px; }
.cart > h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.cart__empty { text-align: center; padding: 40px 0 60px; }
.cart__empty p { font-size: 18px; color: var(--grey); margin-bottom: 22px; }

.cart__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
  align-items: start;
}
.cart__main { display: flex; flex-direction: column; gap: 14px; }

/* Líneas de producto */
.cart__items { display: flex; flex-direction: column; }
.citem {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.citem:first-child { border-top: 1px solid var(--line); }
.citem__img {
  width: 72px; height: 72px;
  object-fit: contain;
  background: var(--white);
  border-radius: 12px;
  padding: 4px;
}
.citem__name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.citem__unit { font-size: 13px; color: var(--grey); margin: 2px 0 6px; }
.citem__remove {
  background: none; border: none; padding: 0;
  font-family: inherit; font-size: 12px; color: var(--grey);
  text-decoration: underline; cursor: pointer;
}
.citem__remove:hover { color: #e0162b; }
.citem__right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 980px; }
.qty__btn {
  width: 30px; height: 30px;
  background: none; border: none; cursor: pointer;
  font-size: 17px; color: var(--black); line-height: 1;
}
.qty__num { min-width: 26px; text-align: center; font-size: 14px; font-weight: 600; }
.citem__total { font-size: 16px; font-weight: 700; }

/* Bloques del formulario */
.cart__block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
}
.cart__block h2 { font-size: 18px; font-weight: 600; margin-bottom: 16px; }

.form-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.form-grid input {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.2s ease;
}
.form-grid input:focus { outline: none; border-color: var(--black); }
.f-full  { flex: 1 1 100%; }
.f-half  { flex: 1 1 calc(50% - 5px); }
.f-third { flex: 1 1 calc(33.333% - 7px); }

/* Opciones envío / pago */
.option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.option:last-child { margin-bottom: 0; }
.option:has(input:checked) { border-color: var(--black); background: var(--bg-grey); }
.option input { width: 18px; height: 18px; accent-color: var(--black); flex-shrink: 0; }
.option__main { flex: 1; display: flex; flex-direction: column; }
.option__main strong { font-size: 15px; font-weight: 600; }
.option__main small { font-size: 13px; color: var(--grey); margin-top: 2px; }
.option__price { font-size: 15px; font-weight: 700; }

/* Resumen */
.cart__summary {
  position: sticky;
  top: 72px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.cart__summary h2 { font-size: 19px; font-weight: 700; margin-bottom: 16px; }
.sumrow {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: var(--grey);
  padding: 8px 0;
}
.sumrow--total {
  color: var(--black);
  font-size: 19px;
  font-weight: 700;
  border-top: 1px solid var(--line);
  margin-top: 6px;
  padding-top: 14px;
}
.cart__summary .btn { margin-top: 16px; }
.cart__note { font-size: 12px; color: var(--grey); text-align: center; margin-top: 12px; line-height: 1.5; }

/* Confirmación */
.cart__done { display: flex; justify-content: center; padding: 20px 0 40px; }
.done__card {
  max-width: 520px;
  width: 100%;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 44px 34px;
}
.done__check {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #1d8a3a;
  color: #fff;
  font-size: 30px;
  display: flex; align-items: center; justify-content: center;
}
.done__card h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.done__num { font-size: 14px; color: var(--grey); margin: 8px 0 22px; }
.done__list { list-style: none; text-align: left; margin-bottom: 22px; }
.done__list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.done__list li span:first-child { color: var(--grey); flex-shrink: 0; }
.done__list li span:last-child { text-align: right; font-weight: 500; }
.done__foot { font-size: 14px; color: var(--grey); margin-bottom: 22px; }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .pdp__top { grid-template-columns: 1fr; gap: 26px; }
  .cart__grid { grid-template-columns: 1fr; }
  .cart__summary { position: static; }
  .f-third { flex: 1 1 calc(50% - 5px); }
}

/* ===== Móvil: tarjetas de 2 en 2 y más compactas ===== */
@media (max-width: 640px) {
  .nav__inner { padding: 0 16px; }
  .nav__brand { font-size: 15px; }
  .section { padding: 56px 16px; }
  .section__head { margin-bottom: 32px; }
  .hero { padding: 48px 16px 0; }
  .features { grid-template-columns: 1fr; }
  .f-half, .f-third { flex: 1 1 100%; }

  /* Rejilla de productos: 2 columnas */
  #cajas { padding-left: 14px; padding-right: 14px; }
  .grid { gap: 12px; }
  .card {
    flex: 1 1 calc(50% - 6px);
    max-width: calc(50% - 6px);
    padding: 14px 12px 16px;
  }
  .card__imgwrap { padding: 12px; margin-bottom: 12px; border-radius: 12px; }
  .card__name {
    font-size: 13px;
    line-height: 1.25;
    min-height: 3.4em;
    margin-bottom: 6px;
  }
  .card__desc { display: none; }
  .card__price { flex-direction: column; gap: 0; margin-bottom: 12px; }
  .card__antes { font-size: 12px; }
  .card__now { font-size: 18px; }
  .card__btn { font-size: 13px; padding: 9px 8px; }
  .badge { font-size: 9px; padding: 3px 8px; }
  .badge--sale { top: 8px; left: 8px; }
  .badge--out { top: 8px; right: 8px; }

  /* Pasos en una columna */
  .steps { grid-template-columns: 1fr; gap: 22px; }

  /* Página de producto */
  .pdp { padding: 22px 16px 64px; }

  /* Cesta */
  .cart { padding: 26px 16px 64px; }
  .citem { grid-template-columns: 60px 1fr; row-gap: 10px; }
  .citem__right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }

  /* Reseñas de 2 en 2 (compactas) */
  .reviews__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .review { padding: 12px; border-radius: 12px; }
  .review__head { gap: 6px; margin-bottom: 6px; }
  .stars { font-size: 12px; }
  .review__name { font-size: 12px; }
  .review__verified { font-size: 9px; padding: 1px 6px; }
  .review__text { font-size: 11px; line-height: 1.4; margin-bottom: 8px; }
  .review__photo { max-height: 150px; border-radius: 8px; }

  /* Vídeo a lo ancho */
  .video-box { border-radius: 14px; }
}

/* ===== Cajón lateral (menú) ===== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 300;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  max-width: 84vw;
  background: #fff;
  z-index: 310;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 36px rgba(0, 0, 0, 0.14);
}
.drawer.open { transform: translateX(0); }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.drawer__title { font-size: 17px; font-weight: 700; }
.drawer__close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--black);
  cursor: pointer;
}
.drawer__nav { display: flex; flex-direction: column; padding: 6px 0; }
.drawer__nav a {
  padding: 15px 24px;
  font-size: 17px;
  font-weight: 500;
  color: var(--black);
  border-bottom: 1px solid #f1f1f3;
  transition: background 0.15s ease;
}
.drawer__nav a:hover { background: #f7f7f8; }
.drawer__cart {
  margin: 18px 22px;
  text-align: center;
  background: var(--black);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 12px;
  border-radius: 980px;
}

/* ===== Vídeo abriendo caja ===== */
.video-box {
  max-width: 820px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}
.video-box video,
.video-box iframe { width: 100%; height: 100%; border: 0; object-fit: cover; display: block; }
.video-note {
  max-width: 820px;
  margin: 16px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--grey);
}
.video-note code {
  background: var(--bg-grey);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 12px;
}

/* ===== Prose centrada (por qué estos precios) ===== */
.prose--center { max-width: 720px; margin: 0 auto; text-align: center; }
.prose--center p { color: var(--grey); }

/* ===== Galería de almacén (quiénes somos / descripción) ===== */
.almacen { max-width: 760px; margin: 0 auto; }
.almacen .prose--center { margin-bottom: 30px; }
.almacen__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.almacen__grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.almacen__grid--pdp { max-width: 640px; margin: 30px auto 0; }

/* ===== Footer: ven a vernos ===== */
.footer__visit {
  max-width: var(--maxw);
  margin: 0 auto 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  text-align: left;
}
.footer__visit-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.footer__visit-info h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.footer__visit-info > p {
  font-size: 15px;
  color: var(--grey);
  margin-bottom: 16px;
}
.footer__visit-info ul { list-style: none; }
.footer__visit-info li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--black);
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.footer__visit-info li:last-child { border-bottom: none; }
.footer__visit-info li strong { color: var(--grey); font-weight: 600; }
@media (max-width: 720px) {
  .footer__visit { grid-template-columns: 1fr; gap: 18px; }
}
