/* ===== esNUEVO — estilos generales ===== */
:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --ink: #0f172a;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f8fafc;
  --star: #f59e0b;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 12px 32px rgba(15, 23, 42, 0.12);
  --page-gutter: 32px;
  --mobile-header-height: 64px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
}

body > main {
  flex: 1 0 auto;
}

html, body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
main,
section,
article,
aside,
header,
footer,
nav,
.container,
.wrapper,
.product-card,
.product-info,
.detail-info,
.checkout-panel,
.checkout-summary,
.summary-box,
.legal-content,
.cart-item > *,
.footer-bottom {
  min-width: 0;
}
h1,
h2,
h3,
h4,
p,
li,
a,
span,
strong {
  overflow-wrap: break-word;
}

@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}

/* ===== Top announcement bar ===== */
.announcement {
  background: var(--gray-100);
  text-align: center;
  font-size: 13.5px;
  padding: 10px 16px;
  color: var(--gray-700);
}
.announcement strong { color: var(--ink); }
.announcement a {
  color: var(--blue);
  font-weight: 600;
  margin-left: 6px;
  white-space: nowrap;
}
.announcement a:hover { text-decoration: underline; }

/* ===== Header ===== */
.site-header {
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 30;
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 52px;
  height: 106px;
  max-width: none;
  padding: 0 56px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo .logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-categories {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-700);
  background: transparent;
  border: none;
  padding: 8px 4px;
  white-space: nowrap;
}
.nav-categories:hover { color: var(--ink); }

.search-bar {
  flex: 1;
  position: relative;
  max-width: 700px;
}
.search-bar input {
  width: 100%;
  height: 58px;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  padding: 0 48px 0 20px;
  font-size: 16px;
  color: var(--ink);
  background: var(--gray-50);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.search-bar input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
  background: #fff;
}
.search-bar button {
  position: absolute;
  right: 7px;
  top: 7px;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-bar button:hover { background: var(--blue); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  flex-shrink: 0;
}
.header-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-700);
  background: none;
  border: none;
  position: relative;
}
.header-action:hover { color: var(--ink); }
.header-action .icon-wrap {
  position: relative;
  display: flex;
  color: currentColor;
}
.header-action svg {
  display: block;
  color: currentColor;
  stroke: currentColor;
}
.badge {
  position: absolute;
  top: -7px;
  right: -10px;
  background: var(--ink);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  left: 50%;
  width: 100vw;
  margin: 0 0 4px -50vw;
  background:
    linear-gradient(90deg, rgba(248, 251, 255, .18) 0%, rgba(248, 251, 255, .05) 42%, rgba(248, 251, 255, 0) 70%),
    url("../img/hero-background.png") center right / cover no-repeat;
  min-height: clamp(590px, 67vh, 650px);
  display: flex;
  align-items: center;
  padding: 0 clamp(56px, 6.3vw, 106px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: none;
}
.hero-card {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: inherit;
  margin: 0 auto;
  max-width: none;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 3;
  width: min(49vw, 720px);
  padding-top: clamp(82px, 9.8vh, 100px);
  padding-bottom: clamp(30px, 4.4vh, 42px);
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-700);
  margin: 0 0 34px;
}
.hero-eyebrow .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  flex: 0 0 auto;
}
.hero-eyebrow span.sep {
  width: 1px;
  height: 18px;
  background: var(--gray-300);
  margin: 0 4px;
}
.hero h1 {
  font-size: clamp(56px, 4.05vw, 68px);
  line-height: 1.04;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 26px;
  padding-inline: 0;
  color: var(--ink);
}
.hero h1 > span {
  display: block;
  white-space: nowrap;
}
.hero h1 .accent {
  max-width: 100%;
  color: var(--blue);
}
.hero-subtitle {
  font-size: 20px;
  line-height: 1.42;
  color: var(--gray-700);
  max-width: 470px;
  margin: 0 0 32px;
}
.hero-ctas {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-ctas .btn {
  min-height: 64px;
  border-radius: 10px;
  padding: 0 34px;
  min-width: 216px;
  font-size: 16px;
}
.hero-ctas .btn i {
  font-size: 16px;
  line-height: 1;
}
.hero-trust-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 28px;
  margin-top: clamp(34px, 4.2vh, 42px);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 0 auto;
}
.hero-trust-item i {
  width: 30px;
  color: var(--blue);
  font-size: 28px;
  text-align: center;
}
.hero-trust-item strong,
.hero-trust-item span {
  display: block;
}
.hero-trust-item strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.15;
}
.hero-trust-item span {
  margin-top: 5px;
  color: var(--gray-700);
  font-size: 12.5px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px 26px;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 8px 22px rgba(37,99,235,.32); }
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--gray-300);
}
.btn-secondary:hover { border-color: var(--ink); }

.hero-art {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(58vw, 1000px);
  overflow: visible;
  pointer-events: auto;
}
.hero-art::before {
  display: none;
}
.hero-art::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -18px;
  bottom: -20px;
  width: 48%;
  pointer-events: none;
}
.hero-model-stage {
  position: absolute;
  inset: 0;
  overflow: visible;
}
.hero-model-stage::before {
  content: none;
  display: none;
}
.hero-model-wrap {
  position: absolute;
  z-index: 3;
  right: clamp(-240px, -13vw, -140px);
  top: 32px;
  width: min(54vw, 850px);
  max-width: 850px;
  height: 580px;
  animation: none;
}
.hero-model-canvas {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: default;
  touch-action: pan-y;
}
.hero-model-canvas:active { cursor: default; }

.hero-metrics,
.hero-category-links,
.hero-art-head,
.hero-art-footer {
  display: none !important;
}
.hero-model-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 34px;
  transition: opacity .24s ease, visibility .24s ease;
  pointer-events: none;
}
.hero-model-loader i {
  animation: heroModelPulse 1.1s ease-in-out infinite;
}
.hero-model-wrap.is-loaded .hero-model-loader,
.hero-model-wrap.is-error .hero-model-loader {
  opacity: 0;
  visibility: hidden;
}
@keyframes heroModelPulse {
  0%, 100% { transform: scale(.9); opacity: .45; }
  50% { transform: scale(1.06); opacity: 1; }
}

/* ===== Category strip ===== */
.cat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 18px;
  margin-bottom: 56px;
}
.hero + .cat-strip {
  margin-top: clamp(30px, 4vw, 58px);
}
.cat-pill {
  min-height: 78px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 13px 16px;
  font-weight: 600;
  font-size: 14.5px;
  text-align: left;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .045);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cat-pill:hover {
  border-color: var(--blue);
  box-shadow: 0 14px 34px rgba(37, 99, 235, .09);
  transform: translateY(-2px);
}
.cat-pill .cat-icon {
  width: 54px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--gray-100);
  flex: 0 0 auto;
}
.cat-pill span:last-child {
  display: block;
  margin: 0;
  line-height: 1.18;
}

/* ===== Section heading ===== */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
}
.section-head h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
}
.section-head a {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}
.section-head a:hover { text-decoration: underline; }

