/* Carey Diving theme · base stylesheet (theme v1.0.0)
   Copied from the storefront prototype v1.0 (04-website/design/prototype/styles.css, 2026-11-08),
   class names unchanged so the templates reuse the prototype markup. Values come from DESIGN.md v1.0.
   Changes from the prototype: self-hosted fonts (@font-face below, no Google Fonts request);
   reset selectors wrapped in :where(); the «Productos» menu has a Canto border instead of a shadow;
   the phone filter drawer dims the page with an outline scrim; theme additions at the end. */

/* ---------- Self-hosted fonts (SIL Open Font License) ---------- */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/outfit-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/outfit-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/outfit-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/atkinson-hyperlegible-next-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/atkinson-hyperlegible-next-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/atkinson-hyperlegible-next-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/atkinson-hyperlegible-mono-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/atkinson-hyperlegible-mono-500-normal.woff2") format("woff2"); }

:root {
  --bg: #E7E5DF;        /* Sal: canvas */
  --surface: #EFEDE8;   /* Panel: cards, filters */
  --ink: #393E41;       /* Roca: all text, footer */
  --muted: #585E62;     /* secondary text, 6.0:1 on Sal */
  --accent: #44BBA4;    /* Cala: primary button + selected option only */
  --highlight: #E7BB41; /* Carey: facts, never clickable */
  --line: #D3D0CB;      /* Canto: dividers, placeholders, sizing panel */
  --deep: #393E41;      /* placeholder tone: Roca (set 2026-11-08, check-design) */

  --f-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;
  --f-data: "Atkinson Hyperlegible Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1120px;
  --widew: 1440px;
  --sp-sm: 8px; --sp-md: 16px; --sp-lg: 32px;
  --section: 56px;
  --r-sm: 3px;
  --r-md: 4px;
  --header-h: 96px;
  color-scheme: light;
}

