:root {
  --black: #080808;
  --ink: #121212;
  --muted: #646567;
  --line: #dedede;
  --soft: #f3f3f3;
  --white: #fafaf8;
  --clio: #d61f2c;
  --gamemax: #9fcf32;
  --accent: var(--clio);
  --shell: min(1440px, calc(100vw - 64px));
  /*--display: "Rajdhani", sans-serif;
  --display: 'Space Grotesk', -app*/
  /*--body: "Inter", sans-serif;*/
  --bg-dark: #090b10;
  --bg-surface: #0f131a;
  --bg-card: #ffffff;
  --bg-card-subtle: #fcfbf8;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-dark: rgba(255, 255, 255, 0.08);

  /* Acento Neo-Electric */
  --batek-primary: #ff2d55;
  --batek-glow: rgba(255, 45, 85, 0.25);
  
  /* Tipografías Tech-Modern */
  --display: 'Rajdhani', -apple-system, sans-serif;
  --body: 'Plus Jakarta Sans', sans-serif;
  
  /* Radios */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

}

[data-brand="gamemax"] { --accent: var(--gamemax); }

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.preloader__logo {
  overflow: hidden;
}
.preloader__brand {
  display: inline-block;
  font-family: var(--display);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--white);
  text-transform: uppercase;
  animation: preloaderLogo .8s cubic-bezier(.22,1,.36,1) both;
}
.preloader__dot {
  color: var(--clio);
}
.preloader__bar {
  width: 180px;
  height: 2px;
  background: rgba(255,255,255,.12);
  overflow: hidden;
}
.preloader__bar-fill {
  height: 100%;
  width: 100%;
  background: var(--clio);
  transform-origin: left;
  animation: preloaderBar 1.2s ease-in-out infinite;
}
.preloader__text {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  animation: preloaderText 1.2s ease-in-out infinite;
}