/* ===== Product grid & cards ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 52px;
}
.full-catalog {
  margin: 48px 0 46px;
  text-align: center;
}
.catalog-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 22px;
}
.catalog-title i {
  color: var(--blue);
  font-size: 24px;
}
.catalog-toggle {
  border: none;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 16px 22px;
  border-radius: 999px;
  box-shadow: 0 0 0 rgba(37, 99, 235, 0);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  animation: glowPulse 2.2s ease-in-out infinite;
}
.catalog-toggle::after {
  content: '↓';
  font-size: 18px;
  display: inline-block;
  animation: arrowBounce 1.6s ease-in-out infinite;
}
.catalog-toggle:hover {
  background: rgba(37, 99, 235, 0.14);
  transform: translateY(-1px);
  text-decoration: none;
}
.full-catalog-grid.hidden {
  display: none;
}
.full-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 28px;
  text-align: left;
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.15); }
  50% { box-shadow: 0 0 22px 6px rgba(37, 99, 235, 0.12); }
}
@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
@media (max-width: 1100px) {
  .full-catalog-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .catalog-header {
    flex-direction: column;
    align-items: stretch;
  }
  .full-catalog-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
}
.product-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s ease, border-color .18s ease;
  position: relative;
}
.product-card:hover {
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.10);
  border-color: var(--gray-200);
}
.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-100);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.product-card:hover .product-media img {
  transform: scale(1.08);
}
.product-media .cat-icon-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
  box-shadow: 0 4px 14px rgba(15,23,42,.25);
}
.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--gray-700);
  box-shadow: 0 2px 8px rgba(15,23,42,.1);
}
.product-badge.offer { color: var(--blue); }
.fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(15,23,42,.1);
  color: var(--gray-500);
  font-size: 17px;
  transition: color .15s, transform .15s;
}
.fav-btn:hover { transform: scale(1.08); }
.fav-btn.active { color: #ef4444; }

.product-info {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 6px;
  flex: 1;
}
.product-info h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}
.product-sub {
  font-size: 13px;
  color: var(--gray-500);
  margin: 0 0 4px;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-500);
  flex-wrap: wrap;
}
.product-rating .stars { display: inline-flex; gap: 2px; color: var(--star); font-size: 11px; }
.product-rating .stars .fa-regular { color: var(--gray-300); }
.product-rating-value {
  font-weight: 800;
  color: var(--ink);
}
.product-rating-count {
  color: var(--gray-500);
  font-weight: 650;
}
.product-price {
  font-size: 18px;
  font-weight: 800;
  margin: 6px 0 8px;
  align-self: flex-start;
  text-align: left;
}
.add-cart-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  padding: 0;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s;
}
.add-cart-btn:hover {
  background: none;
  border-color: var(--gray-300);
  transform: translateY(-1px);
}
.add-cart-btn i {
  width: 18px;
  height: 18px;
  color: var(--ink);
}
.add-cart-btn.added {
  background: none;
  border-color: var(--gray-300);
}
.add-cart-btn.added i,
#detail-add-cart.added i {
  animation: cartIconSwap .28s cubic-bezier(.2, .9, .2, 1);
}
@keyframes cartIconSwap {
  0% { transform: scale(.72); opacity: .4; }
  100% { transform: scale(1); opacity: 1; }
}
.buy-now-btn {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  padding: 14px 18px;
  border-radius: 999px;
  transition: background .18s, transform .18s, border-color .18s;
}
.buy-now-btn:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}
.product-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  align-items: flex-start;
  text-align: left;
}
.product-card-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: flex-start;
}
.product-card-row .buy-now-btn {
  flex: 1;
}
.product-card-view-more {
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-align: left;
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .18s, transform .18s;
}
.product-card-view-more::after {
  content: '→';
  display: inline-block;
  transition: transform .18s ease, opacity .18s ease;
  opacity: 0.7;
}
.product-card-view-more:hover {
  color: var(--ink);
  transform: translateX(2px);
}
.product-card-view-more:hover::after {
  transform: translateX(4px);
  opacity: 1;
}
.add-cart-btn {
  flex: 0 0 44px;
}

/* ===== Product detail wrapper ===== */
.wrapper {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 24px 56px;
  font-family: inherit;
}
.wrapper nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
}
.wrapper nav .mainLogo {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
}
.wrapper nav .menu {
  display: flex;
  align-items: center;
  gap: 16px;
}
.wrapper nav .menu .menuLinks {
  display: flex;
  gap: 28px;
}
.wrapper nav .menu .menuLinks .menuLink {
  font-weight: 700;
  color: var(--gray-600);
  transition: color .2s ease;
}
.wrapper nav .menu .menuLinks .menuLink:hover {
  color: var(--ink);
}
.wrapper nav .shoppingCart {
  position: relative;
}
.wrapper nav .shoppingCart .shoppingIcon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 32px rgba(15, 23, 42, .12);
  cursor: pointer;
  position: relative;
}
.wrapper nav .shoppingCart .itemNumber {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.wrapper nav .shoppingCart .shoppingMenu {
  position: absolute;
  top: 70px;
  right: 0;
  min-width: 280px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(15,23,42,.16);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all .22s ease;
  z-index: 10;
}
.wrapper nav .shoppingCart .shoppingMenu.openShopping {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.wrapper nav .shoppingCart .shoppingMenu .shoppingTitle {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--ink);
}
.wrapper nav .shoppingCart .shoppingMenu .productResume {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--gray-200);
  border-radius: 18px;
}
.wrapper nav .shoppingCart .shoppingMenu .shoppingThumb {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
}
.wrapper nav .shoppingCart .shoppingMenu article p {
  margin: 0;
  color: var(--gray-600);
  font-size: 14px;
}
.wrapper nav .shoppingCart .shoppingMenu .shoppingProduct {
  font-weight: 700;
  margin-bottom: 6px;
}
.wrapper nav .shoppingCart .shoppingMenu .shoppingQuantity {
  margin-bottom: 4px;
  color: var(--blue);
}
.wrapper nav .shoppingCart .shoppingMenu .shoppingBtn {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wrapper nav .shoppingCart .shoppingMenu .link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-600);
  font-weight: 700;
  cursor: pointer;
}
.wrapper nav .shoppingCart .shoppingMenu .link img {
  width: 16px;
}
.wrapper nav .iconMenu {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 16px 32px rgba(15, 23, 42, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.wrapper .content {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: start;
  margin-top: 28px;
}
.wrapper .content .left {
  background: #1f2937;
  border-radius: 32px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wrapper .content .left img {
  width: 100%;
  border-radius: 24px;
  object-fit: contain;
}
.wrapper .content .right {
  background: #fff;
  border-radius: 32px;
  padding: 32px 36px;
}
.wrapper .content .right .rightContent {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.wrapper .content .right .rightContent .modelTitle {
  font-size: 36px;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 10px;
}
.wrapper .content .right .rightContent .modelDesc {
  color: var(--gray-500);
  margin: 0;
}
.wrapper .content .right .rightContent .price {
  display: flex;
  align-items: center;
  gap: 18px;
}
.wrapper .content .right .rightContent .price .priceFinal {
  color: var(--ink);
  font-size: 38px;
  font-weight: 900;
}
.wrapper .content .right .rightContent .price .priceOriginal {
  font-size: 18px;
  color: var(--gray-400);
  text-decoration: line-through;
}
.wrapper .content .right .rightContent .specs {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.wrapper .content .right .rightContent .specs .subtitle {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gray-600);
}
.wrapper .content .right .rightContent .specs .form {
  background: #f9fafb;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 160px;
}
.wrapper .content .right .rightContent .specs .size .sizeNumber,
.wrapper .content .right .rightContent .specs .quantity .inputQuantity {
  min-width: 40px;
  text-align: center;
  background: transparent;
  border: none;
  font-weight: 700;
  color: var(--ink);
}
.wrapper .content .right .rightContent .specs .quantityCounter {
  display: flex;
  align-items: center;
}
.wrapper .content .right .rightContent .specs .btnQuantity {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 20px rgba(15,23,42,.08);
  cursor: pointer;
}
.wrapper .content .right .rightContent .specs .btnQuantity img {
  width: 16px;
}
.wrapper .content .right .rightContent .specs .error {
  color: #dc2626;
  display: none;
  margin: 8px 0 0;
}
.wrapper .content .right .rightContent .btnContainer {
  width: 100%;
}
.wrapper .content .right .rightContent .btnContainer .btn {
  width: 100%;
  justify-content: center;
}

.wrapper .detail-top {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 36px;
  align-items: start;
  margin: 20px 0 42px;
}
.wrapper .detail-gallery {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}
.wrapper .galleryFrame {
  position: absolute;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .16);
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.02));
}
.wrapper .galleryFrame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  animation: float 8s ease-in-out infinite;
}
.wrapper .galleryFrame-1 {
  width: 92%;
  height: 520px;
  top: 0;
  left: 0;
  transform: translate(10px, 0);
}
.wrapper .galleryFrame-2 {
  width: 54%;
  height: 320px;
  right: 0;
  top: 40px;
  transform: translate(0, 14px);
}
.wrapper .galleryFrame-3 {
  width: 48%;
  height: 280px;
  left: 18%;
  bottom: 0;
  transform: translate(-10px, 10px);
}
.wrapper .detail-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.wrapper .detail-info .badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(37,99,235,.08);
  color: var(--blue);
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 18px;
}
.wrapper .detail-info .detail-title {
  font-size: clamp(2.4rem, 3vw, 3.6rem);
  line-height: 1.02;
  margin: 0 0 18px;
}
.wrapper .detail-info .ratingRow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
}
.wrapper .detail-info .stars {
  display: flex;
  gap: 4px;
  color: var(--star);
}
.wrapper .detail-info .ratingValue {
  color: var(--gray-700);
  font-weight: 700;
}
.wrapper .detail-info .detail-meta {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}
.wrapper .detail-info .detail-meta .subtitle {
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
}
.wrapper .productTabs {
  background: #ffffff;
  border-radius: 32px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(15,23,42,.08);
}
.wrapper .tabsNav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.wrapper .tabButton {
  border: 1px solid var(--gray-200);
  background: #fff;
  border-radius: 999px;
  padding: 13px 20px;
  color: var(--gray-700);
  font-weight: 700;
  transition: all .18s ease;
}
.wrapper .tabButton.active,
.wrapper .tabButton:hover {
  border-color: var(--blue);
  color: var(--ink);
  background: rgba(37,99,235,.06);
}
.wrapper .tabPanel {
  display: none;
  color: var(--gray-700);
}
.wrapper .tabPanel.active {
  display: block;
}
.wrapper .tabPanel p {
  line-height: 1.8;
  font-size: 1rem;
}
.wrapper .techList {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
}
.wrapper .techItem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #f8fafc;
  border-radius: 18px;
  border: 1px solid var(--gray-200);
}
.wrapper .techKey {
  color: var(--gray-500);
}
.wrapper .techValue {
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 1100px) {
  .wrapper .detail-top {
    grid-template-columns: 1fr;
  }
  .wrapper .galleryFrame-1,
  .wrapper .galleryFrame-2,
  .wrapper .galleryFrame-3 {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    transform: none;
  }
  .wrapper .galleryFrame-2,
  .wrapper .galleryFrame-3 {
    margin-top: 20px;
  }
}

@media (max-width: 900px) {
  .wrapper nav .menu .menuLinks { display: none; }
  .wrapper nav .iconMenu { display: flex; }
  .wrapper .detail-top { grid-template-columns: 1fr; }
  .wrapper .detail-gallery { min-height: auto; }
  .wrapper .price,
  .wrapper .detail-info .ratingRow,
  .wrapper .techItem {
    flex-wrap: wrap;
  }
  .wrapper .techValue {
    text-align: left;
  }
}

/* ===== Product detail page ===== */
.product-detail-page {
  padding-top: 30px;
  padding-bottom: 68px;
}
.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  color: var(--gray-500);
  font-size: 13.5px;
  font-weight: 600;
}
.detail-breadcrumb a {
  color: var(--gray-500);
}
.detail-breadcrumb a:hover,
.detail-breadcrumb span {
  color: var(--blue);
}
.detail-breadcrumb i {
  color: var(--gray-300);
  font-size: 10px;
}
.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .95fr) minmax(290px, .78fr);
  gap: 40px;
  align-items: start;
}
.product-media-panel {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-width: 0;
}
.product-thumbs {
  display: grid;
  gap: 14px;
}
.product-thumb {
  width: 76px;
  height: 76px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--gray-50);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
  font-size: 20px;
  font-weight: 800;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.product-thumb:hover,