/* ---------- Base ---------- */
[hidden] { display: none !important; }
:where(*, *::before, *::after) { box-sizing: border-box; }
:where(html) { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
:where(body) { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
:where(img) { display: block; max-width: 100%; height: auto; }
:where(a) { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
:where(a:hover) { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
:where(h1, h2, h3, h4) { font-family: var(--f-display); font-weight: 600; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
:where(h1) { font-size: clamp(34px, 5vw, 52px); line-height: 1.15; }
:where(h2) { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; }
:where(h3) { font-size: 21px; line-height: 1.3; font-weight: 500; }
:where(p) { margin: 0; text-wrap: pretty; }
:where(li) { text-wrap: pretty; }
::selection { background: var(--highlight); color: var(--ink); }
:where(input, textarea) { caret-color: var(--ink); }
:where(ul, ol) { margin: 0; padding-left: 1.2em; }
:where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(table) { border-collapse: collapse; width: 100%; }
.data { font-family: var(--f-data); font-variant-numeric: tabular-nums; font-size: 15px; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.45; }
.label { font-family: var(--f-display); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: var(--r-sm); font-family: var(--f-display); }
.skip:focus { top: 8px; }
.wrap { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: calc(var(--widew) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.stack > * + * { margin-top: var(--sp-md); }
.stack-lg > * + * { margin-top: var(--sp-lg); }

/* An open decision (Joan decides): real-looking copy, marked with a dashed underline and a tooltip */
.tbd { text-decoration: underline dashed var(--muted); text-decoration-thickness: 1px; text-underline-offset: 4px; cursor: help; }

/* ---------- Announcement bar + header ---------- */
.announce { background: var(--highlight); color: var(--ink); font-family: var(--f-display); font-weight: 600; font-size: 15px; line-height: 1.4; text-align: center; padding: 9px var(--gutter); }
.site-header { position: relative; z-index: 20; display: flex; align-items: center; gap: 32px; height: var(--header-h); padding-inline: var(--gutter); background: var(--bg); max-width: var(--widew); margin-inline: auto; }
.site-header .logo { flex: none; display: block; }
.site-header .logo img { width: 320px; height: auto; }
.site-header .logo-small { display: none; align-items: center; gap: 10px; text-decoration: none; }
.site-header .logo-small img { width: 48px; height: auto; }
.site-header .logo-small span { font-family: var(--f-display); line-height: 1.15; }
.site-header .logo-small b { display: block; font-weight: 600; font-size: 17px; white-space: nowrap; }
.site-header .logo-small small { display: block; font-weight: 500; font-size: 13px; }
.nav, .tools { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav { margin-left: auto; }
.nav a, .nav button, .tools a, .tools button { font-family: var(--f-display); font-weight: 500; font-size: 16px; color: var(--ink); text-decoration: none; background: none; border: 0; padding: 8px 0; cursor: pointer; white-space: nowrap; }
.nav a:hover, .tools a:hover, .tools button:hover, .nav button:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.nav button svg { width: 12px; height: 12px; margin-left: 4px; vertical-align: 1px; transition: transform .2s; }
.nav button[aria-expanded="true"] svg { transform: rotate(180deg); }
.tools { gap: 22px; }
.menu-btn { display: none !important; }
.mega { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--header-h) - 8px); background: var(--surface); border-radius: var(--r-md); border: 1px solid var(--line); padding: 28px 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 32px; }
.mega[hidden] { display: none; }
.mega a { display: block; padding: 10px 0; text-decoration: none; }
.mega a b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 19px; }
.mega a span { display: block; font-size: 15px; color: var(--muted); }
.mega a:hover b { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.mega .phone-only { display: none; }
.mega-group { display: grid; align-content: start; }
.mega a.sub { padding: 4px 0 4px 14px; border-left: 1px solid var(--line); margin-left: 2px; }
.mega a.sub b { font-weight: 500; font-size: 16px; }
.searchbar { background: var(--surface); border-block: 1px solid var(--line); }
.searchbar[hidden] { display: none; }
.searchbar form { display: flex; gap: 12px; align-items: end; padding-block: 16px; }
.searchbar .field { flex: 1; }
/* Reduced header (checkout, order received) */
.site-header.reduced { justify-content: space-between; }
.site-header.reduced .back { font-family: var(--f-display); font-weight: 500; }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; background: var(--accent); color: var(--ink); font-family: var(--f-display); font-weight: 600; font-size: 17px; line-height: 1.2; text-decoration: none; border: 0; border-radius: var(--r-sm); cursor: pointer; transition: transform .15s ease, filter .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); filter: brightness(.95); }
.btn.block { display: flex; width: 100%; }
.btn-2 { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 16px; background: transparent; color: var(--ink); border: 1.5px solid var(--ink); border-radius: var(--r-sm); font-family: var(--f-display); font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; }
.btn-2:hover { background: var(--surface); }
.btn-2.on-dark { color: var(--bg); border-color: var(--bg); }
.btn-2.on-dark:hover { background: rgba(231,229,223,.08); }
.link { font-family: var(--f-display); font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.textbtn { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--f-display); font-weight: 500; font-size: 15px; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- Image placeholders (named slots) ---------- */
.ph { position: relative; margin: 0; background: var(--line); border-radius: var(--r-md); overflow: hidden; }
.ph--roca { background: var(--ink); }
.ph--panel { background: var(--surface); }
.ph--deep { background: var(--deep); }
.ph-file { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 13px; line-height: 1.3; font-weight: 700; padding: 3px 7px; border-radius: var(--r-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph--panel .ph-file { background: var(--ink); color: var(--bg); }
/* Real image in a slot: fills the slot's ratio; the slot keeps its size rules */
.ph.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ai-tag { position: absolute; left: 8px; bottom: 8px; background: rgba(231, 229, 223, .9); color: var(--ink); font-family: var(--f-display); font-weight: 600; font-size: 11px; line-height: 1.3; letter-spacing: .04em; padding: 2px 6px; border-radius: var(--r-sm); }
.thumbs .ai-tag, .mini .ai-tag, .cline .ai-tag, .author .ai-tag, .card .ph .ai-tag { display: none; }
.card .ph.has-img .ai-tag { display: block; top: 8px; bottom: auto; }
.r-11 { aspect-ratio: 1 / 1; } .r-45 { aspect-ratio: 4 / 5; } .r-169 { aspect-ratio: 16 / 9; } .r-32 { aspect-ratio: 3 / 2; } .r-43 { aspect-ratio: 4 / 3; }
figure.figure { margin: 0; }
figure.figure figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ---------- Price, VAT tag, product tags ---------- */
.price { font-family: var(--f-display); font-weight: 700; font-variant-numeric: tabular-nums; }
.vat { display: inline-block; background: var(--highlight); color: var(--ink); font-family: var(--f-display); font-weight: 600; font-size: 13px; line-height: 1.3; padding: 3px 8px; border-radius: var(--r-sm); vertical-align: 3px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.tag { background: var(--line); color: var(--ink); font-family: var(--f-display); font-weight: 500; font-size: 13px; line-height: 1.3; padding: 3px 10px; border-radius: 99px; }

/* ---------- Breadcrumb + page head ---------- */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 20px; }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { color: var(--ink); }
.pagehead { padding-block: 20px 32px; display: grid; gap: 12px; }
.pagehead .intro { font-size: 18px; max-width: 62ch; }
.updated { font-size: 14px; color: var(--muted); }

/* ---------- Product card + grid ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.pgrid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcard { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; height: 100%; }
.pcard .ph { border-radius: 0; aspect-ratio: 1 / 1; }
.pcard .body { display: grid; align-content: start; gap: 8px; padding: 18px; }
.pcard h3 { font-size: 19px; line-height: 1.25; font-weight: 600; }
.pcard h3 a { text-decoration: none; }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; }
.pcard:hover h3 a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pcard .line1 { font-size: 15px; line-height: 1.45; color: var(--muted); }
.pcard .price { font-size: 21px; }
.pcard .eta { font-size: 14px; }
.pcard .tags { margin-top: 2px; }
.empty { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; display: grid; gap: 12px; justify-items: start; }
.empty[hidden] { display: none; }

/* ---------- Category: filters, toolbar, pagination ---------- */
.shop { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; display: grid; gap: 22px; position: sticky; top: 16px; }
.filters h2 { font-size: 20px; }
.filters fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.filters legend { font-family: var(--f-display); font-weight: 600; font-size: 15px; margin-bottom: 6px; padding: 0; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.check.is-empty { color: var(--muted); cursor: default; }
.check .n { margin-left: auto; color: var(--muted); font-family: var(--f-data); font-size: 13px; }
.filters .head { display: flex; justify-content: space-between; align-items: baseline; }
.drawer-btn, .drawer-close { display: none !important; }
.toolbar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.toolbar .count { font-family: var(--f-display); font-weight: 500; }
.pager { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 32px; font-family: var(--f-display); }
.pager a, .pager span { min-width: 40px; min-height: 40px; display: inline-grid; place-items: center; padding: 0 10px; border-radius: var(--r-sm); text-decoration: none; }
.pager a { border: 1.5px solid var(--ink); }
.pager [aria-current="page"] { background: var(--ink); color: var(--bg); }
.pager .off { color: var(--muted); border: 0; }
.seo > * { max-width: 62ch; }
.seo h2 { margin-bottom: 12px; }
.seo p + p { margin-top: 12px; }

/* ---------- Accordion (FAQ) ---------- */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-family: var(--f-display); font-weight: 500; font-size: 19px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.acc details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.acc .ans { padding: 0 0 20px; max-width: 70ch; display: grid; gap: 12px; }
.faq-group + .faq-group { margin-top: 40px; }
.faq-group h2 { margin-bottom: 12px; }

/* ---------- Tables ---------- */
.table { font-size: 15px; }
.table caption { text-align: left; font-family: var(--f-display); font-weight: 600; margin-bottom: 8px; }
.table th, .table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-family: var(--f-display); font-weight: 600; border-bottom: 2px solid var(--ink); }
.table td.data, .table .data { font-size: 15px; }
.table-scroll { overflow-x: auto; }

/* ---------- Panels and callouts ---------- */
.fact { background: var(--highlight); border-radius: var(--r-md); padding: 16px 18px; }
.panel-canto { background: var(--line); border-radius: var(--r-md); padding: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; }
.hardline { border: 2px solid var(--ink); border-radius: var(--r-md); padding: 16px 18px; font-family: var(--f-display); font-weight: 600; font-size: 19px; line-height: 1.35; }
.statement { border-left: 4px solid var(--highlight); padding: 4px 0 4px 18px; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field label, .field .lab { font-family: var(--f-display); font-weight: 500; font-size: 13px; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; background: var(--bg); border: 1px solid var(--ink); border-radius: var(--r-sm); padding: 10px 12px; font-family: var(--f-data); font-size: 15px; }
.field textarea { min-height: 140px; font-family: var(--f-body); font-size: 16px; resize: vertical; }
.field .hint { font-size: 14px; color: var(--muted); }
.field .err { display: none; gap: 8px; align-items: start; font-size: 14px; font-weight: 700; }
.field .err svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-width: 2px; }
.field.invalid .err { display: flex; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.consent { display: flex; gap: 10px; align-items: start; font-size: 15px; line-height: 1.45; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.radio-card { display: flex; gap: 12px; align-items: start; padding: 14px 16px; border: 1px solid var(--ink); border-radius: var(--r-sm); background: var(--bg); cursor: pointer; }
.radio-card input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.radio-card + .radio-card { margin-top: 8px; }
.radio-card .grow { flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { font-family: var(--f-display); font-weight: 600; font-size: 15px; margin-bottom: 8px; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1.5px solid var(--ink); border-radius: 99px; font-family: var(--f-data); font-size: 15px; background: var(--bg); }
.chip.text span { font-family: var(--f-display); font-weight: 500; }
.chip input:checked + span { background: var(--accent); font-weight: 700; }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.chip input:disabled + span { color: var(--muted); border-style: dashed; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--ink); border-radius: var(--r-sm); background: var(--bg); }
.qty button { width: 40px; height: 44px; background: none; border: 0; font-family: var(--f-display); font-size: 20px; cursor: pointer; }
.qty input { width: 44px; height: 44px; border: 0; background: none; text-align: center; font-family: var(--f-data); font-size: 16px; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.formdone { display: none; }
.formdone.on { display: block; }

/* ---------- Home: hero v2 «Horizonte» (2026-11-10) ----------
   A full-width sea panorama carries the headline on its sky (Roca on the light sky, large text ≥ 3:1);
   three photos rise out of it and link to Aletas, Lastre and Trajes. The pinned stage of direction 2 is retired
   (carey_home_stage() returns false), so .stagewrap/.stage below never render. */
.stagewrap { height: 240vh; }
.stage { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.stage > .site-header { width: 100%; }
.hero-h { --hero-x: max(var(--gutter), calc((100% - var(--widew)) / 2 + var(--gutter))); padding-bottom: clamp(32px, 4vw, 56px); }
.hero-band { position: relative; height: clamp(400px, 50svh, 600px); overflow: hidden; background: var(--line); }
.hero-band-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.hero-title { position: absolute; top: clamp(28px, 3.4vw, 56px); left: var(--hero-x); margin: 0; font-size: clamp(38px, 6.8vw, 116px); line-height: .98; letter-spacing: -0.03em; color: var(--ink); }
.hero-title span { display: block; white-space: nowrap; }
.hero-below { display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); gap: clamp(32px, 4vw, 64px); max-width: var(--widew); margin-inline: auto; padding: 0 var(--gutter); }
.hero-copy { padding-top: 36px; }
.hero-copy .lede { font-size: 20px; line-height: 1.5; max-width: 28em; margin: 0; text-wrap: pretty; }
.hero-copy .btn { margin-top: 28px; }
.hero-eta { width: fit-content; max-width: 100%; margin: 24px 0 0; padding: 8px 12px; background: var(--highlight); color: var(--ink); font-size: 16px; line-height: 1.4; border-radius: var(--r-sm); }
.hero-copy .by { margin: 20px 0 0; font-size: 17px; }
.hero-strip { position: relative; list-style: none; margin: calc(clamp(120px, 12vw, 200px) * -1) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hero-strip a { display: block; color: var(--ink); text-decoration: none; }
.hero-tile { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); }
.hero-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.hero-tile-label { display: block; margin-top: 12px; font-family: var(--f-display); font-weight: 600; font-size: 19px; line-height: 1.3; }
.hero-tile-label::after { content: " →"; content: " →" / ""; display: inline-block; transition: transform .2s ease; }
.hero-strip a:hover img { transform: scale(1.04); }
.hero-strip a:hover .hero-tile-label, .hero-strip a:focus-visible .hero-tile-label { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hero-strip a:hover .hero-tile-label::after { transform: translateX(4px); }
.lineup { background: var(--surface); padding: 72px var(--gutter) 96px; }
.lineup h2 { font-size: clamp(24px, 2.4vw, 40px); margin: 0 0 20px; }
.lineup table { table-layout: fixed; }
.lineup col.c1 { width: 30%; } .lineup col.c2 { width: 28%; } .lineup col.c3 { width: 26%; } .lineup col.c4 { width: 16%; }
.lineup td { font-family: var(--f-display); font-weight: 500; font-size: clamp(24px, 2.4vw, 40px); line-height: 1.5; padding: 0; vertical-align: baseline; }
.lineup td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.lineup td a { text-decoration: none; }
.lineup tr:hover td a, .lineup td a:focus-visible { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.lineup .soft { color: var(--muted); }
.lineup .more { margin-top: 24px; font-size: 17px; }
.cards-stage { position: relative; padding: 120px var(--gutter); background: var(--ink); }
.cards-stage > .held { position: absolute; inset: 0; border-radius: 0; }
.cards-stage > .held .ph-file { left: var(--gutter); bottom: 24px; }
.cards-stage > .held.has-img::after { content: ""; position: absolute; inset: 0; background: rgba(57, 62, 65, .76); }
.cards-stage > .held .ai-tag { z-index: 1; left: var(--gutter); bottom: 24px; }
.track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: stretch; max-width: var(--widew); margin-inline: auto; }
.track-head { grid-column: 1 / -1; color: var(--bg); display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; margin-bottom: 24px; }
.track-head h2 { font-size: clamp(40px, 4.4vw, 68px); line-height: 1; color: var(--bg); }
.track-head a { color: var(--bg); }
.card { display: grid; grid-template-rows: auto 1fr; text-decoration: none; border-radius: var(--r-md); overflow: hidden; }
.card .ph { border-radius: 0; aspect-ratio: 4 / 5; }
.card .ph .ph-file { top: 8px; bottom: auto; }
.card .panel2 { display: grid; align-content: start; gap: 12px; padding: 20px 20px 24px; }
.card .sal { background: var(--bg); } .card .surface { background: var(--surface); } .card .canto { background: var(--line); } .card .carey { background: var(--highlight); }
.card h3 { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.1; font-weight: 600; }
.card .right { display: grid; gap: 6px; justify-items: start; font-size: 16px; line-height: 1.45; }
.card .price { font-size: 22px; }
.card:hover h3 { text-decoration: underline; text-decoration-color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.card.carey-panel .vat { background: var(--bg); }
.sechead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.promo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; background: var(--ink); color: var(--bg); border-radius: var(--r-md); overflow: hidden; }
.promo .ph { border-radius: 0; min-height: 100%; }
.promo .txt { padding: clamp(28px, 4vw, 56px); display: grid; gap: 18px; align-content: center; justify-items: start; }
.promo h2 { color: var(--bg); }
.promo ul { display: grid; gap: 6px; }
.promo .label { color: var(--highlight); }
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--line); list-style: none; padding: 0; margin: 0; }
.trust li { padding: 22px 20px 22px 0; }
.trust li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.trust a { display: grid; gap: 4px; text-decoration: none; }
.trust b { font-family: var(--f-display); font-weight: 600; font-size: 18px; }
.trust a:hover b { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.catalogue-head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: end; justify-content: space-between; margin-bottom: 20px; }
.filterbar { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }

/* ---------- Newsletter / checklist sign-up ---------- */
.signup { background: var(--surface); border-block: 1px solid var(--line); }
.signup .inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; padding-block: 48px; }
.signup form { display: grid; gap: 14px; }
.signup .row { display: flex; gap: 12px; align-items: end; }
.signup .row .field { flex: 1; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.gallery { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; position: sticky; top: 16px; }
.gallery .thumbs { display: grid; gap: 10px; align-content: start; list-style: none; padding: 0; margin: 0; }
.gallery .thumbs button { display: block; width: 100%; padding: 0; border: 1.5px solid transparent; border-radius: var(--r-sm); background: none; cursor: pointer; }
.gallery .thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.gallery .thumbs .ph { display: block; aspect-ratio: 1 / 1; border-radius: var(--r-sm); }
.gallery .main { margin: 0; }
.gallery .thumbs .ph-file { font-size: 10px; left: 3px; bottom: 3px; padding: 1px 4px; max-width: calc(100% - 6px); }
.gallery .main .ph { aspect-ratio: 4 / 5; }
.gallery .main figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.buybox { display: grid; gap: 20px; }
.buybox .use { font-size: 18px; }
.buybox .pricerow { display: flex; align-items: center; gap: 12px; }
.buybox .pricerow .price { font-size: 28px; }
.sizing { display: grid; gap: 14px; }
.sizing p { font-size: 15px; }
.sizing .hint { min-height: 1.45em; }
.sizetable summary { cursor: pointer; font-family: var(--f-display); font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; width: max-content; }
.sizetable[open] summary { margin-bottom: 8px; }
.sizetable .table { background: var(--bg); }
.sizetable .table th, .sizetable .table td { padding: 8px 10px; }
.chips .err { flex-basis: 100%; }
.buyrow { display: flex; gap: 12px; align-items: stretch; }
.buyrow .btn { flex: 1; }
.delivery { border-top: 1px solid var(--line); }
.delivery div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.delivery dt { font-family: var(--f-display); font-weight: 600; }
.delivery dd { margin: 0; font-family: var(--f-data); }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.specs div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--f-display); font-weight: 600; font-size: 15px; }
.specs dd { margin: 0; font-family: var(--f-data); font-size: 15px; }
.before { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.before h3 { margin-bottom: 8px; font-weight: 600; }
.reviews-empty { display: grid; gap: 10px; }
.stars { font-family: var(--f-data); }

/* ---------- Cart + checkout ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.lines { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.cline { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cline .ph { aspect-ratio: 1 / 1; }
.cline .ph-file { font-size: 11px; }
.cline h2 { font-size: 19px; font-weight: 600; }
.cline h2 a { text-decoration: none; }
.cline h2 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.cline .meta { display: grid; gap: 4px; font-size: 15px; }
.cline .actions { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.cline .lineprice { text-align: right; font-size: 19px; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; display: grid; gap: 14px; position: sticky; top: 16px; }
.summary h2 { font-size: 22px; }
.summary dl { margin: 0; display: grid; gap: 8px; }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; }
.summary dt { margin: 0; }
.summary dd { margin: 0; font-family: var(--f-data); }
.summary .total { border-top: 2px solid var(--ink); padding-top: 10px; font-family: var(--f-display); font-weight: 700; font-size: 20px; }
.summary .total dd { font-family: var(--f-display); }
.co { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.co-step { padding-block: 24px; border-bottom: 1px solid var(--line); display: grid; gap: 16px; }
.co-step h2 { font-size: 24px; display: flex; gap: 12px; align-items: baseline; }
.co-step h2 .n { font-family: var(--f-data); font-size: 15px; font-weight: 400; color: var(--muted); }
.mini { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.mini li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: start; font-size: 15px; }
.mini .ph { aspect-ratio: 1 / 1; border-radius: var(--r-sm); }
.mini .ph-file { font-size: 9px; left: 2px; bottom: 2px; padding: 1px 3px; }
.co-summary summary { display: none; }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; counter-reset: s; }
.steps3 li { counter-increment: s; display: grid; gap: 6px; }
.steps3 li::before { content: counter(s); font-family: var(--f-data); width: 32px; height: 32px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 99px; }

/* ---------- Guides ---------- */
article.featured { display: grid; /* scoped 2026-11-09: WooCommerce also puts .featured on «Destacado» products */ grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; position: relative; }
article.featured .ph { border-radius: 0; height: 100%; min-height: 320px; }
article.featured .txt { padding: 32px 32px 32px 0; display: grid; gap: 14px; justify-items: start; }
article.featured h2 a { text-decoration: none; }
article.featured h2 a::after { content: ""; position: absolute; inset: 0; }
article.featured:hover h2 a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.ggrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.gcard { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; height: 100%; }
.gcard .ph { border-radius: 0; aspect-ratio: 16 / 9; }
.gcard .body { padding: 18px; display: grid; gap: 8px; align-content: start; }
.gcard h3 { font-size: 20px; font-weight: 600; line-height: 1.25; }
.gcard h3 a { text-decoration: none; }
.gcard h3 a::after { content: ""; position: absolute; inset: 0; }
.gcard:hover h3 a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.gmeta { font-family: var(--f-body); font-size: 14px; color: var(--muted); }
.gmeta .data { font-size: 14px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; border: 0; padding: 0; }
.glist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.glist li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.glist a { font-family: var(--f-display); font-weight: 600; font-size: 19px; }

/* Article */
.article-head { display: grid; gap: 16px; padding-block: 16px 28px; max-width: 820px; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: var(--muted); }
.byline b { color: var(--ink); font-family: var(--f-display); font-weight: 600; }
.article { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 16px; font-size: 15px; }
.toc ol { list-style: none; padding: 0; display: grid; gap: 8px; margin-top: 10px; border-left: 2px solid var(--line); }
.toc li { padding-left: 14px; }
.toc a { text-decoration: none; }
.toc a:hover, .toc a.on { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.prose { max-width: 62ch; font-size: 18px; line-height: 1.65; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 48px; font-size: clamp(26px, 3vw, 32px); }
.prose h3 { margin-top: 28px; font-weight: 600; }
.prose :where(ul:not([class]), ol:not([class])) { display: grid; gap: 6px; }
.prose .figure { margin-block: 32px; }
.prose .table { font-size: 16px; }
.summarybox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; }
.summarybox ul { display: grid; gap: 6px; margin-top: 8px; }
.prodblock { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.prodblock .pcard .body { padding: 14px; }
.author { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; }
.author .ph { width: 72px; height: 72px; border-radius: 99px; }
.author .ph-file { font-size: 9px; left: 4px; bottom: 20px; padding: 1px 3px; }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal .prose h2 { font-size: clamp(24px, 2.8vw, 30px); padding-top: 8px; }
.legal .prose section + section { margin-top: 56px; padding-top: 32px; border-top: 2px solid var(--ink); }
.legal .prose ol.num { list-style: decimal; }

/* ---------- About, contact, 404 ---------- */
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 48px; align-items: center; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.values li { border-top: 2px solid var(--ink); padding-top: 14px; display: grid; gap: 8px; }
.values b { font-family: var(--f-display); font-weight: 600; font-size: 20px; line-height: 1.3; }
.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contact form { display: grid; gap: 18px; }
.quick { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.big404 { font-family: var(--f-data); font-size: 15px; color: var(--muted); }
.catlinks { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--bg); margin-top: var(--section); }
.site-footer a { color: var(--bg); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.site-footer :focus-visible { outline-color: var(--bg); }
.fcols { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 56px 40px; }
.fcols h2 { font-size: 15px; font-family: var(--f-display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--highlight); margin-bottom: 14px; }
.fcols ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.fcols .brand { display: grid; gap: 14px; align-content: start; font-size: 15px; }
.plate { background: var(--bg); border-radius: var(--r-md); padding: 14px 16px; width: max-content; max-width: 100%; }
.plate img { width: 240px; height: auto; }
.fbottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 20px 28px; border-top: 1px solid rgba(231, 229, 223, .25); font-size: 14px; }
.fbottom .pay { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fbottom .paymark { border: 1px solid rgba(231, 229, 223, .5); border-radius: var(--r-sm); padding: 2px 8px; font-family: var(--f-data); font-size: 13px; }
.site-footer.reduced .fbottom { border-top: 0; }
.footnav-min { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 24px 0 0; margin: 0; font-size: 15px; }
.proto-note { font-size: 13px; opacity: .8; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-header { gap: 20px; } .nav { gap: 20px; } .tools { gap: 16px; }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fcols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fcols .brand { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
  .stagewrap { height: auto; }
  .stage { position: static; height: auto; }
  .hero-below { grid-template-columns: 1fr; }
  .hero-strip { margin-top: 32px; }
  .cards-stage { padding: 0 0 64px; background: var(--bg); display: flex; flex-direction: column; }
  .cards-stage > .held { position: static; aspect-ratio: 16 / 9; max-height: 36svh; margin: 0 var(--gutter); border-radius: var(--r-md); }
  .cards-stage > .held .ph-file { left: 8px; bottom: 8px; }
  .cards-stage > .held.has-img::after { content: none; }
  .cards-stage > .held .ai-tag { left: 8px; bottom: 8px; }
  .track { grid-template-columns: 1fr 1fr; padding: 0 var(--gutter); margin-top: 24px; width: 100%; }
  .track-head { color: var(--ink); display: grid; gap: 12px; padding-block: 40px 8px; margin: 0; }
  .track-head h2, .track-head a { color: var(--ink); }
  .track-head h2 { font-size: 9vw; }
  .card .ph { aspect-ratio: 1 / 1; }
  .pdp, .cart, .co, .contact, .about-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .gallery { position: static; }
  .summary { position: static; }
  .shop { grid-template-columns: minmax(0, 1fr); }
  .drawer-btn { display: inline-flex !important; }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(360px, 88vw); z-index: 60; overflow-y: auto; border-radius: 0; transform: translateX(-102%); transition: transform .2s ease; align-content: start; }
  .filters.open { transform: none; outline: 100vmax solid rgba(57, 62, 65, .45); } /* scrim, not a shadow */
  .drawer-close { display: inline-flex !important; }
  .article, .legal { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .toc { position: static; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; }
  article.featured { grid-template-columns: 1fr; gap: 0; }
  article.featured .txt { padding: 24px; }
  article.featured .ph { min-height: 0; aspect-ratio: 16 / 9; }
  .co-summary { order: -1; }
  .co-summary summary { display: flex; justify-content: space-between; cursor: pointer; font-family: var(--f-display); font-weight: 600; list-style: none; padding: 4px 0; }
  .co-summary summary::-webkit-details-marker { display: none; }
}
@media (max-width: 860px) {
  .site-header .logo { display: none; }
  .site-header .logo-small { display: inline-flex; }
  .pgrid, .pgrid.cols-3, .ggrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust li:nth-child(3) { padding-left: 0; border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .promo, .signup .inner { grid-template-columns: 1fr; }
  .promo .ph { aspect-ratio: 16 / 9; }
  .before, .values, .steps3 { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --header-h: 72px; --section: 40px; }
  body { font-size: 16px; }
  .site-header { gap: 12px; }
  .site-header .nav { display: none; }
  .tools .hide-phone { display: none; }
  .tools { margin-left: auto; gap: 14px; }
  .menu-btn { display: inline-block !important; }
  .mega { grid-template-columns: 1fr; padding: 12px 20px; gap: 0; }
  .mega .phone-only { display: block; }
  .announce { font-size: 14px; }
  .lineup { padding-top: 48px; padding-bottom: 56px; }
  .lineup h2 { font-size: 24px; }
  .lineup table, .lineup tbody, .lineup tr, .lineup td { display: block; }
  .lineup colgroup { display: none; }
  .lineup tr { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding-block: 9px; border-bottom: 1px solid var(--line); }
  .lineup td { line-height: 1.35; }
  .lineup td.n { grid-column: 1 / -1; font-size: 22px; }
  .lineup td.m { display: none; }
  .lineup td.s, .lineup td:last-child { font-family: var(--f-body); font-weight: 400; font-size: 15px; color: var(--muted); }
  .track-head h2 { font-size: 11vw; }
  .track { grid-template-columns: 1fr; }
  .card .ph { aspect-ratio: 4 / 3; }
  .pgrid, .pgrid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pcard .body { padding: 12px; gap: 6px; }
  .pcard h3 { font-size: 16px; }
  .pcard .price { font-size: 18px; }
  .pcard .line1 { display: none; }
  .ggrid { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); order: 2; }
  .cline { grid-template-columns: 84px minmax(0, 1fr); }
  .cline .lineprice { grid-column: 2; text-align: left; }
  .signup .row { flex-direction: column; align-items: stretch; }
  .fcols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .delivery div { grid-template-columns: 96px 1fr; }
  .specs div { grid-template-columns: 120px 1fr; }
  .prodblock { grid-template-columns: 1fr 1fr; }
  .prose { font-size: 17px; }
  .trust b { font-size: 16px; }
  .trust li { padding: 16px 12px 16px 0; }
  .trust li + li { padding-left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .stagewrap { height: auto; }
  .stage { position: static; height: auto; }
}

/* ==========================================================================
   Theme additions: WordPress markup on the prototype look.
   Same tokens and rules as above (DESIGN.md v1.0). No shadows, no gradients.
   ========================================================================== */

/* ---------- Hidden text used by WordPress and WooCommerce ---------- */
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; word-wrap: normal !important; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; margin: 0; left: 8px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: var(--r-sm); white-space: normal; }

/* ---------- Header: navigation landmark and tap targets ---------- */
.primary-nav { margin-left: auto; }
.primary-nav .nav { margin-left: 0; }
.nav a, .nav button, .tools a, .tools button { min-height: 44px; display: inline-flex; align-items: center; }
.mega a { min-height: 44px; }
@media (max-width: 720px) {
  .site-header .primary-nav { display: none; }
}

/* ---------- Image slots: the photo, then the AI line below it (never over it) ---------- */
.ph-wrap { display: block; min-width: 0; }
.ai-note { display: block; margin: 0; padding: 4px 0 0; font-family: var(--f-display); font-weight: 600; font-size: 11px; line-height: 1.3; letter-spacing: .04em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard .ai-note, .gcard .ai-note { padding: 6px 18px 0; }
.card .ph-wrap .ai-note { background: var(--bg); color: var(--ink); padding: 4px 20px; }
article.featured .ph-wrap { display: flex; flex-direction: column; height: 100%; }
article.featured .ph-wrap .ph { flex: 1; }
article.featured .ai-note { padding: 6px 12px 8px; }
.promo .ph-wrap { display: flex; flex-direction: column; }
.promo .ph-wrap .ph { flex: 1; min-height: 280px; }
.promo .ai-note { color: var(--bg); padding: 6px 12px 8px; }
.figure .ai-note, .wp-block-image .ai-note, .about-hero .ai-note { padding-top: 6px; }
.ph.has-img { background: var(--surface); }

/* Destacados: the background photo stops above a Roca strip that carries its AI note */
.cards-stage > .held.has-note { bottom: 40px; }
.cards-stage > .held-note { position: absolute; left: var(--gutter); bottom: 12px; color: var(--bg); padding: 0; }

/* ---------- Home: category links in the catalogue, guides topic links ---------- */
.filterbar { list-style: none; }
.chiplink { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--ink); border-radius: 99px; background: var(--bg); color: var(--ink); font-family: var(--f-display); font-weight: 500; font-size: 15px; text-decoration: none; }
.chiplink:hover { background: var(--surface); }
.chiplink[aria-current] { background: var(--accent); font-weight: 700; }
.topics ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chip span { min-height: 44px; }
.home-catalogue .woocommerce { display: block; }
.home-catalogue .filterbar { margin-bottom: 24px; }

/* ---------- Shop sidebar: category links with counts ---------- */
.filters .legend { font-family: var(--f-display); font-weight: 600; font-size: 15px; margin: 0 0 6px; }
.catfilter ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.catfilter ul ul { padding-left: 12px; margin: 2px 0 4px 6px; border-left: 1px solid var(--line); }
.catfilter a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 8px; border-radius: var(--r-sm); font-size: 15px; text-decoration: none; }
.catfilter a:hover .t { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.catfilter a[aria-current] { background: var(--accent); font-weight: 700; }
.catfilter .n { margin-left: auto; color: var(--muted); font-family: var(--f-data); font-size: 13px; }
.catfilter a[aria-current] .n { color: var(--ink); }
.filter-widget { display: grid; gap: 8px; font-size: 15px; }

/* ---------- Pagination (WordPress page-numbers inside .pager) ---------- */
.pager a, .pager span { min-width: 44px; min-height: 44px; }
.pager .page-numbers { display: inline-grid; place-items: center; padding: 0 10px; border-radius: var(--r-sm); text-decoration: none; }
.pager a.page-numbers { border: 1.5px solid var(--ink); }
.pager .page-numbers.current { background: var(--ink); color: var(--bg); }
.pager .page-numbers.dots { border: 0; color: var(--muted); }

/* ---------- Layout helpers for templates ---------- */
.page-col { max-width: 860px; }
.article.no-toc, .legal.no-toc { grid-template-columns: minmax(0, 1fr); }
.about-hero.no-img { grid-template-columns: minmax(0, 1fr); }
.author.no-img { grid-template-columns: minmax(0, 1fr); }
.author .ph.has-img { width: 72px; height: 72px; border-radius: 99px; }
.searchform { display: flex; gap: 12px; align-items: end; max-width: 640px; }
.searchform .field { flex: 1; }
.searchbar .searchform { max-width: calc(var(--widew) + 2 * var(--gutter)); }
.signup .soon { display: grid; gap: 10px; }
.fcols ul { gap: 0; }
.fcols ul a, .footnav-min a { display: inline-flex; align-items: center; min-height: 44px; }
.toc a, .quick a, .glist a { display: inline-block; padding-block: 4px; }
.legal .prose h2 { scroll-margin-top: 24px; }
.legal .prose h2:not(:first-child) { margin-top: 56px; padding-top: 32px; border-top: 2px solid var(--ink); }
.prose h2 { scroll-margin-top: 24px; }

/* ---------- Editor content: details (Gutenberg Details block), tables, images, quotes ---------- */
.entry-content { font-size: 17px; line-height: 1.6; }
.entry-content > * + * { margin-top: 18px; }
.entry-content h2 { margin-top: 40px; }
.entry-content h3 { margin-top: 28px; font-weight: 600; }
.entry-content :where(ul:not([class]), ol:not([class])) { display: grid; gap: 6px; }
:where(.entry-content, .prose, .seo) details { border-bottom: 1px solid var(--line); }
:where(.entry-content, .prose, .seo) details:first-child,
:where(.entry-content, .prose, .seo) :not(details) + details { border-top: 1px solid var(--line); }
:where(.entry-content, .prose, .seo) * + details { margin-top: 18px; }
:where(.entry-content, .prose, .seo) details + details { margin-top: 0; }
.entry-content > details + details, .prose > details + details, .seo > details + details { margin-top: 0; }
:where(.entry-content, .prose, .seo) details > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding: 16px 0; font-family: var(--f-display); font-weight: 500; font-size: 19px; line-height: 1.35; }
:where(.entry-content, .prose, .seo) details > summary::-webkit-details-marker { display: none; }
:where(.entry-content, .prose, .seo) details > summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
:where(.entry-content, .prose, .seo) details[open] > summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
:where(.entry-content, .prose, .seo) details > :not(summary) { max-width: 70ch; margin-top: 0; }
:where(.entry-content, .prose, .seo) details > :not(summary) + :not(summary) { margin-top: 12px; }
:where(.entry-content, .prose, .seo) details[open] { padding-bottom: 20px; }
.entry-content table, .prose table, .seo table { font-size: 15px; border-collapse: collapse; width: 100%; }
.entry-content table th, .entry-content table td, .prose table th, .prose table td, .seo table th, .seo table td { text-align: left; padding: 10px 12px 10px 0; border: 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.entry-content table thead th, .prose table thead th, .seo table thead th { font-family: var(--f-display); font-weight: 600; border-bottom: 2px solid var(--ink); }
.entry-content .wp-block-table thead, .prose .wp-block-table thead { border-bottom: 0; }
.entry-content table caption, .prose table caption { text-align: left; font-family: var(--f-display); font-weight: 600; margin-bottom: 8px; }
.wp-block-table { overflow-x: auto; margin: 0; }
.wp-element-caption, .wp-block-image figcaption, .wp-block-table figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); text-align: left; }
.entry-content figure, .prose figure { margin-inline: 0; }
.entry-content img, .prose img { border-radius: var(--r-md); }
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.wp-block-embed iframe, .entry-content iframe { max-width: 100%; }
.entry-content blockquote, .prose blockquote { margin: 24px 0; border-left: 4px solid var(--highlight); padding: 4px 0 4px 18px; }
.entry-content hr, .prose hr, .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin-block: 32px; }
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; background: var(--accent); color: var(--ink); font-family: var(--f-display); font-weight: 600; font-size: 17px; line-height: 1.2; text-decoration: none; border: 0; border-radius: var(--r-sm); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; border: 1.5px solid var(--ink); min-height: 44px; padding: 9px 16px; font-size: 16px; }

/* ---------- Comments ---------- */
.comments h2 { margin-bottom: 16px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--line); }
.comment-list .comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-meta { font-size: 14px; color: var(--muted); }
.comment-form { display: grid; gap: 14px; max-width: 640px; }
.comment-form p { display: grid; gap: 6px; }
.comment-form label { font-family: var(--f-display); font-weight: 500; font-size: 13px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; min-height: 46px; background: var(--bg); border: 1px solid var(--ink); border-radius: var(--r-sm); padding: 10px 12px; font-family: var(--f-data); font-size: 15px; }
.comment-form textarea { font-family: var(--f-body); font-size: 16px; min-height: 140px; }
.comment-form .comment-form-cookies-consent { display: flex; gap: 10px; align-items: start; font-size: 15px; }

@media (max-width: 1000px) {
  .cards-stage > .held-note { position: static; order: 1; margin: 6px var(--gutter) 0; color: var(--muted); }
  .cards-stage > .held { order: 0; }
  .cards-stage > .track { order: 2; }
  .pdp-gallery { position: static; }
}
@media (max-width: 720px) {
  .searchform { flex-direction: column; align-items: stretch; }
  .alignleft, .alignright { float: none; margin: 0 0 16px; }
}

/* ---------------- Guide download form (inc/guide-download.php, 2026-11-09) ---------------- */
.guide-form { display: grid; gap: 14px; }
.guide-form .row { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.guide-form .field { display: grid; gap: 6px; min-width: min(100%, 240px); }
.guide-form label { font-family: var(--f-display); font-weight: 500; font-size: 13px; }
.guide-form input[type="email"] { min-height: 44px; padding: 10px 12px; background: var(--bg); border: 1px solid var(--ink); border-radius: 3px; font: inherit; color: var(--ink); }
.guide-form .check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-family: inherit; font-weight: 400; font-size: 15px; line-height: 1.5; }
.guide-form .check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.guide-form .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.guide-form .form-error { margin: 0; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 3px; background: var(--bg); }
.guide-ok { display: grid; gap: 12px; }
.guide-download { margin-block: 32px; padding: clamp(20px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.promo .promo-cover { background: var(--bg); }
.promo .promo-cover img { object-fit: contain; padding: clamp(16px, 3vw, 32px); background: var(--bg); }

/* ---------- Cookie consent (legal review 2026-11-09): Rechazar and Aceptar weigh the same ---------- */
.consent-bar { position: fixed; inset: auto 0 0 0; z-index: 60; background: var(--surface); border-top: 1px solid var(--ink); color: var(--ink); }
.consent-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 16px; }
.consent-txt { flex: 1 1 420px; font-size: 15px; }
.consent-txt p { margin: 0 0 6px; }
.consent-txt a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.consent-opts { display: grid; gap: 6px; margin-top: 8px; }
.consent-opts label { display: flex; gap: 8px; align-items: center; min-height: 32px; }
.consent-btns { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.linkbtn { background: none; border: 0; padding: 8px 4px; min-height: 44px; font: inherit; color: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 720px) { .consent-btns .btn-2 { flex: 1 1 0; } }

/* ---------- Home hero v2 «Horizonte»: phone ---------- */
@media (max-width: 720px) {
  .hero-band { height: auto; aspect-ratio: 4 / 5; }
  .hero-title { top: 24px; font-size: 8.6vw; }
  .hero-copy { padding-top: 24px; }
  .hero-copy .lede { font-size: 17px; }
  .hero-copy .btn { width: 100%; margin-top: 22px; }
  .hero-eta { font-size: 15px; margin-top: 18px; }
  .hero-strip { gap: 8px; margin-top: 28px; }
  .hero-tile-label { margin-top: 8px; font-size: 15px; }
  .hero-tile-label::after { content: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-tile img, .hero-tile-label::after { transition: none; }
  .hero-strip a:hover img, .hero-strip a:hover .hero-tile-label::after { transform: none; }
}

/* ---------- Header on narrow phones (2026-11-10) ----------
   Below ~420 px the small logo («Carey Diving» + descriptor, both mandatory) got less room than it needs and its
   text ran under «Buscar». Tighter gaps and a smaller turtle and type keep name, descriptor, Buscar, Cesta and Menú
   on one row down to 320 px. */
@media (max-width: 420px) {
  .site-header { gap: 10px; }
  .site-header .logo-small { flex: none; gap: 8px; }
  .site-header .logo-small span { width: min-content; } /* as wide as «Carey Diving»; the descriptor wraps under it */
  .site-header .logo-small img { width: 36px; }
  .tools { gap: 10px; }
}
@media (max-width: 350px) {
  .site-header { gap: 8px; padding-inline: 12px; }
  .site-header .logo-small { gap: 6px; }
  .site-header .logo-small img { width: 30px; }
  .site-header .logo-small b { font-size: 14px; }
  .site-header .logo-small small { font-size: 12px; }
  .tools { gap: 8px; }
  .tools a, .tools button { font-size: 15px; }
}
