/* Las Tijeras Mágicas: hoja de estilos única, solo tema claro.
   Sistema de formas: radio 4 px en todo (botones, campos, tarjetas, imágenes).
   Motivo: la cuadrícula del punto de cruz y el hilo (líneas discontinuas "pespunte",
   textura de rejilla fina, contorno de 1 px en las imágenes como casilla de gráfico). */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin-wght.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/instrument-sans-latin-wght.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/instrument-sans-latin-wght-italic.woff2') format('woff2');
}

:root {
  --white: #FFFFFF;
  --blush: #F8EEF2;
  --blush-deep: #F3D6E1;
  --ink: #2A1F26;
  --text: #4A3D44;
  --muted: #7A6C74;
  --line: #E4D9DE;
  --line-strong: #CDBEC6;
  --accent: #A8265A;
  --accent-dark: #8A1C49;
  --ok: #2F6B4F;
  --error: #B3261E;
  --error-bg: #FBEAEA;

  --font-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Instrument Sans', 'Segoe UI', system-ui, sans-serif;

  --r: 4px;
  --gutter: clamp(16px, 4vw, 40px);
  --container: 1200px;
  --section: clamp(56px, 8vw, 112px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 12px 32px rgb(42 31 38 / .08);
  --stitch: 2px dashed var(--line-strong);
  --grid-bg:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-wrap: anywhere;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .16em; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.125rem, 4vw, 3.25rem); font-weight: 800; max-width: 18ch; }
h2 { font-size: clamp(1.625rem, 2.8vw, 2.25rem); max-width: 24ch; }
h3 { font-size: 1.25rem; }
.h2--sm { font-size: 1.375rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.1875rem; line-height: 1.55; color: var(--text); max-width: 60ch; }
.muted { color: var(--muted); }
.u-center { margin-inline: auto; text-align: center; }
strong { color: var(--ink); font-weight: 600; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--blush); padding: .1em .35em; border-radius: var(--r); }
mark.pending { background: #FFF1B8; color: var(--ink); padding: 0 .25em; border-radius: var(--r); }
hr { border: 0; border-top: var(--stitch); margin: 2rem 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: var(--r); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--r); }
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { max-width: 760px; }
.container--mid { max-width: 920px; }
.section { padding-block: var(--section); }
.section--first { padding-top: clamp(32px, 4vw, 56px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--blush { background: var(--blush); }
.section--stitch { border-top: var(--stitch); }
.section__head { max-width: 62ch; margin-bottom: clamp(24px, 3vw, 40px); }
.section__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; max-width: none; }
.section__head--row > * { margin-bottom: 0; }
.section__head p { color: var(--muted); }
.section__foot { margin-top: clamp(24px, 3vw, 40px); }

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

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.2;
  border-radius: var(--r); border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  white-space: nowrap; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.button:active { transform: translateY(1px); }
.button--primary { background: var(--accent); border-color: var(--accent); color: var(--white); }
.button--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.button--outline { background: var(--white); border-color: var(--line-strong); color: var(--ink); }
.button--outline:hover { border-color: var(--accent); color: var(--accent-dark); }
.button--ghost { background: transparent; border-color: transparent; color: var(--accent); padding-inline: 12px; }
.button--ghost:hover { background: var(--blush); color: var(--accent-dark); }
.button--lg { min-height: 54px; padding-inline: 28px; font-size: 1.0625rem; }
.button--sm { min-height: 38px; padding: 6px 14px; font-size: .9375rem; }
.button .icon { flex: none; transition: transform .2s var(--ease); }
.button--primary:hover .icon { transform: translateX(3px); }
.button[disabled] { opacity: .5; cursor: not-allowed; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: .16em; cursor: pointer; }
.link-button:hover { color: var(--accent-dark); }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); border-radius: var(--r); cursor: pointer; }
.icon-button:hover { border-color: var(--accent); color: var(--accent); }

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