.product-thumb.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .12);
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-thumb-side img {
  transform: scale(.66) rotate(-3deg);
}
.product-thumb-more {
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
}
.product-stage {
  min-height: 500px;
  position: relative;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 18%, rgba(37, 99, 235, .08), transparent 36%),
    linear-gradient(180deg, #fbfcff 0%, #f2f5f9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-stage::after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 76px;
  height: 18px;
  border-radius: 50%;
  background: rgba(15, 23, 42, .08);
  filter: blur(10px);
}
.product-stage-image {
  position: relative;
  z-index: 1;
  width: 82%;
  max-height: 410px;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(15, 23, 42, .18));
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), filter .35s ease;
}
.product-stage[data-view="detail"] .product-stage-image {
  transform: scale(1.16);
}
.product-stage[data-view="side"] .product-stage-image {
  transform: scale(.78) rotate(-3deg) translateX(26px);
}
.stage-nav {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.stage-nav-btn {
  border: 1px solid var(--gray-200);
  background: rgba(255, 255, 255, .9);
  color: var(--gray-700);
  box-shadow: 0 12px 24px rgba(15, 23, 42, .08);
}
.stage-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}
.stage-nav-btn:hover {
  color: var(--blue);
  border-color: rgba(37, 99, 235, .35);
}
.product-summary-panel {
  padding-top: 18px;
}
.product-brand {
  margin: 0 0 16px;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 700;
}
.product-summary-panel h1 {
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: 0;
}
.detail-rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0 24px;
  color: var(--gray-500);
  font-size: 13.5px;
}
.detail-rating-row .stars {
  display: inline-flex;
  gap: 4px;
  color: var(--star);
}
.detail-rating-row strong {
  color: var(--blue);
}
.detail-rule {
  height: 1px;
  background: var(--gray-200);
  margin-bottom: 24px;
}
.option-section {
  margin-bottom: 28px;
}
.option-section h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.option-section h2 span {
  font-weight: 700;
}
.option-section h2 strong {
  font-weight: 500;
  color: var(--gray-700);
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.product-option {
  min-height: 68px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  color: var(--gray-500);
  transition: border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.product-option strong {
  color: var(--ink);
  font-size: 13.5px;
}
.product-option span {
  font-size: 12px;
}
.product-option.active,
.product-option:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .12);
}
.color-swatches {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.color-swatch {
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.color-swatch.active,
.color-swatch:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12), inset 0 0 0 1px rgba(15, 23, 42, .08);
}
.feature-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 42px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.feature-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 18px 14px;
  color: var(--gray-700);
}
.feature-chip + .feature-chip {
  border-left: 1px solid var(--gray-200);
}
.feature-chip:nth-child(odd) {
  border-left: 0;
}
.feature-chip:nth-child(n + 3) {
  border-top: 1px solid var(--gray-200);
}
.feature-chip i {
  color: var(--gray-700);
  font-size: 20px;
  flex: 0 0 auto;
}
.feature-chip span {
  display: grid;
  gap: 2px;
  font-size: 12px;
  line-height: 1.2;
}
.feature-chip strong {
  color: var(--ink);
  font-size: 12.5px;
}
.purchase-panel {
  position: sticky;
  top: 110px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
  padding: 34px 26px;
}
.price-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 28px;
  margin-bottom: 10px;
}
.discount-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 6px;
  background: #fee2e2;
  color: #dc2626;
  font-size: 12px;
  font-weight: 800;
  padding: 0 10px;
}
.old-price {
  color: var(--gray-500);
  font-size: 13px;
  text-decoration: line-through;
}
.purchase-price {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.1;
  font-weight: 900;
}
.installments {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 13.5px;
}
.payment-link {
  display: inline-flex;
  margin-bottom: 46px;
  color: var(--blue);
  font-size: 13.5px;
  font-weight: 700;
}
.purchase-actions {
  display: grid;
  gap: 12px;
}
.purchase-actions .btn {
  min-height: 52px;
  width: 100%;
  border-radius: 8px;
}
.product-detail-lower {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1fr);
  gap: 66px;
  margin-top: 48px;
  align-items: start;
}
.detail-tabs {
  display: flex;
  gap: 34px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 24px;
}
.detail-tab-button {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--gray-500);
  font-size: 14px;
  font-weight: 700;
  padding: 0 0 16px;
}
.detail-tab-button::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--blue);
  opacity: 0;
}
.detail-tab-button.active,
.detail-tab-button:hover {
  color: var(--blue);
}
.detail-tab-button.active::after {
  opacity: 1;
}
.detail-tab-panel {
  display: none;
}
.detail-tab-panel.active {
  display: block;
}
.detail-tab-panel p {
  margin: 0 0 22px;
  color: var(--gray-700);
  line-height: 1.75;
  font-size: 14px;
}
.detail-description-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.description-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  color: var(--gray-700);
  font-size: 13px;
}
.description-pill i {
  width: 22px;
  color: var(--gray-700);
  text-align: center;
}
.detail-spec-list {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.detail-spec-list li {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  color: var(--gray-700);
  font-size: 13.5px;
}
.spec-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--gray-500);
}
.spec-label i {
  width: 20px;
  color: var(--gray-700);
  text-align: center;
}
.spec-value {
  color: var(--gray-700);
}
.detail-review-preview {
  display: grid;
  gap: 8px;
}
.detail-review-preview strong {
  font-size: 26px;
  line-height: 1;
}
.detail-review-preview span {
  color: var(--gray-500);
}
.detail-review-preview a {
  color: var(--blue);
  font-weight: 800;
  width: fit-content;
}
.product-reviews-panel {
  margin: 42px 0 58px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow);
}
.product-reviews-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.reviews-kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.product-reviews-head h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.1;
}
.product-reviews-head p {
  color: var(--gray-500);
  margin: 0;
  max-width: 620px;
}
.reviews-score-card {
  min-width: 170px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}
.reviews-score-card strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 8px;
}
.reviews-score-card .stars,
.review-card .stars,
#reviews-average-stars {
  color: var(--star);
  display: inline-flex;
  gap: 3px;
}
.reviews-score-card small {
  display: block;
  color: var(--gray-500);
  margin-top: 8px;
}
.reviews-layout {
  display: grid;
  grid-template-columns: minmax(280px, .42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.review-form {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  background: var(--gray-50);
}
.review-form h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.review-auth-note,
.review-form-message {
  color: var(--gray-500);
  margin: 0 0 16px;
  font-size: 13.5px;
}
.review-form label {
  display: grid;
  gap: 8px;
  color: var(--gray-700);
  font-size: 13.5px;
  font-weight: 800;
  margin-top: 14px;
}
.review-form input,
.review-form textarea {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
  resize: vertical;
}
.review-form input:focus,
.review-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.review-rating-input {
  display: flex;
  gap: 6px;
  margin: 16px 0 4px;
}
.review-rating-input button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  background: #fff;
  color: var(--star);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.review-rating-input button.active {
  border-color: rgba(245, 158, 11, .45);
  background: #fffbeb;
}
.review-form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}
.review-form-actions .btn {
  min-height: 44px;
  padding: 0 18px;
}
.review-form.is-locked input,
.review-form.is-locked textarea {
  opacity: .68;
}
.reviews-list {
  display: grid;
  gap: 14px;
}
.review-card,
.reviews-empty {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 18px;
}
.review-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.review-card-head strong,
.review-card h3 {
  display: block;
  margin: 0;
  color: var(--ink);
}
.review-card-head span:not(.stars),
.review-card p,
.review-card small,
.reviews-empty span {
  color: var(--gray-500);
}
.review-card p {
  margin: 8px 0 0;
}
.review-card small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-weight: 700;
}
.review-card small i {
  color: #16a34a;
}
.reviews-empty {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 8px;
  min-height: 180px;
}
.reviews-empty i {
  color: var(--blue);
  font-size: 24px;
}
.reviews-empty.is-error i {
  color: #ef4444;
}
.related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.related-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}
.related-head a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.related-card {
  min-width: 0;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  display: grid;
  gap: 6px;
  color: var(--ink);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, .35);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}
.related-media {
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.related-media img {
  max-width: 100%;
  max-height: 124px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(15, 23, 42, .12));
}
.related-name {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
}
.related-sub {
  color: var(--gray-500);
  font-size: 12.5px;
}
.related-card strong {
  margin-top: 2px;
  color: var(--ink);
  font-size: 15px;
}
.related-rating {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gray-500);
  font-size: 12.5px;
}
.related-rating.is-empty {
  font-weight: 700;
}
.related-rating small {
  font-size: 11px;
  font-weight: 700;
}
.related-rating i {
  color: var(--star);
}
.product-error-state {
  min-height: 52vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  text-align: center;
}
.product-error-state i {
  color: var(--blue);
  font-size: 32px;
}
.product-error-state h1 {
  margin: 0;
  font-size: 24px;
}

@media (max-width: 1180px) {
  .product-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .42fr);
  }
  .product-media-panel {
    grid-column: 1 / -1;
  }
  .product-detail-lower {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .reviews-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .product-detail-page {
    padding-top: 24px;
  }
  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .purchase-panel {
    position: static;
  }
  .product-stage {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  .detail-breadcrumb {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
  }
  .product-media-panel {
    grid-template-columns: 1fr;
  }
  .product-thumbs {
    display: flex;
    order: 2;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .product-thumb {
    flex: 0 0 72px;
  }
  .product-stage {
    min-height: 350px;
  }
  .product-summary-panel h1 {
    font-size: 28px;
  }
  .option-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
  .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature-chip:nth-child(odd) {
    border-left: 0;
  }
  .feature-chip:nth-child(n + 3) {
    border-top: 1px solid var(--gray-200);
  }
  .payment-link {
    margin-bottom: 28px;
  }
  .detail-description-grid {
    grid-template-columns: 1fr;
  }
  .detail-spec-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .product-reviews-head,
  .review-card-head,
  .review-form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .reviews-score-card {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .product-stage {
    min-height: 300px;
  }
  .product-stage-image {
    width: 88%;
    max-height: 260px;
  }
  .purchase-panel {
    padding: 26px 20px;
  }
  .purchase-price {
    font-size: 28px;
  }
  .detail-tabs {
    gap: 24px;
  }
}

/* ===== Promo banner ===== */
.promo-banner {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 56px;
  margin-bottom: 48px;
}
.promo-banner h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 4px;
}
.promo-banner p { margin: 0 0 8px; color: var(--gray-700); }
.promo-banner a { font-weight: 700; color: var(--blue); }
.promo-art {
  display: flex;
  gap: 14px;
}
.promo-art .chip {
  width: 84px; height: 84px;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px;
  box-shadow: 0 16px 32px rgba(15,23,42,.1);
}

/* ===== Features row ===== */
.features-row {
  --feature-side-gutter: clamp(18px, 3.35vw, 56px);
  position: relative;
  left: 50%;
  width: calc(100vw - (var(--feature-side-gutter) * 2));
  margin: 0 0 56px calc(-50vw + var(--feature-side-gutter));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 30px 50px;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
  color: #fff;
}
.feature {
  position: relative;
  display: flex;
  align-items: center;
  gap: 26px;
  min-width: 0;
}
.feature + .feature {
  padding-left: 44px;
}
.feature + .feature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(255, 255, 255, .15);
}
.feature .feature-icon {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  background: linear-gradient(145deg, #2563eb 0%, #163b9f 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 27px;
  flex-shrink: 0;
}
.feature h4 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.1;
  font-weight: 800;
  color: #3b3b3b;
}
.feature p {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  color: rgba(36, 36, 36, 0.72);
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--gray-200);
  padding: 44px 0 28px;
  background: var(--gray-50);
  flex-shrink: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 28px;
}
.footer-grid h5 { font-size: 13.5px; font-weight: 700; margin: 0 0 14px; }
.footer-grid ul li { margin-bottom: 9px; }
.footer-grid ul li a { font-size: 13.5px; color: var(--gray-500); }
.footer-grid ul li a:hover { color: var(--blue); }
.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== Cart drawer ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 110;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 420px;
  max-width: 92vw;
  background: #fff;
  z-index: 120;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform .25s ease, visibility 0s linear .25s;
  box-shadow: -16px 0 48px rgba(15,23,42,.18);
}
.cart-drawer.open {
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition: transform .25s ease;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--gray-200);
}
.cart-header h2 { margin: 0; font-size: 18px; font-weight: 800; }
.cart-close {
  border: none; background: var(--gray-100);
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--gray-700);
}
.cart-close:hover { background: var(--gray-200); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-empty {
  margin: auto;
  text-align: center;
  color: var(--gray-500);
  padding: 40px 20px;
}
.cart-empty .icon { font-size: 40px; margin-bottom: 12px; }

.cart-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 72px;
  gap: 14px;
  align-items: stretch;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}
