/* ecorootss — hoja de estilos principal */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --ink: #121212;
  --text: rgba(18, 18, 18, 0.75);
  --muted: rgba(18, 18, 18, 0.6);
  --line: rgba(18, 18, 18, 0.1);
  --line-strong: rgba(18, 18, 18, 0.55);
  --bg: #fff;
  --soft: #f4f4f4;
  --dark: #23232a;
  --on-dark: rgba(255, 255, 255, 0.75);
  --ok: #2f6b45;
  --ok-bg: #edf5ef;
  --error: #b3261e;
  --error-bg: #fbeeed;
  --wrap: 1500px;
  --gutter: 50px;
  --pill: 40px;
  --section: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.6px;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.6px;
  text-wrap: balance;
}

h1 { font-size: clamp(30px, 3.6vw, 52px); }
h2 { font-size: clamp(24px, 2.8vw, 40px); }
h3 { font-size: 18px; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

strong, b { color: var(--ink); font-weight: 700; }
h1 strong, h2 strong, h3 strong, .banner strong, .site-footer strong, .notice strong { color: inherit; }

a {
  color: var(--ink);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

ul, ol { margin: 0; padding: 0; }

button, input, select, textarea {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

[hidden] { display: none !important; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 980px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus { top: 16px; }

.icon { flex: none; }

.kicker {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.section { padding-block: var(--section); }
.section--tight { padding-block: 40px; }
.section--soft { background: var(--soft); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: 32px;
}

.section__head h2 { font-size: clamp(20px, 2vw, 26px); text-transform: uppercase; }

/* Botones ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 47px;
  padding: 8px 30px;
  border: 1px solid var(--ink);
  border-radius: var(--pill);
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 1px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(18, 18, 18, 0.14);
  transition: box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn:hover { box-shadow: 0 0 0 1px var(--ink), 0 3px 8px rgba(18, 18, 18, 0.18); }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--ink);
  color: #fff;
}

.btn--primary:hover { background: #2b2b2b; }

.btn--light {
  border-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.btn--full { width: 100%; }
.btn--small { min-height: 38px; padding: 6px 20px; font-size: 14px; }
.btn[disabled] { opacity: 0.5; cursor: default; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
}

.link-arrow:hover { text-decoration: underline; }
.link-arrow .icon { transition: transform 0.15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Barra de anuncio ---------------------------------------------------- */

.announce {
  background: var(--dark);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.announce__inner {
  display: flex;
  justify-content: center;
  padding-block: 10px;
  text-align: center;
}

.announce a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}

.announce a:hover { text-decoration: underline; }

/* Cabecera ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 92px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.logo img { width: 27px; height: 40px; }

.logo__text { display: flex; flex-direction: column; }

.logo__word {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.8px;
}

.logo__sub {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.main-nav { flex: 1; }

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
  list-style: none;
}

.main-nav a {
  color: var(--text);
  font-size: 15px;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
}

.main-nav__extra { display: none; }

.site-header__tools {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.header-phone {
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover { text-decoration: underline; }

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.icon-btn:hover .icon { transform: scale(1.07); }

.cart-count {
  position: absolute;
  right: 0;
  bottom: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0;
  text-align: center;
}

.menu-toggle { display: none; }
.menu-toggle__close { display: none; }

.strip {
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 1.6px;
  text-align: center;
  text-transform: uppercase;
}

.strip p { margin: 0; padding: 8px 16px; color: var(--ink); }

/* Banners ------------------------------------------------------------- */

.banner {
  position: relative;
  display: flex;
  min-height: 640px;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
}

.banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 14, 0.62) 0%, rgba(10, 10, 14, 0.25) 55%, rgba(10, 10, 14, 0.05) 100%);
}

.banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding-block: 56px;
}

.banner h1,
.banner h2 { color: #fff; }

.banner h1 {
  max-width: 14ch;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.15;
  text-transform: uppercase;
}

.banner__sub {
  margin: 14px 0 26px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.banner__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.banner--page { min-height: 420px; }
.banner--page h1 { max-width: 20ch; text-transform: none; font-size: clamp(30px, 3.6vw, 48px); }
.banner--page .banner__sub { max-width: 60ch; text-transform: none; letter-spacing: 0.6px; font-size: 16px; line-height: 1.7; margin-bottom: 0; }

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 4px;
}

.duo .banner { min-height: 460px; }

.duo .banner::after { background: rgba(10, 10, 14, 0.38); }

.duo .banner__content {
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 40px 24px;
  text-align: center;
}

.duo h2 { max-width: 16ch; font-size: clamp(28px, 3vw, 44px); line-height: 1.2; }
.duo p { max-width: 44ch; margin: 14px 0 22px; color: rgba(255, 255, 255, 0.92); }

/* Texto destacado ----------------------------------------------------- */

.lead {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.lead h2 { margin-bottom: 16px; }

/* Producto destacado y ficha ------------------------------------------ */

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.product__media {
  border: 1px solid var(--line);
  background: var(--soft);
}

.product__media img { width: 100%; }

.product__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.product__thumb {
  width: 96px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--soft);
  cursor: pointer;
}

.product__thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product__thumb[aria-current="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

.product__info { max-width: 560px; }
.product__info h1,
.product__info h2 { font-size: clamp(26px, 2.8vw, 40px); }

.price {
  margin: 14px 0 2px;
  color: var(--ink);
  font-size: 20px;
  letter-spacing: 1px;
}

.price-note { margin: 0 0 22px; font-size: 13px; }

.option-label { margin: 0 0 8px; font-size: 14px; }
.option-label strong { font-weight: 400; text-transform: uppercase; }

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  list-style: none;
}

.swatch {
  display: block;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(18, 18, 18, 0.25);
  border-radius: 50%;
  background: var(--swatch, #ccc);
}

.swatch:hover,
.swatch[aria-current="true"] {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.qty {
  display: inline-flex;
  align-items: stretch;
  height: 47px;
  border: 1px solid var(--line-strong);
}

.qty button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.qty input {
  width: 50px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { appearance: none; margin: 0; }

.product__buy { display: grid; gap: 12px; max-width: 440px; margin-bottom: 28px; }
.product__buy .qty { justify-self: start; }

.product__summary { margin-bottom: 20px; }

.ticks { display: grid; gap: 8px; list-style: none; }

.ticks li {
  position: relative;
  padding-left: 26px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 11px;
  height: 6px;
  border-left: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(-45deg);
}

.specs { margin: 0; border-top: 1px solid var(--line); }

.specs div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.specs dt { color: var(--ink); }
.specs dd { margin: 0; }

.breadcrumbs {
  padding-block: 18px 0;
  font-size: 13px;
}

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }
.breadcrumbs a { color: var(--text); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Imagen con texto ---------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.split__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.split__body { padding: 40px 0 40px 70px; }
.split--reverse .split__media { order: 2; }
.split--reverse .split__body { padding: 40px 70px 40px 0; }

.split__body h2 { margin-bottom: 18px; }
.split__body h2 strong { font-weight: 700; }
.split__body .btn { margin-top: 26px; }
.split__body .ticks { margin-top: 18px; }

/* Rejilla de productos ------------------------------------------------ */

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 16px;
  list-style: none;
}

.card { display: flex; flex-direction: column; }

.card__media {
  display: block;
  overflow: hidden;
  background: var(--soft);
}

.card__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card__media img { transform: scale(1.03); }

.card__body { flex: 1; padding: 14px 0 12px; }

.card__title {
  font-size: 14px;
  line-height: 1.5;
}

.card__title a { text-decoration: none; }
.card:hover .card__title a { text-decoration: underline; }

.card__price { margin: 6px 0 0; color: var(--ink); letter-spacing: 1px; }

.grid-foot { margin-top: 36px; text-align: center; }

/* Ventajas ------------------------------------------------------------ */

.perks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  list-style: none;
}

.perks .icon { margin-bottom: 12px; color: var(--ink); }
.perks h3 { margin-bottom: 6px; font-size: 17px; }
.perks p { font-size: 15px; line-height: 1.7; }

/* Lista de colecciones ------------------------------------------------ */

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.tile a { display: block; text-decoration: none; }
.tile__media { overflow: hidden; background: var(--soft); }
.tile__media img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.4s ease; }
.tile a:hover img { transform: scale(1.03); }

.tile h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  font-size: 18px;
}

.tile a:hover h3 { text-decoration: underline; }

/* Filtros de la tienda ------------------------------------------------ */

.page-head { padding-block: 44px 8px; }
.page-head p { max-width: 70ch; margin-top: 14px; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block: 24px 36px;
  list-style: none;
}

.filters a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
}