@keyframes preloaderLogo {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes preloaderBar {
  0% { transform: scaleX(0); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
  50.01% { transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}
@keyframes preloaderText {
  0%, 100% { opacity: .3; }
  50% { opacity: .8; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: #555 #090b10; }
html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: #090b10; }
html::-webkit-scrollbar-thumb { background: #555; border-radius: 5px; }
html::-webkit-scrollbar-thumb:hover { background: #777; }
body.modern-site {
  margin: 0;
  overflow-x: hidden;
  padding-top: 110px;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.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;
}
.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--clio); color: var(--white); }
.button--primary:hover { background: #b91621; }
.button--outline { border-color: rgba(255,255,255,.5); color: var(--white); }
.button--outline:hover { border-color: rgba(255,255,255,.5); background: #3a3a3a; color: var(--white); }
.button--light { background: var(--white); color: var(--black); }
.button--light:hover { background: var(--clio); color: var(--white); }
.button--dark { background: var(--black); color: var(--white); }
.button--brand { background: var(--accent); color: var(--white); width: 100%; }
[data-brand="gamemax"] .button--brand { color: var(--black); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .3s ease, color .3s ease, border-color .3s ease;
}
.text-link b { transition: transform .3s ease; }
.text-link:hover { transform: translateX(-6px); color: #ef4444; border-bottom-color: #ef4444; }
.text-link:hover b { transform: translateX(6px); }
.text-link--dark { color: var(--ink); }

.top-strip { position: fixed; top: 0; left: 0; right: 0; z-index: 101; background: #1b1b1b; color: #aaa; font-size: 14px; letter-spacing: .04em; }
.top-strip__inner { height: 32px; display: flex; align-items: center; justify-content: space-between; position: relative; }
.top-strip__inner > span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.top-strip__inner > div {
  margin-left: auto;
  white-space: nowrap;
}
.top-strip a { color: #ffffff; }
.top-strip-link {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .25s ease;
}
.top-strip-arrow {
  display: inline-block;
  transition: transform .25s ease, color .25s ease;
}
.top-strip-link:hover {
  color: var(--clio);
}
.top-strip-link:hover .top-strip-arrow {
  transform: translateX(6px);
  color: var(--clio);
}
.site-header {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 100;
  color: var(--white);
  background: rgba(8,8,8,.97);
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.site-header__inner { height: 78px; display: grid; grid-template-columns: 220px 1fr 320px; align-items: center; }
.brand-lockup { width: 120px; height: 34px; display: flex; align-items: center; }
.brand-lockup img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); }
.brand-lockup--dual { width: 195px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.brand-lockup--dual img { width: 100%; height: 100%; }
.desktop-nav { height: 100%; display: flex; align-items: stretch; justify-content: center; gap: 34px; }
.nav-group { display: flex; align-items: stretch; }
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 3px;
  background: var(--clio);
  transition: right .25s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--white); }
.nav-link:hover::after, .nav-link.is-active::after { right: 0; }
.nav-link span { color: rgba(255,255,255,.72); }
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 36%) 1fr;
  background: var(--white);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,0,0,.2);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
.nav-group:hover .mega-menu, .nav-group.is-open .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-menu__intro { padding: 46px max(42px, calc((100vw - 1440px) / 2)); background: var(--clio); color: var(--white); }
.mega-menu--gamemax .mega-menu__intro { background: var(--gamemax); color: var(--black); }
.mega-menu__intro strong { display: block; max-width: 360px; margin: 18px 0 28px; font-family: var(--display); font-size: 34px; line-height: 1.02; text-transform: uppercase; }
.mega-menu__intro a { display: inline-block; border-bottom: 1px solid currentColor; font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.mega-menu__links { display: grid; grid-template-columns: repeat(3, minmax(140px, 1fr)); align-content: start; gap: 0 34px; padding: 38px 5vw; }
.mega-menu__links a { padding: 13px 0; border-bottom: 1px solid #e5e5e5; font-family: var(--display); font-weight: 700; text-transform: uppercase; transition: color .2s ease, padding .2s ease; }
.mega-menu__links a:hover { color: var(--clio); padding-left: 5px; }
.mega-menu--gamemax .mega-menu__links a:hover { color: #709700; }
.header-actions { display: flex; justify-content: flex-end; gap: 10px; }
.header-search-form { position:relative; width: 300px; height: 42px; display: grid; grid-template-columns: 1fr 42px; border: 1px solid #444; background: #151515; transition: border-color .3s ease, background .3s ease; }
.header-search-form:hover { border-color: var(--clio); background: #1a1a1a; }
.header-search-form:focus-within { border-color: var(--clio); background: #1a1a1a; }
.header-search-form input { min-width: 0; max-width: 100%; height: 100%; padding: 0 12px; border: 0; outline: 0; background: transparent; color: var(--white); font-size: 12px; text-align: left; line-height: 42px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; align-self: center; }
.header-search-form input::placeholder { color: #888; text-overflow: ellipsis; overflow: hidden; }
.header-search-form input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; margin-left: 4px; cursor: pointer; opacity: .6; transition: opacity .2s ease; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3C/svg%3E") center/contain no-repeat; }
.header-search-form input::-webkit-search-cancel-button:hover { opacity: 1; }
.header-search-form button { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-left: 1px solid #333; background: transparent; color: var(--white); cursor: pointer; transition: background .3s ease, color .3s ease; }
.header-search-form button:hover { background: var(--clio); color: var(--white); }
.header-search-form svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* Dropdown de búsqueda */
.header-search-results { display:none; position:absolute; top:calc(100% + 4px); left:0; width:420px; max-height:480px; overflow-y:auto; background:var(--white); border:1px solid var(--line); box-shadow:0 12px 40px rgba(0,0,0,.15); z-index:1000; }
.search-dropdown__header { padding:12px 16px; font-family:var(--display); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); border-bottom:1px solid var(--line); background:#f8f8f8; }
.search-dropdown__item { display:flex; align-items:center; gap:12px; padding:10px 16px; border-bottom:1px solid var(--line); text-decoration:none; color:var(--ink); transition:background .15s ease; }
.search-dropdown__item:hover { background:#f5f5f5; }
.search-dropdown__img { width:48px; height:48px; object-fit:contain; flex-shrink:0; background:#f0f0f0; border-radius:4px; }
.search-dropdown__info { flex:1; min-width:0; }
.search-dropdown__name { display:block; font-size:13px; font-weight:700; line-height:1.3; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.search-dropdown__cat { display:block; font-size:11px; color:var(--muted); margin-top:2px; }
.search-dropdown__price { flex-shrink:0; text-align:right; white-space:nowrap; }
.search-dropdown__empty { padding:20px 16px; text-align:center; color:var(--muted); font-size:13px; }
.search-dropdown__footer { display:block; padding:12px 16px; text-align:center; font-family:var(--display); font-size:12px; font-weight:700; text-transform:uppercase; color:var(--clio); text-decoration:none; border-top:1px solid var(--line); background:#f8f8f8; }
.search-dropdown__footer:hover { background:var(--clio); color:var(--white); }
.search-toggle { display: none !important; }
.icon-button, .menu-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #444;
  background: transparent;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.icon-button:hover, .menu-toggle:hover { border-color: var(--white); }
.icon-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.menu-toggle { display: none; padding: 12px 10px; }
.menu-toggle span { display: block; width: 20px; height: 1px; margin: 3px 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav-search {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--white);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

/* ==========================================================================
   MÓDULO DE COMENTARIOS / OPINIONES (ESTILO BATEK / CLIO)
   ========================================================================== */

.reviews-page {
  padding: 80px 0 110px;
  background: var(--white);
  min-height: calc(100vh - 400px);
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(320px, 380px) 1fr;
  gap: 70px;
  align-items: start;
}

/* ── Panel lateral y formulario ── */
.reviews-title {
  margin: 14px 0 16px;
  font-family: var(--display);
  font-size: clamp(38px, 4.5vw, 54px);
  line-height: .92;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--ink);
}

.reviews-title em {
  color: var(--clio);
  font-style: normal;
}

.reviews-desc {
  margin: 0 0 30px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

.reviews-form {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.reviews-form__heading {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.reviews-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reviews-form__field label {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
}

.reviews-input {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--body);
  font-size: 14px;
  border-radius: 0;
  outline: 0;
  transition: border-color .2s ease;
}

.reviews-input:focus {
  border-color: var(--clio);
}

.reviews-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23121212' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 14px) center;
}

.reviews-submit {
  width: 100%;
  margin-top: 8px;
  border-radius: 0;
  cursor: pointer;
}

.reviews-alert-success {
  margin-bottom: 24px;
  padding: 16px 20px;
  background: rgba(214, 31, 44, .08);
  border-left: 3px solid var(--clio);
  color: var(--clio);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── Feed y Cards de Comentarios ── */
.reviews-list-pane {
  display: flex;
  flex-direction: column;
}

.reviews-list-header {
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.reviews-list-header h2 {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 46px);
  line-height: .95;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--ink);
}

.reviews-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 820px;
  overflow-y: auto;
  padding-right: 12px;
}

.reviews-feed::-webkit-scrollbar {
  width: 5px;
}
.reviews-feed::-webkit-scrollbar-track {
  background: var(--soft);
}
.reviews-feed::-webkit-scrollbar-thumb {
  background: var(--line);
}

.review-card {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 24px 28px;
  transition: border-color .2s ease, transform .2s ease;
}

.review-card:hover {
  border-color: #bbb;
  transform: translateY(-2px);
}

.review-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.review-card__user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 36px;
  height: 36px;
  background: var(--black);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
}

.review-card__name {
  display: block;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}

.review-card__date {
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--muted);
}

.review-card__stars {
  color: var(--clio);
  font-size: 16px;
  letter-spacing: 2px;
}

.review-card__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #444;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .reviews-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .reviews-feed {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }
}

/* ==========================================================================
   PÁGINA DE CONTACTO (ESTILO CLIO / BATEK)
   ========================================================================== */

.contact-page-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: start;
}

.contact-form-title {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 48px);
  line-height: .95;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.contact-form {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-details-box {
  margin-top: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-detail-item p {
  margin: 6px 0 0;
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 900px) {
  .contact-page-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

/* ==========================================================================
   DETALLE DE ARTÍCULO / BLOG (ESTILO BATEK / CLIO)
   ========================================================================== */

.blog-post-page {
  background: var(--white);
  min-height: calc(100vh - 350px);
}

/* ── Hero del Post ── */
.blog-post-hero {
  padding: 60px 0 45px;
  background: var(--black);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-post-hero__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.blog-post-hero__breadcrumbs a {
  color: #bbb;
  transition: color .2s ease;
}

.blog-post-hero__breadcrumbs a:hover {
  color: var(--clio);
}

.blog-post-hero__content {
  max-width: 980px;
}

.blog-post-hero h1 {
  margin: 12px 0 20px;
  font-family: var(--display);
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: .92;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--white);
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #888;
}

.blog-post-meta b {
  color: #ccc;
}

/* ── Estructura de Contenido ── */
.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

.blog-post-article {
  min-width: 0;
}

/* ── Media (Imagen o Video con Aspect Ratio 16:9) ── */
.blog-post-media {
  margin-bottom: 40px;
  background: var(--soft);
  border: 1px solid var(--line);
  overflow: hidden;
}

.blog-post-media img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.blog-media-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.blog-media-video-wrap iframe,
.blog-media-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  display: block;
}

/* ── Tipografía Editorial del Artículo ── */
.blog-post-lead {
  font-family: var(--display);
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.blog-post-paragraphs {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.85;
  color: #333;
}

.blog-post-paragraphs p {
  margin: 0 0 24px;
}

.blog-post-paragraphs h3 {
  margin: 40px 0 16px;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.blog-post-paragraphs ul {
  margin: 0 0 30px;
  padding-left: 20px;
}

.blog-post-paragraphs li {
  margin-bottom: 10px;
}

.blog-post-paragraphs li strong {
  color: var(--ink);
}

.blog-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

/* ── Sidebar ── */
.blog-post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}

.blog-sidebar-box {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 30px 24px;
}

.blog-sidebar-box h3 {
  margin: 8px 0 12px;
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.blog-sidebar-box p {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .blog-post-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .blog-post-sidebar {
    position: static;
  }
}

/* ==========================================================================
   SECCIÓN DE BLOGS / ARCHIVO DE GUÍAS (ESTILO BATEK / CLIO)
   ========================================================================== */

.blog-filters-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 45px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.blog-filters-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-filter-btn {
  padding: 8px 18px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s ease;
}

.blog-filter-btn:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.blog-filter-btn.is-active {
  background: var(--clio);
  color: var(--white);
  border-color: var(--clio);
}

.blog-count-label {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Grid de Artículos ── */
.blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 26px;
  margin-bottom: 50px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color .25s ease, transform .25s ease;
  border-radius: 12px;
  overflow: hidden;
}

#blogs-grid .blog-card {
  min-width: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 24px;
}
@media (max-width: 1080px) {
  .blog-grid {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 0 5px 10px;
    margin: 0 -5px;
    grid-template-columns: none !important;
  }
  .blog-grid::-webkit-scrollbar { display: none; }
  .blog-grid > * { flex: 0 0 300px; scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .blog-grid > * { flex: 0 0 80%; }
}

.blog-card:hover {
  border-color: #bbb;
  transform: translateY(-4px);
}

.blog-card__media {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--soft);
  display: block;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.06);
}

.blog-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 12px;
  background: var(--black);
  color: var(--white);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-card__badge--video {
  background: var(--clio);
}

.blog-card__hover-action {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .25s ease;
}

.blog-card:hover .blog-card__hover-action {
  opacity: 1;
}

.blog-card__content {
  padding: 24px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__meta {
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.blog-card__content h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.blog-card__content h3 a {
  color: var(--ink);
  transition: color .2s ease;
}

.blog-card__content h3 a:hover {
  color: var(--clio);
}

.blog-card__content p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .2s ease, gap .2s ease;
}

.blog-card__link:hover {
  color: var(--clio);
  gap: 12px;
}

/* ── Responsive ── */
@media (max-width: 1080px) {
  .blog-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blog-filters-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .blog-archive-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ── Layout Sidebar + Grid (estilo catálogo Clio) ── */
.blog-catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}

.blog-catalog-results { min-width: 0; }
.blog-catalog-results .blog-archive-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 24px;
}

/* ── Sidebar de Filtros ── */
.blog-catalog-filters {
  position: sticky;
  top: 118px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--soft);
}
.blog-fab {
  display: none;
}

.blog-filters__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.blog-filters__heading span {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}

.blog-filters__heading a {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: uppercase;
  transition: color .2s ease;
}

.blog-filters__heading a:hover {
  color: var(--clio);
}

.blog-filter-group {
  margin-bottom: 28px;
}

.blog-filter-label {
  display: block;
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}

.blog-filter-options {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-filter-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 40px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  transition: color .2s ease;
}

.blog-filter-option:last-child {
  border-bottom: none;
}

.blog-filter-option input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--clio);
  cursor: pointer;
}

.blog-filter-option span {
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
  transition: color .2s ease;
}

.blog-filter-option input:checked + span {
  color: var(--clio);
}

.blog-filter-option:hover span {
  color: var(--clio);
}

.blog-filters__apply {
  margin-top: 8px;
  width: 100%;
}

/* ── Responsive ── */
@media (max-width: 1180px) {
  .blog-catalog-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 30px;
  }
  .blog-catalog-results .blog-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .blog-catalog-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .blog-catalog-filters {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 100%);
    padding: 24px;
    background: var(--white);
    z-index: 10000;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .3s ease, visibility .3s;
    box-shadow: -4px 0 24px rgba(0,0,0,.15);
    overflow-y: auto;
  }
  .blog-catalog-filters[data-open="true"] {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .blog-fab {
    display: flex;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    background: var(--clio);
    color: var(--white);
    border: 0;
    border-radius: 8px 0 0 8px;
    box-shadow: -2px 4px 12px rgba(0,0,0,.25);
    cursor: pointer;
    z-index: 10001;
    visibility: visible;
    pointer-events: auto;
  }
  .blog-catalog-results .blog-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blog-catalog-results .blog-archive-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .blog-catalog-filters {
    padding: 20px;
  }
}

/* ==========================================================================
   FICHA DE PRODUCTO DETALLADA (ESTILO CLIO / BATEK)
   ========================================================================== */

.product-sku {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 14px;
}

.product-price-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px 0 20px;
}

.product-price-current {
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -.02em;
}

[data-brand="clio"] .product-price-current {
  color: var(--clio);
}

.product-price-old {
  font-size: 18px;
  color: var(--muted);
  text-decoration: line-through;
  line-height: 1;
}

.product-discount-badge {
  background: var(--clio);
  color: var(--white);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 5px 10px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.product-stock-status {
  font-size: 13px;
  margin-bottom: 22px;
}

.stock-available {
  color: var(--black);
  font-weight: 600;
}

.stock-unavailable {
  color: var(--clio);
  font-weight: 700;
}

.product-tags-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.product-tag-chip {
  padding: 4px 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background .2s ease, border-color .2s ease;
}

.product-tag-chip:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

/* ── Selector de Cantidad & Botón ── */
.product-buy-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.product-qty-stepper {
  display: flex;
  border: 1px solid var(--line);
  background: var(--white);
  height: 52px;
  align-items: stretch;
}

.product-qty-stepper button {
  width: 44px;
  border: 0;
  background: transparent;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease;
}

.product-qty-stepper button:hover {
  background: var(--soft);
}

.product-qty-stepper input {
  width: 50px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  background: transparent;
}

.product-add-btn {
  flex: 1;
  border-radius: 0;
  cursor: pointer;
  text-align: center;
}

.product-cart-link {
  width: 100%;
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  border-radius: 0;
  text-align: center;
  cursor: pointer;
}

.product-cart-link:hover {
  background: #333;
  color: var(--white);
  border-color: #333;
}

/* ── Video en Descripción ── */
.product-video-section {
  margin-top: 0;
}

.product-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
}

.product-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 640px) {
  .product-buy-actions {
    flex-direction: column;
  }
  
  .product-qty-stepper {
    justify-content: center;
  }
}

/* ==========================================================================
   CARRITO DE COMPRAS (ESTRUCTURA OLTOUCH / COLORES CLIO)
   ========================================================================== */

.cart-page {
  padding: 60px 0 100px;
  background: var(--white);
  min-height: calc(100vh - 350px);
}

.cart-header {
  margin-bottom: 40px;
}

.cart-title {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ── Layout Grid ── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

/* ── Tarjetas de Producto Oltouch ── */
.cart-items-pane {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item-card {
  display: flex;
  align-items: center;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  gap: 24px;
  transition: border-color .2s ease;
}

.cart-item-card:hover {
  border-color: #bbb;
}

.cart-item-card__media {
  width: 90px;
  height: 90px;
  background: var(--soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 8px;
}

.cart-item-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-card__info {
  flex: 1;
  min-width: 0;
}

.cart-item-card__title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.2;
  display: block;
  margin-bottom: 6px;
  transition: color .2s ease;
}

.cart-item-card__title:hover {
  color: var(--clio);
}

.cart-item-card__meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-card__price {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: var(--clio);
  white-space: nowrap;
}

.cart-item-card__action {
  flex-shrink: 0;
}

/* ── Stepper de Cantidad ── */
.cart-qty-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line);
  background: var(--white);
  height: 40px;
  margin-top: 10px;
}

.cart-qty-btn {
  width: 38px;
  border: 0;
  background: transparent;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.cart-qty-btn:hover {
  background: var(--black);
  color: var(--white);
}

.cart-qty-input {
  width: 44px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  background: transparent;
  outline: none;
}

/* ── Popup de Confirmación ── */
.cart-confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.cart-confirm-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.cart-confirm-dialog {
  background: var(--white);
  padding: 36px 32px 30px;
  max-width: 380px;
  width: calc(100% - 40px);
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transform: translateY(-20px);
  transition: transform .25s ease;
}

.cart-confirm-overlay.is-open .cart-confirm-dialog {
  transform: translateY(0);
}

.cart-confirm-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border: 2px solid var(--clio);
  color: var(--clio);
  border-radius: 50%;
}

.cart-confirm-title {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
}

.cart-confirm-text {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.cart-confirm-actions {
  display: flex;
  gap: 10px;
}

.cart-confirm-no,
.cart-confirm-yes {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--line);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s ease;
}

.cart-confirm-no {
  background: var(--white);
  color: var(--ink);
}

.cart-confirm-no:hover {
  background: var(--soft);
  border-color: #bbb;
}

.cart-confirm-yes {
  background: var(--clio);
  border-color: var(--clio);
  color: var(--white);
}

.cart-confirm-yes:hover {
  background: #b81a25;
  border-color: #b81a25;
}

.cart-remove-btn {
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--clio);
  transition: all .2s ease;
}

.cart-remove-btn:hover {
  background: var(--clio);
  border-color: var(--clio);
  color: var(--white);
}

/* ── Panel Resumen Oltouch ── */
.cart-summary-pane {
  position: sticky;
  top: 100px;
}

.cart-summary-card {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 34px 30px;
}

.cart-summary-title {
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.cart-summary-row span {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}

.cart-summary-row strong {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 800;
  color: var(--clio);
}

.cart-summary-notice {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 26px;
}

.cart-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-checkout-btn {
  width: 100%;
  border-radius: 0;
  font-size: 15px;
  padding: 16px;
}

.cart-continue-btn {
  display: block;
  text-align: center;
  padding: 14px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  transition: color .2s ease;
}

.cart-continue-btn:hover {
  color: var(--clio);
}

/* ── Estado Vacío ── */
.cart-empty-state {
  text-align: center;
  padding: 80px 20px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.cart-empty-icon {
  color: var(--muted);
  margin-bottom: 16px;
}

.cart-empty-state h2 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.cart-empty-state p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 auto 25px;
  max-width: 440px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

@media (max-width: 600px) {
  .cart-item-card {
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px;
  }

  .cart-item-card__media {
    width: 70px;
    height: 70px;
  }

  .cart-item-card__price {
    width: 100%;
    text-align: right;
    order: 4;
  }

  .cart-item-card__action {
    order: 3;
    margin-left: auto;
  }
}

/* ==========================================================================
   CARRITO DE COMPRAS (ESTRUCTURA OLTOUCH / COLORES CLIO)
   ========================================================================== */

.cart-page {
  padding: 60px 0 100px;
  background: var(--white);
  min-height: calc(100vh - 350px);
}

.cart-header {
  margin-bottom: 40px;
}

.cart-title {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ── Layout Grid ── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

/* ── Tarjetas de Producto Oltouch ── */
.cart-items-pane {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item-card {
  display: flex;
  align-items: center;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  gap: 24px;
  transition: border-color .2s ease;
}

.cart-item-card:hover {
  border-color: #bbb;
}

.cart-item-card__media {
  width: 90px;
  height: 90px;
  background: var(--soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 8px;
}

.cart-item-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-card__info {
  flex: 1;
  min-width: 0;
}

.cart-item-card__title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.2;
  display: block;
  margin-bottom: 6px;
  transition: color .2s ease;
}

.cart-item-card__title:hover {
  color: var(--clio);
}

.cart-item-card__meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-card__price {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: var(--clio);
  white-space: nowrap;
}

.cart-item-card__action {
  flex-shrink: 0;
}

/* ── Stepper de Cantidad ── */
.cart-qty-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line);
  background: var(--white);
  height: 40px;
  margin-top: 10px;
}

.cart-qty-btn {
  width: 38px;
  border: 0;
  background: transparent;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.cart-qty-btn:hover {
  background: var(--black);
  color: var(--white);
}

.cart-qty-input {
  width: 44px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  background: transparent;
  outline: none;
}

/* ── Popup de Confirmación ── */
.cart-confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.cart-confirm-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.cart-confirm-dialog {
  background: var(--white);
  padding: 36px 32px 30px;
  max-width: 380px;
  width: calc(100% - 40px);
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transform: translateY(-20px);
  transition: transform .25s ease;
}

.cart-confirm-overlay.is-open .cart-confirm-dialog {
  transform: translateY(0);
}

.cart-confirm-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border: 2px solid var(--clio);
  color: var(--clio);
  border-radius: 50%;
}

.cart-confirm-title {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
}

.cart-confirm-text {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.cart-confirm-actions {
  display: flex;
  gap: 10px;
}

.cart-confirm-no,
.cart-confirm-yes {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--line);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s ease;
}

.cart-confirm-no {
  background: var(--white);
  color: var(--ink);
}

.cart-confirm-no:hover {
  background: var(--soft);
  border-color: #bbb;
}

.cart-confirm-yes {
  background: var(--clio);
  border-color: var(--clio);
  color: var(--white);
}

.cart-confirm-yes:hover {
  background: #b81a25;
  border-color: #b81a25;
}

.cart-remove-btn {
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--clio);
  transition: all .2s ease;
}

.cart-remove-btn:hover {
  background: var(--clio);
  border-color: var(--clio);
  color: var(--white);
}

/* ── Panel Resumen Oltouch ── */
.cart-summary-pane {
  position: sticky;
  top: 100px;
}

.cart-summary-card {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 34px 30px;
}

.cart-summary-title {
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.cart-summary-row span {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}

.cart-summary-row strong {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 800;
  color: var(--clio);
}

.cart-summary-notice {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 26px;
}

.cart-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-checkout-btn {
  width: 100%;
  border-radius: 0;
  font-size: 15px;
  padding: 16px;
}

.cart-continue-btn {
  display: block;
  text-align: center;
  padding: 14px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  transition: color .2s ease;
}

.cart-continue-btn:hover {
  color: var(--clio);
}

/* ── Estado Vacío ── */
.cart-empty-state {
  text-align: center;
  padding: 80px 20px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.cart-empty-icon {
  color: var(--muted);
  margin-bottom: 16px;
}

.cart-empty-state h2 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.cart-empty-state p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 auto 25px;
  max-width: 440px;
}

/* ── Descuento en Carrito ── */
.cart-item-card__discount {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 90px;
}

.cart-discount-badge {
  background: var(--clio);
  color: var(--white);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 3px 8px;
  text-transform: uppercase;
  display: inline-block;
  white-space: nowrap;
}

.cart-old-price {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .cart-item-card__discount {
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: flex-start;
    order: 3;
    gap: 8px;
  }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

@media (max-width: 600px) {
  .cart-item-card {
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px;
  }

  .cart-item-card__media {
    width: 70px;
    height: 70px;
  }

  .cart-item-card__price {
    width: 100%;
    text-align: right;
    order: 4;
  }

  .cart-item-card__action {
    order: 3;
    margin-left: auto;
  }
}

/* ==========================================================================
   ESTRUCTURA PERSONALIZADA: ABOUT BATEK
   ========================================================================== */

.about-batek-page {
  background: var(--white);
}

/* ── Hero Personalizado ── */
.about-hero-custom {
  background: var(--black);
  color: var(--white);
  padding: 90px 0 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-hero-header {
  max-width: 900px;
}

.about-hero-header h1 {
  margin: 18px 0 20px;
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 76px);
  line-height: .92;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.about-hero-header .text-gradient {
  color: var(--clio);
}

.about-hero-lead {
  font-size: 17px;
  line-height: 1.75;
  color: #bbb;
  max-width: 720px;
  margin: 0 0 45px;
}

/* ── Barra de Métricas ── */
.about-metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.about-metric-item {
  background: #111;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-metric-item strong {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--white);
}

.about-metric-item span {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ── Grid Modular 2x2 ── */
.about-section-title {
  margin-bottom: 35px;
}

.about-section-title h2 {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(34px, 4.5vw, 50px);
  line-height: .95;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--ink);
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.about-feature-box {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 40px 35px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease;
}

.about-feature-box:hover {
  transform: translateY(-3px);
  border-color: #bbb;
}

.about-feature-tag {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--clio);
  margin-bottom: 14px;
}

.about-feature-box h3 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.about-feature-box p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

/* ── Tarjetas de Ubicación & Operaciones ── */
.about-locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.about-location-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px 35px;
  display: flex;
  flex-direction: column;
}

.about-location-card--highlight {
  border-top: 4px solid var(--clio);
}

/* Mapa de ubicación (Google Maps estándar) */
.about-location-map {
  border: 1px solid var(--line);
  border-radius: var(--radius-md, 14px);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  position: relative;
}
.about-location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
  flex: 1;
}

.about-location-header h3 {
  margin: 6px 0 14px;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.about-location-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 24px;
}

.about-location-info {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
}

/* ── Banner CTA Inferior ── */
.about-cta-strip {
  background: var(--black);
  color: var(--white);
  padding: 60px 0;
}

.about-cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.about-cta-strip h2 {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: .95;
  text-transform: uppercase;
}

.about-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .about-metrics-bar {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .about-features-grid,
  .about-locations-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .about-metrics-bar {
    grid-template-columns: 1fr;
  }
  
  .about-cta-strip__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .about-cta-actions {
    width: 100%;
    flex-direction: column;
  }
}

/* ==========================================================================
   FONDO TECNOLÓGICO HERO (ESTILO HIGH-TECH / HARDWARE)
   ========================================================================== */

/* 1. Base oscura con malla técnica de cuadrículas */
.hero__backdrop {
  background-color: #080808 !important;
  background-image: 
    radial-gradient(circle at 75% 50%, rgba(214, 31, 44, 0.08) 0%, transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px) !important;
  background-size: 100% 100%, 60px 60px, 60px 60px, 15px 15px, 15px 15px !important;
  background-position: 0 0, -1px -1px, -1px -1px, -1px -1px, -1px -1px !important;
}

/* 2. Viñeta degradada perimetral para dar profundidad */
.hero__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 35%, #080808 95%) !important;
  opacity: 0.85 !important;
  pointer-events: none;
}

/* 3. Pedestal tecnológico con anillos concéntricos detrás del producto */
.hero__glow {
  display: block !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 1 !important;
  width: 440px !important;
  height: 440px !important;
  background: transparent !important;
  border-radius: 50% !important;
  border: 1px dashed rgba(255, 255, 255, 0.16) !important;
  box-shadow: 
    0 0 0 35px rgba(255, 255, 255, 0.012),
    0 0 0 75px rgba(255, 255, 255, 0.008),
    inset 0 0 50px rgba(255, 255, 255, 0.02) !important;
  filter: none !important;
  animation: techRotatePulse 30s linear infinite, techBreathing 4s ease-in-out infinite alternate !important;
  pointer-events: none !important;
}

/* 1ra Onda expansiva */
.hero__glow::before {
  content: "";
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 1px solid rgba(214, 31, 44, 0.35);
  animation: techWave 3.5s cubic-bezier(0.2, 0.6, 0.35, 1) infinite;
  pointer-events: none;
}

/* 2da Onda expansiva desfasada */
.hero__glow::after {
  content: "";
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  animation: techWave 3.5s cubic-bezier(0.2, 0.6, 0.35, 1) infinite 1.75s;
  pointer-events: none;
}

/* Rotación continua manteniendo centrado */
@keyframes techRotatePulse {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Respiración sutil de escala y brillo */
@keyframes techBreathing {
  0% {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 
      0 0 0 30px rgba(255, 255, 255, 0.01),
      0 0 0 65px rgba(255, 255, 255, 0.005),
      inset 0 0 40px rgba(255, 255, 255, 0.015);
  }
  100% {
    border-color: rgba(214, 31, 44, 0.38);
    box-shadow: 
      0 0 0 45px rgba(214, 31, 44, 0.03),
      0 0 0 95px rgba(214, 31, 44, 0.015),
      inset 0 0 70px rgba(214, 31, 44, 0.04);
  }
}

/* Expansión y desvanecimiento de las ondas */
@keyframes techWave {
  0% {
    transform: scale(0.92);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* 4. Resalte nítido de la silueta del producto */
.hero__visual > img {
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.85)) 
          drop-shadow(0 0 1px rgba(255, 255, 255, 0.25)) !important;
}

@keyframes techRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
 .hero__glow {
    width: 280px !important;
    height: 280px !important;
  }
}

.nav-search.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-search__form { height: 92px; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 18px; }
.nav-search__form svg { width: 24px; fill: none; stroke: #555; stroke-width: 1.8; }
.nav-search__form input { width: 100%; border: 0; outline: 0; font-size: 21px; }
.nav-search__form button { height: 46px; padding: 0 24px; border: 0; background: var(--black); color: var(--white); font-family: var(--display); font-weight: 700; text-transform: uppercase; cursor: pointer; }
.mobile-panel { display: none; }

.hero { position: relative; min-height: 720px; overflow: hidden; background: var(--black); color: var(--white); }
.hero__backdrop { position: absolute; inset: 0; background: var(--black) !important; }
.hero__backdrop::after { content: ""; position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; }
.hero__grid { position: relative; min-height: 640px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 50px; }
.hero__content { z-index: 2; padding: 74px 0 90px; }
.hero__content .eyebrow { color: #aaa; }
.hero h1 { margin: 20px 0 24px; font-family: var(--display); font-size: clamp(64px, 7vw, 112px); line-height: .84; letter-spacing: -.045em; text-transform: uppercase; }
.hero h1 em { color: var(--clio); font-style: normal; }
.hero__content > p { max-width: 560px; margin: 0 0 35px; color: #b9b9b9; font-size: 17px; line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__visual { position: relative; height: 560px; display: grid; place-items: center; }
.hero__visual > img { position: relative; z-index: 2; width: min(620px, 92%); height: 480px; object-fit: contain; filter: drop-shadow(0 30px 35px rgba(0,0,0,.5)); animation: productFloat 6s ease-in-out infinite; }
.hero-product { position: absolute; z-index: 3; right: 0; bottom: 25px; width: 270px; min-height: 78px; padding: 18px 50px 18px 20px; border-radius: 12px; }
.hero-product::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; width: 100%; border-radius: 12px; border-left: 3px solid var(--clio); background: rgba(15,23,42,0.85); backdrop-filter: blur(16px); transition: width .35s cubic-bezier(.22,1,.36,1), background .25s ease, border-color .25s ease; }
.hero-product:hover::before { width: calc(100% + 40px); background: rgba(214,31,44,.95); border-left-color: var(--white); }
.hero-product__tag { display: block; color: var(--clio); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: color .25s ease; }
.hero-product:hover .hero-product__tag { color: rgba(255,255,255,.7); }
.hero-product__name { display: block; margin-top: 4px; font-family: var(--display); font-size: 15px; line-height: 1.1; text-transform: uppercase; transition: color .25s ease; }
.hero-product:hover .hero-product__name { color: var(--white); }
.hero-product__arrow { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: #fff; transition: transform .3s ease, color .25s ease; }
.hero-product:hover .hero-product__arrow { transform: translateY(-50%) translateX(6px); color: var(--white); }
.hero__ticker { position: relative; height: 80px; display: flex; align-items: center; border-top: 1px solid #242424; background: #0d0d0d; overflow: hidden; }
.hero__ticker div { width: max-content; color: #4b4b4b; font-family: var(--display); font-size: 25px; font-weight: 700; letter-spacing: .15em; white-space: nowrap; animation: ticker 30s linear infinite; }
.hero__ticker span { margin: 0 35px; color: var(--clio); }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes productFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.section { padding: 110px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-heading h2 { margin: 8px 0 0; font-family: var(--display); font-size: clamp(40px, 5vw, 66px); line-height: .95; letter-spacing: -.03em; text-transform: uppercase; }
.slider-controls { display: flex; gap: 8px; align-self: flex-start; margin-top: 20px; }
.slider-controls button { width: 52px; height: 52px; border: 1px solid #ccc; background: transparent; font-size: 20px; cursor: pointer; transition: background .2s ease, color .2s ease; display: flex; align-items: center; justify-content: center; line-height: 1; padding: 0; }
.slider-controls button:hover { background: var(--black); color: var(--white); }
.category-section { overflow: hidden; background: var(--soft); }
.category-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 24%); gap: 16px; overflow-x: auto; overflow-y: hidden; touch-action: pan-x pan-y; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.category-rail::-webkit-scrollbar { display: none; }
.category-card { position: relative; height: 420px; overflow: hidden; background: #dedede; scroll-snap-align: start; }
.category-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.88)); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .55s ease; }
.category-card:hover img { transform: scale(1.06); filter: saturate(.7); }
.category-card__index { position: absolute; z-index: 2; top: 18px; left: 18px; color: var(--white); font-family: var(--display); font-size: 12px; }
.category-card > div { position: absolute; z-index: 2; left: 22px; right: 55px; bottom: 24px; color: var(--white); }
.category-card small { color: #bbb; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.category-card h3 { margin: 5px 0 0; font-family: var(--display); font-size: 28px; line-height: 1; text-transform: uppercase; }
.category-card > b { position: absolute; z-index: 2; right: 22px; bottom: 29px; color: var(--white); font-size: 20px; transition: transform .2s ease; }
.category-card:hover > b { transform: translate(3px, -3px); }

/* ==========================================================================
   PRODUCTOS DESTACADOS - Rail cinematográfico
   ========================================================================== */
.featured-section { background: #f8fafc; padding: 110px 0 130px; position: relative; }
.featured-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(255,193,7,.08), transparent 60%); pointer-events: none; }

.featured-rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
.featured-rail::-webkit-scrollbar { display: none; }

.featured-card { position: relative; height: 420px; border-radius: 18px; overflow: hidden; scroll-snap-align: start; background: #fff; border: 1px solid #e2e8f0; transition: box-shadow .5s ease, border-color .5s ease; display: block; text-decoration: none; }
.featured-card:hover { border-color: #94a3b8 !important; box-shadow: 0 12px 30px rgba(0,0,0,.15) !important; }
.featured-card:hover .featured-card__arrow { opacity: 1; transform: translate(0, 0); }

.featured-card__media { position: absolute; inset: 0 0 120px 0; overflow: hidden; background: #ffffff; }
.featured-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 30px 30px 0 30px; }

/* Número de orden */
.featured-card__num { position: absolute; z-index: 3; top: 16px; left: 16px; font-family: var(--display); font-size: 11px; font-weight: 700; color: #94a3b8; letter-spacing: .1em; }

/* Badge de descuento */
.featured-card__badge { position: absolute; z-index: 3; top: 16px; right: 16px; background: #ef4444; color: #fff; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 6px; font-family: var(--display); letter-spacing: .03em; }

/* Overlay con info */
.featured-card__overlay { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 132px; box-sizing: border-box; padding: 24px 22px 18px; display: flex; flex-direction: column; background: linear-gradient(180deg, #f7f6f3 0%, #edebe6 100%); }
.featured-card__cat { display: block; height: 14px; flex: 0 0 14px; color: var(--clio); font-size: 10px; font-weight: 700; letter-spacing: .14em; line-height: 14px; text-transform: uppercase; margin-bottom: 6px; }
.featured-card__name { height: 42px; flex: 0 0 42px; overflow: hidden; margin: 0; font-family: var(--display); font-size: 19px; font-weight: 700; color: #0f172a; line-height: 1.2; text-transform: uppercase; letter-spacing: -.01em; }

/* Precios */
.featured-card__price { display: flex; align-items: baseline; gap: 10px; min-height: 22px; margin-top: auto; padding-top: 6px; }
.featured-card__price-old { font-size: 13px; color: #94a3b8; text-decoration: line-through; }
.featured-card__price-now { font-size: 18px; font-weight: 800; color: #0f172a; font-family: var(--display); }

/* Flecha */
.featured-card__arrow { position: absolute; z-index: 3; right: 20px; bottom: 22px; color: var(--clio); font-size: 22px; opacity: 0; transform: translate(-8px, 8px); transition: opacity .5s ease, transform .5s ease; }

/* Responsive */
@media (max-width: 900px) {
  .featured-rail { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .featured-card { height: 400px; }
}
@media (max-width: 600px) {
  .featured-section { padding: 70px 0; }
  .featured-rail { grid-template-columns: 1fr; }
  .featured-card { height: 380px; }
  .featured-card__name { font-size: 17px; }
}

/* Banners carrusel */
.banners-section { width: 100%; max-width: 1800px; margin: 0 auto; background: var(--black); position: relative; }
.banners-rail { display: flex; overflow-x: auto; overflow-y: hidden; touch-action: pan-x pan-y; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.banners-rail::-webkit-scrollbar { display: none; }
.banner-slide { flex: 0 0 100%; width: 100%; min-width: 100%; scroll-snap-align: start; display: block; overflow: hidden; }
.banner-slide img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; object-position: center; display: block; }

.banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: none; background: rgba(0,0,0,.5); color: #fff; font-size: 22px; cursor: pointer; z-index: 5; transition: background .2s, opacity .2s; display: flex; align-items: center; justify-content: center; opacity: 0; }
.banners-section:hover .banner-arrow { opacity: 1; }
.banner-arrow:hover { background: rgba(0,0,0,.8); }
.banner-arrow--prev { left: 0; }
.banner-arrow--next { right: 0; }
.banner-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.banner-dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,.4); cursor: pointer; transition: background .2s; padding: 0; }
.banner-dot.is-active { background: #fff; }
@media (max-width: 768px) {
  .banners-section { max-width: 100%; }
  .banner-arrow { display: none; }
  .banner-slide { height: auto; }
  .banner-slide img { height: auto; max-height: none; object-fit: contain; }
}

.products-section { background: var(--white); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 42px 18px; align-items: stretch; }
/*.product-card { min-width: 0; display: flex; flex-direction: column; height: 100%; }
.product-card__media { position: relative; height: 340px; display: block; overflow: hidden; background: linear-gradient(180deg, #f7f6f3 0%, #edebe6 100%); }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 24px; mix-blend-mode: multiply; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-card__media img { transform: scale(1.07); }
.product-card__brand { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 6px 9px; background: var(--clio); color: var(--white); font-family: var(--display); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.product-card__brand--gamemax { background: var(--gamemax); color: var(--black); }
.product-card__action { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--black); color: var(--white); font-family: var(--display); font-size: 13px; font-weight: 700; text-transform: uppercase; transform: translateY(100%); transition: transform .25s ease; }
.product-card:hover .product-card__action { transform: translateY(0); }
.product-card__content { padding: 18px 5px 0; flex: 1; display: flex; flex-direction: column; }
.product-card__content > span { color: #888; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-card__content h3 { margin: 7px 0 0; font-family: var(--display); font-size: 20px; line-height: 1.08; text-transform: uppercase; }
.product-card__content a { transition: color .2s ease; }
.product-card__content a:hover { color: var(--clio); }*/
.statement { padding: 115px 0; background: var(--black); color: var(--white); }
.statement__inner { display: grid; grid-template-columns: 170px 1fr auto; align-items: center; gap: 50px; }
.statement p { max-width: 900px; margin: 0; color: #777; font-family: var(--display); font-size: clamp(40px, 4vw, 64px); line-height: .96; text-transform: uppercase; }
.statement strong { color: var(--white); font-weight: 700; }

.page-hero { padding: 105px 0 90px; background: var(--black); color: var(--white); }
.page-hero--search { background: var(--black); }
.page-hero h1 { margin: 16px 0 40px; max-width: 1000px; font-family: var(--display); font-size: clamp(52px, 7vw, 94px); line-height: .88; text-transform: uppercase; }
.search-hero-form { max-width: 900px; height: 74px; display: grid; grid-template-columns: 1fr auto; background: var(--white); }
.search-hero-form input { min-width: 0; padding: 0 28px; border: 0; outline: 0; color: var(--ink); font-size: 18px; }
.search-hero-form button { min-width: 145px; border: 0; background: var(--clio); color: var(--white); font-family: var(--display); font-weight: 700; text-transform: uppercase; cursor: pointer; }
.category-hero { position: relative; min-height: 560px; display: grid; align-items: end; overflow: hidden; background: var(--black); color: var(--white); }
.category-hero__image { position: absolute; inset: 0; }
.category-hero__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.9) 0, rgba(0,0,0,.65) 42%, rgba(0,0,0,.15)), linear-gradient(0deg, rgba(0,0,0,.55), transparent 55%); }
.category-hero__image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65) contrast(1.08); }
.category-hero__content { position: relative; z-index: 1; padding-bottom: 72px; }
.category-hero__content .eyebrow { color: var(--accent); }
.category-hero--gamemax .category-hero__content .eyebrow { color: var(--gamemax); }
.category-hero h1 { max-width: 950px; margin: 14px 0 18px; font-family: var(--display); font-size: clamp(60px, 8vw, 110px); line-height: .84; text-transform: uppercase; }
.category-hero p { max-width: 550px; margin: 0 0 30px; color: #ccc; }
.category-tabs { position: sticky; top: 78px; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.category-tabs__rail { display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.category-tabs__rail::-webkit-scrollbar { display: none; }
.category-tabs a { flex: 0 0 auto; padding: 22px 0 18px; border-bottom: 3px solid transparent; color: #777; font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.category-tabs a:hover, .category-tabs a.is-active { color: var(--ink); border-color: var(--accent); }

/* Nav secundario de producto */
body.has-product-subnav { padding-top: 162px; }
.product-subnav { width: 100%; background: #fff; border-bottom: 1px solid var(--line); position: fixed; top: 110px; left: 0; right: 0; z-index: 89; }
.product-subnav__inner { display: flex; align-items: center; justify-content: center; height: 52px; gap: 48px; }
.product-subnav__link { display: flex; align-items: center; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; transition: color .2s ease; position: relative; padding: 0 2px; }
.product-subnav__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--clio); transform: scaleX(0); transition: transform .25s ease; }
.product-subnav__link:hover { color: var(--clio); }
.product-subnav__link:hover::after { transform: scaleX(1); }
.product-subnav__link.is-active { color: var(--clio); }
.product-subnav__link.is-active::after { transform: scaleX(1); }

.product-detail { padding: 35px 0 100px; background: #f4f4f4; }
.product-detail__breadcrumbs { display: flex; gap: 9px; align-items: center; padding-bottom: 28px; color: #777; font-size: 11px; text-transform: uppercase; overflow: hidden; white-space: nowrap; }
.product-detail__breadcrumbs a:hover { color: var(--accent); }
.product-detail__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 70px; align-items: start; width: 100%; min-width: 0; }
.product-detail__grid > * { min-width: 0; max-width: 100%; }
.product-gallery { width: 100%; min-width: 0; overflow: hidden; }
.product-gallery__stage { position: relative; width: 100%; height: 640px; overflow: hidden; background: #ffffff; }
.product-gallery__slide { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; padding: 45px; border: 0; background: #ffffff; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; overflow: hidden; }
.product-gallery__slide.is-active { opacity: 1; visibility: visible; }
.product-gallery__slide img { width: 500px; height: 500px; max-width: 100%; object-fit: contain; transition: transform .15s ease-out; cursor: zoom-in; }
.product-gallery__slide.is-zoomed img { transform: scale(2.2); transition: none; cursor: zoom-out; }
.product-gallery__slide.is-zoomed { cursor: grab; }
.product-gallery__slide.is-zoomed.is-grabbing { cursor: grabbing; }
.gallery-arrow { position: absolute; z-index: 3; top: 50%; width: 46px; height: 46px; border: 1px solid #ccc; background: rgba(255,255,255,.9); cursor: pointer; }
.gallery-arrow--prev { left: 14px; }
.gallery-arrow--next { right: 14px; }
.product-gallery__thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #ddd transparent; cursor: grab; user-select: none; -webkit-user-drag: none; }
.product-gallery__thumbs::-webkit-scrollbar { height: 5px; }
.product-gallery__thumbs::-webkit-scrollbar-track { background: transparent; }
.product-gallery__thumbs::-webkit-scrollbar-thumb { background: #ddd; border-radius: 10px; }
.product-gallery__thumbs::-webkit-scrollbar-thumb:hover { background: #bbb; }
.product-gallery__thumbs button { flex: 0 0 90px; height: 76px; padding: 5px; border: 2px solid transparent; background: var(--white); cursor: pointer; }
.product-gallery__thumbs button.is-active { border-color: var(--accent); }
.product-gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-summary { position: sticky;}
.product-summary__brand { color: var(--accent); font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.product-summary h1 { margin: 15px 0 20px; font-family: var(--display); font-size: clamp(48px, 5vw, 74px); line-height: .9; letter-spacing: -.025em; text-transform: uppercase; }
.product-summary__category { display: inline-flex; gap: 15px; color: #666; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.product-summary__category:hover { color: var(--accent); }
.product-summary__rule { height: 1px; margin: 30px 0; background: #ccc; }
.product-summary__highlights { margin-bottom: 32px; }
.product-summary__highlights > div { display: grid; grid-template-columns: 34px 1fr; gap: 15px; padding: 13px 0; border-bottom: 1px solid #ddd; }
.product-summary__highlights span { color: var(--accent); font-family: var(--display); font-weight: 700; }
.product-summary__highlights p { margin: 0; font-size: 13px; }
.download-link { display: block; margin-top: 18px; text-align: center; color: #555; font-family: var(--display); font-size: 13px; font-weight: 700; text-transform: uppercase; }
/* Sección de Especificaciones (tech moderno claro) */
.product-description-section { padding: 100px 0; background: #fff; color: var(--ink); position: relative; overflow: hidden; }
.product-description-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--clio), transparent); }
.product-desc-header { margin-bottom: 60px; max-width: 720px; }
.product-desc-header__line { display: none; }
.product-desc-header__num { display: none; }
.product-desc-header__text { display: contents; }
.product-desc-header .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 5px 14px; background: rgba(159,207,50,.1); border: 1px solid rgba(159,207,50,.3); border-radius: 100px; font-size: 11px; letter-spacing: .1em; color: var(--clio); }
.product-desc-header .eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--clio); box-shadow: 0 0 8px var(--clio); }
.product-desc-header h2 { margin: 0; font-family: var(--display); font-size: clamp(32px, 4.5vw, 52px); line-height: 1; letter-spacing: -.02em; text-transform: uppercase; color: var(--ink); }
.product-desc-body { display: grid; grid-template-columns: 4fr 8fr; gap: 0; align-items: start; }
.product-desc-body--no-video { grid-template-columns: 1fr; }
.product-desc-body--no-video .product-description-copy { border-radius: 12px; border-left: 1px solid #e8eaed; }
.product-video-section { order: 1; padding: 32px; background: #fff; border: 1px solid #e8eaed; border-right: 0; border-radius: 12px 0 0 12px; display: flex; align-items: flex-start; }
.product-description-copy { order: 2; padding: 40px 48px; background: #f8f9fa; border: 1px solid #e8eaed; border-left: 0; border-radius: 0 12px 12px 0; color: #444; font-size: 18px; line-height: 1.5; }
.product-description-copy p:first-child { margin-top: 0; }
.product-description-copy p { margin: 0 0 0 0; line-height: 1.5; }
.product-description-copy img { height: auto !important; max-width: 100%; border-radius: 8px; }
.product-description-copy strong { color: var(--ink); font-weight: 700; }
.product-description-copy h1, .product-description-copy h2, .product-description-copy h3 { color: var(--ink); font-family: var(--display); text-transform: uppercase; margin: 24px 0 12px; }
.product-description-copy ul, .product-description-copy ol { padding-left: 20px; }
.product-description-copy li { margin-bottom: 8px; }

/* Sección Download */
.product-download { padding: 70px 0; background: #f4f4f4; }

/* ── Sección Comentarios y Valoraciones ── */
.product-reviews-section { padding: 70px 0; background: #fff; }
.product-reviews-body { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; margin-top: 40px; }
.reviews-summary { background: #f8f9fa; border: 1px solid #e8eaed; border-radius: 12px; padding: 32px; }
.reviews-summary__score { text-align: center; padding: 24px 20px; border-bottom: 1px solid #e8eaed; margin-bottom: 24px; background: #111; border-radius: 12px; }
.reviews-summary__num { display: block; font-family: var(--display); font-size: 48px; font-weight: 800; color: #fff; line-height: 1; }
.reviews-summary__stars { margin: 8px 0; }
.reviews-summary__total { font-size: 13px; color: #fff; opacity: .8; }
.reviews-form-wrap { }
.reviews-form-title { font-family: var(--display); font-size: 18px; font-weight: 700; text-transform: uppercase; margin: 0 0 16px; color: var(--ink); }
.reviews-form-stars { display: flex; align-items: center; margin-bottom: 12px; }
.reviews-form-star-row { display: flex; gap: 4px; }
.reviews-list { display: flex; flex-direction: column; gap: 20px; }
.review-card { background: #fff; border: 1px solid #e8eaed; border-radius: 12px; padding: 24px; transition: box-shadow .2s ease; }
.review-card:hover { box-shadow: 0 4px 15px rgba(0,0,0,.05); }
.review-card__header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-card__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--clio); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.review-card__name { font-weight: 700; font-size: 14px; color: var(--ink); display: flex; align-items: center; flex-wrap: wrap; }
.review-card__stars { margin-top: 2px; }
.review-card__text { font-size: 14px; line-height: 1.6; color: #444; white-space: pre-wrap; word-wrap: break-word; }

@media (max-width: 900px) {
  .product-reviews-body { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 600px) {
  .product-reviews-section { padding: 50px 0; }
  .reviews-summary { padding: 24px 20px; }
  .review-card { padding: 18px; }
}
.product-download h2 { margin: 12px 0 8px; font-family: var(--display); font-size: clamp(32px, 4vw, 48px); text-transform: uppercase; }
.product-download p { margin: 0 0 30px; color: var(--muted); font-size: 15px; }
.product-download__list { display: flex; flex-direction: column; gap: 12px; }
.product-download__item { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-family: var(--body); font-size: 14px; font-weight: 600; transition: border-color .2s ease, color .2s ease; }
.product-download__item:hover { border-color: var(--clio); color: var(--clio); }
.product-download__icon { font-size: 18px; font-weight: 700; }

.product-back { padding: 90px 0; background: #000; color: var(--white); }
.product-back__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.product-back__left { max-width: 480px; }
.product-back__label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--clio); margin-bottom: 14px; }
.product-back__title { margin: 0 0 10px; font-family: var(--display); font-size: clamp(32px, 4vw, 48px); font-weight: 800; line-height: 1; text-transform: uppercase; color: var(--white); }
.product-back__desc { margin: 0; font-size: 15px; line-height: 1.6; color: #888; }
.product-back__link { display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; border: 1px solid rgba(255,255,255,.2); border-radius: 100px; font-family: var(--display); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--white); text-decoration: none; transition: all .25s ease; white-space: nowrap; }
.product-back__link:hover { background: var(--clio); border-color: var(--clio); color: var(--white); }
.product-back__link svg { transition: transform .25s ease; }
.product-back__link:hover svg { transform: translateX(4px); }
.gallery-lightbox { position: fixed; z-index: 300; inset: 0; display: grid; place-items: center; padding: 50px; background: rgba(0,0,0,.94); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.gallery-lightbox.is-open { opacity: 1; visibility: visible; }
.gallery-lightbox img { width: 100%; height: 100%; object-fit: contain; }
.gallery-lightbox button { position: absolute; z-index: 2; top: 20px; right: 24px; width: 48px; height: 48px; border: 1px solid #666; background: var(--black); color: var(--white); font-size: 28px; cursor: pointer; }

.story-hero, .contact-hero { padding: 130px 0; background: var(--black); color: var(--white); }
.story-hero__grid, .contact-hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 90px; }
.story-hero h1, .contact-hero h1 { max-width: 100%; margin: 18px 0 0; font-family: var(--display); font-size: clamp(62px, 8vw, 116px); line-height: .84; letter-spacing: -.045em; text-transform: uppercase; overflow-wrap: anywhere; }
.story-hero h1 em, .contact-hero h1 em { color: var(--clio); font-style: normal; }
.story-hero__copy { padding: 30px 0; border-top: 1px solid #444; }
.story-hero__copy span { color: var(--clio); font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.story-hero__copy p { margin: 18px 0 0; color: #aaa; font-size: 17px; line-height: 1.8; }
.story-values { padding: 100px 0; background: var(--soft); }
.story-values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #ccc; }
.story-values article { min-height: 330px; padding: 42px; background: var(--white); }
.story-values article > span { color: var(--clio); font-family: var(--display); font-weight: 700; }
.story-values h2 { margin: 70px 0 14px; font-family: var(--display); font-size: 36px; text-transform: uppercase; }
.story-values p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.story-banner { padding: 120px 0; background: var(--clio); color: var(--white); }
.story-banner h2 { margin: 18px 0; font-family: var(--display); font-size: clamp(60px, 8vw, 110px); line-height: .82; text-transform: uppercase; }
.story-banner p { margin: 0 0 30px; color: rgba(255,255,255,.76); font-size: 18px; }
.contact-card { position: relative; padding: 45px; background: var(--white); color: var(--ink); }
.contact-card__number { position: absolute; top: 22px; right: 24px; color: #ddd; font-family: var(--display); font-size: 54px; font-weight: 700; }
.contact-card small { color: var(--clio); font-family: var(--display); font-weight: 700; letter-spacing: .13em; }
.contact-card h2 { margin: 42px 0 15px; font-family: var(--display); font-size: clamp(22px, 7vw, 38px); line-height: .95; text-transform: uppercase; overflow-wrap: anywhere; }
.contact-email-link a {
  color: inherit !important;
  text-decoration: none !important;
  display: inline-block !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  text-transform: inherit !important;
  transition: color .2s ease !important;
  overflow-wrap: anywhere !important;
}
.contact-email-link a:hover {
  color: var(--clio) !important;
}

/* ── Link de Instagram en contacto ── */
.contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 0;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s ease;
}

.contact-social-link svg {
  transition: transform .25s ease, color .2s ease;
  flex-shrink: 0;
}

.contact-social-link:hover {
  color: var(--clio);
}

.contact-social-link:hover svg {
  transform: scale(1.15);
  color: var(--clio);
}
.contact-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.contact-card a { display: flex; justify-content: space-between; margin-top: 35px; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--display); font-size: 18px; font-weight: 700; }
.contact-options { padding: 100px 0; }
.contact-options__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; align-items: stretch; }
.contact-options h2 { max-width: 500px; margin: 14px 0 0; font-family: var(--display); font-size: 48px; line-height: .95; text-transform: uppercase; }
.contact-option { min-height: 190px; display: flex; align-items: flex-end; justify-content: space-between; padding: 28px; background: var(--soft); font-family: var(--display); font-size: 23px; font-weight: 700; text-transform: uppercase; transition: background .25s ease, color .25s ease; }
.contact-option:hover { background: var(--black); color: var(--white); }

.site-footer { background: #0a0a0a; color: var(--white); }
.footer-main { display: grid; grid-template-columns: 1.3fr .65fr .65fr 1.1fr; gap: 60px; padding: 90px 0 70px; }
.footer-brand img { width: 120px; margin-bottom: 25px; }
.footer-brand p { max-width: 330px; color: #777; font-size: 13px; line-height: 1.7; }
.footer-email { display: inline-block; margin-top: 14px; border-bottom: 1px solid #555; font-family: var(--display); font-weight: 700; transition: color .3s ease, border-color .3s ease; }
.footer-email:hover { color: var(--clio); border-bottom-color: var(--clio); }
.footer-column h2 { margin: 0 0 22px; color: #777; font-family: var(--display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.footer-column a { display: block; margin: 11px 0; color: #bbb; font-family: var(--display); font-size: 14px; font-weight: 600; text-transform: uppercase; }
.footer-column a:hover { color: var(--white); }
.footer-cta { padding-left: 45px; border-left: 1px solid #333; }
.footer-cta h2 { margin: 13px 0 25px; font-family: var(--display); font-size: 34px; line-height: .95; text-transform: uppercase; }
.footer-bottom { min-height: 65px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #242424; color: #666; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  :root { --shell: min(100% - 40px, 1100px); }
  .site-header__inner { grid-template-columns: 165px 1fr 320px; }
  .brand-lockup { height: 28px; }
  .brand-lockup--dual { width: 155px; gap: 8px; }
  .header-search-form { width: 100%; }
  .desktop-nav { gap: 20px; }
  .statement__inner { grid-template-columns: 1fr; }
  .statement__inner .button { justify-self: start; }
  .footer-main { grid-template-columns: 1.3fr .7fr .7fr; }
  .footer-cta { grid-column: 1 / -1; padding: 40px 0 0; border-left: 0; border-top: 1px solid #333; }
}

@media (max-width: 1200px) {
  .top-strip { display: none; }
  body.modern-site { padding-top: 70px; }
  body.has-product-subnav { padding-top: 122px; }
  .product-subnav { top: 70px; }
  .site-header { top: 0; }
  .site-header__inner { height: 70px; grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .header-actions { grid-column: 2; }
  .header-search-form { display: none; }
  .search-toggle { display: grid !important; }
  .menu-toggle { display: block; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .mobile-panel { position: fixed; top: 70px; right: 0; bottom: 0; width: min(420px, 100%); display: block; padding: 22px; overflow-y: auto; background: #111; transform: translateX(100%); transition: transform .3s ease; }
  .mobile-panel.is-open { transform: translateX(0); }
  .mobile-panel__section { padding-bottom: 8px; }
  .mobile-panel > a, .mobile-submenu-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px 4px; border: 0; border-bottom: 1px solid #333; background: none; color: var(--white); font-family: var(--display); font-size: 18px; font-weight: 700; text-align: left; text-transform: uppercase; }
  .mobile-submenu-toggle span { color: var(--clio); font-size: 16px; }
  .mobile-link { display: block; width: 100%; padding: 18px 4px; border: 0; border-bottom: 1px solid #333; color: var(--white); font-family: var(--display); font-size: 18px; font-weight: 700; text-align: left; text-transform: uppercase; text-decoration: none; transition: color .2s ease, padding-left .2s ease; }
  .mobile-link:hover { color: var(--clio); padding-left: 12px; }
  .mobile-submenu {
    display: none;
    margin: 0 -22px 8px;
    padding: 8px 22px 14px;
    background: #242424;
    border-radius: 0;
  }
  .mobile-submenu.is-open { display: block; }
  .mobile-submenu a,
  .mobile-submenu a.mobile-cat-link {
    display: block;
    padding: 10px 0;
    color: #fff;
    font-family: var(--display);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0;
    transition: color .2s ease;
  }
  .mobile-submenu a:hover,
  .mobile-submenu a.mobile-cat-link:hover { color: var(--clio); }
  .nav-search__form { height: 75px; }
  .nav-group--categories .mega-menu--categories { display: none; }
  .nav-group--categories .nav-link__marker { display: none; }
  .nav-group--cat .cat-dropdown { display: none !important; }
  .nav-group--cat .nav-link__marker { display: none; }

  /* Product grid como carrusel horizontal */
  .products-section .product-grid {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    touch-action: pan-x pan-y;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 10px;
    margin: 0 -5px;
    padding: 0 5px 10px;
    grid-template-columns: none !important;
  }
  .products-section .product-grid::-webkit-scrollbar { display: none; }
  .products-section .product-grid > * {
    flex: 0 0 280px;
    scroll-snap-align: start;
  }
}

@media (max-width: 900px) {
  :root { --shell: calc(100% - 32px); }
  .hero { min-height: 0; display: flex; align-items: start; padding-bottom: 25px; }
  .hero__grid { grid-template-columns: 1fr; padding-top: 25px; }
  .hero__content { padding: 25px 0 0; }
  .hero__content > p { margin: 0 0 22px; }
  .hero__visual { height: 360px; }
  .hero__visual > img { height: 280px; }
  .hero-product { right: 0; bottom: 10px; width: 220px; min-height: 68px; }
  .hero-product:hover::before { width: calc(100% + 30px); }
  .section { padding: 80px 0; }
  .category-rail { grid-auto-columns: minmax(260px, 43%); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail__grid { grid-template-columns: 1fr; gap: 25px; }
  .product-gallery__stage { height: clamp(380px, 52vw, 500px); aspect-ratio: auto; }
  .product-gallery__slide { padding: 0; }
  .product-gallery__slide img { width: 380px; height: 380px; max-width: 100%; display: block; object-fit: contain; transform: none; }
  .product-summary { position: static; padding-inline: 20px; }
  .product-gallery__thumbs { padding-inline: 20px; }
  .product-description-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-desc-body { grid-template-columns: 1fr; gap: 30px; }
  .story-hero__grid, .contact-hero__grid { grid-template-columns: 1fr; gap: 55px; }
  .story-values__grid { grid-template-columns: 1fr; }
  .story-values article { min-height: 250px; }
  .story-values h2 { margin-top: 40px; }
  .contact-options__grid { grid-template-columns: 1fr 1fr; }
  .contact-options__grid > div:first-child { grid-column: 1 / -1; margin-bottom: 25px; }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; gap: 35px; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 24px); }
  .brand-lockup { width: 100px; height: 24px; }
  .brand-lockup--dual { width: 100px; gap: 6px; }
  .search-toggle { width: 40px; height: 40px; }
  .menu-toggle { width: 40px; height: 40px; }
  .nav-search__form { grid-template-columns: 22px 1fr 44px; gap: 10px; }
  .nav-search__form input { font-size: 14px; }
  .nav-search__form button { width: 44px; min-width: 0; padding: 0; font-size: 0; }
  .nav-search__form button::after { content: "→"; font-size: 18px; }
  .hero__grid { gap: 0; padding-top: 15px; }
  .hero__content { padding: 15px 0 0; }
  .hero h1 { margin: 14px 0 16px; font-size: clamp(42px, 14vw, 62px); }
  .hero__content > p { font-size: 14px; margin: 0 0 18px; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero__actions .button { text-align: center; }
  .hero__visual { height: 280px; }
  .hero__visual > img { height: 220px; }
  .hero-product { width: 190px; min-height: 62px; bottom: 5px; }
  .hero-product:hover::before { width: calc(100% + 25px); }
  .hero__ticker { height: 60px; }
  .hero__ticker div { font-size: 18px; }
  .section { padding: 65px 0 32px; }
  .section-heading { align-items: end; }
  .section-heading h2 { font-size: 39px; }
  .section-heading > .text-link { display: none; }
  .slider-controls button { width: 43px; height: 43px; }
  .slider-controls { display: none; }
  .category-rail { grid-auto-columns: 82%; }
  .category-card { height: 390px; }
  .products-section .product-grid > * { flex: 0 0 75%; }
  .product-card__media { height: 220px; }
  .product-card__media img { padding: 12px; }
  .product-card__action { display: none; }
  .product-card__content h3 { font-size: 16px; }
  .product-card__brand { top: 8px; left: 8px; }
  .statement { padding: 75px 0; }
  .statement__inner { gap: 25px; }
  .statement p { font-size: 39px; }
  .page-hero { padding: 70px 0 60px; }
  .page-hero h1 { font-size: 52px; }
  .search-hero-form { height: 62px; }
  .search-hero-form input { padding: 0 16px; font-size: 14px; }
  .search-hero-form button { min-width: 64px; }
  .search-hero-form button span { display: none; }
  .category-hero { min-height: 500px; }
  .category-hero h1 { font-size: 58px; }
  .category-tabs { top: 70px; }
  .category-tabs__rail { gap: 20px; }
  .product-detail { padding-top: 20px; padding-bottom: 10px; }
  .product-detail__breadcrumbs { display: none; }
  .product-gallery__stage { height: auto; aspect-ratio: 2 / 1; }
  .product-gallery__slide { padding: 0; }
  .product-gallery__slide img { width: 180px; height: 180px; max-width: 100%; display: block; object-fit: contain; transform: none; }
  .product-gallery__thumbs { gap: 7px; padding-inline: 0; }
  .product-gallery__thumbs button { flex-basis: 70px; height: 62px; }
  .product-summary h1 { font-size: 28px; }
  .product-description-section { padding: 60px 0; }
  .product-desc-header { margin-bottom: 40px; }
  .product-desc-header h2 { font-size: 30px; }
  .product-desc-body { grid-template-columns: 1fr; gap: 0; }
  .product-video-section { padding: 0px; border-radius: 12px 12px 0 0; border-right: 1px solid #e8eaed; border-bottom: 0; }
  .product-description-copy { padding: 30px 0 2px 2px; border-radius: 0 0 12px 12px; border-left: 1px solid #e8eaed; border-top: 0; }
  .product-back .shell { align-items: flex-start; flex-direction: column; }
  .product-back__link { width: 100%; justify-content: center; }
  .gallery-lightbox { padding: 20px; }
  .story-hero, .contact-hero { padding: 80px 0; }
  .story-hero h1, .contact-hero h1 { font-size: clamp(34px, 12vw, 58px); }
  .story-values { padding: 65px 0; }
  .story-banner { padding: 80px 0; }
  .story-banner h2 { font-size: 58px; }
  .contact-card { padding: 30px 24px; }
  .contact-form { padding: 24px 18px; }
  .contact-options { padding: 65px 0; }
  .contact-options__grid { grid-template-columns: 1fr; }
  .contact-options__grid > div:first-child { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr 1fr; padding: 70px 0 50px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-cta { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
}

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

/* ==========================================================================
   ORDEN RESPONSIVE: ESPECIFICACIONES & VIDEO
   ========================================================================== */
/* En móvil el video va después de la descripción (orden natural del HTML) */

/* ==========================================================================
   Menú de categorías Batek: panel blanco en tres columnas, estilo Oltouch
   ========================================================================== */
/* Dropdown individual por categoría en el nav */
@media (min-width: 1201px) {
  .site-header__inner {
    grid-template-columns: 140px minmax(0, 1fr) 320px;
  }
  .desktop-nav {
    gap: clamp(8px, 1vw, 20px);
    padding-inline: 10px;
    box-sizing: border-box;
  }
  .header-actions {
    min-width: 0;
    gap: 6px;
    box-sizing: border-box;
  }
  .header-actions .header-search-form {
    width: auto;
    min-width: 155px;
    flex: 1 1 auto;
  }
}

.desktop-nav { gap: clamp(12px, 1.8vw, 34px); }
.nav-group--cat { position: relative; flex-shrink: 0; }
.nav-group--cat .nav-link,
.desktop-nav > .nav-link {
  white-space: nowrap;
  font-size: clamp(9px, .8vw, 14px);
  letter-spacing: .045em;
}
.nav-group--cat .cat-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
  z-index: 1000;
}
.nav-group--cat.is-open .cat-dropdown,
.nav-group--cat:hover .cat-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-group--cat .cat-dropdown a {
  display: block;
  padding: 9px 22px;
  font-size: 13px;
  color: #444;
  text-decoration: none;
  transition: color .2s ease, padding-left .2s ease;
  white-space: nowrap;
}
.nav-group--cat .cat-dropdown a:hover {
  color: var(--clio);
  padding-left: 28px;
}
.nav-group--cat .cat-dropdown__all {
  font-weight: 700 !important;
  color: var(--ink) !important;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 4px;
  padding-bottom: 11px !important;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.nav-group--cat .cat-dropdown__all:hover {
  color: var(--clio) !important;
}
/* Animación del marker + → × para categorías individuales */
.nav-group--cat .nav-link__marker {
  display: inline-flex;
  flex: 0 0 18px;
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  border: 1px solid currentColor;
  border-radius: 4px;
  box-sizing: border-box;
  padding: 0;
  font-size: 12px;
  line-height: 18px;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.nav-group--cat.is-open .nav-link__marker {
  transform: rotate(45deg);
  background: var(--clio);
  border-color: var(--clio);
  color: var(--white);
}

/* Estilos legacy del mega-menu de categorías (mantenidos por compatibilidad) */
.nav-group--categories:hover .mega-menu--categories:not(.is-open),
.nav-group--categories .mega-menu--categories {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
}
.nav-group--categories.is-open .mega-menu--categories,
.nav-group--categories:hover.is-open .mega-menu--categories {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-group--categories .nav-link__marker {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  padding: 0;
  padding-bottom: 3px;
  margin-left: 3px;
  border: 1px solid rgba(255,255,255,.65);
  color: var(--white);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.nav-group--categories.is-open .nav-link__marker {
  transform: rotate(45deg);
  background: var(--clio);
  border-color: var(--clio);
  color: var(--white);
}
.nav-group--categories.is-open .nav-link__marker { font-size: 0; }
.nav-group--categories.is-open .nav-link__marker::after {
  content: '+';
  font-size: 14px;
}

.nav-group--categories .mega-menu--categories {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  min-height: auto;
  background: #fff;
  overflow: hidden;
}
.nav-group--categories .mega-menu__links {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-content: start;
  align-items: start;
  gap: 0 20px;
  padding: 22px 32px;
  background: #fff;
}
.nav-group--categories .category-menu-item {
  min-width: 0;
}
.nav-group--categories .category-menu-item__header {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.nav-group--categories .category-menu-item__name {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  margin: 0;
  padding: 12px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .045em;
  line-height: 1.15;
  text-transform: uppercase;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.nav-group--categories .category-menu-item__name:hover { color: var(--clio); }
.nav-group--categories .category-menu-item__marker {
  flex: 0 0 auto;
  margin-left: 4px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  color: var(--clio);
}
.nav-group--categories .category-menu-item__toggle {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe3e6;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.nav-group--categories .category-menu-item__toggle.is-open {
  transform: rotate(45deg);
  border-color: var(--clio);
  background: var(--clio);
  color: #fff;
}
.nav-group--categories .category-menu-item__subcategories {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  opacity: 0;
  transition: grid-template-rows .3s ease, opacity .25s ease;
}
.nav-group--categories .category-menu-item__subcategories::before,
.nav-group--categories .category-menu-item__subcategories::after { content: ''; min-height: 0; }
.nav-group--categories .category-menu-item__subcategories > a {
  min-height: 0;
  padding: 0 0 0 10px;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--body);
  font-size: 11px;
  line-height: 1.35;
  transition: padding .3s ease, color .2s ease;
}
.nav-group--categories .category-menu-item__subcategories.is-open {
  grid-template-rows: 1fr;
  padding-bottom: 10px;
  opacity: 1;
}
.nav-group--categories .category-menu-item__subcategories.is-open > a {
  min-height: 22px;
  padding-top: 4px;
  padding-bottom: 4px;
}
.nav-group--categories .category-menu-item__subcategories > a:hover { color: var(--clio); }

/* Animación fluida de apertura de subcategorías.
   Se utiliza max-height porque CSS no puede interpolar height:auto de forma suave. */
.nav-group--categories .category-menu-item__subcategories,
.nav-group--categories .category-menu-item__subcategories.is-open {
  display: block;
  max-height: 0;
  grid-template-rows: none;
  padding-bottom: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .38s cubic-bezier(.22, .61, .36, 1), opacity .22s ease, padding-bottom .38s ease;
}
.nav-group--categories .category-menu-item__subcategories.is-open {
  max-height: 260px;
  padding-bottom: 10px;
  opacity: 1;
}
.nav-group--categories .category-menu-item__subcategories > a,
.nav-group--categories .category-menu-item__subcategories.is-open > a {
  display: block;
  min-height: 22px;
  height: auto;
  padding: 4px 0 4px 10px;
  opacity: 1;
  overflow: visible;
  transition: color .2s ease, padding-left .2s ease;
}
.nav-group--categories .category-menu-item__subcategories:not(.is-open) > a {
  padding-top: 0;
  padding-bottom: 0;
}
.nav-group--categories .category-menu-item__subcategories > a:hover { padding-left: 15px; }

/* ==========================================================================
   CHECKOUT - Página de finalización de compra
   ========================================================================== */
.checkout-page { padding: 40px 0; background: #f8fafc; min-height: 650px; }
.checkout-page .shell { max-width: 1200px; margin: 0 auto; padding: 0 var(--shell-padding, 20px); }

.checkout-header { margin-bottom: 25px; }
.checkout-header h1 { font-size: 28px; font-weight: 800; color: #0f172a; margin: 0; font-family: var(--display); text-transform: uppercase; }
.checkout-header p { color: #64748b; font-size: 14px; margin-top: 5px; }

.checkout-alert { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: 12px 16px; border-radius: 8px; font-size: 13px; margin-bottom: 20px; }
.checkout-alert-info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }

.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 25px; align-items: start; }

.checkout-section { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 25px; margin-bottom: 25px; box-shadow: 0 4px 15px rgba(0,0,0,.03); }
.checkout-section h3 { font-size: 18px; font-weight: 800; color: #0f172a; margin: 0 0 20px; display: flex; align-items: center; gap: 8px; font-family: var(--display); }
.checkout-section h3 i { color: var(--clio); font-size: 22px; }

.checkout-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.form-group { margin-bottom: 14px; }
.form-group label { font-size: 13px; font-weight: 700; color: #334155; display: block; margin-bottom: 5px; }
.form-group label small { font-size: 11px; color: #10b981; display: block; margin-top: 4px; }
.form-control { width: 100%; height: 42px; padding: 0 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 14px; color: #0f172a; background: #fff; outline: 0; transition: border-color .2s ease, box-shadow .2s ease; box-sizing: border-box; }
.form-control:focus { border-color: var(--clio); box-shadow: 0 0 0 3px rgba(255,193,7,.15); }
select.form-control { cursor: pointer; }
textarea.form-control { height: auto; padding: 10px 12px; min-height: 80px; resize: vertical; }

.radio-inline { display: inline-flex; align-items: center; gap: 6px; margin-right: 20px; cursor: pointer; font-size: 13px; color: #334155; }
.radio-inline input { cursor: pointer; }

.checkout-factura { display: none; background: #f8fafc; padding: 15px; border-radius: 8px; border: 1px solid #e2e8f0; margin-top: 15px; }
.checkout-factura h4 { font-size: 13px; font-weight: 700; color: #0f172a; margin: 0 0 12px; text-transform: uppercase; border-bottom: 1px solid #cbd5e1; padding-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.checkout-factura h4 i { font-size: 16px; color: var(--clio); }

.delivery-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.delivery-option-box { border: 2px solid #e2e8f0; padding: 15px; border-radius: 8px; display: block; cursor: pointer; background: #fff; transition: border-color .2s ease, background .2s ease; }
.delivery-option-box:hover { border-color: #94a3b8; }
.delivery-option-box.is-selected { border-color: var(--clio); background: #fffbeb; }
.delivery-option-box.is-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.delivery-option-box.is-disabled input { cursor: not-allowed; }
.delivery-option-box input { cursor: pointer; }
.delivery-option-box strong { margin-left: 8px; color: #0f172a; font-size: 14px; }
.delivery-option-box p { font-size: 11px; color: #64748b; margin: 6px 0 0 24px; }
.delivery-option-box p.unavailable { font-size: 10px; color: #ef4444; font-weight: 600; }
.delivery-option-box p.free { color: #10b981; font-weight: 700; }

.checkout-fields { margin-top: 20px; }
.checkout-notice { background: #fef3c7; border: 1px solid #fcd34d; border-radius: 8px; padding: 10px; margin-top: 10px; font-size: 12px; color: #92400e; display: flex; align-items: center; gap: 6px; }
.checkout-retiro { display: none; margin-top: 20px; background: #f0fdf4; border: 1px solid #bbf7d0; padding: 15px; border-radius: 8px; }
.checkout-retiro h4 { font-size: 14px; font-weight: 700; color: #166534; margin: 0 0 5px; display: flex; align-items: center; gap: 6px; }
.checkout-retiro p { font-size: 13px; color: #15803d; margin: 0; line-height: 1.6; }

.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.payment-option-box { border: 2px solid #e2e8f0; padding: 15px; border-radius: 8px; display: block; cursor: pointer; background: #fff; transition: border-color .2s ease, background .2s ease; }
.payment-option-box:hover { border-color: #94a3b8; }
.payment-option-box.is-selected { border-color: var(--clio); background: #fffbeb; }
.payment-option-box strong { margin-left: 8px; color: #0f172a; font-size: 14px; }
.payment-option-box p { font-size: 12px; color: #64748b; margin: 6px 0 0 24px; }

.payment-transfer-info { display: none; margin-top: 20px; background: #f8fafc; border: 1px solid #e2e8f0; padding: 15px; border-radius: 8px; }
.payment-transfer-info h4 { font-size: 14px; font-weight: 700; color: #0f172a; margin: 0 0 8px; }
.payment-transfer-info p { font-size: 13px; color: #334155; line-height: 1.8; margin: 0; }

/* Resumen del pedido (sidebar) */
.checkout-summary { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 25px; box-shadow: 0 4px 15px rgba(0,0,0,.03); position: sticky; top: 100px; }
.checkout-summary h3 { font-size: 18px; font-weight: 800; color: #0f172a; margin: 0 0 15px; border-bottom: 1px solid #e2e8f0; padding-bottom: 10px; font-family: var(--display); text-transform: uppercase; }

.summary-items { max-height: 220px; overflow-y: auto; margin-bottom: 15px; padding-right: 5px; }
.summary-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #f1f5f9; font-size: 13px; }
.summary-item__info { flex: 1; margin-right: 10px; }
.summary-item__name { color: #0f172a; display: block; font-size: 12px; font-weight: 700; }
.summary-item__qty { font-size: 11px; color: #94a3b8; }
.summary-item__price { color: var(--clio); font-size: 13px; font-weight: 700; white-space: nowrap; }

.summary-coupon { background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 8px; padding: 12px; margin-bottom: 20px; }
.summary-coupon label { font-size: 12px; font-weight: 700; color: #334155; margin-bottom: 6px; display: block; }
.summary-coupon-row { display: flex; gap: 8px; }
.summary-coupon-row input { flex: 1; height: 38px; padding: 0 10px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 12px; text-transform: uppercase; outline: 0; }
.summary-coupon-row input:focus { border-color: var(--clio); }
.summary-coupon-row button { height: 38px; padding: 0 16px; border: 0; border-radius: 6px; background: #0f172a; color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; text-transform: uppercase; letter-spacing: .05em; transition: background .2s ease; }
.summary-coupon-row button:hover { background: var(--clio); color: #fff; }
.summary-coupon-feedback { font-size: 11px; margin-top: 6px; }

.summary-totals { font-size: 14px; line-height: 2; }
.summary-totals__row { display: flex; justify-content: space-between; align-items: center; }
.summary-totals__row span { color: #64748b; }
.summary-totals__row strong { color: #0f172a; }
.summary-totals__row--discount { color: #ef4444; }
.summary-totals__row--discount strong { color: #ef4444; }
.summary-totals__total { border-top: 2px solid #0f172a; padding-top: 12px; margin-top: 12px; display: flex; justify-content: space-between; font-size: 19px; }
.summary-totals__total strong { color: var(--clio); }

.summary-consent { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px; margin: 20px 0 15px; }
.summary-consent label { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; font-size: 12px; color: #475569; line-height: 1.5; }
.summary-consent label input { margin-top: 2px; flex-shrink: 0; }
.summary-consent label small { color: #94a3b8; display: block; margin-top: 4px; }

.btn-checkout-submit { width: 100%; background: #dc2626; border: 0; border-radius: 8px; padding: 15px; font-size: 16px; font-weight: 800; color: #fff; cursor: pointer; text-transform: uppercase; letter-spacing: .05em; transition: background .2s ease, transform .1s ease; display: flex; align-items: center; justify-content: center; gap: 6px; }
.btn-checkout-submit:hover { background: #991b1b; }
.btn-checkout-submit:active { transform: scale(.98); }
.btn-checkout-submit i { font-size: 20px; }

/* Responsive checkout */
@media (max-width: 1024px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
}
@media (max-width: 768px) {
  .checkout-grid-2, .delivery-options, .payment-options { grid-template-columns: 1fr; }
  .checkout-grid-3 { grid-template-columns: 1fr; }
  .checkout-section { padding: 18px; }
  .checkout-header h1 { font-size: 22px; }
}

/* Review card hover */
.review-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.09) !important; }

/* Botón flotante de WhatsApp */
.whatsapp-float { position: fixed; bottom: 110px; right: 24px; z-index: 9999; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,.4); transition: transform .3s ease, box-shadow .3s ease; text-decoration: none; }

/* Loader flotante para añadir al carrito */
.cart-loader { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; background: rgba(15,23,42,0); pointer-events: none; transition: background .3s ease; }
.cart-loader.is-visible { background: rgba(15,23,42,.5); pointer-events: auto; }
.cart-loader__inner { background: #fff; border-radius: 16px; padding: 28px 36px; display: flex; align-items: center; gap: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.25); transform: scale(.8); opacity: 0; transition: transform .3s cubic-bezier(.2,.7,.2,1), opacity .3s ease; }
.cart-loader.is-visible .cart-loader__inner { transform: scale(1); opacity: 1; }
.cart-loader__icon { color: var(--clio); display: flex; align-items: center; justify-content: center; animation: cartBounce .6s ease-in-out infinite; }
.cart-loader__text { font-family: var(--display); font-size: 15px; font-weight: 700; color: #0f172a; white-space: nowrap; }
@keyframes cartBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.5); }
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25d366; opacity: .6; animation: whatsappPulse 2s ease-out infinite; z-index: -1; }
.whatsapp-float__tooltip { position: absolute; right: 70px; top: 50%; transform: translateY(-50%); background: #0f172a; color: #fff; padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s ease; font-family: var(--display); }
.whatsapp-float__tooltip::after { content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); border: 5px solid transparent; border-left-color: #0f172a; }
.whatsapp-float:hover .whatsapp-float__tooltip { opacity: 1; }
@keyframes whatsappPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }
@media (max-width: 640px) {
  .whatsapp-float { width: 50px; height: 50px; bottom: 95px; right: 29px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
  .whatsapp-float__tooltip { display: none; }
}

/* Tawk.to en su posición por defecto */
#tawkchat-minified-wrapper, #tawkchat-chat-bubble, .tawkchat-minified-wrapper { bottom: 24px !important; right: 24px !important; transition: transform .3s ease !important; }
#tawkchat-minified-wrapper:hover, #tawkchat-chat-bubble:hover, .tawkchat-minified-wrapper:hover { transform: scale(1.1) !important; }
@media (max-width: 640px) {
  #tawkchat-minified-iframe-element { width: 50px !important; min-width: 50px !important; max-width: 50px !important; height: 50px !important; min-height: 50px !important; max-height: 50px !important; bottom: 18px !important; right: 18px !important; left: auto !important; transform: none !important; }
  #tawkchat-minified-iframe-element:hover { transform: scale(1.1) !important; transform-origin: bottom right !important; }
  #tawkchat-minified-wrapper, #tawkchat-chat-bubble, .tawkchat-minified-wrapper { bottom: 18px !important; right: 18px !important; }
}
/* Ocultar texto "We are here" de Tawk.to */
#tawkchat-minified-text-wrapper, .tawkchat-minified-text-wrapper { display: none !important; }

@media (max-width: 1080px) {
  .reviews-grid {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 0 5px 10px;
    margin: 0 -5px;
    grid-template-columns: none !important;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .reviews-grid > * { flex: 0 0 300px; scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .reviews-grid > * { flex: 0 0 80%; }
}

/* ==========================================================================
   MODAL DE ALERTA - diseño Batek
   ========================================================================== */
.batek-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15,23,42,.6); backdrop-filter: blur(4px); z-index: 99999; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s ease; }
.batek-modal-overlay.is-open { opacity: 1; }
.batek-modal { background: #fff; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.3); max-width: 480px; width: 90%; overflow: hidden; transform: translateY(20px) scale(.95); transition: transform .25s ease; }
.batek-modal-overlay.is-open .batek-modal { transform: translateY(0) scale(1); }
.batek-modal-header { padding: 20px 25px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #f1f5f9; }
.batek-modal-header--error { background: linear-gradient(135deg, #fef2f2, #fee2e2); }
.batek-modal-header--success { background: linear-gradient(135deg, #f0fdf4, #dcfce7); }
.batek-modal-icon { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 24px; font-weight: 800; font-family: var(--display); }
.batek-modal-icon--error { background: #ef4444; color: #fff; }
.batek-modal-icon--success { background: #10b981; color: #fff; }
.batek-modal-title { font-size: 17px; font-weight: 800; color: #0f172a; margin: 0; font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; }
.batek-modal-subtitle { font-size: 12px; color: #64748b; margin: 2px 0 0; }
.batek-modal-body { padding: 20px 25px; max-height: 300px; overflow-y: auto; }
.batek-modal-list { list-style: none; margin: 0; padding: 0; }
.batek-modal-list li { font-size: 13px; color: #334155; padding: 8px 0; border-bottom: 1px solid #f8fafc; line-height: 1.5; }
.batek-modal-list li:last-child { border-bottom: none; }
.batek-modal-footer { padding: 15px 25px 20px; display: flex; justify-content: flex-end; }
.batek-modal-btn { background: var(--clio); color: #0f172a; border: none; border-radius: 8px; padding: 10px 28px; font-size: 14px; font-weight: 800; cursor: pointer; text-transform: uppercase; letter-spacing: .05em; transition: filter .2s ease; font-family: var(--display); }
.batek-modal-btn:hover { filter: brightness(.85); }

/* ==========================================================================
   BOLETA / FACTURA - compra_finalizada.php
   ========================================================================== */
.invoice-wrapper { width: 100%; overflow: hidden; position: relative; }
.invoice-box { width: 800px; min-width: 800px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 32px 36px; box-shadow: 0 4px 15px rgba(0,0,0,.03); box-sizing: border-box; transform-origin: top center; position: absolute; left: 50%; }

.invoice-header { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 20px; border-bottom: 2px solid #e2e8f0; margin-bottom: 28px; }
.invoice-logo-area h1 { font-size: 22px; font-weight: 800; color: #0f172a; margin: 0 0 4px; font-family: var(--display); text-transform: uppercase; letter-spacing: 1px; }
.invoice-logo-area p { margin: 2px 0; font-size: 12px; color: #64748b; line-height: 1.5; }

.invoice-doc-badge { text-align: right; flex-shrink: 0; }
.invoice-doc-badge h2 { font-size: 16px; font-weight: 800; color: #fff; background: var(--clio); padding: 6px 16px; border-radius: 6px; margin: 0 0 6px; text-transform: uppercase; letter-spacing: .1em; display: inline-block; }
.invoice-doc-badge .num { font-size: 13px; font-weight: 700; color: #0f172a; background: #f8fafc; border: 1px solid #e2e8f0; padding: 6px 14px; border-radius: 6px; display: inline-block; }

.invoice-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.invoice-info-col { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 18px 20px; }
.invoice-info-col h3 { font-size: 11px; font-weight: 700; color: var(--clio); text-transform: uppercase; letter-spacing: .1em; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid #e2e8f0; }
.invoice-info-col p { margin: 4px 0; font-size: 12.5px; color: #334155; line-height: 1.6; }
.invoice-info-col p strong { color: #64748b; font-weight: 600; font-size: 11.5px; display: inline-block; min-width: 130px; }
.invoice-info-col hr { border: none; border-top: 1px dashed #cbd5e1; margin: 10px 0; }

.invoice-table-items { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 12.5px; }
.invoice-table-items thead th { background: #0f172a; color: #fff; padding: 10px 14px; font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: .05em; text-align: left; }
.invoice-table-items thead th:first-child { border-radius: 6px 0 0 0; }
.invoice-table-items thead th:last-child { border-radius: 0 6px 0 0; }
.invoice-table-items tbody td { padding: 10px 14px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; color: #334155; }
.invoice-table-items tbody tr:nth-child(even) td { background: #f8fafc; }
.invoice-table-items tbody td code { font-size: 11px; background: #f1f5f9; padding: 2px 6px; border-radius: 4px; font-family: monospace; color: #64748b; }
.invoice-table-items tbody td strong { font-weight: 700; color: #0f172a; }

.invoice-totals { display: flex; justify-content: flex-end; margin-bottom: 24px; }
.invoice-totals table { width: 320px; border-collapse: collapse; font-size: 13px; }
.invoice-totals table td { padding: 6px 0; color: #64748b; }
.invoice-totals table tr.final td { border-top: 2px solid #0f172a; padding-top: 12px; margin-top: 8px; font-weight: 800; font-size: 15px; color: #0f172a; }
.invoice-totals table tr.final td:last-child { color: var(--clio); font-size: 18px; }

/* ==========================================================================
   BATEK NEW TECH: PRODUCT CARD MODERNA
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px 22px;
}

.batek-card {
  position: relative;
  background: linear-gradient(180deg, #f7f6f3 0%, #edebe6 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  overflow: hidden;
}

.batek-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.08), 
              0 0 0 1px rgba(15, 23, 42, 0.03);
}

/* Área Visual de la Imagen */
.batek-card__visual {
  position: relative;
  height: 240px;
  background: white;
  border-radius: calc(var(--radius-md) - 4px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.batek-card__media-link {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.batek-card__media-link img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.batek-card:hover .batek-card__media-link img {
  transform: scale(1.08);
}

/* Badges / Etiquetas Flotantes */
.batek-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.batek-badge {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}

.batek-badge--discount {
  background: rgba(255, 45, 85, 0.92);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 45, 85, 0.25);
}

.batek-badge--featured {
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
}

.batek-card__rating {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 3px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.batek-card__rating svg {
  width: 13px;
  height: 13px;
  color: #f59e0b;
}

/* Cuerpo de la Card */
.batek-card__body {
  padding: 16px 6px 4px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.batek-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 11px;
  color: var(--muted);
}

.batek-card__category {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.batek-card__sku {
  font-family: monospace;
  font-size: 10px;
  font-weight: 800;
}

.batek-card__title {
  margin: 0 0 14px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  min-height: 40px;
}

.batek-card__title a {
  color: var(--ink);
  transition: color 0.2s ease;
}

.batek-card__title a:hover {
  color: var(--batek-primary);
}

/* Marca del producto (bajo el nombre; solo si tiene) */
.batek-card__brand {
  margin: -8px 0 14px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

/* Footer y Precios */
.batek-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.batek-card__pricing {
  display: flex;
  flex-direction: column;
}

.batek-price--current {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.batek-price--old {
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
  margin-top: -2px;
}

/* Botón Añadir al Carrito Modernizado */
.batek-btn-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.batek-btn-cart:hover {
  background: var(--batek-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--batek-glow);
}

.batek-badge--soldout {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  padding: 6px 10px;
  background: #f1f5f9;
  border-radius: 6px;
}

/* ==========================================================================
   DETALLES HERO INDEX (Aspecto Cyber-Clean)
   ========================================================================== */
.hero {
  background: radial-gradient(circle at 80% 20%, #171d2b 0%, #080a0f 70%) !important;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: none; /* Diferente a Clio: permite mayúsculas y minúsculas elegantes */
}

.hero .button {
  border-radius: var(--radius-sm); /* Salir del 0px plano de Clio */
}

.banners-rail,
.banner-slide,
.banner-slide img {
  border-radius: 0 !important;
}

.banner-arrow {
  border-radius: 0 !important;
}

/* Contenedor de los indicadores (para separarlos del texto/borde inferior) */
.banner-dots {
  display: flex !important;
  gap: 8px !important;
  bottom: 20px !important;
  z-index: 10 !important;
}

/* Indicadores inactivos: Gris oscuro y rectos */
.banner-dot {
  width: 28px !important;
  height: 4px !important;
  border-radius: 0 !important;
  background-color: #333338 !important; /* Gris oscuro */
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  opacity: 1 !important;
  transition: background-color 0.25s ease, transform 0.25s ease !important;
}

.banner-dot:hover {
  background-color: #55555c !important;
}

/* Indicador seleccionado / activo: Rojo Batek */
.banner-dot.is-active {
  background-color: var(--batek-primary, #ff2d55) !important; /* Rojo */
  transform: scaleY(1.2);
}

@media (min-width: 1101px) {
  .product-gallery__thumbs { padding-left: 24px; }
}

@media (min-width: 901px) {
  .product-summary { padding-right: 32px; }
}


/* ==========================================================================
   PARCHE RESPONSIVE FIX: FICHA DE PRODUCTO MÓVIL Y TABLET (CORREGIDO)
   ========================================================================== */
@media (max-width: 900px) {
  .product-gallery__slide {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .product-gallery__slide {
    padding: 10px;
  }

  /* Selector de cantidad y botón añadir en la misma línea */
  .product-buy-actions {
    display: grid !important;
    grid-template-columns: 4fr 8fr;
    gap: 8px;
  }
  .product-qty-stepper {
    width: 100% !important;
    min-width: 0;
  }
  .product-qty-stepper button {
    width: 36px;
    flex: 0 0 36px;
  }
  .product-qty-stepper input {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
  }
  .product-add-btn {
    width: 100% !important;
  }

  /* Reordenar: tags debajo de botones de compra y ver especificaciones */
  .product-summary { display: flex; flex-direction: column; }
  .product-tags-rail { order: 50; margin-top: 20px; }
  .product-summary__rule { order: 49; }
  .product-cart-link { order: 48; }
  .product-buy-actions { order: 47; }
}

/* ==========================================================================
   SELECTOR DE VARIANTES (estilo Shopify + restricción cruzada Amazon)
   ========================================================================== */
.product-options {
  margin: 18px 0 22px;
  background: #f7f7f8;
  border: 1px solid #ececec;
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
}
.product-option {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  flex: 0 1 auto;
  min-width: 0;
}
.product-option__label {
  font-family: var(--display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--black);
  font-weight: 700;
  min-width: 90px;
}
.product-option__current {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
  margin-right: 6px;
}
.product-option__values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.option-value {
  position: relative;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1.5px solid #d4d4d489;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}
/* Botones de texto (no color): fondo crema poco saturado */
.option-value:not([style*="background"]) {
  background: #fdf9f8;
}
.option-value:not([style*="background"]).is-active {
  background: #f7f7f7;
}
.option-value:hover:not(.is-disabled):not(:disabled) {
  border-color: var(--gray);
  transform: translateY(-1px);
}
.option-value.is-active {
  border-color: var(--gray);
  border-width: 2px;
  box-shadow: 0 0 0 1px var(--gray) inset;
  font-weight: 700;
}
/* Swatches de color (sin texto, solo color de fondo) */
.option-value[style*="background"] {
  font-size: 0;
  padding: 0;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(0,0,0,.15);
}
.option-value[style*="background"][style*="#ffffff"],
.option-value[style*="background"][style*="#fff"] {
  border-color: #d4d4d4;
}
.option-value.is-active[style*="background"] {
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--ink);
  border-color: transparent;
}
/* Estado: combinación no existe (opacidad y saturación bajas, sigue seleccionable) */
.option-value.is-unavailable {
  opacity: .3;
  filter: grayscale(0.85) saturate(0.3);
  cursor: pointer;
}
.option-value.is-unavailable:hover {
  opacity: .5;
  filter: grayscale(0.5) saturate(0.5);
}
/* Estado: deshabilitado legacy (tachado) */
.option-value.is-disabled,
.option-value:disabled {
  opacity: .35;
  cursor: not-allowed;
  text-decoration: line-through;
  pointer-events: none;
}
/* Estado: existe pero agotado (atenuado sin tachar, sigue seleccionable) */
.option-value.is-out-of-stock {
  opacity: .5;
  position: relative;
}
.option-value.is-out-of-stock::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 47%, rgba(220,38,38,.6) 47%, rgba(220,38,38,.6) 53%, transparent 53%);
  pointer-events: none;
}

@media (max-width: 640px) {
  .product-options { padding: 5px 14px; gap: 14px; }
  .product-option { gap: 8px 10px; }
  .product-option__label { min-width: 100%; font-size: 11px; }
  .option-value { min-width: 38px; height: 38px; font-size: 12px; padding: 0 10px; }
  .option-value[style*="background"] { width: 34px; height: 34px; }
}

@media (max-width: 480px) {
  .product-option__label { min-width: auto; }
}


/* ==========================================================================
   PARCHE RESPONSIVE FIX: CARRITO CORTADO EN TABLET/NOTEBOOK (900px - 1100px)
   ========================================================================== */
@media (max-width: 1100px) {
  /* Apila las columnas del carrito antes de que se queden sin espacio */
  .cart-layout {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  /* Al estar apilado, quitamos el sticky (que quede fijo) para que fluya natural hacia abajo */
  .cart-summary-pane {
    position: static !important;
  }
  
  /* Hacemos que la caja de resumen ocupe el 100% del ancho disponible */
  .cart-summary-card {
    width: 100% !important;
  }
}

/* ==========================================================================
   PARCHE FIX: CARRUSELES ATASCADOS AL ARRASTRAR (GHOST DRAGGING)
   ========================================================================== */
.featured-rail *,
.category-rail *,
.banners-rail *,
.blog-grid * {
  /* 1. Previene que el navegador cree un "fantasma" de la imagen/enlace al arrastrar */
  -webkit-user-drag: none !important;
  user-drag: none !important;
  
  /* 2. Evita que el texto se seleccione por accidente, lo que también bloquea el click */
  -webkit-user-select: none !important;
  user-select: none !important;
}

/* Permitir que los botones sigan siendo clickeables y arrastrables de forma fluida */
.slider-controls button,
.banner-arrow {
  pointer-events: auto !important;
}

/* ==========================================================================
   PÁGINA DESPACHOS Y ENTREGAS (despachos_seleccionados.php)
   ========================================================================== */
.despachos-page {
  background: var(--white);
}

.despachos-contenido {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 0 60px;
  font-family: var(--body);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.8;
}

.despachos-contenido p {
  margin: 0 0 18px;
}

.despachos-titulo {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 40px 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line, #e2e8f0);
}

.despachos-subtitulo {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--clio, #ff2d55);
  margin: 32px 0 12px;
}

.despachos-comunas {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
}

.despachos-nota {
  margin-top: 36px;
  padding: 20px 24px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
}

.despachos-nota strong {
  display: block;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #b45309;
  margin-bottom: 8px;
}

.despachos-nota p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #78350f;
}

@media (max-width: 768px) {
  .despachos-contenido {
    font-size: 14px;
    padding: 10px 0 40px;
  }
  .despachos-titulo {
    font-size: 22px;
  }
  .despachos-subtitulo {
    font-size: 15px;
  }
}

/* Lista de condiciones (cambios y devoluciones) */
.despachos-lista {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.despachos-lista li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  border-bottom: 1px solid #f1f5f9;
}
.despachos-lista li:last-child {
  border-bottom: none;
}
.despachos-lista li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--clio, #ff2d55);
  border-radius: 50%;
}

/* Enlaces relacionados al pie */
.despachos-enlaces {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line, #e2e8f0);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.despachos-enlaces a {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted, #64748b);
  padding: 6px 14px;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 6px;
  transition: all 0.2s ease;
}
.despachos-enlaces a:hover {
  color: var(--clio, #ff2d55);
  border-color: var(--clio, #ff2d55);
  transform: translateY(-1px);
}

/* Nota de precio (términos y condiciones) */
.despachos-nota-precio {
  font-size: 14px;
  color: var(--clio, #ff2d55);
  font-weight: 600;
  margin: 0 0 24px;
}

/* Bloque de contacto */
.despachos-contacto {
  margin-top: 36px;
  padding: 24px;
  background: #f8fafc;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 10px;
}
.despachos-contacto h3 {
  margin: 0 0 14px;
}
.despachos-contacto p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.7;
}
.despachos-contacto p:last-child {
  margin-bottom: 0;
}
.despachos-contacto a {
  color: var(--clio, #ff2d55);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.despachos-contacto a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   ACCESOS A POLÍTICAS (about.php)
   ========================================================================== */
.about-policies-section {
  padding: 76px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-policies-header {
  margin-bottom: 30px;
}
.about-policies-header h2 {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.about-policies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.about-policy-card {
  min-height: 190px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.about-policy-card:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}
.about-policy-card__number {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  color: var(--clio);
  letter-spacing: .12em;
}
.about-policy-card__title {
  max-width: 230px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}
.about-policy-card__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid currentColor;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.about-policy-card__link b {
  font-size: 20px;
  line-height: .7;
}
@media (max-width: 768px) {
  .about-policies-section {
    padding: 54px 0;
  }
  .about-policies-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .about-policy-card {
    min-height: 150px;
  }
  .about-policy-card__title {
    font-size: 19px;
  }
}