.site-header { position: sticky; top: 0; z-index: 40; background: var(--white); border-top: 4px solid var(--accent); border-bottom: 1px solid var(--line); }
.site-header__inner { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; min-height: 72px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 43px; height: 40px; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; letter-spacing: -.02em; line-height: 1; display: flex; flex-direction: column; gap: 2px; }
.brand__name span:last-child { color: var(--accent); }
.site-header__actions { margin-left: auto; flex: none; display: flex; align-items: center; gap: 10px; }
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: var(--r); color: var(--ink); }
.cart-link:hover, .cart-link[aria-current="page"] { border-color: var(--accent); color: var(--accent); }
.cart-link__count { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: .75rem; line-height: 20px; text-align: center; }
.nav-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px 0 10px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); border-radius: var(--r); font: inherit; font-weight: 600; cursor: pointer; }
.nav-toggle:hover { border-color: var(--accent); color: var(--accent); }
.site-nav__head, .site-nav__extra, .site-nav__cta { display: none; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav__list a { display: inline-block; padding: 8px 12px; border-radius: var(--r); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; }
.site-nav__list a:hover { background: var(--blush); color: var(--accent-dark); }
.site-nav__list a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-decoration-style: dashed; text-decoration-thickness: 2px; text-underline-offset: .35em; }