.filters a:hover { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.filters a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Formularios --------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.contact h2 { margin-bottom: 16px; }

.contact-list { display: grid; gap: 14px; margin-top: 28px; list-style: none; }

.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { margin-top: 5px; color: var(--ink); }

.form { display: grid; gap: 18px; }

.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.field { display: grid; gap: 6px; align-content: start; }

.field label { color: var(--ink); font-size: 14px; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  min-height: 47px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
}

.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 0;
}

.field [aria-invalid="true"] { border-color: var(--error); }

.field-error { margin: 0; color: var(--error); font-size: 13px; line-height: 1.5; }

.field--check {
  grid-template-columns: 22px 1fr;
  gap: 4px 10px;
  align-items: start;
}

.field--check input { width: 18px; height: 18px; margin: 5px 0 0; accent-color: var(--ink); }
.field--check label { color: var(--text); font-size: 14px; line-height: 1.6; }
.field--check .field-error { grid-column: 2; }

.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__legal { margin: 0; font-size: 12px; line-height: 1.7; letter-spacing: 0.3px; }
.form .btn { justify-self: start; min-width: 180px; }

.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 16px 20px;
  border: 1px solid;
}

.notice p { margin: 0; }
.notice .icon { margin-top: 3px; }
.notice--ok { border-color: var(--ok); background: var(--ok-bg); color: var(--ok); }
.notice--error { border-color: var(--error); background: var(--error-bg); color: var(--error); }
.notice--info { border-color: var(--line-strong); background: var(--soft); color: var(--ink); }

