/*
AUDITORÍA UX/UI v7 — refinamiento sobre estructura existente, sin tocar lógica PHP/backend.
1) Full-bleed: .hero-section y .full-banner no deben usar 100vw + márgenes negativos; se mantienen fuera de .page-shell con inline-size:100% y max-inline-size:100% para evitar overflow horizontal sin parche global en html/body.
2) Producto: .product-card necesita altura predecible; se mantiene flex-column, título a 2 líneas, descripción a 1 línea y footer con precio/botón alineado.
3) Grids: se corrigen proporciones rígidas en productos/categorías/carrito mediante minmax(), aspect-ratio y breakpoints explícitos para 320, 375, 414, 768, 1024, 1280, 1440 y 1920.
4) Huérfanos: .product-grid usa flex-wrap + max-width por tarjeta + justify-content:center para que la última fila no quede perdida ni se estire de forma rara.
5) Chips: .chip-row conserva scroll horizontal intencional, pero lo contiene dentro de la fila con max-inline-size, min-inline-size y overscroll-behavior-inline.
6) Sticky: .filter-box y .cart-summary usan --sticky-top derivado de --header-height y se desactivan en tablet/mobile para no chocar con el header fijo.
*/

:root {
  --color-primary: #0a8fb5;
  --color-primary-dark: #0f3446;
  --color-surface: #ffffff;
  --color-page: #f6f9fb;
  --color-text: #123244;
  --color-muted: #6c7f8d;
  --color-line: rgba(18, 50, 68, 0.10);
  --color-accent: #ff9b54;
  --radius: 12px;
  --radius-lg: 18px;
  --spacing-unit: 8px;
  --shadow-soft: 0 4px 12px rgba(18, 50, 68, 0.06);
  --shadow-hover: 0 12px 28px rgba(18, 50, 68, 0.10);
  --container: 1180px;
  --container-wide: 1320px;
  --side-space: clamp(18px, 4vw, 48px);
  --section-space: clamp(64px, 9vw, 112px);

  --header-height: 76px;
  --sticky-top: calc(var(--header-height) + var(--spacing-unit) * 3);
  --card-gap: calc(var(--spacing-unit) * 2.75);
  --focus-ring: 0 0 0 4px rgba(10, 143, 181, 0.10);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-page);
  color: var(--color-text);
  font-family: "Urbanist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { border: 0; cursor: pointer; }
input, select, textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 1.75);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  outline: none;
  transition: border-color 220ms ease-out, box-shadow 220ms ease-out, background 220ms ease-out;
}
textarea { resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus { border-color: rgba(10, 143, 181, 0.45); box-shadow: var(--focus-ring); }
label {
  display: block;
  margin: calc(var(--spacing-unit) * 2) 0 var(--spacing-unit);
  color: var(--color-primary-dark);
  font-size: .86rem;
  line-height: 1.2;
  font-weight: 700;
}
small { color: var(--color-muted); }

.page-shell,
.wide-shell {
  width: min(calc(100% - var(--side-space) * 2), var(--container));
  margin-inline: auto;
  min-width: 0;
}
.wide-shell { max-width: var(--container-wide); }
.inner-main { padding-top: calc(var(--header-height) + var(--spacing-unit) * 1.25); }
.section { padding: var(--section-space) 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-height);
  color: #fff;
  transition: background 240ms ease-out, color 240ms ease-out, box-shadow 240ms ease-out, border-color 240ms ease-out;
}
.site-header.is-solid,
.light-header .site-header,
.admin-body .site-header {
  color: var(--color-text);
  background: rgba(246, 249, 251, 0.94);
  border-bottom: 1px solid var(--color-line);
  box-shadow: 0 6px 18px rgba(18, 50, 68, 0.05);
  backdrop-filter: blur(14px);
}
.nav-inner {
  width: min(calc(100% - var(--side-space) * 2), var(--container-wide));
  height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--spacing-unit) * 2.5);
  min-width: 0;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { width: auto; height: 42px; }
.nav-links,
.nav-actions { display: flex; align-items: center; gap: calc(var(--spacing-unit) * 2.25); min-width: 0; }
.nav-links { flex: 1 1 auto; justify-content: center; }
.nav-actions { flex: 0 0 auto; }
.nav-links a,
.nav-link-soft {
  color: inherit;
  font-size: .92rem;
  font-weight: 700;
  opacity: .96;
  white-space: nowrap;
  transition: color 220ms ease-out, opacity 220ms ease-out;
}
.nav-links a:hover,
.nav-link-soft:hover { color: var(--color-primary); }
.nav-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-unit);
  min-height: 38px;
  padding: 0 calc(var(--spacing-unit) * 1.75);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: inherit;
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 220ms ease-out, background 220ms ease-out, color 220ms ease-out, border-color 220ms ease-out;
}
.site-header.is-solid .nav-cart,
.light-header .nav-cart,
.admin-body .nav-cart { border-color: var(--color-line); background: var(--color-surface); }
.nav-cart:hover { transform: translateY(-1px); background: var(--color-accent); color: var(--color-primary-dark); }
.nav-cart span {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding-inline: 6px;
  border-radius: 999px;
  background: var(--color-primary-dark);
  color: #fff;
  font-size: .75rem;
  line-height: 1;
  transition: transform 260ms ease-out;
}
.nav-cart span.pulse { animation: cartPulse 420ms ease-out; }
@keyframes cartPulse { 0% { transform: scale(1); } 45% { transform: scale(1.25); } 100% { transform: scale(1); } }
.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  color: var(--color-text);
}
.menu-button span,
.menu-button span::before,
.menu-button span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 220ms ease-out, opacity 220ms ease-out;
}
.menu-button span::before { transform: translateY(-6px); }
.menu-button span::after { transform: translateY(4px); }
.menu-button[aria-expanded="true"] span { background: transparent; }
.menu-button[aria-expanded="true"] span::before { transform: translateY(0) rotate(45deg); }
.menu-button[aria-expanded="true"] span::after { transform: translateY(-2px) rotate(-45deg); }
.mobile-menu {
  display: none;
  width: min(calc(100% - var(--side-space) * 2), 360px);
  margin: var(--spacing-unit) auto 0;
  padding: var(--spacing-unit);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .98);
  box-shadow: var(--shadow-hover);
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 1.75);
  border-radius: calc(var(--radius) - 2px);
  color: var(--color-text);
  font-weight: 700;
}
.mobile-menu a:hover { background: rgba(10, 143, 181, .08); color: var(--color-primary); }

.toast {
  position: relative;
  z-index: 950;
  margin-top: calc(var(--header-height) + var(--spacing-unit) * 1.5);
  margin-bottom: calc(var(--spacing-unit) * -5.5);
  padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 1.75);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
}
.toast-success { background: #effaf4; }
.toast-error { background: #fff3f1; }
.toast-warning { background: #fff8ed; }

.hero-section {
  position: relative;
  inline-size: 100%;
  min-block-size: min(860px, 90svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  padding: calc(var(--header-height) + var(--spacing-unit) * 5.25) 0 calc(var(--spacing-unit) * 10.25);
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(15, 52, 70, .86) 0%, rgba(15, 52, 70, .58) 46%, rgba(15, 52, 70, .26) 100%);
}
.hero-content { max-width: 620px; }
.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--color-primary);
  font-size: .74rem;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
}
.hero-section .eyebrow { color: var(--color-accent); }
.hero-content h1 {
  margin: calc(var(--spacing-unit) * 2) 0 0;
  max-width: 11ch;
  font-size: clamp(2.55rem, 5vw, 4.55rem);
  line-height: .98;
  letter-spacing: -.04em;
  font-weight: 800;
}
.hero-description {
  max-width: 38rem;
  margin: calc(var(--spacing-unit) * 2.25) 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1rem, 1.05vw, 1.08rem);
  line-height: 1.62;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: calc(var(--spacing-unit) * 1.5); margin-top: calc(var(--spacing-unit) * 3.5); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-unit);
  min-height: 44px;
  padding: 0 calc(var(--spacing-unit) * 2.25);
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  font-size: .92rem;
  transition: transform 220ms ease-out, background 220ms ease-out, color 220ms ease-out, border-color 220ms ease-out, box-shadow 220ms ease-out;
}
.button:hover { transform: translateY(-1px) scale(1.01); }
.button-primary { background: var(--color-accent); color: var(--color-primary-dark); }
.button-primary:hover { background: #ffb073; box-shadow: 0 8px 18px rgba(255, 155, 84, .22); }
.button-secondary { color: #fff; border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .06); }
.button-secondary:hover { background: #fff; color: var(--color-primary-dark); }
.button-secondary.dark { color: var(--color-primary-dark); border-color: var(--color-line); background: var(--color-surface); }
.button-secondary.dark:hover { border-color: var(--color-primary); color: var(--color-primary); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: calc(var(--spacing-unit) * 3);
  margin-bottom: calc(var(--spacing-unit) * 3.5);
}
.section-head.compact { margin-bottom: calc(var(--spacing-unit) * 2.5); }
.section-head h2,
.page-hero h1,
.detail-copy h1,
.auth-card h1 {
  margin: calc(var(--spacing-unit) * 1.25) 0 0;
  color: var(--color-text);
  font-size: clamp(1.85rem, 2.75vw, 2.85rem);
  line-height: 1.07;
  letter-spacing: -.032em;
  font-weight: 800;
}
.section-head p,
.page-hero p,
.detail-copy > p,
.product-info p,
.category-card p,
.panel-card p,
.contact-card p,
.stat-card p,
.editorial-copy p {
  color: var(--color-muted);
  line-height: 1.62;
}
.section-link,
.filter-clear {
  font-size: .92rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  transition: color 220ms ease-out;
}
.section-link:hover,
.filter-clear:hover { color: var(--color-primary); }

.category-chip-section { padding-bottom: calc(var(--section-space) * .45); }
.chip-row {
  display: flex;
  gap: calc(var(--spacing-unit) * 1.25);
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.chip {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 calc(var(--spacing-unit) * 1.875);
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 220ms ease-out, border-color 220ms ease-out, color 220ms ease-out, transform 220ms ease-out;
}
.chip:hover { transform: translateY(-1px); border-color: rgba(10, 143, 181, .35); color: var(--color-primary); }
.chip.is-active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: var(--card-gap);
  min-width: 0;
}
.product-card {
  flex: 1 1 calc((100% - var(--card-gap) * 3) / 4);
  max-width: calc((100% - var(--card-gap) * 3) / 4);
  min-width: min(100%, 230px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  transition: transform 260ms ease-out, box-shadow 260ms ease-out, border-color 260ms ease-out;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(10, 143, 181, .22); }
.product-media,
.detail-media,
.cart-thumb {
  position: relative;
  overflow: hidden;
  background: #eef5f8;
}
.product-media {
  display: block;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
}
.product-media::before,
.detail-media::before,
.cart-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--item-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: scale(.88);
  transition: transform 260ms ease-out;
}
.product-card:hover .product-media::before { transform: scale(.93); }
.product-info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: calc(var(--spacing-unit) * 2.25);
}
.product-tag {
  display: block;
  margin-bottom: var(--spacing-unit);
  color: var(--color-primary);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-info h3 {
  margin: 0 0 var(--spacing-unit);
  min-height: calc(1.28em * 2);
  color: var(--color-text);
  font-size: 1.02rem;
  line-height: 1.28;
  font-weight: 800;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-info p {
  margin: 0;
  min-height: 1.45em;
  font-size: .92rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: calc(var(--spacing-unit) * 1.5);
  margin-top: auto;
  padding-top: calc(var(--spacing-unit) * 2);
}
.product-bottom strong {
  color: var(--color-primary-dark);
  font-size: 1.15rem;
  line-height: 1.1;
  letter-spacing: -.015em;
}
.product-bottom form { margin: 0; }
.product-bottom button,
.product-bottom a,
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 calc(var(--spacing-unit) * 1.5);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(10, 143, 181, .08);
  color: var(--color-primary-dark);
  font-size: .88rem;
  font-weight: 800;
  transition: background 220ms ease-out, color 220ms ease-out, transform 220ms ease-out;
}
.product-bottom button:hover,
.product-bottom a:hover,
.mini-button:hover { background: var(--color-accent); color: var(--color-primary-dark); transform: translateY(-1px); }

.full-banner {
  position: relative;
  inline-size: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-image: linear-gradient(90deg, rgba(15, 52, 70, .86), rgba(15, 52, 70, .34)), var(--section-image);
  background-size: cover;
  background-position: center 48%;
}
.full-banner-inner { position: relative; }
.full-banner h2 {
  max-width: 560px;
  margin: calc(var(--spacing-unit) * 1.25) 0 calc(var(--spacing-unit) * 3);
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.full-banner .section-kicker { color: var(--color-accent); }

.page-hero { padding: calc(var(--spacing-unit) * 6.25) 0 calc(var(--spacing-unit) * 3.75); }
.page-hero p:last-child { max-width: 42rem; margin-top: calc(var(--spacing-unit) * 1.5); }

.shop-layout {
  display: grid;
  grid-template-columns: minmax(220px, 250px) minmax(0, 1fr);
  gap: calc(var(--spacing-unit) * 4.5);
  align-items: start;
  padding-bottom: var(--section-space);
  min-width: 0;
}
.shop-sidebar,
.shop-content { min-width: 0; }
.filter-box {
  position: sticky;
  top: var(--sticky-top);
  padding: calc(var(--spacing-unit) * 2.25);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}
.filter-box .button { width: 100%; margin-top: calc(var(--spacing-unit) * 2.25); }
.filter-clear { display: inline-block; margin-top: calc(var(--spacing-unit) * 1.75); }
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: calc(var(--spacing-unit) * 2.5);
  margin-bottom: calc(var(--spacing-unit) * 2);
}
.catalog-toolbar h2 { margin: var(--spacing-unit) 0 0; font-size: clamp(1.65rem, 2.25vw, 2.35rem); line-height: 1.08; }
.catalog-chips { margin-bottom: calc(var(--spacing-unit) * 2.75); }
.stock-line { margin-top: calc(var(--spacing-unit) * 1.25); color: var(--color-muted); font-size: .88rem; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--card-gap);
  align-items: stretch;
}
.category-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  transition: transform 260ms ease-out, box-shadow 260ms ease-out, border-color 260ms ease-out;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(10, 143, 181, .22); }
.category-image {
  display: block;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  transition: transform 300ms ease-out;
}
.category-card:hover .category-image { transform: scale(1.04); }
.category-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: calc(var(--spacing-unit) * 2.5);
}
.category-content small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 38px;
  height: 32px;
  margin-bottom: calc(var(--spacing-unit) * 1.75);
  padding: 0 calc(var(--spacing-unit) * 1.25);
  border-radius: 999px;
  background: rgba(10, 143, 181, .08);
  color: var(--color-primary);
  font-weight: 800;
}
.category-content strong {
  display: -webkit-box;
  margin-bottom: var(--spacing-unit);
  min-height: calc(1.22em * 2);
  font-size: 1.15rem;
  line-height: 1.22;
  font-weight: 800;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.category-content p {
  margin: 0;
  display: -webkit-box;
  min-height: 1.5em;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.contact-section {
  display: flex;
  justify-content: center;
  padding: calc(var(--spacing-unit) * 2.25) 0 var(--section-space);
}
.contact-form { width: min(100%, 560px); }
.panel-card,
.auth-card,
.contact-card,
.cart-table,
.cart-summary,
.table-card,
.stat-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}
.panel-card,
.auth-card,
.contact-card,
.cart-summary,
.stat-card { padding: calc(var(--spacing-unit) * 3); }
.form-card .button { margin-top: calc(var(--spacing-unit) * 2.25); }
.form-note { margin-top: calc(var(--spacing-unit) * 1.5); color: var(--color-muted); font-size: .92rem; }

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr);
  gap: calc(var(--spacing-unit) * 5.25);
  align-items: center;
  padding: calc(var(--spacing-unit) * 3.75) 0 var(--section-space);
  min-width: 0;
}
.detail-media {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.detail-copy { min-width: 0; }
.detail-copy h1 { margin-bottom: calc(var(--spacing-unit) * 1.5); }
.detail-price {
  margin: calc(var(--spacing-unit) * 2.75) 0 calc(var(--spacing-unit) * 1.75);
  color: var(--color-primary-dark);
  font-size: 1.8rem;
  line-height: 1.1;
  font-weight: 800;
}
.stock-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 calc(var(--spacing-unit) * 1.5);
  border-radius: 999px;
  background: rgba(10, 143, 181, .08);
  color: var(--color-primary);
  font-size: .84rem;
  font-weight: 800;
}
.buy-box {
  display: grid;
  grid-template-columns: minmax(92px, 120px) minmax(0, 1fr);
  gap: calc(var(--spacing-unit) * 1.5);
  align-items: end;
  margin-top: calc(var(--spacing-unit) * 2.75);
}
.buy-box label { grid-column: 1 / -1; margin-top: 0; }

