/* Neaters — hoja de estilos */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0b0b0b;
  --paper: #ffffff;
  --fog: #f6f6f4;
  --tile: #eeeeec;
  --line: #dededb;
  --mute: #6c6c68;
  --error: #b3261e;
  --ok: #1c6b3c;
  --pad: 32px;
  --gap: 6px;
  --hh: 60px;
  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 16px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.site-footer :focus-visible, .hero :focus-visible, .panel:focus-visible { outline-color: #fff; }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip-link:focus { top: 8px; }

/* ---------- Tipografía de apoyo ---------- */
.label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  line-height: 1.5;
}

.display {
  font-stretch: 68%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: .92;
  font-size: clamp(46px, 7.2vw, 108px);
  text-wrap: balance;
}
.display--md { font-size: clamp(34px, 4vw, 56px); line-height: .96; }

.text-link, .link-btn {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.link-btn { background: none; border: 0; padding: 0; }
.text-link:hover, .link-btn:hover { text-decoration: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  text-decoration: none;
  text-align: center;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: #fff; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; }
.btn--block { display: flex; width: 100%; }

/* ---------- Franja superior y cabecera ---------- */
.announce {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 40px;
  padding: 8px var(--pad);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: .08em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--hh);
  padding: 0 var(--pad);
  background: var(--paper);
  color: var(--ink);
  transition: background-color .25s ease, color .25s ease;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 28px; height: 28px; transition: filter .25s ease; }
.brand span { font-stretch: 70%; font-weight: 800; font-size: 22px; letter-spacing: .08em; text-transform: uppercase; line-height: 1; }

.main-nav { display: flex; gap: 24px; flex: 1; min-width: 0; }
.main-nav a, .tool-link {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover, .tool-link:hover, .main-nav a[aria-current], .tool-link[aria-current] { border-bottom-color: currentColor; }

.header-tools { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0 -9px; text-decoration: none; }
.menu-btn { display: none; }
.cart-count {
  position: absolute; top: 3px; right: 0;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--ink); color: #fff;
  font-size: 10px; font-weight: 600; line-height: 17px; text-align: center; letter-spacing: 0;
}

/* Portada: cabecera transparente sobre la imagen mientras no hay desplazamiento */
.home .site-header.is-top { background: transparent; color: #fff; }
.home .site-header.is-top .brand img { filter: invert(1); }
.home .site-header.is-top .cart-count { background: #fff; color: var(--ink); }

/* ---------- Menú móvil ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column;
  padding: 0 var(--pad) 32px;
  background: var(--paper);
  overflow-y: auto;
  visibility: hidden;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), visibility 0s .3s;
}
.drawer:target, .drawer.is-open { visibility: visible; transform: none; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: var(--hh); flex-shrink: 0; }
.drawer__nav { display: flex; flex-direction: column; padding: 12px 0 24px; border-bottom: 1px solid var(--line); }
.drawer__nav a { font-stretch: 70%; font-weight: 800; font-size: 34px; line-height: 1.25; text-transform: uppercase; text-decoration: none; }
.drawer__sub { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; }
.drawer__sub a { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; text-decoration: none; }

/* ---------- Portada ---------- */
.hero { position: relative; display: flex; align-items: flex-end; min-height: calc(100svh - 40px); margin-top: calc(-1 * var(--hh)); color: #fff; background: #1b1b1b; overflow: hidden; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero img { object-fit: cover; object-position: 70% 30%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 55%), linear-gradient(to bottom, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 22%); }
.hero__text { position: relative; z-index: 1; padding: 0 var(--pad) 56px; max-width: 880px; }
.hero__text .label { margin-bottom: 18px; }
.hero__lead { margin: 22px 0 28px; font-size: 16px; max-width: 420px; }

.section { padding: 72px var(--pad) 0; }
.section--flush { padding-top: 0; }
.section__title { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 22px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.tile, .scroller__item { display: block; text-decoration: none; }
.tile img, .scroller__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--tile); }
.tile__label { display: block; padding: 12px 6px 0; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; }
.tile:hover .tile__label, .scroller__item:hover .tile__label { text-decoration: underline; text-underline-offset: 4px; }

.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); padding: 72px var(--pad) 0; }
.panel { position: relative; display: block; color: #fff; text-decoration: none; overflow: hidden; background: #1b1b1b; }
.panel img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.panel:hover img { transform: scale(1.03); }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0) 45%); }
.panel__text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 36px; }
.panel__text strong { font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.panel__text span { font-size: 15px; }
.panel__text em { margin-top: 10px; font-style: normal; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; text-decoration: underline; text-underline-offset: 4px; }

.scroller { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x proximity; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 14px; scrollbar-width: thin; scrollbar-color: var(--ink) var(--tile); }
.scroller__item { flex: 0 0 calc((100% - 3 * var(--gap)) / 4.3); scroll-snap-align: start; }

/* ---------- Tarjeta de producto ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px var(--gap); }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card__media { position: relative; display: block; background: var(--tile); overflow: hidden; }
.card__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card__media img { transform: scale(1.025); }
.card__tag { position: absolute; top: 12px; left: 12px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.card__body { padding: 12px 6px 0; }
.card__name { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; line-height: 1.45; }
.card__name a { text-decoration: none; }
.card__name a:hover { text-decoration: underline; }
.card__meta { font-size: 12px; color: var(--mute); margin-top: 2px; }
.card__price { font-size: 13px; margin-top: 4px; }
.card__add { padding: 8px 6px 0; margin-top: auto; }
.card__btn { display: inline-block; background: none; border: 0; padding: 4px 0; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; list-style: none; }
.card__btn::-webkit-details-marker { display: none; }
.card__btn:hover { text-decoration: none; }
.card__sizes-list { display: flex; flex-wrap: wrap; gap: 4px; padding-top: 8px; }
.card__sizes-list button { min-width: 36px; height: 32px; padding: 0 8px; background: #fff; border: 1px solid var(--ink); border-radius: 0; font-size: 11px; letter-spacing: .04em; }
.card__sizes-list button:hover { background: var(--ink); color: #fff; }

/* ---------- Bloque texto + imagen ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); padding: 72px var(--pad) 0; align-items: stretch; }
.split__media img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.split__text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: 48px clamp(24px, 6vw, 96px); background: var(--fog); }
.split__text p { max-width: 520px; font-size: 15px; }
.split__text .btn { margin-top: 8px; }
.split--reverse .split__media { order: 2; }

.facts { display: grid; gap: 0; width: 100%; max-width: 520px; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.facts strong { font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.facts span { color: var(--mute); }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.services li { display: flex; gap: 14px; padding: 22px 24px; background: var(--fog); font-size: 13px; }
.services svg { flex-shrink: 0; margin-top: 2px; }
.services strong { display: block; font-weight: 600; }
.services p { color: var(--mute); margin: 2px 0 6px; }

/* ---------- Contacto y formularios ---------- */
.contact-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); }
.contact-block__intro { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.contact-block__intro > p:not(.label) { max-width: 460px; font-size: 15px; }
.contact-block__img { width: 100%; margin-top: 12px; aspect-ratio: 16 / 10; object-fit: cover; }
.contact-block__form > .label { margin-bottom: 20px; }

.contact-list { width: 100%; max-width: 460px; border-top: 1px solid var(--line); }
.contact-list div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); padding-top: 1px; }
.contact-list--lg dd { font-size: 15px; }

