/* ==========================================================================
   Jitsuka — Tienda online
   BJJ apparel · Granada
   CSS mobile-first. Sin frameworks ni dependencias externas.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fuentes locales
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic-latin-ext.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  --paper: #f3eee6;
  --paper-deep: #e8dfd2;
  --paper-soft: #faf7f1;
  --ink: #13110e;
  --ink-soft: #1b1814;
  --ink-2: #2b2620;
  --dark: #0f0d0b;
  --dark-2: #181512;
  --cream: #f6f0e7;
  --muted: #6b6258;
  --muted-light: #91867a;
  --red: #ec2625;
  --red-deep: #b7191b;
  --red-dark: #8f1215;
  --red-soft: #f6d2ce;
  --green: #1b6b3f;
  --line: rgba(19, 17, 14, 0.14);
  --line-strong: rgba(19, 17, 14, 0.25);
  --line-light: rgba(246, 240, 231, 0.16);
  --line-light-strong: rgba(246, 240, 231, 0.28);

  --font-sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --container: 1280px;
  --gutter: clamp(1.25rem, 4.2vw, 3.5rem);
  --header-h: 74px;
  --announcement-h: 34px;
  --radius: 3px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   3. Reset y base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color-scheme: light;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

body.is-locked {
  overflow: hidden;
}

main,
footer {
  position: relative;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

::selection {
  background: var(--red);
  color: var(--cream);
}

:focus-visible {
  outline: 2px solid var(--red-deep);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   4. Utilidades y layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + (var(--gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: calc(900px + (var(--gutter) * 2));
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex: none;
  vertical-align: middle;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 500;
  padding: 0.8rem 1rem;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.section {
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.section--tight {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  color: var(--red-deep);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 1.65rem;
  height: 1px;
  flex: none;
  background: currentColor;
}

.kicker--light {
  color: #ff8a82;
}

.section-title {
  margin-top: 1rem;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(2.4rem, 7.4vw, 4.8rem);
  font-stretch: 84%;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
}

.section-title em {
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 1.06em;
  font-style: italic;
  font-stretch: normal;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-transform: none;
}

.section-title--light {
  color: var(--cream);
}

.section-title--light em {
  color: #ff8a82;
}

.section-lead {
  max-width: 55ch;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: clamp(0.97rem, 1.8vw, 1.08rem);
  line-height: 1.72;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.section-heading__link {
  flex: none;
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   5. Botones y enlaces
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.015em;
  line-height: 1.15;
  text-align: center;
  transition: background-color 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease), transform 0.22s var(--ease);
}

.btn .icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.22s var(--ease);
}

.btn:hover .icon {
  transform: translateX(2px);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.btn--primary:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
}

.btn--light {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--paper);
  border-color: var(--paper);
}

.btn--outline {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--ink);
  background: rgba(19, 17, 14, 0.03);
}

.btn--outline-light {
  border-color: rgba(246, 240, 231, 0.45);
  color: var(--cream);
}

.btn--outline-light:hover {
  border-color: var(--cream);
  background: rgba(246, 240, 231, 0.08);
}

.btn--full {
  width: 100%;
}

.btn--small {
  min-height: 44px;
  padding: 0.7rem 1rem;
  font-size: 0.74rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(183, 25, 27, 0.3);
  color: var(--red-deep);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.text-link .icon {
  width: 0.85rem;
  height: 0.85rem;
  transition: transform 0.2s var(--ease);
}

.text-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.text-link:hover .icon {
  transform: translateX(3px);
}

.text-link--light {
  color: var(--cream);
  border-color: rgba(246, 240, 231, 0.35);
}

.text-link--light:hover {
  color: #ffaaa4;
  border-color: #ffaaa4;
}

/* --------------------------------------------------------------------------
   6. Barra de anuncio, cabecera y navegación
   -------------------------------------------------------------------------- */
.announcement {
  position: relative;
  z-index: 110;
  min-height: var(--announcement-h);
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.59rem;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
}

.announcement__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--announcement-h);
  gap: 0.55rem;
  text-align: center;
}

.announcement__dot {
  width: 4px;
  height: 4px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px rgba(236, 38, 37, 0.6);
}

.announcement a {
  border-bottom: 1px solid rgba(246, 240, 231, 0.35);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 238, 230, 0.94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(250, 247, 241, 0.97);
  box-shadow: 0 10px 30px rgba(25, 18, 13, 0.06);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand__logo {
  width: 118px;
  height: auto;
}

.brand--footer .brand__logo {
  width: 142px;
}

.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding: 2rem var(--gutter) 3rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}

.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0s;
}

.site-nav__list {
  display: flex;
  flex-direction: column;
}

.site-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(1.55rem, 6.5vw, 2.15rem);
  font-stretch: 88%;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-transform: uppercase;
}