@media (max-width: 1023px) {
  .site-header__cta, .nav-toggle .nav-toggle__label { display: none; }
  .nav-toggle { padding: 0; width: 44px; justify-content: center; }
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
    width: min(360px, 88vw); background: var(--white); border-left: 1px solid var(--line);
    padding: 16px 24px 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 20px;
    transform: translateX(105%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s;
  }
  .site-nav.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
  .site-nav__head { display: flex; align-items: center; justify-content: space-between; }
  .site-nav__title { font-family: var(--font-display); font-weight: 700; color: var(--muted); }
  .site-nav__list { flex-direction: column; gap: 0; border-top: var(--stitch); }
  .site-nav__list a { display: block; padding: 14px 4px; font-size: 1.25rem; font-family: var(--font-display); border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav__list a[aria-current="page"] { text-decoration: none; border-left: 3px solid var(--accent); padding-left: 12px; }
  .site-nav__extra { display: block; }
  .site-nav__extra-title { font-size: .875rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; text-transform: none; }
  .site-nav__cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
  .site-nav__cats a { display: block; padding: 6px 0; color: var(--ink); text-decoration: none; }
  .site-nav__cats a:hover { color: var(--accent); }
  .site-nav__cta { display: inline-flex; margin-top: auto; }
  .nav-backdrop { position: fixed; inset: 0; z-index: 30; background: rgb(42 31 38 / .45); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
}
@media (min-width: 1024px) {
  .nav-toggle, .nav-backdrop { display: none; }
  .site-nav { display: flex; align-items: center; justify-content: center; flex: 1; }
}
@media (max-width: 480px) {
  .brand__name { font-size: 1rem; }
}

/* ---------- Portada: hero ---------- */

.hero { padding-block: clamp(24px, 4vw, 48px) clamp(40px, 6vw, 80px); overflow: hidden; }
.hero__inner { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy .lead { margin-top: 1.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.collage { position: relative; padding: 0 0 18% 14%; }
.collage::before { content: ""; position: absolute; inset: 8% -6% 4% 0; background-image: var(--grid-bg); background-size: 24px 24px; opacity: .7; border-radius: var(--r); }
.collage__main { position: relative; z-index: 1; border-radius: var(--r); outline: 1px solid var(--ink); outline-offset: -1px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.collage__side { position: absolute; z-index: 2; left: 0; bottom: 0; width: 44%; border-radius: var(--r); border: 6px solid var(--white); box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; }
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 6fr 6fr; }
}
@media (min-width: 1100px) {
  .hero__inner { grid-template-columns: 11fr 10fr; }
  .collage { padding: 0 0 12% 18%; max-width: 560px; margin-left: auto; }
}
@media (max-width: 899px) {
  .collage { order: -1; max-width: 480px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .7s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .hero__copy > :nth-child(3) { animation-delay: .16s; }
  .collage__main { animation: slide-in .8s var(--ease) both; }
  .collage__side { animation: slide-in .8s var(--ease) .15s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

/* ---------- Portada: estantería de categorías ---------- */

.shelf { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 2vw, 24px); }
.shelf__item { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.shelf__media { border-radius: var(--r); overflow: hidden; outline: 1px solid var(--ink); outline-offset: -1px; aspect-ratio: 3 / 4; background: var(--blush); transition: transform .3s var(--ease); }
.shelf__media img { width: 100%; height: 100%; object-fit: cover; }
.shelf__item:hover .shelf__media { transform: translateY(-4px); }
.shelf__item h3 { margin: 14px 0 4px; font-size: 1.125rem; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.shelf__item h3 .icon { flex: none; color: var(--accent); transition: transform .2s var(--ease); }
.shelf__item:hover h3 { color: var(--accent-dark); }
.shelf__item:hover h3 .icon { transform: translate(2px, -2px); }
.shelf__item p { font-size: .9375rem; color: var(--muted); }
@media (max-width: 900px) {
  .shelf { grid-template-columns: repeat(2, 1fr); }
  .shelf__item:last-child { grid-column: 1 / -1; }
  .shelf__item:last-child .shelf__media { aspect-ratio: 16 / 7; }
}

/* ---------- Tarjetas de producto ---------- */

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 24px); }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
.product-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); transition: border-color .2s var(--ease); }
.product-card:hover { border-color: var(--accent); }
.product-card__media { display: block; aspect-ratio: 1; background: var(--blush); border-bottom: 1px solid var(--line); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.03); }
.product-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__cat { font-size: .8125rem; color: var(--muted); margin: 0; }
.product-card h3 { font-size: 1.0625rem; margin: 0; line-height: 1.3; }
.product-card h3 a { color: var(--ink); text-decoration: none; }
.product-card h3 a:hover { color: var(--accent-dark); text-decoration: underline; }
.product-card__short { font-size: .9375rem; color: var(--muted); margin: 0; }
.product-card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 1.125rem; }
.price small { font-family: var(--font-body); font-weight: 400; font-size: .8125rem; color: var(--muted); margin-left: 3px; }
@media (max-width: 1023px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .product-grid, .product-grid--3 { grid-template-columns: repeat(2, 1fr); } .product-card__body { padding: 12px; } .product-card__foot .button { width: 100%; } }
@media (max-width: 380px) { .product-grid, .product-grid--3 { grid-template-columns: 1fr; } }

/* ---------- Banda editorial "Cómo elegir" ---------- */

.band { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.band__media { border-radius: var(--r); overflow: hidden; outline: 1px solid var(--ink); outline-offset: -1px; }
.band__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.band__list { list-style: none; margin: 0; padding: 0; }
.band__list li { padding: 18px 0; border-top: var(--stitch); }
.band__list li:last-child { border-bottom: var(--stitch); }
.band__list h3 { margin-bottom: 4px; font-size: 1.125rem; }
.band__list p { margin-bottom: 6px; font-size: 1rem; }
.band__list a { font-weight: 600; }
@media (min-width: 900px) { .band { grid-template-columns: 7fr 5fr; } }

/* ---------- Servicio: texto + tabla ---------- */

.two-col { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
caption { text-align: left; font-family: var(--font-display); font-weight: 700; color: var(--ink); padding-bottom: 10px; }
th, td { text-align: left; padding: 12px 14px; vertical-align: top; }
thead th { background: var(--ink); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: .875rem; }
thead th:first-child { border-radius: var(--r) 0 0 0; }
thead th:last-child { border-radius: 0 var(--r) 0 0; }
tbody tr:nth-child(even) { background: var(--blush); }
tbody td:first-child { font-weight: 600; color: var(--ink); }
.checklist { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { flex: none; color: var(--accent); margin-top: 3px; }

/* ---------- Guías: filas ---------- */

.guide-rows { list-style: none; margin: 0; padding: 0; border-top: var(--stitch); }
.guide-row { display: grid; grid-template-columns: 180px 1fr; gap: clamp(16px, 3vw, 40px); padding: clamp(20px, 3vw, 32px) 0; border-bottom: var(--stitch); align-items: center; }
.guide-row__media { border-radius: var(--r); overflow: hidden; outline: 1px solid var(--ink); outline-offset: -1px; aspect-ratio: 3 / 2; }
.guide-row__media img { width: 100%; height: 100%; object-fit: cover; }
.guide-row__meta { font-size: .875rem; color: var(--muted); margin: 0 0 4px; }
.guide-row h3 { margin-bottom: 6px; }
.guide-row h3 a { color: var(--ink); text-decoration: none; }
.guide-row h3 a:hover { color: var(--accent-dark); text-decoration: underline; }
.guide-row p:last-child { margin: 0; }
@media (max-width: 600px) { .guide-row { grid-template-columns: 1fr; } .guide-row__media { max-width: 320px; } }

/* ---------- Sección de asesoramiento (formulario) ---------- */

.lead-section { position: relative; background: var(--blush); border-top: var(--stitch); border-bottom: var(--stitch); }
.lead-section::before { content: ""; position: absolute; inset: 0; background-image: var(--grid-bg); background-size: 32px 32px; opacity: .45; pointer-events: none; }
.lead-section .container { position: relative; }
.lead-section__grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (min-width: 960px) { .lead-section__grid { grid-template-columns: 5fr 7fr; } }
.lead-section__text .lead { margin-top: 1rem; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 36px); }

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

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; color: var(--ink); font-size: .9375rem; }
.field__hint { font-weight: 400; color: var(--muted); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line-strong); border-radius: var(--r); padding: 11px 14px; min-height: 48px;
  transition: border-color .2s var(--ease);
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 256 256' fill='%234A3D44'><path d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32z'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #8C7E86; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { margin: 0; font-size: .875rem; color: var(--error); font-weight: 600; }
.field--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.field--check label { flex: 1; font-weight: 400; color: var(--text); font-size: .9375rem; }
.field--check .field__error { flex-basis: 100%; }
.form-alert { background: var(--error-bg); border: 1px solid var(--error); color: var(--error); border-radius: var(--r); padding: 12px 14px; font-weight: 600; margin: 0 0 18px; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.privacy-layer { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r); padding: 0 14px; font-size: .9rem; }
.privacy-layer summary { cursor: pointer; padding: 12px 0; font-weight: 600; color: var(--ink); }
.privacy-layer dl { margin: 0 0 12px; display: grid; gap: 6px; }
.privacy-layer dl div { display: grid; grid-template-columns: 130px 1fr; gap: 8px; }
.privacy-layer dt { font-weight: 600; color: var(--ink); }
.privacy-layer dd { margin: 0; }
.lead-form__submit { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.lead-form__note { margin: 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .privacy-layer dl div { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Acordeón (FAQ) ---------- */

.accordion { border-top: var(--stitch); }
.accordion details { border-bottom: var(--stitch); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; color: var(--ink); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { flex: none; color: var(--accent); transition: transform .25s var(--ease); }
.accordion details[open] summary .icon { transform: rotate(45deg); }
.accordion summary:hover { color: var(--accent-dark); }
.accordion__body { padding: 0 0 20px; max-width: 70ch; }
.faq-group + .faq-group { margin-top: clamp(32px, 4vw, 56px); }
.faq-group h2 { margin-bottom: 12px; }

/* ---------- CTA ---------- */

.cta { background: var(--ink); color: var(--white); padding-block: clamp(40px, 5vw, 64px); }
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.cta__text { max-width: 56ch; }
.cta h2 { color: var(--white); }
.cta p { color: #D9CCD2; margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .button--ghost { color: var(--white); border-color: rgb(255 255 255 / .35); }
.cta .button--ghost:hover { background: rgb(255 255 255 / .1); color: var(--white); }
.cta .button--primary:focus-visible, .cta .button--ghost:focus-visible { outline-color: var(--white); }

/* ---------- Cabeceras de página, migas ---------- */

.page-head { padding-top: clamp(24px, 3vw, 40px); }
.page-head h1 { margin-top: 12px; }
.page-head--narrow .container { max-width: 760px; }
.page-head--split .container { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-head__media { border-radius: var(--r); overflow: hidden; outline: 1px solid var(--ink); outline-offset: -1px; }
.page-head__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .page-head--split .container { grid-template-columns: 7fr 5fr; } .page-head--split .page-head__media img { aspect-ratio: 3 / 4; max-height: 520px; } }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .875rem; color: var(--muted); }
.crumbs li + li::before { content: "\00d7"; margin-right: 8px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.legal-meta { font-size: .9rem; color: var(--muted); }

/* ---------- Tienda ---------- */

.catalog-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.catalog-cats a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.catalog-cats a:hover { border-color: var(--accent); color: var(--accent-dark); }
.catalog-cats a[aria-current="page"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.catalog-cats img { width: 40px; height: 40px; object-fit: cover; border-radius: var(--r); flex: none; }
@media (max-width: 900px) { .catalog-cats { grid-template-columns: repeat(2, 1fr); } .catalog-cats a:last-child { grid-column: 1 / -1; } }
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(24px, 4vw, 56px); border-top: var(--stitch); }
.guide-list li { padding: 20px 0; border-bottom: var(--stitch); }
.guide-list h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.guide-list p { margin: 0; font-size: .9625rem; }
@media (max-width: 700px) { .guide-list { grid-template-columns: 1fr; } }

/* ---------- Ficha de producto ---------- */

.product { display: grid; gap: clamp(28px, 4vw, 64px); margin-top: 20px; }
@media (min-width: 900px) { .product { grid-template-columns: 5fr 6fr; align-items: start; } .product__media { position: sticky; top: 92px; } }
.product__media { border-radius: var(--r); overflow: hidden; outline: 1px solid var(--ink); outline-offset: -1px; background: var(--blush); }
.product__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product__cat { color: var(--muted); font-size: .9375rem; margin: 0 0 6px; }
.product__short { font-size: 1.125rem; color: var(--text); }
.product__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 18px 0; }
.product__price .price { font-size: 1.75rem; }
.add-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.qty { display: inline-flex; border: 1.5px solid var(--line-strong); border-radius: var(--r); overflow: hidden; }
.qty button { width: 44px; height: 46px; border: 0; background: var(--white); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.qty button:hover { background: var(--blush); color: var(--accent); }
.qty input { width: 56px; height: 46px; border: 0; border-inline: 1.5px solid var(--line-strong); text-align: center; font: inherit; font-weight: 600; color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus-visible { outline-offset: -3px; }
.add-feedback { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; padding: 10px 14px; border-radius: var(--r); background: #EAF3EE; color: var(--ok); font-weight: 600; }
.add-feedback .icon { flex: none; }
.product__actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.spec-groups { display: grid; gap: 14px; margin-top: 24px; }
.spec-group { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.spec-group h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin-bottom: 10px; }
.spec-group h3 .icon { color: var(--accent); }
.spec-group dl { margin: 0; display: grid; gap: 6px; }
.spec-group dl div { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 12px; font-size: .9375rem; }
.spec-group dt { color: var(--muted); }
.spec-group dd { margin: 0; color: var(--ink); }
.maker-box { margin-top: clamp(28px, 4vw, 48px); padding: clamp(20px, 3vw, 32px); background: var(--blush); border-radius: var(--r); }
.maker-box h2 { font-size: 1.25rem; }
.maker-box dl { margin: 0; display: grid; gap: 8px; }
.maker-box dl div { display: grid; grid-template-columns: minmax(120px, 25%) 1fr; gap: 12px; font-size: .9375rem; }
.maker-box dt { color: var(--muted); }
.maker-box dd { margin: 0; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.list-x { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.list-x li { position: relative; padding-left: 22px; }
.list-x li::before { content: "\00d7"; position: absolute; left: 0; top: -1px; color: var(--accent); font-family: var(--font-display); font-weight: 800; font-size: 1.1em; }

/* ---------- Cesta ---------- */

.cart { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 960px) { .cart { grid-template-columns: 1fr 360px; } .cart-summary { position: sticky; top: 92px; } }
.cart-list { list-style: none; margin: 0; padding: 0; border-top: var(--stitch); }
.cart-item { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 18px 0; border-bottom: var(--stitch); align-items: center; }
.cart-item img { width: 88px; height: 88px; object-fit: cover; border-radius: var(--r); outline: 1px solid var(--line); outline-offset: -1px; }
.cart-item h3 { font-size: 1.0625rem; margin: 0 0 4px; }
.cart-item h3 a { color: var(--ink); text-decoration: none; }
.cart-item h3 a:hover { color: var(--accent-dark); text-decoration: underline; }
.cart-item__meta { margin: 0; font-size: .9rem; color: var(--muted); }
.cart-item__controls { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.cart-item__price { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.cart-item .remove { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--muted); cursor: pointer; }
.cart-item .remove:hover { border-color: var(--error); color: var(--error); }
@media (min-width: 700px) { .cart-item { grid-template-columns: 88px 1fr auto; } .cart-item__controls { grid-column: auto; } }
.cart-empty { padding: clamp(28px, 4vw, 48px); border: 1px dashed var(--line-strong); border-radius: var(--r); text-align: center; }
.cart-empty__icon { display: inline-flex; padding: 14px; border-radius: 50%; background: var(--blush); color: var(--accent); margin-bottom: 12px; }
.cart-summary { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 28px); background: var(--white); }
.cart-summary h2 { font-size: 1.25rem; }
.cart-summary dl { margin: 0 0 18px; display: grid; gap: 10px; }
.cart-summary dl div { display: flex; justify-content: space-between; gap: 12px; font-size: .9625rem; }
.cart-summary dt { color: var(--muted); }
.cart-summary dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.cart-summary__total { border-top: var(--stitch); padding-top: 10px; }
.cart-summary__total dd { font-family: var(--font-display); font-weight: 800; }
.cart-summary .button { width: 100%; }
.cart-summary__note { margin: 14px 0 0; font-size: .875rem; color: var(--muted); }
.cart-checkout { background: var(--blush); border-top: var(--stitch); }
.cart-checkout__grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (min-width: 960px) { .cart-checkout__grid { grid-template-columns: 5fr 7fr; } }

/* ---------- Guías: artículo ---------- */

.article-head { padding-top: clamp(24px, 3vw, 40px); }
.article-head__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; color: var(--muted); margin: 12px 0 0; }
.article-media { margin: clamp(24px, 3vw, 40px) 0; border-radius: var(--r); overflow: hidden; outline: 1px solid var(--ink); outline-offset: -1px; }
.article-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { margin-top: 1.5em; }
.prose li + li { margin-top: .4em; }
.prose .table-wrap { margin: 1.25rem 0; }
.prose--legal h2 { font-size: 1.375rem; scroll-margin-top: 96px; }
.legal-toc { margin: 24px 0 32px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--r); }
.legal-toc h2 { font-size: 1rem; margin-bottom: 8px; }
.legal-toc ol { margin: 0; padding-left: 1.25rem; columns: 2; column-gap: 32px; font-size: .9375rem; }
.legal-toc li { break-inside: avoid; padding: 2px 0; }
@media (max-width: 600px) { .legal-toc ol { columns: 1; } }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); background: var(--blush); }
.notice .icon { flex: none; color: var(--accent); margin-top: 2px; }
.notice p { margin: 0; font-size: .9375rem; }
.notice--block { display: block; }
.notice--block p + p { margin-top: 8px; }
.section--after-article { margin-top: clamp(40px, 5vw, 72px); }

/* ---------- Sobre nosotros / contacto ---------- */

.split { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > :first-child { order: 2; } }
.split__media { border-radius: var(--r); overflow: hidden; outline: 1px solid var(--ink); outline-offset: -1px; }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; border-top: var(--stitch); }
.facts li { padding: 20px 0; border-bottom: var(--stitch); }
.facts strong { display: block; font-family: var(--font-display); font-size: 1.125rem; margin-bottom: 4px; }
.facts p { margin: 0; font-size: .9625rem; color: var(--muted); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { counter-increment: step; padding-top: 16px; border-top: 3px solid var(--accent); }
.steps h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.steps p { margin: 0; font-size: .9625rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.contact-block { display: grid; gap: 14px; }
.contact-block__item { display: flex; gap: 12px; align-items: flex-start; }
.contact-block__item .icon { flex: none; color: var(--accent); margin-top: 3px; }
.contact-block__item strong { display: block; }
.contact-block__item p { margin: 0; }

/* ---------- Páginas de aviso (404, gracias) ---------- */

.notice-page { padding-block: clamp(56px, 9vw, 120px); text-align: center; }
.notice-page .container { max-width: 680px; }
.notice-page h1 { margin-inline: auto; }
.notice-page__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 14vw, 8rem); line-height: 1; color: var(--blush-deep); margin: 0 0 8px; letter-spacing: -.04em; }
.notice-page__icon { display: inline-flex; padding: 16px; border-radius: 50%; background: var(--blush); color: var(--accent); margin-bottom: 16px; }
.notice-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.chips { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips--start { justify-content: flex-start; }
.chip { display: inline-block; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--r); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.chip:hover { border-color: var(--accent); color: var(--accent-dark); }

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

.site-footer { border-top: 2px dashed var(--accent); margin-top: auto; }
.site-footer__inner { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; padding-block: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer__brand p { max-width: 40ch; font-size: .9625rem; margin: 14px 0 18px; }
.brand--footer .brand__name { font-size: 1.125rem; }
.contact-list { font-style: normal; display: grid; gap: 8px; font-size: .9625rem; }
.contact-list div { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon { flex: none; color: var(--accent); margin-top: 3px; }
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--accent); }
.site-footer__title { font-size: .9375rem; font-weight: 700; margin-bottom: 12px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__col a, .site-footer__col .link-button { color: var(--text); text-decoration: none; font-size: .9625rem; }
.site-footer__col a:hover, .site-footer__col .link-button:hover { color: var(--accent); text-decoration: underline; }
.site-footer__bottom { border-top: 1px solid var(--line); }
.site-footer__bottom > * { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.site-footer__bottom { display: block; padding-block: 16px; font-size: .875rem; color: var(--muted); }
.site-footer__bottom p { margin: 0; }
.site-footer__social { list-style: none; padding: 0; margin: 8px auto 0; display: flex; gap: 16px; }
.site-footer__social a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; }
@media (max-width: 960px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__inner { grid-template-columns: 1fr; } }

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

.cookie-banner {
  position: fixed; left: 16px; bottom: 16px; z-index: 70; max-width: 420px; width: calc(100% - 32px);
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r); box-shadow: var(--shadow);
  padding: 16px 18px; display: grid; gap: 12px;
}
.cookie-banner__text { margin: 0; font-size: .9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-banner__actions .button { flex: 1 1 auto; }
.cookie-dialog { border: 1px solid var(--line-strong); border-radius: var(--r); padding: 0; width: min(560px, calc(100% - 32px)); box-shadow: var(--shadow); color: var(--text); }
.cookie-dialog::backdrop { background: rgb(42 31 38 / .5); }
.cookie-dialog__form { padding: clamp(20px, 3vw, 28px); margin: 0; }
.cookie-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.cookie-dialog__head h2 { margin: 0; font-size: 1.25rem; }
.cookie-cats { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 12px; }
.cookie-cat { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; font-size: .9rem; }
.cookie-cat__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.cookie-cat__state { display: block; font-size: .8125rem; color: var(--muted); }
.cookie-cat p { margin: 0; color: var(--muted); }
.cookie-dialog__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch__track { position: absolute; inset: 0; background: var(--line-strong); border-radius: 13px; transition: background .2s; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); transition: transform .2s var(--ease); }
.switch input:checked + .switch__track { background: var(--accent); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:disabled + .switch__track { opacity: .4; }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Aparición al hacer scroll ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal--pending { opacity: 0; transform: translateY(16px); }
  .reveal.is-visible { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .shelf .reveal.is-visible:nth-child(2), .product-grid .reveal.is-visible:nth-child(2) { transition-delay: .06s; }
  .shelf .reveal.is-visible:nth-child(3), .product-grid .reveal.is-visible:nth-child(3) { transition-delay: .12s; }
  .shelf .reveal.is-visible:nth-child(4), .product-grid .reveal.is-visible:nth-child(4) { transition-delay: .18s; }
  .shelf .reveal.is-visible:nth-child(5) { transition-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
