/* =========================================================
   Magnettique — hoja de estilos
   ========================================================= */
:root {
  --navy: #1C2F5A;
  --navy-deep: #121C36;
  --ink: #1A1F2B;
  --muted: #4E5563;
  --ivory: #F6F3EC;
  --sand: #EAE4D8;
  --sand-2: #E2DACA;
  --brass: #9C7A45;
  --brass-light: #C9B48A;
  --line: #D8D1C2;
  --white: #FFFFFF;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Helvetica, sans-serif;
  --pad: clamp(20px, 5.5vw, 80px);
  --maxw: 1440px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: #0F1B38; }
button, input, select { font: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- Tipografía ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--navy); margin: 0; line-height: 1.06; }
h1 { font-size: clamp(44px, 6vw, 84px); }
h2 { font-size: clamp(34px, 4vw, 56px); }
h3 { font-size: clamp(24px, 2.2vw, 30px); }
p { margin: 0; }
.eyebrow { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); font-weight: 500; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 560px; }
.muted { color: var(--muted); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; border: 1px solid var(--navy); background: var(--navy); color: var(--white); text-decoration: none; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:hover { background: #0F1B38; color: var(--white); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; }

/* ---------- Barra superior y navegación ---------- */
.topbar { background: var(--navy); color: var(--white); font-size: 13px; letter-spacing: 0.04em; }
.topbar .wrap { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 14px 40px; flex-wrap: wrap; text-align: center; padding-block: 8px; }
.topbar .dot { opacity: .6; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(246, 243, 236, 0.96); border-bottom: 1px solid var(--line); }
.nav .wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); }
.brand img { width: 32px; height: auto; }
.brand span { font-size: 21px; letter-spacing: 0.22em; font-weight: 500; }
.nav__links { display: flex; gap: 34px; }
.nav__links a { color: var(--ink); text-decoration: none; font-size: 15px; letter-spacing: 0.02em; padding: 10px 0; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__icons { display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--navy); cursor: pointer; position: relative; text-decoration: none; }
.icon-btn svg { width: 25px; height: 25px; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brass); color: var(--white); font-size: 11px; display: flex; align-items: center; justify-content: center; }
.cart-count[hidden] { display: none; }
.menu-toggle { display: none; }
.mobile-menu { display: none; }