.site-nav__link .icon {
  width: 1rem;
  height: 1rem;
  color: var(--red);
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--red-deep);
}

.site-nav__mobile-contact {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.site-nav__mobile-contact p {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
}

.site-nav__mobile-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-size: 0.9rem;
}

.site-nav__mobile-contact a:hover {
  color: var(--red-deep);
}

.site-nav__mobile-contact .icon {
  color: var(--red);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}

.cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.cart-button:hover {
  border-color: var(--ink);
  color: var(--red-deep);
}

.cart-button .icon {
  width: 1.2rem;
  height: 1.2rem;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--red);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 700;
  line-height: 1;
}

.cart-count[data-empty="true"] {
  opacity: 0;
  visibility: hidden;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.menu-toggle:hover {
  border-color: var(--ink);
  color: var(--red-deep);
}

.menu-toggle__lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 19px;
  height: 14px;
}

.menu-toggle__lines span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.25s var(--ease);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.header__contact {
  display: none;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3.2rem 0 3.5rem;
}

.hero__inner {
  display: grid;
  gap: 2.8rem;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--red-deep);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero__eyebrow::before {
  content: "";
  width: 1.7rem;
  height: 1px;
  background: currentColor;
}

.hero__title {
  margin-top: 1.2rem;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(3.5rem, 14vw, 7rem);
  font-stretch: 82%;
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.83;
  text-transform: uppercase;
}

.hero__title em {
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 0.97em;
  font-style: italic;
  font-stretch: normal;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 0.9;
  text-transform: none;
}

.hero__lead {
  max-width: 48ch;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.13rem);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  margin-top: 1.8rem;
}

.hero__utility {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.2rem;
  margin-top: 1.2rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.hero__utility span,
.hero__utility a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero__utility .icon {
  width: 0.8rem;
  height: 0.8rem;
  color: var(--red);
}

.hero__utility a:hover {
  color: var(--red-deep);
}

.hero__media {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  border: 1px solid rgba(19, 17, 14, 0.2);
  aspect-ratio: 4 / 5;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), transparent 48%, rgba(0, 0, 0, 0.35));
}