.auth-wrap,
.checkout-grid,
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: calc(var(--spacing-unit) * 3.5);
  align-items: start;
  padding: calc(var(--spacing-unit) * 2.5) 0 var(--section-space);
  min-width: 0;
}
.auth-card { max-width: 520px; }
.auth-side,
.contact-card { min-height: 220px; }
.contact-card h2 { margin: calc(var(--spacing-unit) * 1.25) 0 calc(var(--spacing-unit) * 1.5); font-size: clamp(1.5rem, 2.2vw, 2.2rem); line-height: 1.1; }

.cart-table { padding: var(--spacing-unit) calc(var(--spacing-unit) * 2.75); }
.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(76px, .34fr) minmax(96px, .42fr) auto;
  gap: calc(var(--spacing-unit) * 2);
  align-items: center;
  padding: calc(var(--spacing-unit) * 2.25) 0;
  border-bottom: 1px solid var(--color-line);
  min-width: 0;
}
.cart-row:last-of-type { border-bottom: 0; }
.cart-product { display: flex; align-items: center; gap: calc(var(--spacing-unit) * 1.75); min-width: 0; }
.cart-thumb {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: var(--radius);
}
.cart-product h3 { margin: 0 0 6px; font-size: 1rem; line-height: 1.25; }
.cart-product p { margin: 0; color: var(--color-muted); }
.cart-actions { padding: calc(var(--spacing-unit) * 2) 0; }
.cart-summary { position: sticky; top: var(--sticky-top); }
.summary-line,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: calc(var(--spacing-unit) * 2);
  padding: calc(var(--spacing-unit) * 1.5) 0;
  border-bottom: 1px solid var(--color-line);
}
.summary-total { border-bottom: 0; font-size: 1.08rem; font-weight: 800; }
.check-line { display: inline-flex; align-items: center; gap: calc(var(--spacing-unit) * 1.25); }
.link-danger { background: transparent; padding: 0; color: #b94d4d; font-weight: 800; }

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: calc(var(--spacing-unit) * 2.25);
  padding: calc(var(--spacing-unit) * 2.5) 0 calc(var(--spacing-unit) * 3.5);
}
.stat-card span {
  display: block;
  margin-bottom: calc(var(--spacing-unit) * 1.25);
  color: var(--color-primary-dark);
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.035em;
}
.stat-card strong { display: block; font-size: .95rem; }
.stat-card p { margin: 6px 0 0; font-size: .9rem; }
.admin-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(var(--spacing-unit) * 1.75) calc(var(--spacing-unit) * 2.75);
  margin-bottom: calc(var(--spacing-unit) * 3);
}
.admin-help p { width: 100%; margin-bottom: 0; }
.admin-help a { font-weight: 800; }
.admin-split {
  display: grid;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  gap: calc(var(--spacing-unit) * 3.5);
  align-items: start;
  padding-bottom: var(--section-space);
  min-width: 0;
}
.table-card {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--color-surface);
}
.data-table th,
.data-table td {
  padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 2.25);
  border-bottom: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
}
.data-table th {
  color: var(--color-muted);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
}
.data-table tbody tr:hover { background: rgba(10, 143, 181, .035); }
.actions-cell,
.status-form { display: flex; flex-wrap: wrap; gap: calc(var(--spacing-unit) * 1.25); align-items: center; }
.mini-button.danger { background: rgba(185, 77, 77, .08); color: #a64242; }
.form-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(var(--spacing-unit) * 1.75); }

.empty-state {
  flex: 1 1 100%;
  width: 100%;
  padding: calc(var(--spacing-unit) * 3.5);
  border: 1px dashed var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  text-align: center;
}
.empty-state h3 { margin: 0 0 calc(var(--spacing-unit) * 1.25); }
.empty-state p { margin: 0 0 calc(var(--spacing-unit) * 2); color: var(--color-muted); }

.site-footer {
  margin-top: var(--section-space);
  padding: calc(var(--spacing-unit) * 5.5) 0 calc(var(--spacing-unit) * 7.5);
  border-top: 1px solid var(--color-line);
  background: var(--color-surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .75fr .75fr .75fr;
  gap: calc(var(--spacing-unit) * 3.25);
}
.footer-logo { height: 42px; width: auto; margin-bottom: calc(var(--spacing-unit) * 1.5); }
.site-footer h3 { margin: 0 0 calc(var(--spacing-unit) * 1.5); font-size: .96rem; }
.site-footer p { margin: 0; max-width: 320px; color: var(--color-muted); line-height: 1.6; }
.site-footer a { display: block; margin-top: calc(var(--spacing-unit) * 1.125); color: var(--color-muted); font-weight: 600; }
.site-footer a:hover { color: var(--color-primary); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease-out, transform 560ms ease-out;
}
.reveal.is-visible,
.reveal-fallback .reveal { opacity: 1; transform: none; }

@media (max-width: 1280px) {
  .product-card {
    flex-basis: calc((100% - var(--card-gap) * 2) / 3);
    max-width: calc((100% - var(--card-gap) * 2) / 3);
  }
}

@media (max-width: 1024px) {
  .nav-links,
  .nav-actions .nav-link-soft { display: none; }
  .menu-button { display: inline-grid; place-items: center; }
  .shop-layout,
  .product-detail,
  .auth-wrap,
  .checkout-grid,
  .cart-layout,
  .admin-split { grid-template-columns: 1fr; }
  .filter-box,
  .cart-summary { position: static; }
  .product-card {
    flex-basis: calc((100% - var(--card-gap)) / 2);
    max-width: calc((100% - var(--card-gap)) / 2);
  }
  .hero-section { min-block-size: min(780px, 78svh); }
}

@media (max-width: 768px) {
  :root { --side-space: 16px; --section-space: 54px; --header-height: 66px; --sticky-top: calc(var(--header-height) + var(--spacing-unit) * 2); }
  .brand-logo { height: 36px; }
  .inner-main { padding-top: calc(var(--header-height) + var(--spacing-unit)); }
  .hero-section {
    min-block-size: 72svh;
    padding: calc(var(--header-height) + var(--spacing-unit) * 3.75) 0 calc(var(--spacing-unit) * 7.25);
  }
  .hero-content h1 { font-size: clamp(2.2rem, 9.6vw, 3.05rem); }
  .hero-description { font-size: 1rem; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: calc(var(--spacing-unit) * 2.5); }
  .category-content strong { min-height: auto; }
  .cart-row { grid-template-columns: 1fr; justify-items: start; }
  .buy-box { grid-template-columns: 1fr; }
  .nav-cart { min-height: 36px; padding-inline: calc(var(--spacing-unit) * 1.5); }
  .data-table,
  .data-table thead,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td { display: block; width: 100%; min-width: 0; }
  .data-table { min-width: 0; }
  .data-table thead { display: none; }
  .data-table tr { padding: calc(var(--spacing-unit) * 1.75) calc(var(--spacing-unit) * 2.25); border-bottom: 1px solid var(--color-line); }
  .data-table td { padding: 7px 0; border-bottom: 0; }
  .data-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--color-muted);
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 800;
  }
}