.cart-item .thumb {
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray-100);
}
.cart-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}
.cart-item h4 {
  margin: 0 0 4px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.cart-item .price { font-size: 13px; color: var(--gray-500); }
.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.qty-control button {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--gray-700);
}
.qty-control button:hover { border-color: var(--ink); color: var(--ink); }
.qty-control span { font-size: 13.5px; font-weight: 700; min-width: 18px; text-align: center; }
.cart-item-side {
  display: flex;
  min-width: 72px;
  height: 100%;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.cart-item .remove-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--gray-300);
  font-size: 17px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item .remove-btn:hover {
  background: #fef2f2;
  color: #ef4444;
}
.cart-item .line-total {
  width: 100%;
  font-weight: 800;
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
}

.cart-footer {
  border-top: 1px solid var(--gray-200);
  padding: 20px 24px 26px;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.cart-summary-row.total {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin: 12px 0 18px;
}
.cart-checkout-btn {
  width: 100%;
  border: none;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 15px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .15s;
}
.cart-checkout-btn:hover { background: var(--blue-dark); }
.cart-checkout-btn:disabled { background: var(--gray-300); cursor: not-allowed; }
.cart-note {
  text-align: center;
  font-size: 11.5px;
  color: var(--gray-500);
  margin-top: 12px;
}
.cart-note .lock { margin-right: 4px; }

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(15,23,42,.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== Catalog page ===== */
.page-header {
  padding: 36px 0 8px;
}
.page-header h1 { font-size: 30px; font-weight: 800; margin: 0 0 6px; }
.page-header p { color: var(--gray-500); margin: 0; }

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 32px;
}
.filter-chip {
  border: 1px solid var(--gray-300);
  background: #fff;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray-700);
  transition: all .15s;
}
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.empty-state {
  text-align: center;
  padding: 70px 20px;
  color: var(--gray-500);
}

.favorites-page {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 260px);
}
.favorites-page .page-header {
  flex: 0 0 auto;
}
.favorites-grid {
  margin-top: 28px;
}
.favorites-grid.is-empty {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  margin: 0;
  min-height: clamp(360px, 52vh, 620px);
}
.favorites-empty-state {
  width: min(520px, 100%);
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding: 54px 28px;
}
.favorites-empty-icon {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  background: var(--gray-50);
  color: var(--blue);
  font-size: 30px;
}
.favorites-empty-state h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 850;
}
.favorites-empty-state p {
  max-width: 380px;
  margin: 0 0 8px;
  color: var(--gray-500);
  font-size: 14.5px;
}

.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;
}

/* ===== Shop redesign ===== */
.shop-page {
  --shop-border: #e4eaf3;
  --shop-muted: #667085;
  --shop-soft: #f7f9fc;
  background: #fff;
}
.shop-page .announcement {
  display: none;
}
.shop-page .site-header {
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(228, 234, 243, .72);
}
.shop-page .site-header .container {
  height: 96px;
  gap: clamp(28px, 3.6vw, 54px);
  padding-left: clamp(28px, 3.6vw, 58px);
  padding-right: clamp(28px, 3.6vw, 58px);
}
.shop-page .search-bar {
  max-width: 700px;
}
.shop-page .search-bar input {
  height: 54px;
  border-color: #dbe3ef;
  border-radius: 14px;
  background: #fff;
  color: #182033;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .035);
}
.shop-page .search-bar button {
  right: 10px;
  top: 5px;
  background: transparent;
  color: #4d5b76;
}
.shop-page .search-bar button:hover {
  background: var(--gray-50);
  color: var(--blue);
}
.shop-page .badge {
  background: #0b66ff;
}
.shop-shell {
  width: min(1490px, calc(100% - 104px));
  margin: 0 auto;
  padding: 36px 0 56px;
}
.shop-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #69758c;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 20px;
}
.shop-breadcrumb a:hover {
  color: var(--blue);
}
.shop-breadcrumb i {
  font-size: 10px;
  color: #a7b0c1;
}
.shop-breadcrumb span {
  color: var(--blue);
}
.shop-heading {
  padding: 0;
  margin: 0 0 30px;
}
.shop-heading h1 {
  font-size: clamp(46px, 4.8vw, 64px);
  line-height: .95;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 14px;
}
.shop-heading p {
  font-size: 16.5px;
  color: #6c7890;
}
.shop-category-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin: 0 0 30px;
}
.shop-category-card {
  min-height: 72px;
  border: 1px solid var(--shop-border);
  border-radius: 12px;
  background: #fff;
  color: #152033;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .025);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.shop-category-card:hover,
.shop-category-card.active {
  border-color: #2f73ff;
  box-shadow: 0 14px 34px rgba(47, 115, 255, .09);
}
.shop-category-card:active {
  transform: translateY(1px);
}
.shop-category-image {
  width: 58px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--gray-50);
  overflow: hidden;
}
.shop-category-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}
.shop-category-card[data-cat="todos"] .shop-category-image img,
.cat-pill[href="tienda.html"] .shop-category-image img {
  padding: 8px;
}
.shop-catalog-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}
.shop-filter-sidebar {
  position: sticky;
  top: 118px;
  border: 1px solid var(--shop-border);
  border-radius: 14px;
  background: #fff;
  padding: 22px 18px 18px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .035);
}
.shop-filter-mobile-head {
  display: none;
}
.shop-filter-group {
  padding: 0 0 22px;
  margin: 0 0 22px;
  border-bottom: 1px solid #edf1f7;
}
.shop-filter-group:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}
.shop-filter-title {
  width: 100%;
  border: 0;
  background: transparent;
  color: #172033;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
}
.shop-filter-title i {
  color: #6b7891;
  font-size: 12px;
}
.shop-check {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #748097;
  font-size: 13.5px;
  font-weight: 600;
  margin: 14px 0;
}
.shop-check input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--blue);
}
.shop-price-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.shop-price-options button {
  border: 1px solid #dfe6f1;
  background: #fff;
  color: #738096;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  transition: border-color .16s ease, color .16s ease, background .16s ease;
}
.shop-price-options button:hover,
.shop-price-options button.active {
  border-color: #2f73ff;
  color: #2f73ff;
  background: #f4f8ff;
}
.shop-price-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.shop-price-inputs input {
  width: 100%;
  min-width: 0;
  height: 38px;
  border: 1px solid #dfe6f1;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  font-size: 13px;
  outline: none;
}
.shop-price-inputs input:focus {
  border-color: #2f73ff;
  box-shadow: 0 0 0 3px rgba(47, 115, 255, .1);
}
.shop-results {
  min-width: 0;
}
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin: 4px 0 20px;
}
.shop-results-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
  margin-left: auto;
}
.shop-count {
  color: #728096;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.shop-sort {
  position: relative;
  display: inline-flex;
}
.shop-sort select {
  appearance: none;
  -webkit-appearance: none;
  height: 44px;
  min-width: 190px;
  border: 1px solid #dfe6f1;
  border-radius: 13px;
  background: #fff;
  color: #5e6a80;
  padding: 0 42px 0 18px;
  font-size: 13.5px;
  font-weight: 800;
  outline: none;
  cursor: pointer;
}
.shop-sort::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #647087;
  font-size: 11px;
}
.shop-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 20px;
  margin-bottom: 0;
}
:is(.shop-page .shop-product-grid, .shop-card-grid) .product-card {
  min-height: 266px;
  border-color: var(--shop-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .025);
}
:is(.shop-page .shop-product-grid, .shop-card-grid) .product-card:hover {
  box-shadow: 0 22px 42px rgba(15, 23, 42, .075);
  border-color: #d9e2ef;
}
:is(.shop-page .shop-product-grid, .shop-card-grid) .product-media {
  height: 176px;
  aspect-ratio: auto;
  background: #fff;
  padding: 18px 46px 4px;
  overflow: visible;
}
:is(.shop-page .shop-product-grid, .shop-card-grid) .product-media .product-card-link {
  display: block;
  width: 100%;
  height: 100%;
}
:is(.shop-page .shop-product-grid, .shop-card-grid) .product-media img {
  object-fit: contain;
}
:is(.shop-page .shop-product-grid, .shop-card-grid) .product-card:hover .product-media img {
  transform: none;
}
:is(.shop-page .shop-product-grid, .shop-card-grid) .product-media .cat-icon-badge,
:is(.shop-page .shop-product-grid, .shop-card-grid) .product-sub,
:is(.shop-page .shop-product-grid, .shop-card-grid) .buy-now-btn,
:is(.shop-page .shop-product-grid, .shop-card-grid) .product-card-view-more {
  display: none;
}
:is(.shop-page .shop-product-grid, .shop-card-grid) .product-badge {
  top: 26px;
  left: 20px;
  background: #eef4ff;
  color: #2f73ff;
  box-shadow: none;
}
:is(.shop-page .shop-product-grid, .shop-card-grid) .fav-btn {
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  background: transparent;
  box-shadow: none;
  color: #6b7891;
}
:is(.shop-page .shop-product-grid, .shop-card-grid) .fav-btn:hover {
  color: #2f73ff;
}
:is(.shop-page .shop-product-grid, .shop-card-grid) .product-info {
  padding: 12px 70px 22px 22px;
  gap: 4px;
}
:is(.shop-page .shop-product-grid, .shop-card-grid) .product-info h3 {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  color: #182033;
}
:is(.shop-page .shop-product-grid, .shop-card-grid) .product-rating {
  gap: 8px;
  font-size: 12.5px;
  color: #2f73ff;
}
:is(.shop-page .shop-product-grid, .shop-card-grid) .product-rating .stars {
  color: var(--star);
}
:is(.shop-page .shop-product-grid, .shop-card-grid) .product-price {
  font-size: 18px;
  line-height: 1.2;
  margin: 6px 0 0;
  color: #111827;
}
:is(.shop-page .shop-product-grid, .shop-card-grid) .product-card-actions {
  position: absolute;
  right: 18px;
  bottom: 18px;
  margin: 0;
  gap: 0;
}
:is(.shop-page .shop-product-grid, .shop-card-grid) .product-card-row {
  width: auto;
  gap: 0;
}
:is(.shop-page .shop-product-grid, .shop-card-grid) .add-cart-btn {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  border: 1px solid #dfe6f1;
  border-radius: 50%;
  background: #fff;
  color: #2f73ff;
  box-shadow: 0 8px 18px rgba(47, 115, 255, .08);
}
:is(.shop-page .shop-product-grid, .shop-card-grid) .add-cart-btn i {
  color: #2f73ff;
}
:is(.shop-page .shop-product-grid, .shop-card-grid) .add-cart-btn:hover {
  border-color: #2f73ff;
  background: #f7faff;
}
.shop-promo-banner {
  min-height: 124px;
  margin-top: 32px;
  border-radius: 14px;
  background: linear-gradient(110deg, #f6f8fc 0%, #eef3fb 55%, #e7eef8 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  padding: 26px 48px;
}
.shop-promo-copy {
  position: relative;
  z-index: 2;
  margin-left: clamp(0px, 8vw, 100px);
}
.shop-promo-copy h2 {
  margin: 0 0 4px;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0;
}
.shop-promo-copy p {
  margin: 0 0 8px;
  color: #283247;
  font-size: 14px;
}
.shop-promo-copy a {
  color: #0b66ff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}
.shop-promo-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(62%, 780px);
}
.shop-promo-img {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(15, 23, 42, .14));
}
.shop-promo-img-ps5 {
  right: 42%;
  bottom: -18px;
  width: 180px;
  transform: rotate(-2deg);
}
.shop-promo-img-mac {
  right: 18%;
  bottom: 16px;
  width: 260px;
}
.shop-promo-img-phone {
  right: -28px;
  bottom: -34px;
  width: 210px;
  transform: rotate(-17deg);
}