/* ---------- Iconos ---------- */
.ico { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--navy); flex-shrink: 0; }
.ico--brass { color: var(--brass); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: min(820px, calc(100vh - 124px)); }
.hero__copy { padding: clamp(56px, 8vw, 110px) 40px clamp(48px, 6vw, 80px) var(--pad); display: flex; flex-direction: column; justify-content: center; gap: 26px; max-width: 760px; margin-left: auto; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; padding-top: 6px; }
.hero__trust { display: flex; gap: 12px 28px; flex-wrap: wrap; font-size: 14px; color: var(--muted); padding-top: 10px; }
.hero__trust span { display: inline-flex; gap: 8px; align-items: center; }
.hero__trust .ico { width: 20px; height: 20px; }
.hero__art { background: var(--sand); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero__circle { width: min(460px, 78%); aspect-ratio: 1; border-radius: 50%; background: #F6F6F6; position: relative; overflow: hidden; animation: float 6s ease-in-out infinite; }
.hero__circle img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; opacity: 0; transform: scale(.97); transition: opacity 1.2s ease, transform 1.2s ease; }
.hero__circle img.is-on { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .hero__circle { animation: none; } .hero__circle img { transition: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero__badge { position: absolute; left: 40px; bottom: 40px; background: var(--ivory); border: 1px solid var(--line); padding: 16px 20px; display: flex; gap: 12px; align-items: center; font-size: 14px; line-height: 1.4; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(64px, 8vw, 96px); }
.section--sand { background: var(--sand); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 56px); }
.section__head > div { display: flex; flex-direction: column; gap: 14px; }
.section__head p { max-width: 460px; color: var(--muted); font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; padding-block: 56px; border-bottom: 1px solid var(--line); }
.feature { display: flex; flex-direction: column; gap: 10px; }
.feature strong { font-size: 18px; font-weight: 500; color: var(--navy); }
.feature p { font-size: 15px; color: var(--muted); }
.feature .ico { width: 32px; height: 32px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.step { border-top: 1px solid var(--navy); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.step__n { font-family: var(--serif); font-size: 44px; color: var(--brass); line-height: 1; }
.step strong { font-size: 22px; font-weight: 500; color: var(--navy); }
.step p { color: var(--muted); }

.lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.line-card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.line-card__img { background: var(--sand); aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.line-card__img img { height: 82%; width: auto; transition: transform .5s; }
.line-card:hover .line-card__img img { transform: scale(1.04); }
.line-card__body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.line-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.line-card__top h3 { font-size: 38px; }
.collection-banner { margin: 0 0 40px; background: var(--sand); border: 1px solid var(--line); overflow: hidden; }
.collection-banner img { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 572; object-fit: cover; transition: transform .6s; }
.rack { position: relative; }
.rack__base, .rack__cut { transition: filter .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1); }
.rack__shirt { position: absolute; inset: 0; pointer-events: none; outline: none; color: inherit; text-decoration: none; }
.rack__cut { position: absolute; inset: 0; clip-path: var(--clip); transform-origin: var(--ox) var(--oy); pointer-events: auto; cursor: pointer; }
.rack:has(.rack__shirt:hover, .rack__shirt:focus-visible) .rack__base,
.rack:has(.rack__shirt:hover, .rack__shirt:focus-visible) .rack__shirt:not(:hover):not(:focus-visible) .rack__cut { filter: brightness(.82) saturate(.6); }
.rack__shirt:hover, .rack__shirt:focus-visible { z-index: 2; }
.rack__shirt:hover .rack__cut, .rack__shirt:focus-visible .rack__cut { transform: scale(1.04); }
/* Ficha que "abre" la camisa: foto de frente de la tienda */
.rack__peek { position: absolute; left: clamp(17%, var(--ox), 83%); top: 50%; width: 30%; display: flex; align-items: center; gap: 14px; flex-direction: column; opacity: 0; transform: translate(-50%, -50%) scale(.55); transform-origin: 50% 40%; transition: opacity .3s ease, transform .5s cubic-bezier(.2, .9, .25, 1.1); pointer-events: none; }
.rack__peek img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; filter: drop-shadow(0 26px 30px rgba(26, 31, 43, .35)); }
.rack__info { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 16px; background: var(--ivory); border: 1px solid var(--line); font-size: 14px; white-space: nowrap; box-shadow: 0 8px 20px rgba(26, 31, 43, .12); }
.rack__info b { display: block; font-weight: 500; font-size: 16px; margin-top: 2px; }
.rack__cta { color: var(--navy); font-weight: 500; white-space: nowrap; }
.rack__shirt:hover .rack__peek, .rack__shirt:focus-visible .rack__peek { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .rack__cut, .rack__peek { transition: opacity .2s; } .rack__shirt:hover .rack__cut { transform: none; } }
.price { font-size: 22px; font-weight: 500; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.checklist .ico { width: 18px; height: 18px; color: var(--brass); }

.doubts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.doubt { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; }
.doubt .ico { width: 34px; height: 34px; }
.doubt p { color: var(--muted); }
.play { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; }
.play span { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; }

.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); }
.split__art { background: var(--navy); display: flex; align-items: center; justify-content: center; min-height: 420px; }
.split__art img { width: min(280px, 60%); }
.split__copy { padding: clamp(56px, 7vw, 96px) var(--pad); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.split__copy p { color: var(--muted); max-width: 560px; font-size: 17px; }

.pros { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pros p { color: var(--muted); font-size: 17px; margin-bottom: 20px; }

.faq { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.faq__list { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-size: 19px; font-weight: 500; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--brass); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--muted); max-width: 760px; }

.newsletter { background: var(--sand); padding: clamp(32px, 4vw, 48px) clamp(24px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.newsletter h2 { font-size: clamp(28px, 3vw, 38px); }
.newsletter form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.field label { font-size: 14px; color: var(--muted); }
.field input, .field select { height: 50px; padding: 0 14px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 16px; width: 100%; }
.field input:focus, .field select:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 1px var(--navy); }
.field input[aria-invalid="true"] { border-color: #A33A2B; }
.field .err { font-size: 13px; color: #A33A2B; min-height: 0; }
.form-msg { font-size: 15px; color: var(--navy); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: #E8E4DA; padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__brand .name { font-size: 20px; letter-spacing: 0.22em; }
.footer__brand .tag { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--brass-light); }
.footer__brand p { font-size: 14px; color: #C7CBD6; }
.footer h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-light); font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: #E8E4DA; text-decoration: none; font-size: 15px; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__legal { margin-top: 48px; border-top: 1px solid #2E3A5C; padding-block: 20px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13px; color: #AEB4C2; }

/* ---------- Catálogo ---------- */
.page-head { padding-top: 48px; padding-bottom: 8px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.catalog { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-block: 40px 96px; }
.filters fieldset { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 18px 0; display: flex; flex-direction: column; gap: 4px; }
.filters legend { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); padding-bottom: 8px; }
.filters label { display: flex; gap: 10px; align-items: center; min-height: 36px; cursor: pointer; }
.filters input { width: 18px; height: 18px; accent-color: var(--navy); }
.aside-note { margin-top: 12px; background: var(--sand); padding: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.aside-note strong { color: var(--navy); font-weight: 500; font-size: 15px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; align-content: start; }
.card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 12px; }
.card__img { background: var(--sand); aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.card__img img { width: 72%; transition: transform .5s; }
.card:hover .card__img img { transform: scale(1.05); }
.card__tag { position: absolute; top: 14px; left: 14px; background: var(--ivory); padding: 5px 12px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__row strong { font-family: var(--serif); font-size: 25px; font-weight: 500; color: var(--navy); line-height: 1.15; }
.card__row span { font-size: 18px; font-weight: 500; white-space: nowrap; }
.card small { font-size: 14px; color: var(--muted); }
.card[hidden] { display: none; }
.empty { grid-column: 1 / -1; color: var(--muted); }

/* ---------- Producto ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-block: 40px 64px; }
.gallery { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 16px; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 14px; }
.gallery__thumbs button { aspect-ratio: 5 / 6; background: var(--sand); border: 1px solid var(--line); padding: 10px; cursor: pointer; }
.gallery__thumbs button[aria-pressed="true"] { border: 2px solid var(--navy); }
.gallery__main { background: var(--sand); aspect-ratio: 5 / 6; display: flex; align-items: center; justify-content: center; position: relative; }
.gallery__main img { width: 74%; }
.gallery__main .play-chip { position: absolute; left: 20px; bottom: 20px; background: var(--ivory); padding: 12px 18px; display: flex; gap: 10px; align-items: center; text-decoration: none; font-size: 14px; }
.buy { display: flex; flex-direction: column; gap: 22px; }
.buy h1 { font-size: clamp(38px, 4vw, 52px); }
.buy__price { font-size: 30px; font-weight: 500; }
.buy__sub { font-size: 15px; color: var(--muted); }
.swatches { display: flex; gap: 12px; }
.swatch { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ivory), 0 0 0 4px var(--navy); }
.sizes { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.size { height: 48px; border: 1px solid var(--navy); background: var(--white); color: var(--ink); cursor: pointer; }
.size[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.opt-head { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 10px; }
.perks { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.perks li { display: flex; gap: 12px; align-items: center; }
.perks .ico { width: 22px; height: 22px; }
.added { background: var(--sand); padding: 14px 18px; font-size: 15px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.added[hidden] { display: none; }
.details { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-bottom: 96px; }
.tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--line); }
.tabs button { height: 56px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font-size: 17px; cursor: pointer; padding: 0; }
.tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--navy); }
.tabpanel { padding-top: 24px; color: var(--muted); font-size: 17px; }
.tabpanel[hidden] { display: none; }
.size-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); font-size: 15px; }
.size-table th { background: var(--sand); text-align: left; font-weight: 500; padding: 12px 14px; }
.size-table td { padding: 12px 14px; border-top: 1px solid var(--line); }
.table-scroll { overflow-x: auto; }

/* ---------- Carrito y checkout ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: clamp(32px, 5vw, 72px); padding-block: 48px 96px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); align-items: center; }
.cart-item__img { background: var(--sand); aspect-ratio: 5 / 6; display: flex; align-items: center; justify-content: center; }
.cart-item__img img { width: 76%; }
.cart-item h3 { font-size: 25px; }
.cart-item .meta { font-size: 15px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 8px; }
.qty button { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; font-size: 18px; color: var(--navy); }
.qty span { min-width: 32px; text-align: center; }
.remove { background: none; border: 0; color: var(--navy); text-decoration: underline; cursor: pointer; font-size: 14px; margin-left: 12px; min-height: 44px; }
.summary { background: var(--white); border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 110px; }
.summary h2 { font-size: 30px; }
.row { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; }
.row--total { font-size: 21px; font-weight: 500; border-top: 1px solid var(--line); padding-top: 14px; }
.row--hl { color: var(--navy); }
.row--sm { color: var(--muted); font-size: 15px; }
.notice { display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--navy); padding: 18px 0; border-top: 1px solid var(--line); }
.gift { margin-top: 24px; background: var(--sand); padding: 20px 22px; display: flex; gap: 14px; align-items: center; }
.secure { display: flex; gap: 8px; justify-content: center; align-items: center; font-size: 13px; color: var(--muted); }
.secure .ico { width: 16px; height: 16px; color: var(--muted); }
.empty-cart { padding: 40px 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(32px, 5vw, 72px); padding-block: 48px 96px; align-items: start; }
.co-block { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; border: 0; padding: 0; }
.co-title { display: flex; gap: 14px; align-items: center; font-family: var(--serif); font-size: 30px; color: var(--navy); padding: 0; }
.co-title b { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--sans); font-size: 15px; font-weight: 400; display: inline-flex; align-items: center; justify-content: center; }
.co-row { display: flex; gap: 16px; }
.co-row .field--sm { flex: 0 0 200px; }
.pay-opt { display: flex; align-items: center; gap: 16px; min-height: 72px; padding: 0 20px; background: var(--white); border: 1px solid var(--line); cursor: pointer; }
.pay-opt:has(input:checked) { border: 2px solid var(--navy); }
.pay-opt input { width: 20px; height: 20px; accent-color: var(--navy); }
.pay-opt span { flex: 1; display: flex; flex-direction: column; }
.pay-opt small { color: var(--muted); font-size: 14px; }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); }
.mini { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 14px; align-items: center; font-size: 15px; }
.mini .cart-item__img { aspect-ratio: 5 / 6; }

.thanks { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; padding-block: 96px; }
.thanks__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.thanks__icon .ico { color: var(--white); width: 36px; height: 36px; }
.thanks__perks { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; background: var(--sand); padding: 26px 36px; text-align: left; }
.thanks__perks div { display: flex; gap: 12px; align-items: center; font-size: 15px; }

/* ---------- Revelado al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu { display: block; position: fixed; inset: 124px 0 0 0; background: var(--ivory); z-index: 49; padding: 24px var(--pad); transform: translateX(100%); transition: transform .3s; visibility: hidden; }
  .mobile-menu.is-open { transform: none; visibility: visible; }
  .mobile-menu a { display: block; font-family: var(--serif); font-size: 32px; color: var(--navy); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart, .checkout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__art { order: -1; min-height: 360px; }
  .hero__copy { padding: 36px var(--pad) 56px; margin: 0; }
  .hero__badge { left: 16px; bottom: 16px; }
  .steps, .lines, .doubts { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .split, .pros, .faq, .product, .details { grid-template-columns: minmax(0, 1fr); }
  .split__art { min-height: 300px; }
  .catalog { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .aside-note { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery__thumbs { flex-direction: row; order: 2; }
  .gallery__thumbs button { width: 80px; }
  .sizes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .co-row { flex-direction: column; }
  .co-row .field--sm { flex: 1; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .brand span { font-size: 16px; }
  .cart-item { grid-template-columns: 84px minmax(0, 1fr); }
  .cart-item > .price { grid-column: 2; }
  .newsletter form { width: 100%; }
}
.is-disabled { pointer-events: none; opacity: .5; }
@media (max-width: 860px) {
  .topbar .dot, .topbar span:nth-of-type(n+3) { display: none; }
  .nav .wrap { height: 72px; }
  .mobile-menu { inset: 112px 0 0 0; }
}

/* Fotos de producto: fondo igual al de la foto para que se funda con la tarjeta */
.line-card__img, .card__img, .gallery__main, .gallery__thumbs button, .cart-item__img { background: #F6F6F6; }
.line-card__img img, .card__img img, .gallery__main img, .gallery__thumbs button img, .cart-item__img img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumbs button { padding: 0; }

/* Detalles del cierre (Cómo funciona) */
.details-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 56px; }
.detail { margin: 0; background: var(--white, #fff); border: 1px solid var(--line); overflow: hidden; }
.detail img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; transition: transform .6s; }
.detail:hover img { transform: scale(1.03); }
.detail figcaption { padding: 18px 22px; display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 15px; }
.detail figcaption strong { color: var(--navy); font-size: 17px; font-weight: 500; }
@media (max-width: 900px) { .details-row { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 40px; } }

/* Foto en "Para quien cuida" */
.split__art--photo { padding: 0; }
.split__art--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* Reproductor de video */
.video-modal { border: 0; padding: 0; background: transparent; width: min(960px, calc(100vw - 32px)); max-width: none; }
.video-modal::backdrop { background: rgba(20, 24, 34, .82); }
.video-modal { overflow: hidden; }
.video-modal video { display: block; width: 100%; height: auto; max-height: calc(100vh - 120px); object-fit: contain; background: #000; }
.video-modal__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #fff; font-size: 14px; padding: 0 0 10px; }
.video-modal__close { background: none; border: 1px solid rgba(255, 255, 255, .5); color: #fff; width: 40px; height: 40px; font-size: 22px; line-height: 1; cursor: pointer; }
.video-modal__close:hover { background: rgba(255, 255, 255, .12); }