@media (max-width: 520px) {
  .product-card { flex-basis: 100%; max-width: 100%; min-width: 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .product-bottom { align-items: stretch; flex-direction: column; }
  .product-bottom button,
  .product-bottom a { width: 100%; }
  .footer-grid,
  .dashboard-grid { grid-template-columns: 1fr; }
  .full-banner { min-height: 360px; }
  .full-banner h2 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .form-two { grid-template-columns: 1fr; }
}

@media (max-width: 375px) {
  :root { --side-space: 14px; }
  .nav-inner { gap: calc(var(--spacing-unit) * 1.25); }
  .nav-cart { gap: 6px; padding-inline: 10px; font-size: .84rem; }
  .hero-content h1 { font-size: 2.08rem; }
  .section-head h2,
  .page-hero h1,
  .detail-copy h1,
  .auth-card h1 { font-size: 1.72rem; }
  .panel-card,
  .auth-card,
  .contact-card,
  .cart-summary,
  .stat-card { padding: calc(var(--spacing-unit) * 2.25); }
}


/* ===== v7 defensive refinements: stability across 320px–1920px ===== */
.hero-section,
.full-banner {
  inline-size: 100%;
  max-inline-size: 100%;
  margin-inline: 0;
  overflow: clip;
}
.full-banner {
  background-image: linear-gradient(90deg, rgba(15, 52, 70, .86), rgba(15, 52, 70, .34)), var(--section-image, url("../img/banners/equipamiento-premium.jpg"));
}
.page-shell,
.wide-shell,
.nav-inner,
.shop-layout,
.shop-content,
.shop-sidebar,
.product-grid,
.category-grid,
.cart-layout,
.checkout-grid,
.auth-wrap,
.admin-split,
.footer-grid {
  max-inline-size: 100%;
}
.product-grid {
  justify-content: center;
}
.product-card {
  flex-grow: 0;
  inline-size: 100%;
}
.product-info h3,
.product-info h3 a,
.product-info p,
.product-tag,
.product-bottom strong,
.category-content strong,
.category-content p,
.cart-product,
.summary-line span,
.summary-total span,
.data-table td,
.data-table th {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}
.product-bottom strong {
  flex: 1 1 auto;
}
.product-bottom button,
.product-bottom a,
.product-bottom form {
  flex: 0 0 auto;
}
.chip-row {
  inline-size: 100%;
  max-inline-size: 100%;
  min-inline-size: 0;
  contain: inline-size;
}
.chip {
  max-inline-size: min(82vw, 320px);
  overflow: hidden;
  text-overflow: ellipsis;
}
.filter-box,
.cart-summary {
  align-self: start;
  max-block-size: calc(100svh - var(--sticky-top) - var(--spacing-unit) * 2);
  overflow: auto;
}
.cart-summary .button,
.cart-summary form .button {
  width: 100%;
}
.cart-summary .button + form,
.cart-summary form + .button,
.cart-summary .summary-total + .button {
  margin-top: calc(var(--spacing-unit) * 2);
}
.cart-summary form {
  margin: calc(var(--spacing-unit) * 1.25) 0 0;
}
.cart-row > input[type="number"] {
  max-inline-size: 100%;
}
.category-content {
  min-block-size: 176px;
}
.data-table {
  table-layout: auto;
}
.status-form select {
  min-inline-size: 150px;
}

@media (min-width: 901px) and (max-width: 1024px) {
  .product-card {
    flex-basis: calc((100% - var(--card-gap) * 2) / 3);
    max-width: calc((100% - var(--card-gap) * 2) / 3);
  }
}

@media (max-width: 900px) {
  .product-card {
    flex-basis: calc((100% - var(--card-gap)) / 2);
    max-width: calc((100% - var(--card-gap)) / 2);
  }
}

@media (max-width: 768px) {
  .filter-box,
  .cart-summary {
    max-block-size: none;
    overflow: visible;
  }
  .catalog-filter-box .filter-category-panel {
    display: none;
  }
  .category-content {
    min-block-size: auto;
  }
  .cart-row > strong,
  .cart-row > .link-danger,
  .cart-row > input[type="number"] {
    inline-size: 100%;
  }
}

@media (max-width: 520px) {
  .product-card {
    flex-basis: 100%;
    max-width: 100%;
  }
  .chip-row {
    margin-inline: calc(var(--side-space) * -1);
    padding-inline: var(--side-space);
  }
  .product-media {
    aspect-ratio: 4 / 3;
  }
}

@supports not (overflow: clip) {
  .hero-section,
  .full-banner { overflow: hidden; }
}

/* ===== UX refine v8 — grocery/ecommerce premium treatment ===== */
.site-header {
  background: rgba(15, 52, 70, .18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.site-header.is-solid,
.light-header .site-header,
.admin-body .site-header {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.brand-logo { height: 50px; }
.nav-links { gap: clamp(20px, 2.35vw, 36px); }
.nav-actions { gap: calc(var(--spacing-unit) * 1.25); }
.nav-links a { position: relative; padding: 10px 0; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease-out;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-pill-link,
.nav-login-pill {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 calc(var(--spacing-unit) * 1.75);
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
}
.site-header.is-solid .nav-pill-link,
.site-header.is-solid .nav-login-pill,
.light-header .nav-pill-link,
.light-header .nav-login-pill,
.admin-body .nav-pill-link,
.admin-body .nav-login-pill { border-color: var(--color-line); background: rgba(255, 255, 255, .68); }
.nav-login-pill:hover,
.nav-pill-link:hover { border-color: rgba(10, 143, 181, .42); background: rgba(10, 143, 181, .08); }
.nav-cart {
  min-height: 44px;
  padding: 0 10px 0 calc(var(--spacing-unit) * 1.5);
  border-color: rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .16);
  box-shadow: 0 12px 24px rgba(15, 52, 70, .10);
}
.nav-cart-icon { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }
.nav-cart span[data-cart-count] { background: var(--color-accent); color: var(--color-primary-dark); }
.site-header.is-solid .nav-cart span[data-cart-count],
.light-header .nav-cart span[data-cart-count] { background: var(--color-primary-dark); color: #fff; }
.mobile-menu {
  width: min(calc(100% - var(--side-space) * 2), 410px);
  padding: calc(var(--spacing-unit) * 1.25);
}
.mobile-menu-group + .mobile-menu-group {
  margin-top: calc(var(--spacing-unit) * 1.25);
  padding-top: calc(var(--spacing-unit) * 1.25);
  border-top: 1px solid var(--color-line);
}
.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 calc(var(--spacing-unit) * 1.75);
}

.hero-section { min-block-size: 100svh; }
.hero-section::before { background: linear-gradient(90deg, rgba(7, 24, 34, .88) 0%, rgba(15, 52, 70, .66) 44%, rgba(15, 52, 70, .20) 100%); }
.hero-content { max-width: 760px; }
.hero-section .eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 calc(var(--spacing-unit) * 1.5);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: #fff;
  backdrop-filter: blur(12px);
}
.hero-content h1 {
  max-width: 10ch;
  font-size: clamp(3.5rem, 7.4vw, 5.7rem);
  letter-spacing: -.065em;
}
.hero-description { max-width: 48rem; font-size: clamp(1.05rem, 1.4vw, 1.26rem); }
.hero-actions .button { min-height: 52px; padding-inline: calc(var(--spacing-unit) * 2.8); border-radius: 999px; }
.button-primary,
.product-bottom button,
.form-card .button-primary,
.cart-summary .button-primary { background: var(--color-accent); color: var(--color-primary-dark); }

.category-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--card-gap);
}
.category-mini-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: calc(var(--spacing-unit) * 1.75);
  align-items: center;
  min-height: 132px;
  padding: calc(var(--spacing-unit) * 2.25);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  transition: transform 240ms ease-out, box-shadow 240ms ease-out, border-color 240ms ease-out;
}
.category-mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(10,143,181,.24); }
.category-mini-card strong {
  display: -webkit-box;
  color: var(--color-primary-dark);
  font-size: 1.04rem;
  line-height: 1.15;
  font-weight: 800;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.category-mini-card small {
  display: -webkit-box;
  margin-top: 7px;
  color: var(--color-muted);
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.category-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(10,143,181,.09);
  color: var(--color-primary);
}
.category-icon::before {
  content: "";
  width: 29px;
  height: 29px;
  background: currentColor;
  -webkit-mask: var(--icon-mask, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 14c2 0 2-1 4-1s2 1 4 1 2-1 4-1 2 1 4 1v4H4v-4Zm2-8h12v5c-1.2-.2-2 .8-4 .8-2.1 0-2.6-1-4-1s-1.9 1-4 1V6Z'/%3E%3C/svg%3E")) center / contain no-repeat;
          mask: var(--icon-mask, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 14c2 0 2-1 4-1s2 1 4 1 2-1 4-1 2 1 4 1v4H4v-4Zm2-8h12v5c-1.2-.2-2 .8-4 .8-2.1 0-2.6-1-4-1s-1.9 1-4 1V6Z'/%3E%3C/svg%3E")) center / contain no-repeat;
}
.category-mini-card[href*="bomba"] .category-icon { --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 7h7a5 5 0 1 1 0 10H8V7Zm7 3a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM3 9h5v6H3V9Z'/%3E%3C/svg%3E"); }
.category-mini-card[href*="filtro"] .category-icon { --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h14l-5.2 7.2V20h-3.6v-8.8L5 4Z'/%3E%3C/svg%3E"); }
.category-mini-card[href*="luz"] .category-icon,
.category-mini-card[href*="luces"] .category-icon { --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 9 10h6l-3 11 9-13h-6l3-5h-6Z'/%3E%3C/svg%3E"); }
.category-mini-card[href*="limpieza"] .category-icon { --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h10v3H7V3Zm1 5h8l3 12H5L8 8Zm2.5 3-.9 6h4.8l-.9-6h-3Z'/%3E%3C/svg%3E"); }
.category-mini-card[href*="calentador"] .category-icon { --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2s5 4 5 9a5 5 0 0 1-10 0c0-2 1-3.3 2.1-4.5.2 2.6 1.7 4.1 3.4 4.6C11.8 8.3 12 2 12 2Z'/%3E%3C/svg%3E"); }
.category-mini-card[href*="escalera"] .category-icon { --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h3v4h4V3h3v18h-3v-5h-4v5H7V3Zm3 7v3h4v-3h-4Z'/%3E%3C/svg%3E"); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}
.product-card {
  max-width: none;
  min-width: 0;
  border-radius: 22px;
}
.product-media { aspect-ratio: 3 / 2; background: linear-gradient(180deg, #fff, #eef7fa); }
.product-media::before { transform: scale(.82); }
.product-card:hover .product-media::before { transform: scale(.88); }
.product-tag {
  width: fit-content;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10, 143, 181, .08);
}
.product-bottom strong { font-size: clamp(1.22rem, 1.3vw, 1.42rem); color: var(--color-primary-dark); }
.product-bottom button,
.product-bottom a {
  min-height: 40px;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-primary-dark);
}

.why-section { padding-top: calc(var(--section-space) * .6); }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--card-gap); }
.why-card {
  padding: calc(var(--spacing-unit) * 3);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}
.why-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: calc(var(--spacing-unit) * 2);
  border-radius: 999px;
  background: rgba(10,143,181,.10);
  color: var(--color-primary);
  font-weight: 800;
}
.why-card h3 { margin: 0 0 var(--spacing-unit); color: var(--color-primary-dark); font-size: 1.14rem; }
.why-card p { margin: 0; color: var(--color-muted); line-height: 1.6; }
.full-banner { min-height: 520px; background-image: linear-gradient(90deg, rgba(5,20,30,.90), rgba(15,52,70,.55), rgba(15,52,70,.18)), var(--section-image, url("../img/banners/equipamiento-premium.jpg")); }
.full-banner h2 { max-width: 700px; font-size: clamp(2.35rem, 4.6vw, 4.65rem); }
.full-banner p:not(.section-kicker) { max-width: 520px; margin: calc(var(--spacing-unit) * -1.25) 0 calc(var(--spacing-unit) * 3); color: rgba(255,255,255,.82); line-height: 1.65; }

.compact-hero,
.category-hero {
  margin-top: calc(var(--spacing-unit) * 2.5);
  padding: clamp(34px, 5vw, 56px);
  border: 1px solid var(--color-line);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(10,143,181,.10), rgba(255,255,255,.96) 50%, rgba(255,155,84,.10));
  box-shadow: var(--shadow-soft);
}
.category-hero { background: radial-gradient(circle at 85% 12%, rgba(10,143,181,.18), transparent 35%), linear-gradient(135deg, rgba(10,143,181,.12), rgba(255,255,255,.96)); }
.shop-layout { grid-template-columns: minmax(240px, 282px) minmax(0, 1fr); }
.filter-box { padding: calc(var(--spacing-unit) * 3); border-radius: 24px; }
.filter-box h3,
.form-card-head h2 { margin: 0; color: var(--color-primary-dark); font-size: 1.35rem; line-height: 1.15; }
.filter-separator { height: 1px; margin: calc(var(--spacing-unit) * 2.25) 0 calc(var(--spacing-unit) * .5); background: var(--color-line); }
.catalog-chips .chip { border-color: rgba(10,143,181,.20); background: rgba(255,255,255,.72); }
.catalog-chips .chip.is-active { background: rgba(10,143,181,.12); color: var(--color-primary-dark); border-color: rgba(10,143,181,.42); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: calc(var(--spacing-unit) * 2.5) 0 0;
  color: var(--color-muted);
  font-size: .92rem;
  font-weight: 700;
}
.breadcrumb a { color: var(--color-primary-dark); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb strong { color: var(--color-muted); font-weight: 700; }
.product-detail { grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); padding-top: calc(var(--spacing-unit) * 3); }
.detail-media {
  border: 1px solid var(--color-line);
  background: linear-gradient(180deg, #fff, #edf8fb);
  box-shadow: 0 24px 50px rgba(18, 50, 68, .10);
}
.detail-media::before { transform: scale(.78); }
.detail-copy { padding: calc(var(--spacing-unit) * 2); }
.detail-copy h1 { font-size: clamp(2.05rem, 3.6vw, 4rem); }
.detail-price { font-size: clamp(2.15rem, 4vw, 3.35rem); letter-spacing: -.04em; }
.stock-pill { min-height: 40px; padding-inline: calc(var(--spacing-unit) * 2); background: rgba(10,143,181,.11); }
.buy-box {
  grid-template-columns: 1fr;
  padding: calc(var(--spacing-unit) * 2.25);
  border: 1px solid var(--color-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.buy-box .button { width: 100%; min-height: 52px; border-radius: 999px; }
.qty-control { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; align-items: center; overflow: hidden; border: 1px solid var(--color-line); border-radius: 999px; background: var(--color-page); }
.qty-control input { min-height: 48px; border: 0; border-radius: 0; background: transparent; text-align: center; box-shadow: none; font-weight: 800; }
.qty-btn { height: 44px; margin: 3px; border-radius: 999px; background: #fff; color: var(--color-primary-dark); font-weight: 800; box-shadow: 0 3px 8px rgba(18,50,68,.06); }

.category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.category-card {
  position: relative;
  min-height: 0;
  aspect-ratio: 4 / 3;
  border: 0;
  color: #fff;
  isolation: isolate;
}
.category-image { position: absolute; inset: 0; aspect-ratio: auto; z-index: -2; }
.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15,52,70,.20), rgba(15,52,70,.82));
  transition: background 260ms ease-out;
}
.category-card:hover::before { background: rgba(10,143,181,.75); }
.category-content { justify-content: flex-end; min-height: 100%; color: #fff; }
.category-content small { background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(10px); }
.category-content strong { color: #fff; min-height: auto; font-size: clamp(1.35rem, 2vw, 1.9rem); }
.category-content p { color: rgba(255,255,255,.84); -webkit-line-clamp: 2; min-height: auto; }

.cart-table,
.cart-summary,
.delivery-card,
.order-summary,
.auth-card,
.contact-form,
.contact-info-card { border-radius: 26px; box-shadow: 0 18px 42px rgba(18,50,68,.08); }
.cart-thumb { width: 88px; height: 88px; flex-basis: 88px; border-radius: 18px; border: 1px solid var(--color-line); background: #fff; }
.cart-row > input[type="number"] { text-align: center; font-weight: 800; max-width: 96px; }
.cart-row > strong { color: var(--color-primary-dark); font-size: 1.1rem; }
.cart-summary .summary-total { align-items: center; padding-top: calc(var(--spacing-unit) * 2.25); font-size: 1.2rem; }
.cart-summary .summary-total strong { font-size: 1.65rem; color: var(--color-primary-dark); }
.empty-cart-state { max-width: 660px; margin-inline: auto; }
.empty-cart-icon { display: inline-grid; place-items: center; width: 82px; height: 82px; margin-bottom: calc(var(--spacing-unit) * 2); border-radius: 999px; background: rgba(10,143,181,.10); color: var(--color-primary); }
.empty-cart-icon svg { width: 46px; height: 46px; }

.checkout-grid { grid-template-columns: minmax(0, 1fr) minmax(310px, 390px); }
.form-card-head { margin-bottom: calc(var(--spacing-unit) * 2.5); }
.form-card-head .section-kicker { margin-bottom: var(--spacing-unit); }
.delivery-card .button,
.contact-form .button,
.auth-card .button { width: 100%; min-height: 52px; border-radius: 999px; }
.order-summary .summary-line span { max-width: 210px; }

.auth-wrap { grid-template-columns: minmax(320px, 520px) minmax(320px, 1fr); align-items: stretch; }
.auth-card { max-width: none; }
.auth-logo { height: 48px; width: auto; margin-bottom: calc(var(--spacing-unit) * 3); }
.dark-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border: 0;
  background: radial-gradient(circle at 85% 18%, rgba(10,143,181,.42), transparent 30%), linear-gradient(135deg, #0f3446, #071822);
  color: #fff;
}
.dark-panel::after { content: ""; position: absolute; width: 260px; height: 260px; right: -96px; bottom: -116px; border-radius: 999px; border: 42px solid rgba(255,255,255,.06); }
.dark-panel .section-kicker { color: var(--color-accent); }
.dark-panel h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3.3rem); }
.dark-panel p { color: rgba(255,255,255,.76); }
.benefit-list { position: relative; z-index: 1; display: grid; gap: calc(var(--spacing-unit) * 1.25); margin: calc(var(--spacing-unit) * 2.5) 0 0; padding: 0; list-style: none; }
.benefit-list li { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; }
.benefit-list li::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: rgba(255,255,255,.12); color: var(--color-accent); }

.contact-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 430px); gap: var(--card-gap); align-items: stretch; }
.contact-form { width: 100%; }
.contact-info-card { border: 0; background: linear-gradient(135deg, #0f3446, #071822); color: #fff; }
.contact-info-card .section-kicker { color: var(--color-accent); }
.contact-info-card h2 { color: #fff; }
.contact-list { display: grid; gap: calc(var(--spacing-unit) * 1.4); margin-top: calc(var(--spacing-unit) * 2.25); }
.contact-list a,
.contact-list p { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 12px; align-items: start; margin: 0; color: rgba(255,255,255,.86); font-weight: 700; }
.contact-list svg { width: 34px; height: 34px; padding: 8px; border-radius: 999px; background: rgba(255,255,255,.10); fill: var(--color-accent); }
.discount-note { margin-top: calc(var(--spacing-unit) * 3); padding: calc(var(--spacing-unit) * 2); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.08); }
.discount-note strong,
.discount-note span { display: block; }
.discount-note span { margin-top: 6px; color: rgba(255,255,255,.78); line-height: 1.45; }

.site-footer {
  margin-top: 0;
  padding: calc(var(--spacing-unit) * 7) 0 0;
  border-top: 0;
  background: var(--color-primary-dark);
  color: #fff;
}
.footer-logo { height: 48px; padding: 7px 10px; border-radius: 14px; background: #fff; }
.site-footer h3 { color: #fff; }
.site-footer p,
.site-footer a { color: rgba(255,255,255,.70); }
.site-footer a:hover { color: var(--color-accent); }
.footer-contact p { margin-top: calc(var(--spacing-unit) * 1.125); }
.footer-bottom { margin-top: calc(var(--spacing-unit) * 5); padding: calc(var(--spacing-unit) * 2.25) 0; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { max-width: none; font-size: .92rem; }

@media (max-width: 1180px) {
  .category-quick-grid,
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .brand-logo { height: 44px; }
  .nav-actions .nav-link-soft { display: none; }
  .shop-layout,
  .product-detail,
  .auth-wrap,
  .checkout-grid,
  .cart-layout,
  .contact-section { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth-side { min-height: 340px; }
}
@media (max-width: 820px) {
  .category-quick-grid,
  .product-grid,
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-section { min-block-size: 84svh; }
  .hero-content h1 { font-size: clamp(3rem, 11vw, 4rem); }
}
@media (max-width: 620px) {
  .nav-cart-label { display: none; }
  .nav-cart { min-width: 46px; padding-inline: 10px; }
  .category-quick-grid,
  .product-grid,
  .why-grid,
  .category-grid { grid-template-columns: 1fr; }
  .compact-hero,
  .category-hero { padding: 28px; border-radius: 22px; }
  .product-detail { padding-bottom: calc(var(--section-space) * .75); }
  .cart-row > input[type="number"] { max-width: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 375px) {
  .brand-logo { height: 38px; }
  .nav-cart-icon { width: 18px; height: 18px; }
}
.product-grid .empty-state,
.category-grid .empty-state { grid-column: 1 / -1; }
.auth-card .section-link { display: inline-flex; margin-top: calc(var(--spacing-unit) * 2); }

/* ===== v9 HOME STORE — header centrado + index tipo ecommerce visual ===== */
html,
body { overflow-x: hidden; }
.store-home { background: #fff; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-header,
.site-header.is-solid,
.light-header .site-header,
.admin-body .site-header {
  color: var(--color-text);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(18, 50, 68, .08);
  box-shadow: 0 10px 28px rgba(18, 50, 68, .055);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav-centered {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}
.nav-left {
  justify-self: start;
  justify-content: flex-start;
  gap: clamp(18px, 2.1vw, 34px);
}
.nav-brand-center {
  justify-self: center;
}
.brand-logo {
  height: 48px;
  width: auto;
}
.nav-icon-actions {
  justify-self: end;
  justify-content: flex-end;
  gap: 9px;
}
.nav-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(18, 50, 68, .10);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: var(--color-primary-dark);
  box-shadow: 0 10px 20px rgba(18, 50, 68, .045);
  transition: transform 220ms ease-out, background 220ms ease-out, color 220ms ease-out, border-color 220ms ease-out, box-shadow 220ms ease-out;
}
.nav-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.nav-icon:hover {
  transform: translateY(-2px);
  border-color: rgba(10, 143, 181, .30);
  background: rgba(10, 143, 181, .08);
  color: var(--color-primary);
  box-shadow: 0 14px 24px rgba(18, 50, 68, .08);
}
.nav-icon-actions .nav-cart {
  min-height: 42px;
  min-width: 42px;
  padding: 0;
  gap: 0;
  border-color: rgba(18, 50, 68, .10);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 20px rgba(18, 50, 68, .045);
}
.nav-icon-actions .nav-cart:hover {
  background: rgba(10, 143, 181, .08);
  color: var(--color-primary);
}
.nav-icon-actions .nav-cart span[data-cart-count] {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--color-primary-dark);
  color: #fff;
  font-size: .68rem;
  line-height: 15px;
  box-shadow: none;
}
.nav-links a {
  color: var(--color-primary-dark);
  font-size: .89rem;
  letter-spacing: .01em;
}
.nav-links a:hover { color: var(--color-primary); }

.store-home .home-hero {
  min-block-size: clamp(500px, 73svh, 760px);
  margin-top: var(--header-height);
  padding: clamp(56px, 7vw, 96px) 0;
  color: var(--color-text);
  background-image: linear-gradient(90deg, rgba(246, 249, 251, .82) 0%, rgba(246, 249, 251, .32) 35%, transparent 65%), var(--section-image, url("../img/banners/hero-piscina-premium.jpg"));
  background-size: cover;
  background-position: center right;
}
.store-home .home-hero::before { display: none; }
.home-hero-copy { position: relative; z-index: 1; }
.store-home .hero-section .eyebrow {
  color: var(--color-primary);
  border-color: rgba(10, 143, 181, .16);
  background: rgba(255,255,255,.72);
  box-shadow: 0 8px 20px rgba(18, 50, 68, .05);
}
.store-home .hero-content,
.store-home .home-hero-copy { max-width: none; }
.store-home .home-hero h1 {
  max-width: 11ch;
  margin-top: calc(var(--spacing-unit) * 2.2);
  color: var(--color-primary-dark);
  font-size: clamp(2.55rem, 6.4vw, 5.35rem);
  line-height: .96;
  letter-spacing: -.066em;
}
.store-home .hero-description {
  max-width: 560px;
  color: rgba(18, 50, 68, .74);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
}
.store-home .button-primary {
  background: var(--color-primary-dark);
  color: #fff;
}
.store-home .button-primary:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(10, 143, 181, .22);
}
.store-home .button-secondary.dark {
  background: rgba(255, 255, 255, .80);
  color: var(--color-primary-dark);
  border-color: rgba(18, 50, 68, .12);
}

.home-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  padding-top: clamp(30px, 4vw, 46px);
}
.step-card {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: 0;
  color: #fff;
  background-image: linear-gradient(180deg, rgba(4, 18, 27, .12), rgba(4, 18, 27, .72)), var(--step-image);
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 36px rgba(18, 50, 68, .12);
  transition: transform 260ms ease-out, box-shadow 260ms ease-out;
}
.step-card:hover { transform: translateY(-4px); box-shadow: 0 24px 42px rgba(18, 50, 68, .16); }
.step-card > span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-weight: 800;
  backdrop-filter: blur(10px);
}
.step-card h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.1rem, 1.6vw, 1.55rem);
  line-height: 1.05;
  letter-spacing: -.025em;
}
.step-card p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  line-height: 1.45;
  font-weight: 600;
}

.home-category-section { padding-top: clamp(42px, 5vw, 62px); padding-bottom: clamp(42px, 5vw, 70px); }
.category-orb-grid {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-auto-columns: minmax(106px, 1fr);
  gap: clamp(14px, 1.5vw, 22px) clamp(16px, 1.8vw, 24px);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 16px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.category-orb-card {
  min-width: 0;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  text-align: center;
  scroll-snap-align: start;
}
.category-orb-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(66px, 6.2vw, 86px);
  height: clamp(66px, 6.2vw, 86px);
  border: 1px solid rgba(18, 50, 68, .08);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #eef8fb);
  box-shadow: 0 14px 28px rgba(18, 50, 68, .075);
  color: var(--color-primary-dark);
  transition: transform 240ms ease-out, background 240ms ease-out, color 240ms ease-out, border-color 240ms ease-out;
}
.category-orb-icon::before {
  content: "";
  width: 40%;
  height: 40%;
  background: currentColor;
  -webkit-mask: var(--orb-mask, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 14c2 0 2-1 4-1s2 1 4 1 2-1 4-1 2 1 4 1v4H4v-4Zm2-8h12v5c-1.2-.2-2 .8-4 .8-2.1 0-2.6-1-4-1s-1.9 1-4 1V6Z'/%3E%3C/svg%3E")) center / contain no-repeat;
          mask: var(--orb-mask, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 14c2 0 2-1 4-1s2 1 4 1 2-1 4-1 2 1 4 1v4H4v-4Zm2-8h12v5c-1.2-.2-2 .8-4 .8-2.1 0-2.6-1-4-1s-1.9 1-4 1V6Z'/%3E%3C/svg%3E")) center / contain no-repeat;
}
.category-orb-card:hover .category-orb-icon {
  transform: translateY(-4px);
  border-color: rgba(10, 143, 181, .24);
  background: var(--color-primary-dark);
  color: #fff;
}
.category-orb-card strong {
  display: -webkit-box;
  max-width: 108px;
  min-height: 2.35em;
  color: var(--color-primary-dark);
  font-size: .76rem;
  line-height: 1.16;
  letter-spacing: .015em;
  font-weight: 800;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.category-orb-card[href*="bomba"] .category-orb-icon { --orb-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 7h7a5 5 0 1 1 0 10H8V7Zm7 3a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM3 9h5v6H3V9Z'/%3E%3C/svg%3E"); }
.category-orb-card[href*="filtro"] .category-orb-icon { --orb-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h14l-5.2 7.2V20h-3.6v-8.8L5 4Z'/%3E%3C/svg%3E"); }
.category-orb-card[href*="cascada"] .category-orb-icon { --orb-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v4H4V5Zm2 6c1.5 0 1.5 1.2 3 1.2s1.5-1.2 3-1.2 1.5 1.2 3 1.2 1.5-1.2 3-1.2v7c-1.5 0-1.5 1.2-3 1.2s-1.5-1.2-3-1.2-1.5 1.2-3 1.2-1.5-1.2-3-1.2v-7Z'/%3E%3C/svg%3E"); }
.category-orb-card[href*="escalera"] .category-orb-icon { --orb-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h3v4h4V3h3v18h-3v-5h-4v5H7V3Zm3 7v3h4v-3h-4Z'/%3E%3C/svg%3E"); }
.category-orb-card[href*="luz"] .category-orb-icon,
.category-orb-card[href*="luces"] .category-orb-icon { --orb-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 9 10h6l-3 11 9-13h-6l3-5h-6Z'/%3E%3C/svg%3E"); }
.category-orb-card[href*="empotrable"] .category-orb-icon,
.category-orb-card[href*="boquilla"] .category-orb-icon { --orb-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 3.2a4.8 4.8 0 1 0 0 9.6 4.8 4.8 0 0 0 0-9.6Zm0 2.1a2.7 2.7 0 1 1 0 5.4 2.7 2.7 0 0 1 0-5.4Z'/%3E%3C/svg%3E"); }
.category-orb-card[href*="limpieza"] .category-orb-icon,
.category-orb-card[href*="clorinadores"] .category-orb-icon { --orb-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h10v3H7V3Zm1 5h8l3 12H5L8 8Zm2.5 3-.9 6h4.8l-.9-6h-3Z'/%3E%3C/svg%3E"); }
.category-orb-card[href*="accesorios"] .category-orb-icon { --orb-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 3 2 2-4.8 4.8 2 2L13 7l2 2-7.8 7.8a2.8 2.8 0 0 1-4-4L11 5l-2-2Zm7.2 8.2 4.6 4.6a3.1 3.1 0 1 1-4.4 4.4l-4.6-4.6 1.4-1.4 2.2 2.2 1-1-2.2-2.2 2-2Z'/%3E%3C/svg%3E"); }
.category-orb-card[href*="hidromasaje"] .category-orb-icon { --orb-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 10a6 6 0 0 1 12 0h2a8 8 0 1 0-16 0h2Zm-2 4c2 0 2-1 4-1s2 1 4 1 2-1 4-1 2 1 4 1v5H4v-5Z'/%3E%3C/svg%3E"); }
.category-orb-card[href*="calentador"] .category-orb-icon { --orb-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2s5 4 5 9a5 5 0 0 1-10 0c0-2 1-3.3 2.1-4.5.2 2.6 1.7 4.1 3.4 4.6C11.8 8.3 12 2 12 2Zm-6 16h12v2H6v-2Z'/%3E%3C/svg%3E"); }
.category-orb-card[href*="corriente"] .category-orb-icon,
.category-orb-card[href*="nado"] .category-orb-icon { --orb-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 8h9l-2.2-2.2L12 4.6 16.4 9 12 13.4l-1.2-1.2L13 10H4V8Zm16 8h-9l2.2 2.2-1.2 1.2L7.6 15 12 10.6l1.2 1.2L11 14h9v2Z'/%3E%3C/svg%3E"); }
.category-orb-card[href*="sumergible"] .category-orb-icon { --orb-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4h8v8H8V4Zm-3 10c2 0 2-1 4-1s2 1 4 1 2-1 4-1 2 1 4 1v5H5v-5Z'/%3E%3C/svg%3E"); }
.category-orb-card[href*="hidroneumatico"] .category-orb-icon { --orb-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4h10a4 4 0 0 1 0 8H7a4 4 0 0 1 0-8Zm0 10h10v6H7v-6Zm2 2v2h6v-2H9Z'/%3E%3C/svg%3E"); }

.store-home .home-products { padding-top: clamp(36px, 5vw, 68px); }
.store-home .home-product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(18px, 1.9vw, 28px);
  justify-content: stretch;
}
.store-home .product-card-lite {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.store-home .product-card-lite:hover { transform: translateY(-3px); box-shadow: none; }
.store-home .product-card-lite .product-media {
  aspect-ratio: 1 / 1.12;
  border-radius: 0;
  background: #f1f5f7;
  box-shadow: inset 0 0 0 1px rgba(18, 50, 68, .045);
}
.store-home .product-card-lite .product-media::before { transform: scale(.80); }
.store-home .product-card-lite:hover .product-media::before { transform: scale(.86); }
.store-home .product-card-lite .product-info {
  padding: 14px 0 0;
  align-items: stretch;
  text-align: left;
}
.store-home .product-card-lite .product-tag {
  width: 100%;
  padding: 0;
  margin-bottom: 6px;
  background: transparent;
  color: var(--color-muted);
  font-size: .66rem;
  letter-spacing: .04em;
}
.store-home .product-card-lite .product-info h3 {
  min-height: calc(1.18em * 2);
  margin-bottom: 5px;
  color: var(--color-primary-dark);
  font-size: .92rem;
  line-height: 1.18;
  letter-spacing: -.012em;
}
.store-home .product-card-lite .product-info p {
  min-height: 1.25em;
  color: rgba(18, 50, 68, .55);
  font-size: .78rem;
  line-height: 1.3;
}
.store-home .product-card-lite .product-bottom {
  align-items: center;
  padding-top: 10px;
  gap: 10px;
}
.store-home .product-card-lite .product-bottom strong {
  font-size: .95rem;
  color: var(--color-primary-dark);
}
.store-home .product-card-lite .product-bottom button,
.store-home .product-card-lite .product-bottom a {
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border-radius: 999px;
  background: var(--color-primary-dark);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
}
.store-home .product-card-lite .product-bottom button:hover,
.store-home .product-card-lite .product-bottom a:hover { background: var(--color-primary); color: #fff; }

.store-home .home-full-banner {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(5,20,30,.92) 0%, rgba(15,52,70,.72) 42%, rgba(15,52,70,.18) 100%), var(--section-image, url("../img/banners/equipamiento-premium.jpg"));
  background-size: cover;
  background-position: center;
}
.store-home .home-full-banner h2 {
  max-width: 740px;
  font-size: clamp(2.25rem, 5vw, 5rem);
}
.store-home .home-full-banner p:not(.section-kicker) {
  max-width: 560px;
  color: rgba(255, 255, 255, .78);
}
.store-home .home-full-banner .button-primary { background: #fff; color: var(--color-primary-dark); }
.store-home .home-full-banner .button-primary:hover { background: var(--color-accent); color: var(--color-primary-dark); }

@media (max-width: 1180px) {
  .store-home .home-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .nav-centered {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }
  .nav-left,
  .nav-icon-actions { display: none; }
  .nav-brand-center { grid-column: 2; }
  .menu-button { grid-column: 3; justify-self: end; display: inline-grid; place-items: center; }
  .brand-logo { height: 42px; }
}
@media (max-width: 820px) {
  .store-home .home-hero {
    min-block-size: 72svh;
    background-image: linear-gradient(90deg, rgba(246, 249, 251, .82) 0%, rgba(246, 249, 251, .32) 35%, transparent 65%), var(--section-image, url("../img/banners/hero-piscina-premium.jpg"));
    background-position: center right;
  }
  .store-home .home-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-orb-grid { grid-auto-columns: minmax(92px, 1fr); }
}
@media (max-width: 620px) {
  .store-home .home-hero {
    min-block-size: auto;
    padding: 46px 0 58px;
  }
  .store-home .home-hero h1 { font-size: clamp(2.45rem, 13vw, 3.4rem); }
  .home-steps { grid-template-columns: 1fr; }
  .step-card { min-height: 190px; }
  .store-home .home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .category-orb-grid { grid-auto-columns: minmax(82px, 1fr); gap: 14px; }
  .category-orb-card strong { max-width: 86px; font-size: .68rem; }
  .store-home .home-full-banner { min-height: 560px; }
}
@media (max-width: 420px) {
  .store-home .home-product-grid { grid-template-columns: 1fr 1fr; }
  .store-home .product-card-lite .product-info h3 { font-size: .86rem; }
  .store-home .product-card-lite .product-bottom { flex-direction: row; align-items: center; }
  .store-home .product-card-lite .product-bottom button,
  .store-home .product-card-lite .product-bottom a { width: 30px; min-width: 30px; height: 30px; min-height: 30px; }
}

/* ===== v10 config folder + transparent home header + mobile visual assets ===== */
.store-home .site-header:not(.is-solid) {
  color: #fff;
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.store-home .site-header:not(.is-solid) .nav-links a {
  color: #fff;
  text-shadow: 0 2px 14px rgba(4, 18, 27, .22);
}
.store-home .site-header:not(.is-solid) .brand-logo {
  filter: drop-shadow(0 8px 18px rgba(4, 18, 27, .24));
}
.store-home .site-header:not(.is-solid) .nav-icon,
.store-home .site-header:not(.is-solid) .nav-icon-actions .nav-cart,
.store-home .site-header:not(.is-solid) .menu-button {
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.16);
  color: #fff;
  box-shadow: 0 12px 26px rgba(4, 18, 27, .16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.store-home .site-header:not(.is-solid) .nav-icon-actions .nav-cart span[data-cart-count] {
  border-color: rgba(255,255,255,.82);
  background: var(--color-accent);
  color: var(--color-primary-dark);
}
.store-home.menu-open .site-header {
  color: var(--color-text);
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid rgba(18, 50, 68, .08);
  box-shadow: 0 10px 28px rgba(18, 50, 68, .055);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.store-home.menu-open .site-header .menu-button {
  background: var(--color-primary-dark);
  color: #fff;
  border-color: var(--color-primary-dark);
}

.store-home .home-hero {
  min-block-size: 100svh;
  margin-top: 0;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + clamp(54px, 7vw, 92px)) 0 clamp(76px, 8vw, 118px);
  background-image: linear-gradient(90deg, rgba(246, 249, 251, 0) 0%, rgba(246, 249, 251, 0.034) 38%, rgba(246, 249, 251, 0) 68%), var(--section-image, url("../img/banners/hero-piscina-premium.jpg"));
  background-size: cover;
  background-position: center right;
}
.store-home .home-hero-copy {
  width: min(calc(100% - var(--side-space) * 2), var(--container));
}
.store-home .home-hero h1 {
  max-width: 10.8ch;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
}
.store-home .home-hero .hero-description br { display: block; }

.home-video-section {
  background: linear-gradient(180deg, #fff 0%, #f5f9fb 100%);
}
.home-video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: clamp(22px, 3vw, 44px);
  align-items: stretch;
}
.home-video-frame {
  position: relative;
  min-height: clamp(360px, 46vw, 640px);
  overflow: hidden;
  border-radius: 34px;
  background: var(--color-primary-dark);
  box-shadow: 0 28px 64px rgba(18, 50, 68, .18);
}
.home-video-frame video {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
}
.home-video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(4,18,27,.74) 100%);
  pointer-events: none;
}
.video-caption {
  position: absolute;
  left: clamp(18px, 2.5vw, 34px);
  right: clamp(18px, 2.5vw, 34px);
  bottom: clamp(18px, 2.5vw, 34px);
  z-index: 1;
  color: #fff;
}
.video-caption span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.video-caption strong {
  display: block;
  max-width: 560px;
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -.035em;
}
.video-content-grid {
  display: grid;
  gap: 16px;
}
.video-card,
.support-card {
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid rgba(18, 50, 68, .08);
  border-radius: 26px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 42px rgba(18, 50, 68, .075);
}
.video-card span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(10,143,181,.10);
  color: var(--color-primary-dark);
  font-size: .78rem;
  font-weight: 900;
}
.video-card h3,
.support-card strong {
  display: block;
  margin: 0 0 8px;
  color: var(--color-primary-dark);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.video-card p,
.support-card span {
  margin: 0;
  color: rgba(18, 50, 68, .64);
  line-height: 1.55;
}

.home-support-section {
  position: relative;
  overflow: hidden;
  min-height: 76vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(4,18,27,.88) 0%, rgba(15,52,70,.68) 48%, rgba(15,52,70,.18) 100%), var(--section-image, url("../img/banners/mantenimiento-piscina.jpg"));
  background-size: cover;
  background-position: center;
}
.home-support-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .62fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(72px, 9vw, 128px);
}
.support-copy .section-kicker {
  color: var(--color-accent);
  border-color: rgba(255,255,255,.18);
}
.support-copy h2 {
  max-width: 680px;
  margin: 18px 0 18px;
  color: #fff;
  font-size: clamp(2.35rem, 5.3vw, 5rem);
  line-height: .96;
  letter-spacing: -.055em;
}
.support-copy p:not(.section-kicker) {
  max-width: 590px;
  margin-bottom: 28px;
  color: rgba(255,255,255,.78);
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  line-height: 1.7;
}
.support-card-grid {
  display: grid;
  gap: 16px;
}
.support-card {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (max-width: 1024px) {
  .home-video-layout,
  .home-support-inner {
    grid-template-columns: 1fr;
  }
  .video-content-grid,
  .support-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .store-home .home-hero {
    min-block-size: 100svh;
    align-items: flex-end;
    padding: calc(var(--header-height) + 36px) 0 58px;
    color: #fff;
    background-image: linear-gradient(180deg, rgba(4,18,27,.06) 0%, rgba(4,18,27,.24) 34%, rgba(4,18,27,.78) 100%), var(--section-mobile-image, var(--section-image, url("../img/mobile/banners/hero-piscina-premium.jpg")));
    background-position: center;
  }
  .store-home .home-hero h1,
  .store-home .hero-description {
    color: #fff;
    text-shadow: 0 12px 28px rgba(4,18,27,.32);
  }
  .store-home .hero-section .eyebrow {
    color: #fff;
    border-color: rgba(255,255,255,.20);
    background: rgba(255,255,255,.12);
    box-shadow: none;
  }
  .store-home .button-secondary.dark {
    background: rgba(255,255,255,.14);
    color: #fff;
    border-color: rgba(255,255,255,.28);
  }
  .step-card {
    background-image: linear-gradient(180deg, rgba(4, 18, 27, .08), rgba(4, 18, 27, .76)), var(--step-mobile-image, var(--step-image));
  }
  .store-home .product-card-lite .product-media {
    background-image: var(--item-mobile-image, var(--item-image));
  }
  .store-home .home-full-banner,
  .home-support-section {
    background-image: linear-gradient(180deg, rgba(4,18,27,.18) 0%, rgba(4,18,27,.78) 100%), var(--section-mobile-image, var(--section-image));
    background-position: center;
  }
  .home-video-frame {
    min-height: 520px;
    border-radius: 28px;
  }
  .video-content-grid,
  .support-card-grid {
    grid-template-columns: 1fr;
  }
  .home-support-section { min-height: auto; }
}
@media (max-width: 620px) {
  .store-home .home-hero {
    min-block-size: 100svh;
    padding-bottom: 42px;
  }
  .store-home .home-hero h1 {
    max-width: 9.6ch;
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }
  .store-home .home-hero .hero-description br { display: none; }
  .home-video-section { padding-top: 72px; }
  .home-video-frame { min-height: 440px; border-radius: 24px; }
  .video-caption strong { font-size: clamp(1.5rem, 8vw, 2.25rem); }
  .home-support-inner { padding-block: 72px; }
  .support-copy h2 { font-size: clamp(2.4rem, 12vw, 3.7rem); }
  .video-card,
  .support-card { border-radius: 22px; }
}
@media (max-width: 820px) {
  .store-home .product-card-lite .product-media::before {
    background-image: var(--item-mobile-image, var(--item-image));
  }
}
@media (min-width: 821px) {
  .store-home .site-header:not(.is-solid) {
    color: var(--color-primary-dark);
  }
  .store-home .site-header:not(.is-solid) .nav-links a {
    color: var(--color-primary-dark);
    text-shadow: none;
  }
  .store-home .site-header:not(.is-solid) .nav-icon,
  .store-home .site-header:not(.is-solid) .nav-icon-actions .nav-cart {
    border-color: rgba(18, 50, 68, .10);
    background: rgba(255,255,255,.46);
    color: var(--color-primary-dark);
  }
}
@media (max-width: 820px) {
  .store-home .site-header:not(.is-solid) {
    color: #fff;
  }
}
.category-image {
  background-image: var(--category-image);
}
@media (max-width: 820px) {
  .detail-media::before,
  .cart-thumb::before {
    background-image: var(--item-mobile-image, var(--item-image));
  }
  .category-image {
    background-image: var(--category-mobile-image, var(--category-image));
  }
}

/* Ajustes finales v11 */
html,
body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.category-grid {
  padding: 6px;
  overflow: visible;
}
.category-card {
  border-color: rgba(18, 50, 68, .08);
}
.category-card:hover {
  border-color: rgba(18, 50, 68, .08);
  box-shadow: var(--shadow-hover), 0 0 0 3px rgba(10, 143, 181, .10);
}

.store-home .home-hero {
  min-block-size: 100svh;
  block-size: 100svh;
  padding: calc(var(--header-height) + clamp(24px, 4vw, 52px)) 0 clamp(34px, 5vw, 64px);
  overflow: hidden;
}
.store-home .home-hero h1 {
  max-width: 11ch;
  font-size: clamp(2.45rem, 5.6vw, 4.85rem);
  line-height: .98;
}
.store-home .hero-description {
  max-width: 520px;
  font-size: clamp(.94rem, 1.05vw, 1.06rem);
  line-height: 1.5;
}
.store-home .home-hero .hero-actions {
  margin-top: clamp(18px, 2.5vw, 28px);
}
.store-home .home-hero .button {
  min-height: 42px;
  padding-inline: 20px;
  font-size: .88rem;
}

.home-video-section {
  padding-top: clamp(34px, 4vw, 54px);
  padding-bottom: clamp(36px, 4.5vw, 62px);
}
.home-video-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  align-items: center;
}
.home-video-frame {
  min-height: 0;
  height: clamp(260px, 30vw, 390px);
  border-radius: 26px;
}
.home-video-frame video {
  min-height: 0;
  height: 100%;
}
.video-caption strong {
  max-width: 480px;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
}
.video-card {
  padding: clamp(16px, 2vw, 22px);
  border-radius: 20px;
}
.video-card span {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
}

.home-support-section {
  min-height: auto;
}
.home-support-inner {
  grid-template-columns: minmax(0, .92fr) minmax(280px, .58fr);
  padding-block: clamp(46px, 6vw, 78px);
}
.support-copy h2 {
  max-width: 560px;
  font-size: clamp(2rem, 4.2vw, 3.75rem);
  letter-spacing: -.045em;
}
.support-copy p:not(.section-kicker) {
  max-width: 520px;
  margin-bottom: 22px;
}
.button-accent {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  border-color: transparent;
}
.button-accent:hover {
  background: #ffb073;
  color: var(--color-primary-dark);
  box-shadow: 0 12px 24px rgba(255, 155, 84, .24);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-advice-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 4px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-primary-dark) !important;
  font-weight: 900;
}
.footer-advice-button:hover {
  background: #ffb073;
  color: var(--color-primary-dark) !important;
}
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.footer-socials a {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff !important;
  font-size: .78rem;
  font-weight: 900;
}
.footer-socials a:hover {
  background: rgba(255,255,255,.16);
  color: var(--color-accent) !important;
}

.home-picks-box {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(10, 143, 181, .14);
  border-radius: 18px;
  background: rgba(10, 143, 181, .055);
}
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 10px;
  color: var(--color-primary-dark);
  line-height: 1.35;
  cursor: pointer;
}
.check-row input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  accent-color: var(--color-primary);
}
.home-picks-cell {
  min-width: 170px;
}
.home-picks-cell span {
  display: inline-flex;
  margin: 2px 4px 2px 0;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(10,143,181,.10);
  color: var(--color-primary-dark);
  font-size: .76rem;
  font-weight: 800;
}

@media (max-width: 820px) {
  .store-home .home-hero {
    align-items: center;
    min-block-size: 100svh;
    block-size: 100svh;
    padding: calc(var(--header-height) + 28px) 0 38px;
  }
  .store-home .home-hero h1 {
    max-width: 10.2ch;
    font-size: clamp(2.15rem, 10.8vw, 3.35rem);
  }
  .store-home .hero-description {
    font-size: .94rem;
  }
  .home-video-section {
    padding-top: 44px;
    padding-bottom: 48px;
  }
  .home-video-frame {
    height: min(330px, 68vw);
    min-height: 260px;
    border-radius: 22px;
  }
  .video-caption strong {
    font-size: clamp(1.25rem, 6vw, 1.8rem);
  }
  .home-support-inner {
    padding-block: 52px;
  }
  .support-copy h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }
}
@media (max-width: 620px) {
  .store-home .home-hero h1 {
    font-size: clamp(2.05rem, 11vw, 3rem);
  }
  .store-home .home-hero .button {
    width: 100%;
  }
  .home-video-frame {
    height: 300px;
    min-height: 0;
  }
}

/* ===== v12 ajustes solicitados: home, catálogo, footer y admin ===== */
html,
body {
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.catalog-chips::-webkit-scrollbar,
.category-orb-grid::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.category-orb-grid {
  padding: 14px 4px 18px;
  overflow-y: visible;
  scrollbar-width: none;
}
.category-orb-card {
  padding-block: 2px;
}
.category-orb-icon {
  outline: 0 solid transparent;
}
.category-orb-card:hover .category-orb-icon {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(18, 50, 68, .12), 0 0 0 4px rgba(10, 143, 181, .10);
}

.store-home .home-product-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  row-gap: clamp(24px, 2.6vw, 36px);
}
.store-home .home-products {
  padding-top: clamp(30px, 4vw, 52px);
  padding-bottom: clamp(34px, 4vw, 56px);
}
.store-home .product-card-lite .product-info h3 {
  font-size: .84rem;
}
.store-home .product-card-lite .product-info p {
  font-size: .74rem;
}
.store-home .product-card-lite .product-bottom strong {
  font-size: .82rem;
}

.home-video-section {
  padding-top: clamp(26px, 3vw, 42px);
  padding-bottom: clamp(28px, 3.4vw, 46px);
}
.home-video-layout {
  grid-template-columns: minmax(0, .92fr) minmax(280px, .78fr);
  gap: clamp(18px, 2.4vw, 32px);
}
.home-video-frame {
  height: clamp(220px, 24vw, 320px);
  min-height: 0;
  border-radius: 22px;
}
.home-video-frame video {
  height: 100%;
  min-height: 0;
}
.video-caption {
  left: 22px;
  right: 22px;
  bottom: 20px;
}
.video-caption strong {
  max-width: 430px;
  font-size: clamp(1.08rem, 1.8vw, 1.55rem);
  line-height: 1.05;
}
.video-caption span {
  padding: 6px 10px;
  margin-bottom: 7px;
  font-size: .66rem;
}
.video-card {
  padding: 16px 18px;
  border-radius: 18px;
}
.video-card span {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
}
.video-card h3 {
  font-size: .98rem;
}
.video-card p {
  font-size: .84rem;
  line-height: 1.45;
}

.home-support-section {
  min-height: auto;
}
.home-support-inner {
  grid-template-columns: minmax(0, .94fr) minmax(280px, .56fr);
  padding-block: clamp(38px, 5vw, 62px);
  gap: clamp(22px, 4vw, 48px);
}
.support-copy h2 {
  max-width: 520px;
  font-size: clamp(1.85rem, 3.5vw, 3.05rem);
  line-height: 1.02;
}
.support-copy p:not(.section-kicker) {
  max-width: 490px;
  margin-bottom: 18px;
  font-size: .96rem;
  line-height: 1.55;
}
.support-card-grid {
  gap: 10px;
}
.support-card {
  padding: 16px 18px;
  border-radius: 18px;
}
.support-card strong {
  font-size: .98rem;
}
.support-card span {
  font-size: .84rem;
}
.button-accent,
.support-copy .button-accent {
  background: #fff;
  color: var(--color-primary-dark);
  border-color: rgba(255,255,255,.16);
}
.button-accent:hover,
.support-copy .button-accent:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(10, 143, 181, .28);
}

.footer-contact {
  gap: 8px;
}
.footer-advice-button {
  min-height: 38px;
  padding: 0 16px;
  margin-top: 2px;
  font-size: .82rem;
  line-height: 1;
}
.footer-socials {
  gap: 9px;
  margin-top: 8px;
}
.footer-socials a {
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0;
}
.footer-socials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.catalog-main.inner-main {
  padding-top: var(--header-height);
}
.product-list-hero {
  position: relative;
  inline-size: 100%;
  min-height: 85svh;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(246, 251, 253, .94) 0%, rgba(246, 251, 253, .82) 42%, rgba(246, 251, 253, .24) 72%), var(--section-image, url("../img/banners/equipamiento-premium.jpg"));
  background-size: cover;
  background-position: center right;
}
.product-list-hero-inner {
  padding-block: clamp(64px, 7vw, 104px);
}
.product-list-hero .section-kicker {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0);
  border-color: rgba(10,143,181,.16);
}
.product-list-hero h1 {
  max-width: 13ch;
  margin: 18px 0 14px;
  color: var(--color-primary-dark);
  font-size: clamp(2.45rem, 5.2vw, 5rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.product-list-hero p:last-child {
  max-width: 560px;
  color: rgba(18, 50, 68, .70);
  font-size: clamp(.98rem, 1.2vw, 1.14rem);
  line-height: 1.55;
}
.catalog-shop-layout {
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: clamp(22px, 3.2vw, 42px);
  padding-top: clamp(34px, 4vw, 58px);
}
.catalog-filter-box {
  top: calc(var(--header-height) + 18px);
  max-height: calc(100svh - var(--header-height) - 36px);
  overflow: auto;
  padding: 18px;
  border-radius: 22px;
  scrollbar-width: none;
}
.catalog-filter-box::-webkit-scrollbar { display: none; }
.filter-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.filter-title-row h3 {
  font-size: 1.02rem;
}
.filter-title-row small {
  display: block;
  margin-top: 2px;
  color: var(--color-muted);
  font-size: .72rem;
  font-weight: 700;
}
.filter-title-icon,
.filter-category-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(10,143,181,.10);
  color: var(--color-primary-dark);
}
.filter-title-icon {
  width: 32px;
  height: 32px;
}
.filter-title-icon::before,
.filter-category-icon::before {
  content: "";
  width: 52%;
  height: 52%;
  background: currentColor;
  -webkit-mask: var(--filter-mask, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h14l-5.2 7.2V20h-3.6v-8.8L5 4Z'/%3E%3C/svg%3E")) center / contain no-repeat;
          mask: var(--filter-mask, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h14l-5.2 7.2V20h-3.6v-8.8L5 4Z'/%3E%3C/svg%3E")) center / contain no-repeat;
}
.catalog-filter-box label,
.filter-label {
  display: block;
  margin-bottom: 7px;
  color: var(--color-primary-dark);
  font-size: .70rem;
  font-weight: 900;
  letter-spacing: .035em;
}
.catalog-filter-box input,
.catalog-filter-box select {
  min-height: 42px;
  border-radius: 13px;
  font-size: .82rem;
}
.catalog-filter-box .button {
  min-height: 42px;
  margin-top: 14px;
  border-radius: 13px;
  font-size: .78rem;
}
.catalog-filter-box .filter-clear {
  margin-top: 12px;
  color: var(--color-primary-dark);
  font-size: .72rem;
  font-weight: 900;
}
.catalog-filter-box .filter-separator {
  margin: 18px 0 14px;
}
.filter-category-panel {
  display: grid;
  gap: 6px;
}
.filter-category-link {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 5px 7px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: var(--color-primary-dark);
  transition: background 180ms ease-out, border-color 180ms ease-out, transform 180ms ease-out;
}
.filter-category-link strong {
  overflow: hidden;
  color: inherit;
  font-size: .69rem;
  line-height: 1.05;
  font-weight: 900;
  text-overflow: ellipsis;
}
.filter-category-icon {
  width: 28px;
  height: 28px;
  background: rgba(10,143,181,.075);
}
.filter-category-link:hover,
.filter-category-link.is-active {
  transform: translateX(2px);
  border-color: rgba(10,143,181,.18);
  background: rgba(10,143,181,.075);
  color: var(--color-primary-dark);
}
.filter-category-link.is-active .filter-category-icon {
  background: var(--color-primary-dark);
  color: #fff;
}
.filter-category-link[href*="bomba"] .filter-category-icon { --filter-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 7h7a5 5 0 1 1 0 10H8V7Zm7 3a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM3 9h5v6H3V9Z'/%3E%3C/svg%3E"); }
.filter-category-link[href*="luz"] .filter-category-icon,
.filter-category-link[href*="luces"] .filter-category-icon { --filter-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 9 10h6l-3 11 9-13h-6l3-5h-6Z'/%3E%3C/svg%3E"); }
.filter-category-link[href*="limpieza"] .filter-category-icon,
.filter-category-link[href*="clorinadores"] .filter-category-icon { --filter-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h10v3H7V3Zm1 5h8l3 12H5L8 8Zm2.5 3-.9 6h4.8l-.9-6h-3Z'/%3E%3C/svg%3E"); }
.filter-category-link[href*="cascada"] .filter-category-icon { --filter-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v4H4V5Zm2 6c1.5 0 1.5 1.2 3 1.2s1.5-1.2 3-1.2 1.5 1.2 3 1.2 1.5-1.2 3-1.2v7c-1.5 0-1.5 1.2-3 1.2s-1.5-1.2-3-1.2-1.5 1.2-3 1.2-1.5-1.2-3-1.2v-7Z'/%3E%3C/svg%3E"); }
.filter-category-link[href*="escalera"] .filter-category-icon { --filter-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h3v4h4V3h3v18h-3v-5h-4v5H7V3Zm3 7v3h4v-3h-4Z'/%3E%3C/svg%3E"); }

.catalog-toolbar-clean {
  margin-bottom: 20px;
}
.catalog-count-note {
  display: inline-block;
  margin-top: 8px;
  color: var(--color-muted);
  font-size: .82rem;
  font-weight: 700;
}
.catalog-product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 1.65vw, 24px);
}
.catalog-product-grid .product-card {
  border-radius: 20px;
}
.catalog-product-grid .product-media {
  aspect-ratio: 1 / .92;
}
.catalog-product-grid .product-info {
  padding: 16px;
}
.catalog-product-grid .product-info h3 {
  font-size: .92rem;
}
.catalog-product-grid .product-info p {
  font-size: .78rem;
}
.catalog-product-grid .product-bottom strong {
  font-size: .9rem;
}
.catalog-product-grid .product-bottom button {
  min-height: 36px;
  padding: 0 12px;
  font-size: .72rem;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(28px, 4vw, 48px);
}
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(18,50,68,.10);
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary-dark);
  font-size: .82rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(18,50,68,.06);
}
.page-link-wide {
  min-width: 92px;
}
.page-link:hover,
.page-link.is-active {
  background: var(--color-primary-dark);
  color: #fff;
  border-color: var(--color-primary-dark);
}

@media (max-width: 1180px) {
  .store-home .home-product-grid,
  .catalog-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .catalog-shop-layout { grid-template-columns: 1fr; }
  .catalog-filter-box { max-height: none; }
  .shop-sidebar { position: static; top: auto; }
  .filter-category-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-video-layout,
  .home-support-inner { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .product-list-hero { min-height: 62vh; }
  .product-list-hero h1 { font-size: clamp(2.15rem, 9vw, 3.4rem); }
  .store-home .home-product-grid,
  .catalog-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-category-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-video-frame { height: min(260px, 62vw); }
}
@media (max-width: 620px) {
  .product-list-hero { min-height: 58vh; }
  .catalog-shop-layout { padding-top: 28px; }
  .filter-category-panel { grid-template-columns: 1fr; }
  .store-home .home-product-grid,
  .catalog-product-grid { gap: 18px; }
  .footer-socials a { width: 36px; min-width: 36px; height: 36px; }
}

/* ===== v13 transparent inner pages + refined footer/catalog/category UX ===== */
html {
  scrollbar-width: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.transparent-header .inner-main,
.transparent-header.catalog-page .catalog-main.inner-main {
  padding-top: 0;
}

.transparent-header .site-header:not(.is-solid) {
  color: #fff;
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.transparent-header .site-header:not(.is-solid) .nav-links a {
  color: #fff;
  text-shadow: 0 2px 14px rgba(4, 18, 27, .26);
}
.catalog-page.transparent-header .site-header:not(.is-solid) .nav-links a {
  color: var(--color-primary-dark);
  text-shadow: none;
}
.transparent-header .site-header:not(.is-solid) .brand-logo {
  filter: drop-shadow(0 8px 18px rgba(4, 18, 27, .28));
}
.transparent-header .site-header:not(.is-solid) .nav-icon,
.transparent-header .site-header:not(.is-solid) .nav-icon-actions .nav-cart,
.transparent-header .site-header:not(.is-solid) .menu-button {
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.14);
  color: #fff;
  box-shadow: 0 12px 26px rgba(4, 18, 27, .16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.transparent-header.menu-open .site-header {
  color: var(--color-text);
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid rgba(18, 50, 68, .08);
  box-shadow: 0 10px 28px rgba(18, 50, 68, .055);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.product-list-hero,
.page-visual-hero {
  width: 100%;
  max-width: 100%;
  min-height: 90svh;
  min-height: 90vh;
}
.product-list-hero {
  padding-top: var(--header-height);
  background-image: linear-gradient(90deg, rgba(246, 251, 253, 0.041) 0%, rgba(246, 251, 253, 0.171) 42%, rgba(246, 251, 253, .10) 72%), var(--section-image, url("../img/banners/equipamiento-premium.jpg"));
}

.page-visual-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding-top: var(--header-height);
  background-image: linear-gradient(90deg, rgba(5, 20, 30, 0.075) 0%, rgba(15, 52, 70, 0.075) 48%, rgba(15, 52, 70, 0.089) 100%), var(--section-image, url("../img/banners/equipamiento-premium.jpg"));
  background-size: cover;
  background-position: center right;
  color: #fff;
}
.page-visual-hero-inner {
  padding-block: clamp(70px, 8vw, 118px);
}
.page-visual-hero .section-kicker {
  color: #fff;
  border-color: rgba(255, 255, 255, 0);
  background: rgba(255, 255, 255, 0);
}
.categories-page .section-kicker {
  color: var(--color-primary);
}
.contact-page .section-kicker {
  color: inherit;
}
.categories-page.transparent-header .site-header:not(.is-solid) .nav-links a {
  color: var(--color-primary-dark);
  text-shadow: none;
}
.categories-page .page-visual-hero h1 {
  color: var(--color-primary-dark);
}
.categories-page .page-visual-hero p {
  color: var(--color-primary);
}
.categories-page .category-list-section .section-kicker {
  color: var(--color-primary);
}
.categories-page .category-list-section h2 {
  color: var(--color-primary-dark);
}
.categories-page .category-card strong,
.categories-page .category-card p {
  color: var(--color-primary-dark);
}
.categories-page .category-info-card h3,
.categories-page .category-info-card p {
  color: var(--color-primary-dark);
}

.page-visual-hero h1 {
  max-width: 12ch;
  margin: 18px 0 16px;
  color: #fff;
  font-size: clamp(2.75rem, 5.6vw, 5.6rem);
  line-height: .96;
  letter-spacing: -.058em;
}
.page-visual-hero p:last-child {
  max-width: 590px;
  color: #000000;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.62;
}
.contact-page-hero,
.cart-page-hero {
  background-position: center;
}
.contact-page-hero {
  background-image: linear-gradient(90deg, rgba(5,20,30,.84) 0%, rgba(15,52,70,.58) 48%, rgba(15,52,70,.14) 100%), var(--section-image, url("../img/banners/mantenimiento-piscina.jpg"));
}
.cart-page-hero {
  background-image: linear-gradient(90deg, rgba(5,20,30,.82) 0%, rgba(15,52,70,.56) 50%, rgba(15,52,70,.12) 100%), var(--section-image, url("../img/banners/Compra.jpg"));
}

.catalog-shop-layout {
  align-items: start;
}
.shop-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  align-self: start;
  opacity: 1 !important;
  transform: none !important;
}
.catalog-filter-box {
  position: static;
  max-height: calc(100svh - var(--header-height) - 36px);
  overflow: auto;
  overscroll-behavior: contain;
}
.filter-category-panel {
  padding-bottom: 4px;
}
.catalog-product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-list-section {
  padding-top: clamp(48px, 6vw, 86px);
}
.category-info-section {
  padding-top: 0;
}
.category-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-gap);
}
.category-info-card {
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid rgba(18,50,68,.08);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(18,50,68,.065);
}
.category-info-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(10,143,181,.10);
  color: var(--color-primary-dark);
  font-size: .78rem;
  font-weight: 900;
}
.category-info-card h3 {
  margin: 0 0 10px;
  color: var(--color-primary-dark);
  font-size: clamp(1.12rem, 1.55vw, 1.36rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.category-info-card p {
  margin: 0;
  color: rgba(18,50,68,.64);
  line-height: 1.58;
}
.category-reels-section {
  overflow: hidden;
  background: linear-gradient(135deg, #071822, #0f3446);
  color: #fff;
}
.category-reels-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.category-reels-copy .section-kicker {
  color: var(--color-accent);
  border-color: rgba(255, 255, 255, 0);
  background: rgba(255, 255, 255, 0);
}
.category-reels-copy h2 {
  max-width: 560px;
  margin: 18px 0 16px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.category-reels-copy p:not(.section-kicker) {
  max-width: 520px;
  margin: 0 0 24px;
  color: rgba(255,255,255,.74);
  line-height: 1.68;
}
.reel-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.reel-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.03) 42%, rgba(4,18,27,.68) 100%),
    radial-gradient(circle at 50% 18%, rgba(10,143,181,.32), transparent 34%),
    rgba(255,255,255,.08);
  box-shadow: 0 24px 58px rgba(4,18,27,.30);
  isolation: isolate;
}
.reel-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  z-index: -1;
}
.reel-card span {
  width: fit-content;
  margin-bottom: auto;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  color: var(--color-accent);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.reel-card strong {
  display: block;
  color: #fff;
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  line-height: 1.05;
}
.reel-card p {
  margin: 10px 0 0;
  color: rgba(255,255,255,.70);
  line-height: 1.45;
}

.footer-contact {
  align-items: flex-start;
}
.footer-advice-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 144px;
  min-height: 44px;
  margin-top: 8px !important;
  padding: 0 22px;
  line-height: 1;
  text-align: center;
}
.footer-socials {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 16px;
}
.footer-socials a {
  display: grid !important;
  place-items: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  margin-top: 0 !important;
  padding: 0 !important;
  line-height: 1;
}
.footer-socials svg {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0;
  fill: currentColor;
}

@media (min-width: 1440px) {
  .catalog-product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .catalog-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .catalog-shop-layout { grid-template-columns: 1fr; }
  .catalog-filter-box { max-height: none; }
  .shop-sidebar { position: static; top: auto; }
  .category-info-grid,
  .category-reels-layout { grid-template-columns: 1fr; }
  .reel-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .product-list-hero,
  .page-visual-hero {
    min-height: 70svh;
    background-image: linear-gradient(180deg, rgba(4,18,27,.08) 0%, rgba(4,18,27,.34) 36%, rgba(4,18,27,.82) 100%), var(--section-mobile-image, var(--section-image));
    background-position: center;
  }
  .product-list-hero {
    background-image: linear-gradient(180deg, rgba(246,251,253,.30) 0%, rgba(246,251,253,.74) 48%, rgba(246,251,253,.94) 100%), var(--section-mobile-image, var(--section-image));
  }
  .page-visual-hero h1,
  .product-list-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.8rem);
  }
  .category-info-grid,
  .reel-card-grid { grid-template-columns: 1fr; }
  .reel-card { min-height: 320px; }
}
@media (max-width: 620px) {
  .page-visual-hero,
  .product-list-hero { min-height: 70svh; }
  .page-visual-hero-inner,
  .product-list-hero-inner { padding-block: 92px 54px; }
  .catalog-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact,
  .footer-socials { align-items: flex-start; justify-content: flex-start; }
  .footer-advice-button { min-width: 150px; min-height: 42px; }
}

/* Dataset + variantes de producto */
.price-stack {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.05;
}

.price-stack strong,
.product-bottom .price-stack strong {
  color: var(--color-primary-dark);
  font-size: inherit;
  letter-spacing: -.02em;
}

.usd-reference,
.detail-usd-reference,
.price-stack small {
  display: block;
  color: rgba(7, 50, 68, .58);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin-top: 3px;
}

.detail-usd-reference {
  margin-top: -12px;
  margin-bottom: 12px;
  font-size: .88rem;
}

.product-detail-variant .buy-box select {
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  padding: 14px 16px;
  background: #fff;
  color: var(--color-primary-dark);
  font-weight: 800;
  outline: 0;
}

.product-variant-section {
  padding-top: clamp(24px, 4vw, 58px);
}

.variant-table-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 28px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 20px 45px rgba(7, 50, 68, .08);
}

.variant-table {
  margin: 0;
}

.variant-table td {
  vertical-align: top;
}

.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 6px 6px 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(10, 143, 181, .08);
  color: var(--color-primary-dark);
  font-size: .72rem;
  font-weight: 700;
}

.cart-variant-label,
.summary-line small {
  display: block;
  margin-top: 3px;
  color: rgba(7, 50, 68, .58);
  font-size: .74rem;
  font-weight: 800;
}

.admin-help a:nth-last-child(2) {
  border-top: 1px solid var(--color-line);
}

@media (max-width: 760px) {
  .product-detail-variant .buy-box select { border-radius: 14px; font-size: .82rem; }
  .variant-table-card { border-radius: 20px; overflow: visible; }
  .spec-chip { display: flex; width: fit-content; max-width: 100%; white-space: normal; }
}