@media (max-width: 1180px) {
  .shop-shell {
    width: min(100% - 56px, 1180px);
  }
  .shop-category-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .shop-catalog-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
  }
  .shop-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shop-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .shop-results-meta {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 900px) {
  .shop-page .site-header .container {
    height: var(--mobile-header-height) !important;
    padding-left: var(--page-gutter) !important;
    padding-right: var(--page-gutter) !important;
  }
  .shop-shell {
    width: min(100% - 36px, 760px);
    padding-top: 28px;
  }
  .shop-catalog-layout {
    display: block;
  }
  .shop-filter-sidebar {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    top: auto;
    max-height: min(78vh, 620px);
    overflow-y: auto;
    z-index: 110;
    transform: translateY(calc(100% + 36px));
    opacity: 0;
    pointer-events: none;
    transition: transform .24s ease, opacity .24s ease;
  }
  .shop-filter-sidebar.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .shop-page.shop-filters-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .42);
    z-index: 105;
  }
  .shop-filter-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
  }
  .shop-filter-mobile-head h2 {
    margin: 0;
    font-size: 18px;
  }
  .shop-filter-close {
    width: 38px;
    height: 38px;
    border: 1px solid var(--shop-border);
    border-radius: 50%;
    background: #fff;
    color: #556177;
  }
  .shop-toolbar {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .shop-shell {
    width: calc(100% - 32px);
    padding-bottom: 40px;
  }
  .shop-breadcrumb {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 2px;
    margin-bottom: 18px;
  }
  .shop-heading {
    margin-bottom: 24px;
  }
  .shop-heading h1 {
    font-size: 46px;
  }
  .shop-category-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px 4px;
  }
  .shop-category-card {
    flex: 0 0 214px;
    justify-content: flex-start;
    min-height: 68px;
  }
  .shop-results-meta {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  .shop-count {
    white-space: normal;
  }
  .shop-sort,
  .shop-sort select {
    width: 100%;
  }
  .shop-product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  :is(.shop-page .shop-product-grid, .shop-card-grid) .product-card {
    min-height: 252px;
  }
  :is(.shop-page .shop-product-grid, .shop-card-grid) .product-media {
    height: 176px;
    padding-left: 64px;
    padding-right: 64px;
  }
  .shop-promo-banner {
    min-height: 250px;
    align-items: flex-start;
    padding: 28px 24px;
  }
  .shop-promo-copy {
    margin-left: 0;
  }
  .shop-promo-media {
    width: 100%;
    height: 180px;
    top: auto;
    bottom: 0;
  }
  .shop-promo-img-ps5 {
    right: 48%;
    width: 138px;
  }
  .shop-promo-img-mac {
    right: 18%;
    bottom: 10px;
    width: 190px;
  }
  .shop-promo-img-phone {
    right: -34px;
    width: 160px;
  }
}

@media (max-width: 480px) {
  .shop-category-card {
    flex-basis: 188px;
    gap: 12px;
  }
  .shop-category-image {
    width: 48px;
  }
  :is(.shop-page .shop-product-grid, .shop-card-grid) .product-media {
    padding-left: 42px;
    padding-right: 42px;
  }
  :is(.shop-page .shop-product-grid, .shop-card-grid) .product-info {
    padding-left: 18px;
    padding-right: 68px;
  }
  .shop-filter-sidebar {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
}

/* ===== Status pages (success / cancel) ===== */
.status-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}
.status-card {
  max-width: 460px;
  text-align: center;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow);
}
.status-card .icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  margin: 0 auto 22px;
}
.status-card.success .icon { background: #dcfce7; color: #16a34a; }
.status-card.cancel .icon { background: #fee2e2; color: #ef4444; }
.status-card h1 { font-size: 22px; margin: 0 0 10px; }
.status-card p { color: var(--gray-500); margin: 0 0 26px; font-size: 14.5px; }
.status-card code {
  display: block;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12px;
  color: var(--gray-700);
  margin-bottom: 22px;
  word-break: break-all;
}

/* ===== Botón hamburguesa ===== */
.status-order-summary {
  width: 100%;
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  text-align: left;
}
.status-order-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--gray-500);
  font-size: 13.5px;
}
.status-order-summary strong {
  color: var(--ink);
  font-size: 13.5px;
  text-align: right;
}