.hero__media-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.36rem 0.55rem;
  background: var(--red-deep);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.hero__media-link {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(246, 240, 231, 0.32);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__media-link .icon {
  width: 1rem;
  height: 1rem;
}

.hero__media-link:hover {
  color: #ffaaa4;
}

.hero__stamp {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 1px solid rgba(246, 240, 231, 0.5);
  border-radius: 50%;
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.45rem;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(8deg);
}

/* --------------------------------------------------------------------------
   8. Marquesina y franja de confianza
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
  padding: 0.72rem 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  padding-right: 1.8rem;
}

.marquee span {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee b {
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 400;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.trust-strip__grid {
  display: grid;
  border-left: 1px solid var(--line);
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item .icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-bottom: 0.3rem;
  color: var(--red);
}

.trust-item strong {
  font-size: 0.82rem;
  font-weight: 650;
}

.trust-item span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.025em;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   9. Productos
   -------------------------------------------------------------------------- */
.products {
  background: var(--paper);
}

.product-grid {
  display: grid;
  gap: 1.3rem;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-deep);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.product-card:hover .product-card__media img {
  transform: scale(1.035);
}

.product-card__media--contain img {
  object-fit: contain;
  padding: 6%;
}

.product-card__badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 2;
  padding: 0.32rem 0.5rem;
  background: var(--paper-soft);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.product-card__badge--red {
  background: var(--red-deep);
  color: var(--cream);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.85rem;
}

.product-card__category {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.product-card__title {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.product-card__title a:hover {
  color: var(--red-deep);
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.15rem;
}

.product-card__price {
  font-size: 0.92rem;
  font-weight: 600;
}

.product-card__colors {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.02em;
}

.swatches {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.swatch {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(19, 17, 14, 0.22);
  border-radius: 50%;
  background: var(--swatch);
}

/* --------------------------------------------------------------------------
   10. Bloque editorial de producto
   -------------------------------------------------------------------------- */
.craft {
  background: var(--dark);
  color: var(--cream);
}

.craft__grid {
  display: grid;
  gap: 2.5rem;
}

.craft__media {
  overflow: hidden;
  background: #090806;
}

.craft__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.craft__content {
  align-self: center;
}

.craft .section-title {
  margin-top: 1rem;
}

.craft__lead {
  max-width: 43ch;
  margin-top: 1.25rem;
  color: #bdb3a7;
  line-height: 1.72;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.spec {
  padding: 1.1rem;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.spec strong {
  display: block;
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.spec span {
  display: block;
  margin-top: 0.35rem;
  color: #a99e91;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.craft .text-link {
  margin-top: 1.8rem;
}

/* --------------------------------------------------------------------------
   11. Categorías
   -------------------------------------------------------------------------- */
.categories {
  background: var(--paper);
}

.categories__grid {
  display: grid;
  gap: 1rem;
}

.category-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 400px;
  overflow: hidden;
  background: var(--dark);
  color: var(--cream);
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.category-tile:hover img {
  transform: scale(1.035);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 7, 0.03) 30%, rgba(10, 8, 7, 0.72) 100%);
  pointer-events: none;
}

.category-tile--light {
  color: var(--ink);
  background: var(--paper-deep);
}

.category-tile--light::after {
  background: linear-gradient(180deg, transparent 45%, rgba(243, 238, 230, 0.85) 100%);
}

.category-tile--light img {
  object-fit: contain;
  padding: 8%;
}

.category-tile__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
  padding: 1.5rem;
}

.category-tile__content span {
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.category-tile__content h3 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-stretch: 86%;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.category-tile__content .icon {
  width: 1rem;
  height: 1rem;
  margin-top: 0.4rem;
}

/* --------------------------------------------------------------------------
   12. Historia de marca
   -------------------------------------------------------------------------- */
.story {
  background: var(--paper-soft);
}

.story__grid {
  display: grid;
  gap: 2.5rem;
}

.story__media {
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story__media-caption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(246, 240, 231, 0.35);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.story__content {
  align-self: center;
}

.story__quote {
  max-width: 28ch;
  margin-top: 1.4rem;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4.8vw, 3.3rem);
  font-style: italic;
  line-height: 1;
}

.story__copy {
  max-width: 48ch;
  margin-top: 1.2rem;
  color: var(--muted);
  line-height: 1.72;
}

.story__values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
}

.story__values li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.story__values .icon {
  width: 0.8rem;
  height: 0.8rem;
  color: var(--red);
}

/* --------------------------------------------------------------------------
   13. Custom Team
   -------------------------------------------------------------------------- */
.team-banner {
  position: relative;
  overflow: hidden;
  background: var(--red-deep);
  color: var(--cream);
}

.team-banner__grid {
  display: grid;
  gap: 0;
}

.team-banner__media {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

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

.team-banner__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(143, 18, 21, 0.35), transparent 60%);
}

.team-banner__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4.5rem);
}

.team-banner .section-title {
  color: var(--cream);
}

.team-banner .section-title em {
  color: #ffc6c1;
}

.team-banner__lead {
  max-width: 44ch;
  margin-top: 1.2rem;
  color: rgba(246, 240, 231, 0.94);
  line-height: 1.7;
}

.team-banner__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 1.4rem;
  color: rgba(246, 240, 231, 0.9);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.team-banner .btn {
  margin-top: 1.7rem;
  width: fit-content;
}

/* --------------------------------------------------------------------------
   14. Pie de página
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0 2rem;
  background: var(--dark);
  color: var(--cream);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 420px;
  height: 100%;
  background: radial-gradient(circle at 80% 30%, rgba(236, 38, 37, 0.14), transparent 60%);
  pointer-events: none;
}

.footer__main {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
}

.footer__brand {
  max-width: 380px;
}

.footer__tagline {
  margin-top: 1.2rem;
  color: #bdb3a7;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-style: italic;
  line-height: 1.1;
}

.footer__desc {
  max-width: 33ch;
  margin-top: 0.8rem;
  color: #92877b;
  font-size: 0.8rem;
  line-height: 1.65;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--cream);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.social-link .icon {
  width: 1rem;
  height: 1rem;
}

.social-link:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
}

.footer__nav,
.footer__contact {
  display: grid;
  align-content: start;
}

.footer__nav h2,
.footer__contact h2 {
  margin-bottom: 0.9rem;
  color: #ff8a82;
  font-family: var(--font-mono);
  font-size: 0.59rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer__nav ul,
.footer__contact > div {
  display: grid;
  gap: 0.5rem;
}

.footer__nav a,
.footer__contact a,
.footer__contact p {
  color: #bdb3a7;
  font-size: 0.79rem;
  line-height: 1.5;
}

.footer__nav a:hover,
.footer__contact a:hover {
  color: var(--cream);
}

.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  overflow-wrap: anywhere;
}

.footer__contact .icon {
  width: 0.85rem;
  height: 0.85rem;
  flex: none;
  color: #ff8a82;
}

.footer__contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.footer__contact p .icon {
  margin-top: 0.16rem;
}

.footer__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 2.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-light);
  color: #9a8f83;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.035em;
  line-height: 1.7;
}

.footer__bottom-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  align-items: center;
}

.footer__bottom a:hover {
  color: var(--cream);
}

/* --------------------------------------------------------------------------
   15. Carrito flotante
   -------------------------------------------------------------------------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(10, 8, 6, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}

.cart-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0s;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  width: min(100%, 470px);
  background: var(--paper-soft);
  border-left: 1px solid var(--line);
  box-shadow: -30px 0 80px rgba(10, 8, 6, 0.18);
  transform: translateX(102%);
  visibility: hidden;
  transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
}

.cart-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.35s var(--ease), visibility 0s linear 0s;
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__head h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cart-drawer__count {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.05em;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.icon-button:hover {
  border-color: var(--ink);
  color: var(--red-deep);
}

.icon-button .icon {
  width: 1rem;
  height: 1rem;
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 0 1.25rem;
}

.cart-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 3rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.cart-drawer__empty strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0.8rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-line__media {
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--paper-deep);
}

.cart-line__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line__content {
  min-width: 0;
}

.cart-line__title {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.35;
}

.cart-line__meta {
  margin-top: 0.18rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.025em;
  line-height: 1.5;
  text-transform: uppercase;
}

.cart-line__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.55rem;
}

.cart-line__price {
  font-size: 0.82rem;
  font-weight: 600;
}

.cart-line__link {
  border: 0;
  padding: 0;
  background: none;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-line__link:hover {
  color: var(--red-deep);
}

.quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
}

.quantity button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.quantity button:hover {
  color: var(--red-deep);
}

.quantity .icon {
  width: 0.8rem;
  height: 0.8rem;
}

.quantity output {
  min-width: 26px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-align: center;
}

.cart-drawer__foot {
  padding: 1.1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.cart-summary-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.cart-summary-line strong {
  color: var(--ink);
  font-size: 1rem;
}

.cart-shipping {
  margin-top: 0.55rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.02em;
  line-height: 1.55;
}

.cart-shipping[data-free="true"] {
  color: var(--green);
  font-weight: 600;
}

.cart-drawer__foot .btn {
  margin-top: 0.95rem;
}

.cart-drawer__foot .text-link {
  margin-top: 0.9rem;
}

/* --------------------------------------------------------------------------
   16. Migas y cabeceras de página
   -------------------------------------------------------------------------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 1.1rem 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-transform: uppercase;
}

.breadcrumbs a:hover {
  color: var(--red-deep);
}

.breadcrumbs .icon {
  width: 0.7rem;
  height: 0.7rem;
  opacity: 0.6;
}

.page-hero {
  padding: 2.5rem 0 2.8rem;
  border-bottom: 1px solid var(--line);
}

.page-hero__title {
  max-width: 900px;
  margin-top: 1rem;
  color: var(--ink);
  font-size: clamp(2.7rem, 8vw, 5.4rem);
  font-stretch: 82%;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.86;
  text-transform: uppercase;
}

.page-hero__title em {
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 1.04em;
  font-style: italic;
  font-stretch: normal;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-transform: none;
}

.page-hero__lead {
  max-width: 58ch;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: clamp(0.97rem, 1.8vw, 1.08rem);
  line-height: 1.72;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1.2rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   17. Filtros de tienda
   -------------------------------------------------------------------------- */
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.shop-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 36px;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.shop-filter:hover,
.shop-filter[aria-current="page"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.shop-result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   18. Página de producto
   -------------------------------------------------------------------------- */
.product-page {
  padding-bottom: clamp(4rem, 9vw, 7rem);
}

.product-layout {
  display: grid;
  gap: 2.4rem;
}

.product-gallery {
  min-width: 0;
}

.product-gallery__main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--paper-deep);
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery__main--contain img {
  object-fit: contain;
  padding: 4%;
}

.product-gallery__badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  padding: 0.34rem 0.55rem;
  background: var(--red-deep);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.product-gallery__thumbs {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.product-thumb {
  flex: 0 0 64px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  background: var(--paper-deep);
  transition: border-color 0.2s var(--ease);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumb:hover,
.product-thumb[aria-current="true"] {
  border-color: var(--ink);
}

.product-info {
  min-width: 0;
}

.product-info__eyebrow {
  color: var(--red-deep);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.product-info__title {
  margin-top: 0.5rem;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-stretch: 86%;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.94;
  text-transform: uppercase;
}

.product-info__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  margin-top: 0.9rem;
}

.product-price {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 650;
}

.product-price-note {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.02em;
}

.product-info__summary {
  max-width: 47ch;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.product-form {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.option-group {
  margin: 0 0 1.2rem;
  padding: 0;
  border: 0;
}

.option-group legend {
  width: 100%;
  margin-bottom: 0.6rem;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.option-group legend span {
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

.swatch-options,
.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.swatch-option input,
.size-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.swatch-option label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0.38rem 0.7rem 0.38rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.swatch-option label::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  border: 1px solid rgba(19, 17, 14, 0.25);
  border-radius: 50%;
  background: var(--swatch);
}

.swatch-option input:checked + label,
.swatch-option label:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--paper-soft);
}

.swatch-option input:focus-visible + label,
.size-option input:focus-visible + label {
  outline: 2px solid var(--red-deep);
  outline-offset: 3px;
}

.size-option label {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  min-height: 42px;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.size-option input:checked + label,
.size-option label:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.size-help {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.7rem;
  color: var(--red-deep);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.size-help:hover {
  color: var(--ink);
}

.product-form__error {
  min-height: 1rem;
  margin-top: 0.5rem;
  color: var(--red-deep);
  font-size: 0.72rem;
  line-height: 1.45;
}

.product-form .btn {
  margin-top: 0.75rem;
}

.product-form__note {
  margin-top: 0.7rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.02em;
  line-height: 1.55;
}

.product-trust {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-trust li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.product-trust .icon {
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.12rem;
  flex: none;
  color: var(--red);
}

.product-trust strong {
  color: var(--ink);
  font-weight: 600;
}

.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: 1rem;
  padding: 1rem 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
}

.accordion details[open] summary::after {
  content: "−";
}

.accordion__panel {
  padding: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.7;
}

.accordion__panel ul {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.accordion__panel li {
  position: relative;
  padding-left: 0.9rem;
}

.accordion__panel li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--red);
}

.product-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.product-rating__stars {
  color: var(--red);
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   19. Custom Team / calculadora
   -------------------------------------------------------------------------- */
.team-layout {
  display: grid;
  gap: 2.4rem;
}

.team-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--dark);
}

.team-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-card {
  margin-top: 1.5rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.quote-card__title {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.quote-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.quote-row:first-of-type {
  margin-top: 0.55rem;
  border-top: 1px solid var(--line);
}

.quote-row label {
  color: var(--muted);
  font-size: 0.78rem;
}

.quote-row input,
.quote-row select {
  width: 8rem;
  min-height: 38px;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--paper-soft);
  color: var(--ink);
  font-size: 0.8rem;
}

.quote-summary {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.8rem;
}

.quote-summary strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.quote-summary span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  line-height: 1.5;
}

.quote-error {
  min-height: 1rem;
  color: var(--red-deep);
  font-size: 0.7rem;
  line-height: 1.4;
}

.quote-card .btn {
  margin-top: 0.6rem;
}

.quote-card__note {
  margin-top: 0.55rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  line-height: 1.55;
}

.volume-table {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
}

.volume-table th,
.volume-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.volume-table th:last-child,
.volume-table td:last-child {
  text-align: right;
}

/* --------------------------------------------------------------------------
   20. Relacionados
   -------------------------------------------------------------------------- */
.related {
  border-top: 1px solid var(--line);
}

.related__grid {
  display: grid;
  gap: 1.3rem;
}

/* --------------------------------------------------------------------------
   21. Carrito y checkout
   -------------------------------------------------------------------------- */
.cart-page {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 9vw, 7rem);
}

.cart-page__title {
  margin-top: 0.9rem;
  color: var(--ink);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-stretch: 82%;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.86;
  text-transform: uppercase;
}

.cart-page__title em {
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 1.04em;
  font-style: italic;
  font-stretch: normal;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-transform: none;
}

.cart-page__layout {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.cart-page__main {
  min-width: 0;
}

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

.cart-page__empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem 0;
}

.cart-page__empty strong {
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.cart-page__empty p {
  max-width: 40ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.cart-page__item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-page__item-media {
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--paper-deep);
}

.cart-page__item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-page__item-info {
  min-width: 0;
}

.cart-page__item-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.cart-page__item-title {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.3;
}

.cart-page__item-meta {
  margin-top: 0.25rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.03em;
  line-height: 1.5;
  text-transform: uppercase;
}

.cart-page__item-price {
  flex: none;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.cart-page__item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.8rem;
}

.checkout-form {
  margin-top: 2.5rem;
}

.form-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.form-section__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.form-section__title span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  margin-bottom: 0.4rem;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  line-height: 1.4;
  text-transform: uppercase;
}

.field label span {
  color: var(--red-deep);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--paper-soft);
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.5;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: #958a7e;
  opacity: 1;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--ink-2);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(19, 17, 14, 0.07);
}

.field [aria-invalid="true"] {
  border-color: var(--red-deep);
  box-shadow: 0 0 0 3px rgba(183, 25, 27, 0.07);
}

.field-error {
  min-height: 0.9rem;
  margin-top: 0.25rem;
  color: var(--red-deep);
  font-size: 0.68rem;
  line-height: 1.4;
}

.field-error:empty {
  min-height: 0;
  margin-top: 0;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.6;
}

.checkbox input {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 0.16rem;
  accent-color: var(--red-deep);
}

.checkbox a {
  color: var(--red-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkout-submit {
  margin-top: 1.2rem;
}

.checkout-status {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 0.95rem;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  line-height: 1.6;
}

.checkout-status.is-visible {
  display: block;
}

.checkout-status.is-success {
  border-color: rgba(47, 158, 97, 0.35);
  background: rgba(47, 158, 97, 0.06);
  color: #1d6c40;
}

.checkout-status.is-error {
  border-color: rgba(183, 25, 27, 0.35);
  background: rgba(183, 25, 27, 0.05);
  color: var(--red-deep);
}

.checkout-status a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkout-note {
  margin-top: 0.8rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  line-height: 1.6;
}

.checkout-aside {
  align-self: start;
}

.summary-card {
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.summary-card__title {
  margin-bottom: 0.8rem;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.59rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.summary-lines {
  display: grid;
  gap: 0.55rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.summary-lines > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.summary-lines strong {
  color: var(--ink);
  font-weight: 600;
}

.summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.8rem;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
}

.summary-total strong {
  font-size: 1.1rem;
}

.summary-note {
  margin-top: 0.8rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  line-height: 1.6;
}

.checkout-trust {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.checkout-trust li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.55;
}

.checkout-trust .icon {
  width: 0.9rem;
  height: 0.9rem;
  margin-top: 0.12rem;
  flex: none;
  color: var(--red);
}

/* --------------------------------------------------------------------------
   22. Páginas de contenido
   -------------------------------------------------------------------------- */
.content-page {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 9vw, 7rem);
}

.content-page__layout {
  display: grid;
  gap: 2.5rem;
}

.content-page__body {
  min-width: 0;
}

.content-page__body > * + * {
  margin-top: 1.3rem;
}

.content-page__body h2 {
  margin-top: 2.4rem;
  color: var(--ink);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-stretch: 87%;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-transform: uppercase;
}

.content-page__body h3 {
  margin-top: 1.7rem;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.content-page__body p,
.content-page__body li {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.content-page__body ul {
  display: grid;
  gap: 0.4rem;
  padding-left: 1rem;
  list-style: disc;
}

.content-page__body li::marker {
  color: var(--red);
}

.content-page__body a {
  color: var(--red-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-page__aside {
  align-self: start;
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.content-page__aside h2 {
  margin-top: 0;
  font-size: 1rem;
}

.content-page__aside p {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.content-page__aside .btn {
  margin-top: 1rem;
}

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

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

.faq-list summary {
  padding: 1rem 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding-bottom: 1rem;
  max-width: 62ch;
}

.size-table {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.size-table th,
.size-table td {
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.size-table th {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.size-table td {
  color: var(--muted);
  line-height: 1.55;
}

.contact-list {
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-row__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--red);
}

.contact-row__icon .icon {
  width: 1.05rem;
  height: 1.05rem;
}

.contact-row__body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.contact-row__body small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-row__body strong,
.contact-row__body span {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-row__body span {
  color: var(--muted);
  font-size: 0.72rem;
}

.contact-row:hover .contact-row__icon {
  border-color: var(--red);
  background: rgba(236, 38, 37, 0.05);
}

.contact-row .icon:last-child {
  width: 0.9rem;
  height: 0.9rem;
  margin-left: auto;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   23. 404
   -------------------------------------------------------------------------- */
.error-page {
  display: flex;
  align-items: center;
  min-height: 68vh;
  padding: 4rem 0;
}

.error-page__inner {
  max-width: 720px;
}

.error-page__code {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.error-page__title {
  margin-top: 0.8rem;
  color: var(--ink);
  font-size: clamp(3rem, 9vw, 6rem);
  font-stretch: 82%;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.86;
  text-transform: uppercase;
}

.error-page__title em {
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 1.05em;
  font-style: italic;
  font-stretch: normal;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none;
}

.error-page p {
  max-width: 44ch;
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.error-page .btn {
  margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   24. Toast y utilidades de feedback
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 260;
  max-width: calc(100vw - 2rem);
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-light);
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   25. Animaciones de entrada
   -------------------------------------------------------------------------- */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--reveal-delay, 0) * 70ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   26. Adaptación a pantallas mayores
   -------------------------------------------------------------------------- */
@media (min-width: 560px) {
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .hero__actions .btn {
    width: auto;
  }

  .trust-strip__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 720px) {
  :root {
    --header-h: 80px;
  }

  .announcement {
    font-size: 0.63rem;
  }

  .brand__logo {
    width: 135px;
  }

  .brand--footer .brand__logo {
    width: 160px;
  }

  .hero {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .hero__media {
    aspect-ratio: 16 / 11;
  }

  .hero__media img {
    object-position: center 24%;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .categories__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .category-tile {
    min-height: 460px;
  }

  .footer__main {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2.5rem 3rem;
  }

  .footer__contact {
    grid-column: 2;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-list {
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
  }

  .contact-row:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .product-gallery__thumbs {
    gap: 0.55rem;
  }

  .product-thumb {
    flex-basis: 76px;
    height: 76px;
  }
}

@media (min-width: 900px) {
  .section-heading {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem;
  }

  .section-heading > div {
    flex: 1 1 auto;
  }

  .section-heading > .section-lead {
    flex: 0 1 38ch;
    margin: 0 0 0.2rem;
  }

  .section-heading__link {
    margin-left: auto;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    align-items: center;
    gap: clamp(3rem, 6vw, 6rem);
  }

  .hero__media {
    aspect-ratio: 4 / 5;
  }

  .hero__media img {
    object-position: center 22%;
  }

  .hero__stamp {
    width: 82px;
    height: 82px;
    font-size: 0.5rem;
  }

  .trust-strip__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .craft__grid {
    grid-template-columns: 0.92fr 1.08fr;
    align-items: stretch;
  }

  .craft__media {
    min-height: 520px;
  }

  .craft__content {
    padding: clamp(2rem, 5vw, 4rem) 0;
  }

  .story__grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
  }

  .story__media {
    min-height: 520px;
  }

  .team-banner__grid {
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
  }

  .team-banner__media {
    min-height: 100%;
  }

  .product-layout {
    grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
  }

  .product-info {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }

  .team-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
  }

  .cart-page__layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
  }

  .checkout-aside {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }

  .content-page__layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.35fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
  }

  .content-page__aside {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }

  .related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__main {
    grid-template-columns: 1.2fr 0.55fr 0.55fr 0.9fr;
    gap: 2.5rem;
  }

  .footer__contact {
    grid-column: auto;
  }
}

@media (min-width: 960px) {
  :root {
    --header-h: 86px;
  }

  .header__inner {
    gap: 2rem;
  }

  .brand__logo {
    width: 145px;
  }

  .menu-toggle {
    display: none;
  }

  .header__contact {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .header__contact:hover {
    color: var(--red-deep);
  }

  .site-nav {
    position: static;
    display: block;
    min-height: 0;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .site-nav__list {
    flex-direction: row;
    align-items: center;
    gap: clamp(1.2rem, 2.4vw, 2.1rem);
  }

  .site-nav__link {
    display: inline-block;
    padding: 0.55rem 0;
    border: 0;
    color: var(--muted);
    font-family: var(--font-sans);
    font-size: 0.69rem;
    font-weight: 500;
    font-stretch: normal;
    letter-spacing: 0.025em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .site-nav__link .icon {
    display: none;
  }

  .site-nav__link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
  }

  .site-nav__link {
    position: relative;
  }

  .site-nav__link:hover,
  .site-nav__link[aria-current="page"] {
    color: var(--ink);
  }

  .site-nav__link:hover::after,
  .site-nav__link[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .site-nav__mobile-contact {
    display: none;
  }

  .header__actions {
    margin-left: 0;
    padding-left: 0.8rem;
    gap: 0.6rem;
  }
}

@media (min-width: 900px) and (max-width: 1099px) {
  .hero__title {
    font-size: clamp(3.9rem, 8.5vw, 5.1rem);
  }

  .hero__lead {
    font-size: 1rem;
  }
}

@media (min-width: 1100px) {
  .hero {
    min-height: calc(100svh - var(--header-h) - var(--announcement-h));
    display: flex;
    align-items: center;
    padding: 3.5rem 0;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1.06fr) minmax(400px, 0.94fr);
    gap: clamp(3.5rem, 7vw, 8rem);
  }

  .hero__title {
    font-size: clamp(5rem, 6.4vw, 6.6rem);
  }

  .hero__media {
    max-height: 700px;
  }

  .page-hero {
    padding: 4rem 0 3.6rem;
  }

  .product-gallery {
    max-width: 610px;
  }

  .cart-page__item {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .cart-page__item-title {
    font-size: 1.05rem;
  }

  .summary-card {
    padding: 1.5rem;
  }

  .footer__main {
    gap: 3rem;
  }
}

@media (min-width: 1320px) {
  .hero__title {
    font-size: 7rem;
  }

  .section-title {
    font-size: 4.8rem;
  }
}

/* --------------------------------------------------------------------------
   27. Movimiento reducido e impresión
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee__track {
    animation: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .product-card__media img,
  .category-tile img {
    transition: none;
  }
}

@media print {
  .announcement,
  .site-header,
  .cart-drawer,
  .cart-overlay,
  .toast,
  .site-footer {
    display: none !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   28. Contacto flotante
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(15, 13, 11, 0.2);
  border-radius: 50%;
  background: #1f9d55;
  color: #fff;
  box-shadow: 0 10px 30px rgba(20, 15, 10, 0.18);
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.whatsapp-float .icon {
  width: 1.45rem;
  height: 1.45rem;
}

.whatsapp-float:hover {
  background: #178348;
  transform: translateY(-2px);
}

body.is-locked .whatsapp-float {
  opacity: 0;
  pointer-events: none;
}

/* Variante clara para las fichas de "cómo trabajamos" */
.spec-grid--light {
  border-color: var(--line);
}

.spec--light {
  border-color: var(--line);
}

.spec--light strong {
  color: var(--ink);
}

.spec--light span {
  color: var(--muted);
}

@media (max-width: 420px) {
  .announcement__inner { gap: 0.45rem; }
  .announcement__item--secondary,
  .announcement__dot--secondary { display: none; }
}

body.is-locked .toast {
  opacity: 0;
  visibility: hidden;
}

/* Nota de color: las fotos disponibles son del color negro. */
.option-note {
  margin-top: 0.55rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  line-height: 1.55;
}

/* Galería de producto: todas las miniaturas visibles. */
.product-gallery__thumbs {
  flex-wrap: wrap;
  overflow: visible;
}

/* Categorías con pocas piezas: dos columnas y una ficha editorial. */
.product-grid--category {
  grid-template-columns: 1fr;
}

.catalog-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  min-height: 360px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--dark);
  color: var(--cream);
}

.catalog-aside .section-title,
.catalog-aside h2 {
  margin-top: 1rem;
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-stretch: 84%;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-transform: uppercase;
}

.catalog-aside h2 em {
  color: #ff8a82;
  font-family: var(--font-serif);
  font-size: 1.04em;
  font-style: italic;
  font-stretch: normal;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none;
}

.catalog-aside p {
  max-width: 38ch;
  margin-top: 1rem;
  color: #bdb3a7;
  font-size: 0.9rem;
  line-height: 1.7;
}

.catalog-aside .text-link {
  margin-top: auto;
}

/* El botón de WhatsApp no tapa el CTA del producto en móvil. */
@media (max-width: 720px) {
  .whatsapp-float {
    bottom: max(5.25rem, calc(env(safe-area-inset-bottom) + 5.25rem));
    width: 46px;
    height: 46px;
  }

  .checkout-mobile-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.2rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.8rem;
  }

  .checkout-mobile-total strong {
    color: var(--ink);
    font-size: 1.1rem;
  }
}

@media (min-width: 721px) {
  .checkout-mobile-total {
    display: none;
  }
}

@media (min-width: 720px) {
  .product-grid--category {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Enlaces de contacto sin subrayado de bloque. */
.content-page__body a.contact-row {
  text-decoration: none;
}

.contact-row:hover .contact-row__body strong {
  color: var(--red-deep);
}

.catalog-aside {
  position: relative;
  overflow: hidden;
}

.catalog-aside > :not(.catalog-aside__mark) {
  position: relative;
  z-index: 1;
}

.catalog-aside__mark {
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  z-index: 0;
  width: 62%;
  height: auto;
  opacity: 0.16;
  pointer-events: none;
}

/* Correcciones de contraste y enlaces en bloques de texto. */
.team-banner .kicker--light {
  color: #ffe9e4;
}

.content-page__aside a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-nav__tagline {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 2.3rem);
  font-style: italic;
  line-height: 0.98;
}

.site-nav__tagline em {
  color: var(--red);
  font-style: italic;
}

/* El panel de compra no se fija: es más alto que el viewport en algunos equipos. */
@media (min-width: 900px) {
  .product-info {
    position: static;
    top: auto;
  }
}

/* El checkout ya tiene su propio canal de WhatsApp. */
.page-carrito .whatsapp-float {
  display: none;
}

.product-trust a {
  color: var(--red-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-trust a:hover {
  color: var(--ink);
}

/* Encuadres: las fotos de cuerpo entero no deben perder la cabeza en los recortes. */
.category-tile img,
.team-banner__media img,
.story__media img {
  object-position: center top;
}

/* El listado de contacto mantiene una fila final a ancho completo. */
@media (min-width: 720px) {
  .contact-list .contact-row:last-child {
    grid-column: 1 / -1;
  }
}

/* Etiqueta de color bajo la galería del producto. */
.gallery-color-label {
  margin-top: 0.55rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.gallery-color-label span {
  color: var(--ink);
  font-weight: 600;
}

.stock-ui-note {
  min-height: 1.1rem;
  margin-top: 0.45rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  line-height: 1.5;
}

.size-option.is-unavailable label {
  opacity: 0.38;
  text-decoration: line-through;
  cursor: not-allowed;
}