.form { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.form .btn { align-self: flex-start; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label:not(.check) { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field-row--3 { grid-template-columns: minmax(0, 2fr) minmax(0, 4fr) minmax(0, 3fr); }
.optional { color: var(--mute); text-transform: none; letter-spacing: .02em; }

input[type="text"], input[type="tel"], input[type="email"], textarea, select {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid #b9b9b5;
  border-radius: 0;
  font-size: 16px;
  line-height: 1.4;
  appearance: none;
  -webkit-appearance: none;
}
textarea { resize: vertical; min-height: 120px; }
select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%230b0b0b' stroke-width='1.4'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
input:hover, textarea:hover, select:hover { border-color: var(--ink); }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
input::placeholder, textarea::placeholder { color: #9a9a96; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.field__error { color: var(--error); font-size: 13px; }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; cursor: pointer; }
.check input { flex-shrink: 0; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); }
.check--locked { cursor: default; color: var(--mute); }
.check strong { display: block; color: var(--ink); font-weight: 600; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { font-size: 12px; color: var(--mute); max-width: 620px; }
.form__section { padding-top: 14px; border-top: 1px solid var(--line); margin-top: 8px; }
.form__section:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.form__text { font-size: 14px; max-width: 620px; }

.notice { padding: 18px 20px; border: 1px solid var(--line); background: var(--fog); font-size: 14px; }
.notice h2, .notice h3 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.notice p + p { margin-top: 14px; }
.notice--ok { border-color: var(--ok); }
.notice--error { border-color: var(--error); color: var(--error); background: #fff; }

/* ---------- Cabeceras de página ---------- */
.page-head { padding: 28px var(--pad) 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span:last-child { color: var(--mute); }
.page-title { font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; line-height: 1.15; }
.page-intro { margin-top: 10px; max-width: 720px; font-size: 15px; }

.cat-tabs { display: flex; gap: 24px; padding: 4px var(--pad) 22px; overflow-x: auto; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs a { font-size: clamp(19px, 2vw, 24px); color: #8b8b87; text-decoration: none; white-space: nowrap; letter-spacing: .01em; }
.cat-tabs a:hover, .cat-tabs a[aria-current] { color: var(--ink); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--pad) 18px; }
.sort { display: flex; align-items: center; gap: 10px; }
.sort select { width: auto; min-height: 36px; padding: 6px 34px 6px 10px; font-size: 13px; border-color: transparent; background-position: right 10px center; }
.js .sort__go { display: none; }

/* ---------- Ficha de producto ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(320px, 1fr); gap: 0 clamp(24px, 3vw, 48px); padding: 0 var(--pad); align-items: start; }
.product__gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.product__shot { background: var(--tile); overflow: hidden; }
.product__shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.product__shot--detail img { transform: scale(1.9); transform-origin: 50% 38%; }
.product__info { position: sticky; top: calc(var(--hh) + 20px); padding: 24px 0 8px; max-width: 520px; }
.product__name { font-size: 17px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; line-height: 1.35; }
.product__price { margin-top: 8px; font-size: 16px; }
.product__price span { margin-left: 8px; font-size: 12px; color: var(--mute); }
.product__form { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.product__opt .label { color: var(--mute); margin-right: 8px; }
.sizes legend { display: flex; justify-content: space-between; align-items: baseline; width: 100%; margin-bottom: 10px; }
.sizes legend .label { color: var(--mute); }
.sizes legend a { font-size: 12px; }
.sizes__list { display: flex; flex-wrap: wrap; gap: 8px; }
.size { position: relative; cursor: pointer; }
.size input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.size span { display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--ink); font-size: 12px; letter-spacing: .06em; transition: background-color .15s ease, color .15s ease; }
.size:hover span { background: var(--tile); }
.size input:checked + span { background: var(--ink); color: #fff; }
.size input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.product__buy { display: grid; grid-template-columns: 96px 1fr; gap: 8px; align-items: end; }
.qty { display: flex; flex-direction: column; gap: 6px; }
.qty .label { color: var(--mute); }
.qty select { min-height: 48px; font-size: 14px; }
.product__msg:empty { display: none; }
.product__msg { font-size: 13px; }
.product__msg.is-error { color: var(--error); }
.product__perks { margin-top: 22px; padding: 14px 16px; background: var(--fog); font-size: 13px; display: grid; gap: 4px; }
.product__desc { margin-top: 28px; }
.product__desc .label { margin-bottom: 8px; font-weight: 600; }

.accordion { margin-top: 22px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; cursor: pointer; list-style: none; font-size: 13px; letter-spacing: .04em; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 18px; font-weight: 300; line-height: 1; flex-shrink: 0; }
.accordion details[open] summary::after { content: "–"; }
.accordion details > *:not(summary) { padding-bottom: 14px; font-size: 14px; max-width: 720px; }
.accordion details > p + p { margin-top: -6px; }
.accordion--lg summary { font-size: 16px; padding: 18px 0; letter-spacing: .01em; }
.accordion--lg details > *:not(summary) { font-size: 15px; padding-bottom: 20px; }
.list { display: grid; gap: 4px; }
.list li { position: relative; padding-left: 16px; }
.list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 1px; background: currentColor; }

/* ---------- Cesta ---------- */
.cart { padding-bottom: 0; }
.cart__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.cart__lines .notice { margin-bottom: 18px; }
.cart > .notice { margin-bottom: 24px; max-width: 720px; }
.lines { border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line__img { background: var(--tile); }
.line__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.line__name { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; }
.line__name a { text-decoration: none; }
.line__name a:hover { text-decoration: underline; }
.line__meta { font-size: 13px; color: var(--mute); margin-top: 2px; }
.line__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 16px; }
.line__qty { display: flex; align-items: center; gap: 10px; }
.line__qty .label { color: var(--mute); }
.line__qty select { width: 76px; min-height: 40px; padding: 6px 34px 6px 12px; font-size: 14px; }
.line__total { font-size: 14px; white-space: nowrap; }

.summary { position: sticky; top: calc(var(--hh) + 20px); display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--fog); }
.summary dl { display: grid; gap: 8px; }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.summary__total { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); font-weight: 600; font-size: 16px !important; }
.summary__note { font-size: 12px; color: var(--mute); }
.summary .text-link { align-self: center; }
.summary__items { display: grid; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.summary__items li { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; }
.summary__items span:last-child { white-space: nowrap; }
.summary__items small { display: block; color: var(--mute); font-size: 12px; }
.empty { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px 0 40px; font-size: 16px; }

/* ---------- Páginas de contenido ---------- */
.banner { position: relative; display: flex; align-items: flex-end; min-height: min(72svh, 680px); color: #fff; background: #1b1b1b; overflow: hidden; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .58), rgba(0, 0, 0, .05) 60%); }
.banner__text { position: relative; z-index: 1; padding: 0 var(--pad) 48px; }
.banner__text .label { margin-bottom: 16px; }

.prose-wrap { padding-bottom: 0; }
.prose { max-width: 780px; font-size: 15px; line-height: 1.7; letter-spacing: .01em; }
.prose > * + * { margin-top: 14px; }
.prose h2 { margin-top: 44px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; line-height: 1.4; }
.prose > h2:first-child { margin-top: 0; }
.prose ul, .prose ol { display: grid; gap: 8px; padding-left: 20px; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 18px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .82em; width: 8px; height: 1px; background: currentColor; }
.prose ol { list-style: decimal; }
.prose strong { font-weight: 600; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; background: var(--fog); padding: 1px 5px; letter-spacing: 0; }
.prose--lead { max-width: 900px; font-size: clamp(18px, 1.9vw, 24px); line-height: 1.45; }

.table-wrap { overflow-x: auto; margin-top: 18px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
th, td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
tr:last-child > th, tr:last-child > td { border-bottom: 0; }
thead th { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; background: var(--fog); white-space: nowrap; }
tbody th { font-weight: 600; white-space: nowrap; }
.table--kv th { width: 34%; white-space: normal; background: var(--fog); font-weight: 500; }
.table-wrap table:not(.table--kv) { min-width: 520px; }

.form-model { margin-top: 18px; padding: 22px 24px; border: 1px dashed #a7a7a3; background: var(--fog); font-size: 14px; }
.form-model p + p { margin-top: 12px; }

.faq { display: grid; gap: 48px; max-width: 900px; }
.faq__group .label { color: var(--mute); margin-bottom: 4px; }
.faq .accordion { margin-top: 10px; }

.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 56px clamp(24px, 6vw, 96px); background: var(--ink); color: #fff; margin-bottom: 0; }
.cta .btn { margin-top: 10px; border-color: #fff; background: #fff; color: var(--ink); }
.cta .btn:hover { background: transparent; color: #fff; }
.cta p { font-size: 15px; }

.notfound { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 72px var(--pad) 8px; }
.notfound > p:not(.label) { max-width: 480px; font-size: 15px; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* ---------- Pie ---------- */
.site-footer { margin-top: 96px; background: var(--ink); color: #fff; font-size: 13px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr); gap: 40px 32px; padding: 56px var(--pad) 48px; }
.footer-title { font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: .14em; color: #a3a3a0; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col ul a { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; text-decoration: none; }
.footer-col ul a:hover { text-decoration: underline; }
.footer-col--contact { display: flex; flex-direction: column; gap: 12px; line-height: 1.7; }
.footer-col--contact .footer-title { margin-bottom: 6px; }
.footer-muted { color: #a3a3a0; }
.site-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding: 20px var(--pad); border-top: 1px solid #2c2c2c; color: #a3a3a0; font-size: 12px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__bar .link-btn { color: #fff; }

/* ---------- Aviso de cookies y notificación ---------- */
.cookie { position: fixed; left: var(--pad); bottom: var(--pad); z-index: 90; width: min(368px, calc(100vw - 2 * var(--pad))); max-height: calc(100svh - 2 * var(--pad)); overflow-y: auto; padding: 22px; background: #fff; box-shadow: 0 8px 40px rgba(0, 0, 0, .18); font-size: 13px; line-height: 1.55; }
.cookie .label { margin-bottom: 8px; font-weight: 600; }
.cookie__prefs { display: grid; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.cookie__actions .btn { padding: 0 12px; }
.cookie__config { display: block; margin: 16px auto 0; }

.toast { position: fixed; right: var(--pad); top: calc(var(--hh) + 56px); z-index: 80; display: flex; align-items: center; gap: 18px; max-width: calc(100vw - 2 * var(--pad)); padding: 14px 18px; background: var(--ink); color: #fff; font-size: 13px; box-shadow: 0 8px 30px rgba(0, 0, 0, .2); }
.toast a { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; }
.toast.is-error { background: var(--error); }
.toast.is-error a { display: none; }

/* ---------- Adaptación ---------- */
@media (max-width: 1180px) {
  .main-nav { gap: 18px; }
  .main-nav a, .tool-link { font-size: 12px; letter-spacing: .08em; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .scroller__item { flex-basis: calc((100% - 2 * var(--gap)) / 3.3); }
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-col--contact { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  :root { --pad: 20px; }
  .menu-btn { display: inline-flex; }
  .main-nav, .tool-link { display: none; }
  .site-header { gap: 14px; }
  .brand { margin-right: auto; }
  .header-tools { margin-left: 0; }
  .product { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .product__gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 2px; scrollbar-width: none; }
  .product__gallery::-webkit-scrollbar { display: none; }
  .product__shot { flex: 0 0 88%; scroll-snap-align: start; }
  .product__info { position: static; padding: 24px var(--pad) 0; max-width: none; }
  .cart__layout, .contact-block { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
  .split__media img { aspect-ratio: 4 / 3; }
  .services { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px) {
  :root { --pad: 16px; --gap: 4px; --hh: 56px; }
  .announce { justify-content: center; text-align: center; font-size: 11px; letter-spacing: .06em; }
  .announce a { display: none; }
  .brand span { font-size: 20px; }
  .hero__text { padding-bottom: 40px; }
  .hero img { object-position: 50% 30%; }
  .hero__lead { font-size: 15px; }
  .section, .panels, .split { padding-top: 56px; }
  .section--flush { padding-top: 0; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .panels { grid-template-columns: minmax(0, 1fr); }
  .panel img { aspect-ratio: 4 / 5; }
  .panel__text { padding: 24px; }
  .scroller__item { flex-basis: 62%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .card__name { font-size: 11px; }
  .split__text { padding: 36px 20px; }
  .facts li, .contact-list div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .field-row, .field-row--3 { grid-template-columns: minmax(0, 1fr); }
  .form .btn { align-self: stretch; }
  .line { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; }
  .line__total { grid-column: 2; }
  .summary { padding: 22px 18px; }
  .toolbar { flex-wrap: wrap; }
  .site-footer { margin-top: 72px; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 44px; }
  .site-footer__bar { flex-direction: column; }
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; max-height: calc(100svh - 24px); padding: 18px; }
  .toast { left: 12px; right: 12px; top: auto; bottom: 12px; justify-content: space-between; max-width: none; }
  .banner__text { padding-bottom: 32px; }
  .cta { padding: 40px 20px; }
  .notfound { padding-top: 48px; }
}

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