/* ===== 404 page ===== */
.not-found-hero {
  width: 100vw;
  margin: 0 calc(50% - 50vw) 44px;
  background: linear-gradient(120deg, #f8fafc 0%, #eef2ff 55%, #e0f2fe 100%);
  overflow: hidden;
}
.not-found-layout {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .8fr);
  align-items: center;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 70px;
}
.not-found-copy {
  max-width: 560px;
}
.not-found-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13.5px;
  font-weight: 700;
}
.not-found-kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.not-found-copy h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 48px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}
.not-found-text {
  max-width: 500px;
  margin: 0 0 24px;
  color: var(--gray-500);
  font-size: 16px;
}
.not-found-search {
  max-width: 500px;
  margin: 0 0 22px;
}
.not-found-search input {
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}
.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.not-found-actions .btn {
  min-height: 52px;
}
.not-found-art {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.not-found-code {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(37, 99, 235, .12);
  font-size: 168px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}
.not-found-device {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  filter: drop-shadow(0 28px 36px rgba(15, 23, 42, .18));
}
.not-found-device img {
  width: 100%;
  height: auto;
}
.not-found-art::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 46px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, .18), transparent);
}
.not-found-icons {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 34px;
  display: flex;
  gap: 10px;
}
.not-found-icons span {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(15, 23, 42, .1);
  backdrop-filter: blur(10px);
}
.not-found-shortcuts {
  margin-bottom: 58px;
}
.not-found-shortcuts .cat-strip {
  margin-bottom: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: none;
  background: none;
  cursor: pointer;
  order: 11;
  margin-left: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #000;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-toggle-fav,
.nav-toggle-cart {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  position: relative;
}
.nav-toggle-fav {
  order: 9;
  margin-left: auto;
}
.nav-toggle-cart { order: 10; }
.nav-toggle-fav .badge,
.nav-toggle-cart .badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid #fff;
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-strip { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .features-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }
  .feature:nth-child(odd) {
    padding-left: 0;
  }
  .feature:nth-child(odd)::before {
    content: none;
  }
  .hero {
    min-height: 570px;
    padding-left: clamp(44px, 5vw, 70px);
    padding-right: clamp(44px, 5vw, 70px);
    background-position: 58% center;
  }
  .hero-card {
    min-height: inherit;
  }
  .hero-copy {
    width: min(54vw, 620px);
    padding-top: 82px;
  }
  .hero-art {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 500px;
  }
  .hero-art::before {
    width: 620px;
    height: 620px;
    right: calc(50% - 350px);
    top: -28px;
  }
  .hero-art::after {
    right: calc(50% - 410px);
    width: 260px;
  }
  .hero-model-stage::before {
    right: 50%;
    bottom: 72px;
    width: min(86vw, 760px);
    transform: translateX(50%);
  }
  .hero-model-wrap {
    top: 48px;
    right: 50%;
    width: min(86vw, 760px);
    height: 340px;
    transform: translateX(50%);
  }
  .not-found-layout {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
    padding-top: 56px;
  }
  .not-found-copy,
  .not-found-text {
    margin-left: auto;
    margin-right: auto;
  }
  .not-found-search {
    margin: 0 auto 22px;
  }
  .not-found-actions {
    justify-content: center;
  }
  .not-found-art {
    min-height: 300px;
  }
}
@media (max-width: 900px) {
  html { scroll-padding-top: calc(var(--mobile-header-height) + 12px); }
  body { padding-top: var(--mobile-header-height); }
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 80;
  }
  .site-header .container {
    position: relative;
    height: var(--mobile-header-height) !important;
    min-height: var(--mobile-header-height);
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: var(--page-gutter) !important;
    padding-right: var(--page-gutter) !important;
    gap: 12px;
  }
  .site-header .logo .logo-img { height: 27px; }
  .nav-toggle,
  .nav-toggle-fav,
  .nav-toggle-cart {
    position: absolute;
    top: 50%;
    margin-left: 0;
    transform: translateY(-50%);
  }
  .nav-toggle { right: var(--page-gutter); }
  .nav-toggle-cart { right: calc(var(--page-gutter) + 44px); }
  .nav-toggle-fav { right: calc(var(--page-gutter) + 88px); }
  .features-row {
    width: auto;
    left: auto;
    margin-left: calc(var(--page-gutter) * -1);
    margin-right: calc(var(--page-gutter) * -1);
  }
  .hero {
    left: 50%;
    width: 100vw;
    margin: 0 0 28px -50vw;
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
    border-radius: 0;
    background-position: 60% center;
  }
  .features-row {
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }
  .nav-toggle { display: flex; }
  .nav-toggle-fav { display: flex; }
  .nav-toggle-cart { display: flex; }
  .has-nav-toggle .nav-categories,
  .has-nav-toggle .cat-dropdown,
  .has-nav-toggle .search-bar,
  .has-nav-toggle > .lang-switcher { display: none; }
  .header-actions a[data-account-link],
  .header-actions a[href="favoritos.html"],
  .header-actions [data-open-cart] { display: none; }
  .header-actions { gap: 16px; }
}
@media (max-width: 720px) {
  :root { --page-gutter: 18px; }
  .hero {
    min-height: 500px;
    padding-top: 34px;
    padding-bottom: 34px;
    margin-bottom: 32px;
    background:
      linear-gradient(90deg, rgba(248, 251, 255, .82) 0%, rgba(248, 251, 255, .55) 62%, rgba(248, 251, 255, .2) 100%),
      url("../img/hero-background-responsive.png") 62% center / cover no-repeat;
  }
  .hero-card {
    padding: 0;
    border-radius: 0;
  }
  .hero-copy {
    width: 100%;
    max-width: 440px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .hero h1 {
    font-size: clamp(30px, 8.4vw, 35px);
    line-height: 1.08;
  }
  .hero h1 > span {
    white-space: normal;
  }
  .hero-eyebrow {
    gap: 8px;
    align-items: center;
    font-size: 13px;
    margin-bottom: 24px;
  }
  .hero-eyebrow .dot {
    width: 9px;
    height: 9px;
  }
  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-ctas .btn {
    min-height: 52px;
    border-radius: var(--radius-sm);
    padding: 0 18px;
    min-width: 0;
    width: 100%;
    flex: none;
  }
  .hero-trust-row {
    display: none;
  }
  .hero-art {
    height: 205px;
  }
  .hero-model-wrap {
    top: -30px;
    width: min(106vw, 590px);
    height: 265px;
  }
  .hero-art::before {
    width: 430px;
    height: 430px;
    right: calc(50% - 240px);
    top: -18px;
    box-shadow:
      inset 0 0 0 12px rgba(255, 255, 255, .86),
      inset 0 0 0 24px rgba(255, 255, 255, .38),
      0 24px 70px rgba(37, 99, 235, .12);
  }
  .hero-art::after {
    right: calc(50% - 260px);
    width: 180px;
  }
  .hero-model-stage::before {
    bottom: 52px;
    width: min(96vw, 560px);
    height: 100px;
    box-shadow:
      0 10px 0 rgba(213, 225, 252, .98),
      0 20px 0 rgba(37, 99, 235, .86),
      0 32px 0 rgba(207, 222, 252, .9),
      0 54px 58px rgba(37, 99, 235, .20),
      0 24px 70px rgba(15, 23, 42, .14);
  }
  .features-row { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .cat-strip { grid-template-columns: repeat(2, 1fr); }
  .promo-banner { flex-direction: column; text-align: center; padding: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cart-drawer { width: 100%; max-width: 100%; }
  .nav-drawer { width: 100%; max-width: 100%; }
  .not-found-hero {
    margin-bottom: 32px;
  }
  .not-found-layout {
    gap: 28px;
    padding-top: 42px;
    padding-bottom: 48px;
  }
  .not-found-copy h1 {
    font-size: 36px;
  }
  .not-found-text {
    font-size: 15px;
  }
  .not-found-actions {
    flex-direction: column;
  }
  .not-found-actions .btn {
    width: 100%;
  }
  .not-found-art {
    min-height: 230px;
  }
  .not-found-code {
    top: 8px;
    font-size: 96px;
  }
  .not-found-icons {
    right: 0;
    bottom: 22px;
  }
  .not-found-icons span {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }
  .not-found-shortcuts {
    margin-bottom: 42px;
  }
}

/* ===== Cuenta — inicio de sesión / registro ===== */
.auth-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.auth-tabs {
  display: flex;
  gap: 6px;
  background: var(--gray-100);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 28px;
}
.auth-tab {
  flex: 1;
  border: none;
  background: none;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--gray-500);
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.auth-tab.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(15, 23, 42, .08);
}
.auth-form { display: none; }
.auth-form.active { display: block; animation: auth-fade-in .2s ease; }
@keyframes auth-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.auth-form h1 { font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.auth-sub { color: var(--gray-500); font-size: 14px; margin: 0 0 24px; }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--gray-50);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.form-group input:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.form-error {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 14px;
  margin: 0 0 16px;
}
.form-error[hidden] { display: none; }
.auth-submit { width: 100%; }
.auth-submit[disabled] { opacity: .65; pointer-events: none; }
.auth-switch {
  text-align: center;
  margin: 22px 0 0;
  font-size: 13.5px;
  color: var(--gray-500);
}
.auth-switch button {
  border: none;
  background: none;
  color: var(--blue);
  font-weight: 700;
  padding: 0;
  font-size: inherit;
}
.auth-switch button:hover { color: var(--blue-dark); text-decoration: underline; }

.checkout-page {
  margin: 0 auto 60px;
  padding-top: 30px;
}
.checkout-steps {
  max-width: 760px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 18px;
}
.checkout-step {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-500);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}
.checkout-step::after {
  content: '';
  height: 1px;
  background: var(--gray-200);
  flex: 1;
  min-width: 20px;
}
.checkout-step:last-child::after {
  content: none;
}
.checkout-step strong {
  width: 28px;
  height: 28px;
  border: 1px solid var(--gray-300);
  border-radius: 50%;
  background: var(--gray-50);
  color: var(--gray-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}
.checkout-step.active {
  color: var(--blue);
}
.checkout-step.active strong {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.checkout-step.complete strong {
  background: var(--gray-50);
}
.checkout-step:disabled {
  cursor: not-allowed;
  opacity: .62;
}
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(360px, .95fr);
  gap: 32px;
  align-items: start;
}
.checkout-main {
  min-width: 0;
  display: grid;
  gap: 18px;
}
.checkout-step-panel {
  display: none;
}
.checkout-step-panel.active {
  display: block;
}
.checkout-card,
.summary-box,
.checkout-trust-row {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
}
.checkout-card {
  padding: 32px;
  margin-bottom: 18px;
}
.checkout-global-error {
  margin-bottom: 18px;
}
.checkout-card h2,
.summary-box h2 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}
.cart-review-list {
  display: grid;
  gap: 14px;
}
.cart-review-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 14px;
}
.cart-review-main {
  min-width: 0;
}
.cart-review-item h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.3;
}
.cart-review-item p,
.cart-review-item span {
  display: block;
  margin: 0;
  color: var(--gray-500);
  font-size: 13px;
}
.cart-review-item strong {
  color: var(--ink);
  white-space: nowrap;
}
.cart-review-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.cart-review-controls .qty-control span {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
}
.checkout-remove-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: #fff;
  color: var(--gray-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.checkout-remove-btn:hover {
  border-color: #fecaca;
  background: #fff5f5;
  color: #ef4444;
}
.checkout-panel-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.checkout-panel-actions .btn,
.checkout-panel-actions .checkout-crypto-button {
  min-height: 48px;
  border-radius: 8px;
}
.payment-methods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.payment-method {
  min-height: 52px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  transition: border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.payment-method i {
  color: var(--blue);
  font-size: 18px;
}
.payment-method.active,
.payment-method:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .12);
  color: var(--blue);
}
.stripe-payment-panel {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  background: var(--gray-50);
}
.stripe-payment-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #fff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow);
}
.stripe-payment-panel h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.stripe-payment-panel p {
  margin: 0 0 14px;
  color: var(--gray-700);
}
.stripe-payment-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--gray-500);
  list-style: disc;
}
.stripe-payment-panel code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em;
}
.payment-fields[hidden],
.alt-payment-panel[hidden],
.crypto-panel[hidden] {
  display: none;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.checkout-card .form-group {
  margin-bottom: 18px;
}
.checkout-card .form-group label {
  color: var(--gray-700);
  font-size: 13px;
  margin-bottom: 8px;
}
.checkout-card .form-group input,
.checkout-card .form-group select {
  min-height: 48px;
  border-color: var(--gray-200);
  border-radius: 8px;
  background: #fff;
}
.checkout-card .form-group select {
  width: 100%;
  border: 1px solid var(--gray-200);
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
  outline: none;
}
.checkout-card .form-group input.is-invalid,
.checkout-card .form-group select.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .1);
}
.input-with-icon {
  position: relative;
}
.input-with-icon input {
  padding-right: 46px;
}
.input-with-icon > i,
.input-with-icon .field-help {
  position: absolute;
  right: 16px;
  bottom: 15px;
}
.input-with-icon > i {
  color: var(--gray-500);
  pointer-events: none;
}
.field-help {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--gray-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 16px;
}
.field-help:hover,
.field-help:focus-visible {
  color: var(--blue);
  outline: none;
}
.field-help.inline {
  position: static;
  flex: 0 0 auto;
}
.checkout-help-popover {
  position: fixed;
  z-index: 280;
  width: 260px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: #fff;
  color: var(--gray-700);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .16);
  padding: 12px 14px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
}
.checkout-help-popover[hidden] {
  display: none;
}
.save-payment-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-700);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
.save-payment-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.save-payment-toggle span {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: var(--gray-200);
  transition: background .18s ease;
}
.save-payment-toggle span::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .14);
  transition: transform .18s ease;
}
.save-payment-toggle input:checked + span {
  background: var(--blue);
}
.save-payment-toggle input:checked + span::after {
  transform: translateX(20px);
}
.save-payment-toggle i {
  color: var(--gray-500);
}
.alt-payment-panel,
.crypto-panel {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: var(--gray-50);
  padding: 18px;
}
.alt-payment-panel {
  display: flex;
  gap: 16px;
  align-items: center;
}
.alt-payment-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  font-size: 22px;
}
.alt-payment-panel h3,
.crypto-panel h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 16px;
}
.alt-payment-panel p,
.crypto-panel p {
  margin: 0;
  color: var(--gray-500);
  font-size: 13.5px;
}
.crypto-wallet-card {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}
.crypto-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.crypto-option {
  min-height: 42px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}