/* Preguntas frecuentes ------------------------------------------------ */

.faq-group + .faq-group { margin-top: 48px; }
.faq-group > h2 { margin-bottom: 14px; font-size: clamp(22px, 2.2vw, 28px); }

.accordion { border-top: 1px solid var(--line); }

.accordion details { border-bottom: 1px solid var(--line); }

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { text-decoration: underline; }
.accordion summary .icon { transition: transform 0.2s ease; }
.accordion details[open] summary .icon { transform: rotate(180deg); }
.accordion__body { max-width: 78ch; padding: 0 0 22px; }

/* Pasos --------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  list-style: none;
  counter-reset: paso;
}

.steps li { counter-increment: paso; padding-top: 18px; border-top: 1px solid var(--ink); }

.steps li::before {
  content: "0" counter(paso);
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 1.6px;
}

.steps h3 { margin-bottom: 6px; }

/* Carrito ------------------------------------------------------------- */

.cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 56px;
  align-items: start;
}

.cart-lines { border-top: 1px solid var(--line); list-style: none; }

.cart-line {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 8px 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line__media { grid-row: span 2; align-self: start; background: var(--soft); }
.cart-line__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.cart-line__title { font-size: 16px; line-height: 1.5; }
.cart-line__title a { text-decoration: none; }
.cart-line__title a:hover { text-decoration: underline; }
.cart-line__unit { margin: 2px 0 0; font-size: 14px; }
.cart-line__total { color: var(--ink); letter-spacing: 1px; text-align: right; white-space: nowrap; }

.cart-line__actions {
  grid-column: 2 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.cart-line__actions form { display: flex; align-items: center; gap: 10px; }

.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.text-btn:hover { color: var(--ink); }
.js .js-hide { display: none; }

.summary {
  padding: 28px;
  background: var(--soft);
}

.summary h2 { margin-bottom: 16px; font-size: 22px; }

.summary dl { margin: 0; }

.summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.summary dd { margin: 0; color: var(--ink); white-space: nowrap; }

.summary .summary__total {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 19px;
}

.summary__hint { margin: 12px 0 0; font-size: 13px; line-height: 1.6; }
.summary .btn { margin-top: 20px; }

/* Finalizar pedido ---------------------------------------------------- */

.progress {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding-top: 22px;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  list-style: none;
}

.progress li { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.progress li + li::before { content: ""; width: 28px; height: 1px; background: var(--line-strong); }
.progress a { color: var(--text); text-decoration: none; }
.progress a:hover { text-decoration: underline; }
.progress [aria-current="step"] { color: var(--ink); font-weight: 600; }

.checkout { margin-top: 28px; }
.checkout .form h2 { margin-top: 14px; font-size: 20px; }
.checkout .form h2:first-of-type { margin-top: 0; }
.checkout__note { margin: 0; font-size: 14px; line-height: 1.7; }
.checkout__secure {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.checkout__secure .icon { flex-shrink: 0; margin-top: 2px; color: var(--ink); }

/* Pago con tarjeta ------------------------------------------------------ */

.pay-head {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.pay-head h2 { margin: 0; }

.pay-brands {
  display: inline-flex;
  gap: 6px;
  flex-shrink: 0;
}

.pay-brand { display: inline-flex; opacity: 0.85; transition: opacity 0.2s ease; }

.pay-brand svg { width: 40px; height: 25px; display: block; }

.pay-brands[data-brand] .pay-brand { opacity: 0.25; }
.pay-brands[data-brand="visa"] .pay-brand--visa,
.pay-brands[data-brand="mastercard"] .pay-brand--mastercard,
.pay-brands[data-brand="maestro"] .pay-brand--maestro,
.pay-brands[data-brand="amex"] .pay-brand--amex { opacity: 1; }

.field input[name="tarjeta"],
.field input[name="caducidad"],
.field input[name="cvc"] {
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}

.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 10px;
  vertical-align: -2px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pay-spin 0.8s linear infinite;
}

@keyframes pay-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .spinner { animation-duration: 1.8s; }
}

.order-lines { display: grid; gap: 14px; margin-bottom: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line-strong); list-style: none; }

.order-line {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  line-height: 1.5;
}

.order-line img { width: 56px; aspect-ratio: 1; object-fit: cover; background: #fff; }
.order-line__name { color: var(--ink); }
.order-line__qty { display: block; color: var(--text); font-size: 13px; }
.order-line__total { color: var(--ink); white-space: nowrap; }

.empty { padding-block: 40px 20px; text-align: center; }
.empty h1 { margin-bottom: 14px; }
.empty .btn { margin-top: 22px; }

/* Texto legal --------------------------------------------------------- */

.prose { max-width: 860px; }
.prose h1 { margin-bottom: 10px; font-size: clamp(28px, 3.2vw, 44px); }
.prose h2 { margin: 44px 0 14px; font-size: clamp(20px, 2vw, 26px); }
.prose h3 { margin: 28px 0 10px; font-size: 18px; font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose .updated { margin-bottom: 28px; font-size: 14px; }

.table-wrap { margin: 0 0 1.2em; overflow-x: auto; }

.prose table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}

.prose th, .prose td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th { background: var(--soft); color: var(--ink); font-weight: 600; }

.boxed {
  margin: 0 0 1.2em;
  padding: 20px 24px;
  border: 1px solid var(--line-strong);
  background: var(--soft);
}

.boxed p { margin-bottom: 0.6em; }

/* Pie ----------------------------------------------------------------- */

.site-footer {
  background: var(--dark);
  color: var(--on-dark);
  font-size: 14px;
  line-height: 1.7;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-block: 56px 44px;
}

.site-footer h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 17px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.site-footer ul { display: grid; gap: 10px; list-style: none; }

.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #f2f2f0;
}

.footer-logo img { width: 35px; height: 52px; }

.site-footer__name {
  margin-bottom: 8px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.site-footer__brand p { max-width: 34ch; }

.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { margin-top: 3px; color: #fff; }

.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 12px; }

.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 32px;
  padding-block: 20px;
}

.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* Aviso de carrito ---------------------------------------------------- */

.toast {
  position: fixed;
  top: 104px;
  right: 16px;
  z-index: 70;
  display: grid;
  gap: 12px;
  width: min(360px, calc(100% - 32px));
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  background: #fff;
  box-shadow: 0 10px 30px rgba(18, 18, 18, 0.16);
  animation: toast-in 0.2s ease-out;
}

.toast__text { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.5; }
.toast .btn { justify-self: start; }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* Cookies ------------------------------------------------------------- */

.cookie {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 80;
  width: min(884px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  padding: 30px 32px;
  overflow-y: auto;
  transform: translateX(-50%);
  background: #1d1d1f;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.3px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.cookie h2 { margin-bottom: 10px; color: #fff; font-size: 19px; font-weight: 700; }
.cookie p { margin-bottom: 18px; }
.cookie a { color: #fff; }

.cookie__prefs { display: grid; gap: 12px; margin-bottom: 20px; }

.cookie__option { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; }
.cookie__option input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #fff; }
.cookie__option strong { display: block; color: #fff; }

.cookie__actions {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 12px 20px;
  align-items: center;
}

.cookie__btn {
  min-height: 40px;
  padding: 6px 18px;
  border: 1px solid #fff;
  background: #333;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
}

.cookie__btn:hover { background: #fff; color: #1d1d1f; }

.cookie__link {
  padding: 6px 16px 6px 0;
  border: 0;
  background: none;
  color: #fff;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookie :focus-visible { outline-color: #fff; }
.cookie.is-config .cookie__actions { grid-template-columns: 1fr 1fr 1fr; }

/* 404 ----------------------------------------------------------------- */

.not-found { padding-block: 90px; text-align: center; }
.not-found .kicker { font-size: 14px; }
.not-found h1 { margin-bottom: 14px; }
.not-found p { max-width: 52ch; margin-inline: auto; }
.not-found .banner__actions { justify-content: center; margin-top: 26px; }

/* Adaptación ---------------------------------------------------------- */

@media (max-width: 1180px) {
  :root { --gutter: 32px; }
  .header-phone { display: none; }
  .site-header__inner { gap: 28px; }
  .main-nav ul { gap: 4px 20px; }
  .split__body { padding-left: 44px; }
  .split--reverse .split__body { padding-right: 44px; }
  .cart { grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; }
}

@media (max-width: 989px) {
  :root { --section: 56px; }
  html { scroll-padding-top: 90px; }

  .site-header__inner {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    gap: 8px;
    min-height: 72px;
  }

  .menu-toggle { display: inline-flex; }
  .menu-open .menu-toggle__open { display: none; }
  .menu-open .menu-toggle__close { display: inline-flex; }

  .logo { justify-self: center; }
  .logo__word { font-size: 26px; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    height: calc(100vh - 100%);
    height: calc(100dvh - 72px);
    padding: 12px var(--gutter) 40px;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    background: #fff;
  }

  .menu-open .main-nav { display: block; }

  .main-nav ul { display: block; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: 14px 0; color: var(--ink); font-size: 18px; }

  .main-nav__extra { display: grid; gap: 4px; margin-top: 22px; }
  .main-nav__extra a { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 15px; }

  .banner { min-height: 540px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .cart { grid-template-columns: 1fr; }
  .checkout .summary { order: -1; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 749px) {
  :root { --gutter: 16px; --section: 44px; }

  body { font-size: 15px; }

  .announce { font-size: 11px; letter-spacing: 0.8px; }
  .strip { font-size: 11px; }

  .banner { min-height: 480px; }
  .banner::after { background: linear-gradient(180deg, rgba(10, 10, 14, 0.1) 0%, rgba(10, 10, 14, 0.7) 100%); }
  .banner__content { padding-block: 36px; }
  .banner--page { min-height: 360px; }

  .duo { grid-template-columns: 1fr; }
  .duo .banner { min-height: 360px; }

  .product { grid-template-columns: 1fr; gap: 24px; }
  .product__buy { max-width: none; }

  .split { grid-template-columns: 1fr; }
  .split__media, .split--reverse .split__media { order: 0; }
  .split__body, .split--reverse .split__body { padding: 24px 0 0; }

  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 10px; }
  .card .btn { min-height: 42px; padding-inline: 10px; font-size: 13px; letter-spacing: 0.5px; }

  .perks { gap: 26px 18px; }
  .tiles { grid-template-columns: 1fr; gap: 28px; }
  .tile__media img { aspect-ratio: 3 / 2; }
  .steps { grid-template-columns: 1fr; gap: 24px; }

  .specs div { grid-template-columns: 1fr; gap: 0; }

  .cart-line { grid-template-columns: 84px minmax(0, 1fr); }
  .cart-line__media { grid-row: span 3; }
  .cart-line__total { grid-column: 2; text-align: left; }
  .cart-line__actions { grid-column: 2; }
  .summary { padding: 22px 18px; }

  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-block: 44px 32px; }
  .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; }

  .cookie { left: 0; bottom: 0; width: 100%; max-height: 90vh; padding: 22px 16px; transform: none; font-size: 14px; }
  .cookie__actions, .cookie.is-config .cookie__actions { grid-template-columns: 1fr 1fr; }
  .cookie__link { grid-column: 1 / -1; justify-self: start; }
  .cookie.is-config .cookie__btn[data-cookie-action="save"] { grid-column: 1 / -1; }

  .toast { top: auto; bottom: 16px; left: 16px; right: 16px; width: auto; }
}

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