.crypto-option.active,
.crypto-option:hover {
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, .14);
}
.crypto-qr {
  width: 94px;
  height: 94px;
  border: 8px solid #fff;
  border-radius: 8px;
  background:
    linear-gradient(90deg, var(--ink) 12px, transparent 12px) 10px 10px / 28px 28px,
    linear-gradient(var(--ink) 12px, transparent 12px) 10px 10px / 28px 28px,
    linear-gradient(135deg, transparent 45%, var(--blue) 45% 55%, transparent 55%);
  box-shadow: var(--shadow);
}
.crypto-lines {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  color: var(--gray-700);
  font-size: 12.5px;
}
.crypto-lines code {
  color: var(--ink);
  font-size: 12px;
  word-break: break-all;
}
.checkout-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 18px 24px;
}
.checkout-trust-row div {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gray-500);
  font-size: 12.5px;
}
.checkout-trust-row div + div {
  border-left: 1px solid var(--gray-200);
  padding-left: 24px;
}
.checkout-trust-row i {
  color: var(--gray-700);
  font-size: 22px;
}
.checkout-trust-row span {
  display: grid;
  gap: 2px;
}
.checkout-trust-row strong {
  color: var(--ink);
}
.checkout-summary {
  position: sticky;
  top: 100px;
  align-self: start;
}
.summary-box {
  padding: 32px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .05);
}
.summary-items {
  display: grid;
  gap: 18px;
}
.checkout-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}
.checkout-item-thumb {
  width: 72px;
  height: 72px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkout-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.checkout-item-details {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--gray-500);
  font-size: 13.5px;
}
.checkout-item-details strong {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 800;
}
.checkout-item-details small {
  color: var(--gray-500);
  font-size: 12.5px;
}
.checkout-item-price {
  color: var(--ink);
  font-size: 14px;
  white-space: nowrap;
}
.summary-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 20px 0;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--gray-500);
  font-size: 14px;
  margin-bottom: 16px;
}
.summary-row strong {
  color: var(--gray-700);
}
.summary-row .free-shipping {
  color: #16a34a;
}
.summary-total {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.summary-total span {
  display: block;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}
.summary-total small {
  color: var(--gray-500);
  font-size: 12.5px;
}
.summary-total strong {
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  text-align: right;
}
.checkout-pay-button {
  width: 100%;
  min-height: 58px;
  border-radius: 8px;
  font-size: 15px;
}
.checkout-pay-button {
  margin-bottom: 12px;
}
.checkout-pay-button[disabled],
.checkout-crypto-button[disabled] {
  opacity: .65;
  pointer-events: none;
}
.checkout-crypto-button {
  border: 1px solid var(--gray-200);
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 800;
  transition: border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.checkout-crypto-button i {
  color: #f59e0b;
}
.checkout-crypto-button:hover,
.checkout-crypto-button.active {
  border-color: #f59e0b;
  color: var(--ink);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, .14);
}
.checkout-crypto-button[hidden] {
  display: none;
}
.confirmation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.confirmation-card {
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: var(--gray-50);
  padding: 18px;
}
.confirmation-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 15px;
}
.confirmation-card p {
  display: grid;
  gap: 5px;
  margin: 0;
  color: var(--gray-700);
  font-size: 13.5px;
}
.checkout-consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  margin-top: 18px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: #fff;
  padding: 14px 16px;
  color: var(--gray-700);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.45;
}
.checkout-consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--blue);
}
.checkout-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gray-500);
  font-size: 13px;
  margin: 22px 0 0;
  text-align: center;
}
.checkout-note i {
  color: var(--gray-500);
}
.checkout-empty {
  text-align: center;
  padding: 56px 24px;
  border: 1px dashed var(--gray-300);
  border-radius: 12px;
  background: var(--gray-50);
}
.checkout-empty i {
  color: var(--blue);
  font-size: 32px;
  margin-bottom: 14px;
}
.checkout-empty h1 {
  margin: 0 0 8px;
  font-size: 24px;
}
.checkout-empty p {
  margin: 0 0 18px;
  color: var(--gray-500);
}
.accepted-payments {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 46px;
  color: var(--gray-500);
  font-size: 13px;
}
.accepted-payments strong {
  min-width: 48px;
  min-height: 32px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  background: #fff;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  font-size: 12px;
}

@media (max-width: 1080px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .checkout-summary {
    position: static;
  }
}

@media (max-width: 720px) {
  .checkout-steps {
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
  }
  .checkout-step::after {
    content: none;
  }
  .payment-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stripe-payment-panel {
    grid-template-columns: 1fr;
  }
  .checkout-card,
  .summary-box {
    padding: 24px 18px;
  }
  .form-row,
  .checkout-trust-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .checkout-trust-row div + div {
    border-left: 0;
    border-top: 1px solid var(--gray-200);
    padding: 16px 0 0;
    margin-top: 16px;
  }
  .crypto-wallet-card {
    grid-template-columns: 1fr;
  }
  .checkout-item {
    grid-template-columns: 58px minmax(0, 1fr);
  }
  .checkout-item-price {
    grid-column: 2;
  }
  .cart-review-item {
    grid-template-columns: 58px minmax(0, 1fr);
  }
  .cart-review-item strong {
    grid-column: 2;
  }
  .checkout-panel-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .checkout-panel-actions .btn,
  .checkout-panel-actions .checkout-crypto-button {
    width: 100%;
  }
  .confirmation-grid {
    grid-template-columns: 1fr;
  }
  .summary-total strong {
    font-size: 24px;
  }
}

/* ----- Cuenta ya iniciada: resumen ----- */
.account-card { text-align: center; }
.account-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.account-card h1 { font-size: 20px; font-weight: 800; margin: 0 0 4px; }
.account-card .auth-sub { margin-bottom: 28px; }
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}
.account-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gray-700);
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.account-link i { font-size: 17px; color: var(--blue); }
.account-link:hover { border-color: var(--blue); color: var(--ink); background: var(--gray-50); }
.account-card .btn { width: 100%; }

@media (max-width: 480px) {
  .auth-card { padding: 28px 22px; }
  .wrapper { padding-left: var(--page-gutter); padding-right: var(--page-gutter); }
  .wrapper .detail-info .detail-title { font-size: 2rem; }
  .wrapper .detail-info .price .priceFinal { font-size: 32px; }
  .wrapper .techItem {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .checkout-item {
    align-items: flex-start;
  }
  .checkout-item-details,
  .summary-row {
    min-width: 0;
  }
}

/* ----- Selector de idioma ----- */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
  margin-right: 8px;
}
.lang-trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gray-700);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.lang-trigger:hover { border-color: var(--blue); color: var(--ink); background: #fff; }
.lang-trigger i { font-size: 14px; color: var(--blue); }
.lang-current { letter-spacing: .04em; }
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 80;
}
.lang-switcher.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: none;
  background: none;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  text-align: left;
  transition: background .15s ease, color .15s ease;
}
.lang-option:hover { background: var(--gray-50); color: var(--ink); }
.lang-option.active { color: var(--blue); background: var(--gray-50); }
.lang-option .lang-code {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: .04em;
}
.lang-option.active .lang-code { color: var(--blue); }

@media (max-width: 720px) {
  .lang-trigger .lang-current { display: none; }
  .lang-trigger { padding: 8px 10px; }
}

/* ===== Desplegable de categorías ===== */
.cat-dropdown { position: relative; }
.cat-dropdown .nav-categories { cursor: pointer; }
.cat-dropdown .nav-categories svg { transition: transform .2s ease; }
.cat-dropdown.open .nav-categories svg { transform: rotate(180deg); }
.cat-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 80;
}
.cat-dropdown.open .cat-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cat-menu-link {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  transition: background .15s ease, color .15s ease;
}
.cat-menu-link:hover { background: var(--gray-50); color: var(--ink); }
.cat-menu-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  background: var(--gray-100);
  color: var(--blue);
  flex-shrink: 0;
}

/* ===== Menú lateral responsivo ===== */
.nav-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 90;
}
.nav-drawer-overlay.open { opacity: 1; pointer-events: auto; }
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 360px;
  max-width: 90vw;
  background: #fff;
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform .25s ease, visibility 0s linear .25s;
  box-shadow: -16px 0 48px rgba(15, 23, 42, .18);
}
.nav-drawer.open {
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition: transform .25s ease;
}
.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--gray-200);
}
.nav-drawer-close {
  border: none;
  background: var(--gray-100);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--gray-700);
  cursor: pointer;
}
.nav-drawer-close:hover { background: var(--gray-200); }
.nav-drawer-search { padding: 18px 22px 0; }
.nav-drawer-search .search-bar { max-width: none; }
.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 14px;
  border-bottom: 1px solid var(--gray-200);
}
.nav-drawer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  border: none;
  background: none;
  width: 100%;
  border-radius: var(--radius-sm);
  padding: 13px 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--gray-700);
  text-align: left;
  cursor: pointer;
  position: relative;
}
.nav-drawer-link:hover { background: var(--gray-50); color: var(--ink); }
.nav-drawer-link i { width: 20px; text-align: center; font-size: 17px; color: var(--blue); }
.nav-drawer-link .badge { position: static; margin-left: auto; }
.nav-drawer-section { padding: 18px 22px; border-bottom: 1px solid var(--gray-200); }
.nav-drawer-section:last-child { border-bottom: none; }
.nav-drawer-section h6 {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  color: var(--gray-500);
  margin: 0 0 14px;
}
.nav-drawer-categories { display: flex; flex-direction: column; gap: 2px; }
.nav-drawer-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
}
.nav-drawer-cat:hover { background: var(--gray-50); color: var(--ink); }
.nav-drawer-cat .cat-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: var(--gray-100);
  color: var(--blue);
  flex-shrink: 0;
}
.nav-drawer-lang { display: flex; flex-direction: column; gap: 2px; }
.nav-drawer-lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: none;
  background: none;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  text-align: left;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.nav-drawer-lang-option:hover { background: var(--gray-50); color: var(--ink); }
.nav-drawer-lang-option.active { color: var(--blue); background: var(--gray-50); }
.nav-drawer-lang-option .lang-code {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: .04em;
}
.nav-drawer-lang-option.active .lang-code { color: var(--blue); }

/* ===== Legal pages ===== */
.legal-page {
  padding: 34px 0 70px;
}
.legal-hero {
  display: grid;
  gap: 12px;
  padding: 42px 0 30px;
  border-bottom: 1px solid var(--gray-200);
}
.legal-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
}
.legal-hero h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 850;
  color: var(--ink);
}
.legal-hero p {
  max-width: 760px;
  margin: 0;
  font-size: 15.5px;
  color: var(--gray-500);
}
.legal-updated {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gray-700);
  background: #fff;
}
.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-top: 34px;
}
.legal-nav {
  position: sticky;
  top: 104px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 8px;
  box-shadow: var(--shadow);
}
.legal-nav a,
.legal-nav button {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--gray-700);
  padding: 11px 12px;
  font-size: 13.5px;
  font-weight: 700;
  text-align: left;
}
.legal-nav a:hover,
.legal-nav button:hover,
.legal-nav a.active {
  color: var(--ink);
  background: var(--gray-50);
}
.legal-nav i {
  width: 18px;
  color: var(--blue);
  text-align: center;
}
.legal-content {
  max-width: 900px;
}
.legal-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  background: #eff6ff;
  color: #1e3a8a;
  padding: 16px 18px;
  margin-bottom: 8px;
}
.legal-alert i {
  margin-top: 2px;
  color: var(--blue);
}
.legal-alert p {
  margin: 0;
  font-size: 13.5px;
}
.legal-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-200);
}
.legal-section:first-of-type { padding-top: 22px; }
.legal-section h2 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 850;
}
.legal-section h3 {
  margin: 24px 0 10px;
  font-size: 17px;
  line-height: 1.25;
}
.legal-section p,
.legal-section li {
  color: var(--gray-700);
  font-size: 14.5px;
}
.legal-section p {
  margin: 0 0 12px;
}
.legal-list {
  list-style: disc;
  margin: 0 0 12px 20px;
  padding: 0;
}
.legal-list li { margin-bottom: 8px; }
.legal-placeholder {
  color: var(--blue);
  font-weight: 800;
}
.legal-data-grid {
  display: grid;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 16px 0;
}
.legal-data-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--gray-200);
}
.legal-data-row:last-child { border-bottom: none; }
.legal-data-row span,
.legal-data-row strong {
  padding: 13px 15px;
  font-size: 13.5px;
}
.legal-data-row span {
  background: var(--gray-50);
  color: var(--gray-500);
  font-weight: 800;
}
.legal-data-row strong {
  color: var(--ink);
  font-weight: 700;
}
.legal-table-wrap {
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 660px;
}
.legal-table th,
.legal-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--gray-200);
  text-align: left;
  vertical-align: top;
  font-size: 13.5px;
}
.legal-table th {
  background: var(--gray-50);
  color: var(--gray-700);
  font-weight: 850;
}
.legal-table tr:last-child td { border-bottom: none; }
.legal-note {
  border-left: 3px solid var(--blue);
  background: var(--gray-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 16px;
  margin: 16px 0;
}
.legal-note p:last-child { margin-bottom: 0; }
.legal-form-box {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 18px;
  background: #fff;
  margin-top: 16px;
}
.legal-form-box p:last-child { margin-bottom: 0; }
.legal-inline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  font-size: 13.5px;
  padding: 11px 16px;
}
.legal-inline-button:hover {
  border-color: var(--ink);
}

/* ===== Cookies ===== */
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-legal-links a,
.footer-legal-links button {
  border: none;
  background: none;
  padding: 0;
  color: var(--gray-500);
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
}
.footer-legal-links a:hover,
.footer-legal-links button:hover {
  color: var(--blue);
}
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 18px 60px rgba(15, 23, 42, .18);
  z-index: 140;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .18s ease, transform .18s ease;
}
.cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner[hidden],
.cookie-modal-overlay[hidden] {
  display: none;
}
.cookie-banner-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--blue);
  font-size: 21px;
}
.cookie-banner-copy h2 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 850;
}
.cookie-banner-copy p {
  margin: 0;
  max-width: 650px;
  color: var(--gray-500);
  font-size: 13.5px;
}
.cookie-banner-copy a {
  display: inline-flex;
  margin-top: 6px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}
.cookie-banner-copy a:hover { text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.cookie-banner-actions .btn,
.cookie-modal-footer .btn {
  padding: 12px 18px;
  min-width: 112px;
  border-radius: 999px;
  font-size: 13.5px;
}
.cookie-choice-btn {
  border: 1px solid transparent;
  color: #fff;
}
.cookie-accept {
  background: var(--blue);
}
.cookie-accept:hover { background: var(--blue-dark); }
.cookie-reject {
  background: var(--ink);
}
.cookie-reject:hover { background: var(--gray-900); }
.cookie-modal-open { overflow: hidden; }
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, .42);
  opacity: 0;
  transition: opacity .18s ease;
  z-index: 150;
}
.cookie-modal-overlay.open { opacity: 1; }
.cookie-modal {
  width: min(620px, 100%);
  max-height: min(760px, 92vh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
  transform: translateY(12px);
  transition: transform .18s ease;
}
.cookie-modal-overlay.open .cookie-modal { transform: translateY(0); }
.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--gray-200);
}
.cookie-modal-kicker {
  margin: 0 0 4px;
  color: var(--blue);
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cookie-modal-header h2 {
  margin: 0;
  font-size: 22px;
}
.cookie-modal-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-close:hover { background: var(--gray-200); }
.cookie-modal-body {
  overflow-y: auto;
  padding: 20px 24px;
}
.cookie-modal-intro {
  margin: 0 0 16px;
  color: var(--gray-500);
  font-size: 14px;
}
.cookie-toggle-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 15px 16px;
  margin-bottom: 12px;
  cursor: pointer;
}
.cookie-toggle-row.is-locked { cursor: not-allowed; background: var(--gray-50); }
.cookie-toggle-row strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
}
.cookie-toggle-row small {
  display: block;
  color: var(--gray-500);
  font-size: 12.5px;
  line-height: 1.45;
}
.cookie-toggle-row input {
  width: 44px;
  height: 24px;
  accent-color: var(--blue);
}
.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding: 18px 24px 22px;
  border-top: 1px solid var(--gray-200);
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .legal-nav {
    position: static;
  }
  .legal-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .cookie-banner {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: stretch;
  }
  .cookie-banner-actions .btn {
    flex: 1;
  }
}

@media (max-width: 640px) {
  .legal-hero h1 { font-size: 32px; }
  .legal-data-row {
    grid-template-columns: 1fr;
  }
  .legal-nav {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .cookie-banner-actions,
  .cookie-modal-footer {
    flex-direction: column;
  }
  .cookie-banner-actions .btn,
  .cookie-modal-footer .btn {
    width: 100%;
  }
}

/* ===== Global motion polish ===== */
@keyframes esnuevoFadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes esnuevoScaleIn {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(.965);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes esnuevoFloatSoft {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@keyframes esnuevoIconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

[data-animate] {
  opacity: 0;
  will-change: opacity, transform;
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
  animation-duration: .72s;
  animation-delay: var(--animate-delay, 0ms);
  animation-fill-mode: backwards;
  animation-timing-function: cubic-bezier(.18, .88, .28, 1);
}

[data-animate="fade-up"].is-visible,
[data-animate="lift-in"].is-visible {
  animation-name: esnuevoFadeUp;
}

[data-animate="scale-in"].is-visible {
  animation-name: esnuevoScaleIn;
}

.btn,
.header-action,
.nav-categories,
.lang-trigger,
.filter-chip,
.auth-tab,
.cart-checkout-btn,
.legal-inline-button,
.cookie-modal-close,
.cart-close,
.nav-drawer-close {
  transition:
    transform .2s cubic-bezier(.2, .8, .2, 1),
    box-shadow .2s ease,
    background .2s ease,
    color .2s ease,
    border-color .2s ease;
}

.btn:hover,
.filter-chip:hover,
.auth-tab:hover,
.cart-checkout-btn:hover,
.legal-inline-button:hover,
.cookie-modal-close:hover,
.cart-close:hover,
.nav-drawer-close:hover {
  transform: translateY(-2px);
}

.btn:active,
.filter-chip:active,
.auth-tab:active,
.cart-checkout-btn:active,
.legal-inline-button:active {
  transform: translateY(0) scale(.98);
}

.header-action:hover .icon-wrap,
.nav-categories:hover svg,
.lang-trigger:hover i,
.cat-menu-link:hover .cat-menu-icon,
.nav-drawer-cat:hover .cat-icon,
.legal-nav a:hover i,
.legal-nav button:hover i,
.footer-legal-links a:hover,
.footer-legal-links button:hover {
  transform: translateY(-2px);
}

.icon-wrap,
.cat-menu-icon,
.nav-drawer-cat .cat-icon,
.legal-nav i,
.footer-legal-links a,
.footer-legal-links button,
.feature .feature-icon,
.cat-pill .cat-icon {
  transition: transform .22s cubic-bezier(.2, .8, .2, 1), background .22s ease, color .22s ease;
}

.feature:hover .feature-icon,
.cat-pill:hover .cat-icon {
  animation: esnuevoIconPulse .55s ease both;
}

.hero-model-wrap {
  animation: esnuevoFloatSoft 5.5s ease-in-out infinite;
}

.hero .hero-model-wrap {
  animation: none;
}

.product-card,
.cat-pill,
.feature,
.legal-section,
.checkout-card,
.summary-box,
.auth-card,
.status-card {
  transition:
    transform .24s cubic-bezier(.2, .8, .2, 1),
    box-shadow .24s ease,
    border-color .24s ease,
    background .24s ease;
}

.product-card:hover,
.cat-pill:hover,
.checkout-card:hover,
.summary-box:hover,
.auth-card:hover,
.status-card:hover {
  transform: translateY(-5px);
}

.product-media img,
.galleryFrame img,
.promo-art .chip {
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), filter .35s ease;
}

.product-card:hover .product-media img,
.galleryFrame:hover img {
  transform: scale(1.06);
}

.promo-banner:hover .promo-art .chip:nth-child(1) { transform: translate3d(-4px, -6px, 0) rotate(-4deg); }
.promo-banner:hover .promo-art .chip:nth-child(2) { transform: translate3d(0, -9px, 0) rotate(3deg); }
.promo-banner:hover .promo-art .chip:nth-child(3) { transform: translate3d(5px, -5px, 0) rotate(5deg); }

.cat-menu,
.lang-menu,
.nav-drawer,
.cart-drawer,
.cookie-modal,
.cookie-banner {
  will-change: transform, opacity;
}

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

  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
}

.checkout-card:hover,
.summary-box:hover {
  transform: none;
}
