/* =====================================================
   ECN Express 2.0 — Design System
   Tokens extraídos del tema Enterprise v3.7 real
   ===================================================== */

/* Sofia Pro — auto-hosted (Light, Regular y Bold) */
@font-face {
  font-family: 'Sofia Pro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/SofiaPro-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'Sofia Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/SofiaPro-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Sofia Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/SofiaPro-Bold.ttf') format('truetype');
}
/* Pesos intermedios/altos (500-800) → usan Bold; el resto → Regular */
@font-face {
  font-family: 'Sofia Pro';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url('/assets/fonts/SofiaPro-Bold.ttf') format('truetype');
}

/* ── TOKENS — Paleta de marca ECN ──
   #2a2b2a dark principal · #ff8300 naranja de acción (botones)
   #515150 gris secundario · #e9e9e9 gris claro express
   #f6f6f6 gris de fondo   · #b9b9b9 gris de apoyo
   Botones: fondo #ff8300, hover #2a2b2a (decisión de marca). */
:root {
  /* Brand */
  --orange:        #ff8300;
  --orange-hover:  #2a2b2a;
  --orange-light:  rgba(255,131,0,.09);
  --orange-border: rgba(255,131,0,.25);
  --dark:          #2a2b2a;
  --dark-2:        #515150;
  --dark-3:        #2a2b2a;
  --dark-grad:     linear-gradient(225deg,rgba(81,81,80,.88) 8%,rgba(58,59,58,1) 56%,rgba(42,43,42,1) 92%);
  --orange-grad:   linear-gradient(46deg,#f27a00 8%,#ff8300 55%,#ff9422 92%);

  /* Neutrals */
  --white:    #ffffff;
  --bg:       #f6f6f6;
  --bg-2:     #e9e9e9;
  --panel:    #f6f6f6;
  --border:   #e9e9e9;
  --border-2: #dcdcdc;
  --text:     #2a2b2a;
  --text-2:   #515150;
  --text-3:   #7c7c7b;
  --text-4:   #b9b9b9;

  /* Semantic */
  --success:    #059669;
  --success-bg: #d1fae5;
  --warning:    #d97706;
  --warning-bg: #fef3c7;
  --danger:     #dc2626;
  --danger-bg:  #fee2e2;
  --info:       #2563eb;
  --info-bg:    #dbeafe;

  /* Typography — Sofia Pro (Regular + Bold) en todo el sitio */
  --font: 'Sofia Pro', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Editables desde Editar Tienda → Identidad → Colores */
  --footer-bg: var(--white);
  --btn-font-size: 13.5px;
  --footer-font-size: 13px;

  /* Shape — from theme settings */
  --r-btn:    26px;   /* pills — input_button_border_radius */
  --r-card:   16px;   /* drawer_border_radius */
  --r-sm:     6px;
  --r-md:     10px;
  --r-lg:     14px;
  --r-xl:     20px;
  --r-full:   9999px;

  /* Layout */
  --max-w:    1260px;  /* max_page_width */
  --hdr-h:    130px;
  --bar-h:    40px;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(0,0,0,.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.07);
  --shadow-md: 0 6px 20px rgba(0,0,0,.09);
  --shadow-lg: 0 12px 36px rgba(0,0,0,.11);
  --shadow-xl: 0 24px 60px rgba(0,0,0,.14);
  --shadow-orange: 0 8px 24px rgba(255,131,0,.28);

  /* Transitions */
  --t-fast:   .12s ease;
  --t-base:   .2s ease;
  --t-slow:   .35s cubic-bezier(.4,0,.2,1);
}

/* ── RESET ── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* overflow-x:clip (no "hidden") — evita el scroll horizontal SIN romper
   position:sticky en los hijos (el header dejaba de "sticky"-arse con hidden) */
body { font-family: var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

/* ── LAYOUT ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 72px 0; }
.section-sm { padding: 48px 0; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5 { font-family: var(--font); font-weight: 700; line-height: 1.18; letter-spacing: -.02em; color: var(--dark); }

/* ── ANNOUNCEMENT BAR ── */
.ann-bar {
  background: var(--dark); color: rgba(255,255,255,.65);
  font-size:13px; font-weight: 500;
  height: var(--bar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; gap: 16px;
}
.ann-bar a { color: rgba(255,255,255,.85); transition: color var(--t-fast); }
.ann-bar a:hover { color: var(--white); }
.ann-marquee { display: flex; align-items: center; gap: 28px; overflow: hidden; }
.ann-sep { color: var(--orange); font-size: 16px; flex-shrink: 0; }
.ann-right { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.ann-right a { display: flex; align-items: center; gap: 5px; font-size:13px; color: rgba(255,255,255,.5); transition: color var(--t-fast); }
.ann-right a:hover { color: rgba(255,255,255,.85); }
.ann-right svg { width: 12px; height: 12px; }

/* ── HEADER ── */
.site-header {
  background: var(--white);
  height: var(--hdr-h);
  position: sticky; top: 0; z-index: 300;
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.header-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 24px;
  height: 100%;
  display: grid; grid-template-columns: 240px 1fr auto;
  align-items: center; gap: 24px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.logo-mark {
  height: 44px; width: auto;
  flex-shrink: 0;
  /* Sin marco/máscara: el logo ya trae su propio diseño (círculo, texto, etc.)
     y debe verse COMPLETO, sin recortarlo con overflow:hidden ni border-radius. */
}
.logo-mark img { height: 100%; width: auto; max-width: 240px; object-fit: contain; display: block; }
/* El header ya no lleva el texto "ECN Express" aparte — el logo se muestra más grande */
.logo-mark-only .logo-mark { height: 84px; }
.logo-mark-only .logo-mark img { max-width: 320px; }
.logo-mark-svg {
  width: 44px; height: 44px;
  background: var(--orange-grad); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 3px 10px rgba(255,131,0,.22);
}
.logo-mark-svg svg { width: 21px; height: 21px; color: var(--white); }
.logo-wordmark { display: flex; flex-direction: column; gap: 2px; }
.logo-name {
  font-size:16px; font-weight: 800; line-height: 1; letter-spacing: -.03em;
  color: var(--dark);
}
.logo-name span { color: var(--orange); }
.logo-sub  { font-size:13px; color: var(--text-4); letter-spacing: .07em; text-transform: uppercase; font-weight: 600; }

/* Search */
.header-search { position: relative; flex: 1; width: 100%; max-width: 700px; justify-self: start; }
.search-wrap {
  display: flex; align-items: stretch; position: relative;
  border: 2px solid #d1d5db; border-radius: 28px;
  background: #f8f9fa;
  transition: border-color .18s, box-shadow .18s, background .18s;
  overflow: visible; height: 48px;
}
.search-wrap:focus-within {
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(255,131,0,.15), 0 4px 20px rgba(255,131,0,.10);
}
/* Ícono lupa: CSS puro, siempre visible, sin JS */
.search-input {
  flex: 1; padding: 0 14px 0 44px; font-size: 14px; color: var(--text);
  background: transparent; border: none; outline: none; min-width: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23adb5bd' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 16px center;
  background-size: 17px 17px;
  transition: background-image .18s;
}
.search-wrap:focus-within .search-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8300' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
}
.search-input::placeholder { color: #adb5bd; transition: opacity .22s; }
.search-input.ls-ph-out::placeholder { opacity: 0; }
/* Botón buscar */
.search-go {
  padding: 0 24px; background: var(--orange); color: var(--white);
  font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 7px;
  transition: background var(--t-fast); white-space: nowrap; flex-shrink: 0;
  border-radius: 0 26px 26px 0; border-left: none;
}
.search-go:hover { background: var(--orange-hover); }
.search-go svg { width: 15px; height: 15px; }
/* "/" atajo — inyectado por JS, invisible en focus */
.ls-hdr-icon { display: none; } /* icon ya va en CSS */
.ls-kbd-hint {
  display: flex; align-items: center; padding: 0 10px; flex-shrink: 0;
  transition: opacity .18s;
}
.search-wrap:focus-within .ls-kbd-hint { opacity: 0; pointer-events: none; }
.ls-kbd-hint kbd {
  font-size:13px; font-weight: 700; font-family: monospace;
  background: #f0f2f5; border: 1.5px solid #d1d5db;
  border-radius: 5px; padding: 1px 7px; color: #adb5bd;
}
@keyframes fadeSlideDown { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 16px; }
.hdr-btn {
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  gap: 3px; padding: 9px 13px; border-radius: var(--r-md);
  color: var(--text-2); transition: background var(--t-fast), color var(--t-fast);
  position: relative; cursor: pointer;
}
.hdr-btn:hover { background: var(--panel); color: var(--dark); }
.hdr-btn svg { width: 22px; height: 22px; }
.hdr-btn-lbl { font-size:13px; font-weight: 600; white-space: nowrap; }
.hdr-badge {
  position: absolute; top: 5px; right: 4px;
  background: var(--orange); color: var(--white);
  font-size:13px; font-weight: 800; min-width: 18px; height: 18px;
  border-radius: var(--r-full); display: flex; align-items: center; justify-content: center;
  padding: 0 4px; border: 2px solid var(--white);
}
.hdr-cta {
  display: flex; align-items: center; gap: 7px;
  background: var(--orange); color: var(--white);
  padding: 9px 18px; border-radius: var(--r-btn);
  font-size: 13px; font-weight: 700;
  transition: background var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap; margin-left: 6px;
}
.hdr-cta:hover { background: var(--orange-hover); box-shadow: var(--shadow-orange); }
.hdr-cta svg { width: 14px; height: 14px; }

/* ── NAV ── */
.site-nav {
  background: var(--dark);
  height: 50px;
  position: sticky; top: var(--hdr-h); z-index: 200;
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: stretch;
}
.nav-item { position: relative; display: flex; align-items: stretch; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 0 14px; height: 100%;
  font-size:13px; font-weight: 600; color: rgba(255,255,255,.72);
  border-bottom: 2px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.nav-link:hover, .nav-item:hover > .nav-link {
  color: var(--white); border-bottom-color: var(--orange);
}
.nav-link svg { width: 12px; height: 12px; transition: transform var(--t-base); }
.nav-item:hover > .nav-link svg { transform: rotate(180deg); }
.nav-link.hot { color: var(--orange); }
.nav-link.hot:hover { color: #ff7a40; }
.nav-spacer { flex: 1; }
.nav-phone {
  display: flex; align-items: center; gap: 7px;
  padding: 0 14px; font-size:13px; color: rgba(255,255,255,.45);
}
.nav-phone svg { width: 12px; height: 12px; color: var(--orange); }
.nav-phone strong { color: rgba(255,255,255,.75); font-size: 13px; }

/* Mega menu */
.mega-menu {
  position: fixed; left: 0; right: 0;
  background: var(--white); border-top: 2px solid var(--orange);
  box-shadow: var(--shadow-xl); z-index: 400;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-4px);
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
}
.nav-item:hover .mega-menu { opacity: 1; visibility: visible; pointer-events: all; transform: translateY(0); }
.mega-inner { max-width: var(--max-w); margin: 0 auto; padding: 24px; display: grid; grid-template-columns: 210px 1fr; gap: 28px; }
.mega-cats { display: flex; flex-direction: column; gap: 1px; }
.mega-cat {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: var(--r-md);
  cursor: pointer; transition: background var(--t-fast);
}
.mega-cat:hover, .mega-cat.active { background: var(--panel); }
.mega-cat-ico { width: 34px; height: 34px; background: var(--bg); border-radius: var(--r-sm); overflow: hidden; flex-shrink: 0; }
.mega-cat-ico img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.mega-cat:hover .mega-cat-ico, .mega-cat.active .mega-cat-ico { background: var(--orange-light); }
.mega-cat-info strong { display: block; font-size:13px; font-weight: 700; color: var(--dark); }
.mega-cat-info span { font-size:13px; color: var(--text-3); }
.mega-panel { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.mega-col h4 { font-size:13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--text-4); margin-bottom: 10px; padding-bottom: 7px; border-bottom: 1px solid var(--border); }
.mega-link { display: flex; align-items: center; gap: 6px; padding: 4px 0; font-size:13px; color: var(--text-2); transition: color var(--t-fast); }
.mega-link:before { content: '·'; color: var(--border-2); font-size: 14px; }
.mega-link:hover { color: var(--orange); }
.mega-feature { background: var(--panel); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); }
.mega-feature img { width: 100%; height: 96px; object-fit: cover; }
.mega-feature-body { padding: 10px 12px; }
.mega-feature-tag { font-size:13px; font-weight: 800; color: var(--orange); text-transform: uppercase; letter-spacing: .07em; }
.mega-feature-name { font-size:13px; font-weight: 700; color: var(--dark); margin-top: 2px; line-height: 1.3; }

/* Brands drop */
.brands-mega { grid-template-columns: 1fr !important; }
/* Fondo gris #b9b9b9: los logos de marca con letras blancas se pierden en blanco */
.brands-mega { background: var(--white) !important; }
.brands-mega-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; padding: 16px; background: var(--white); }
.brand-drop-item { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; min-height: 64px; border-radius: var(--r-md); transition: background var(--t-fast); }
.brand-drop-item:hover { background: var(--panel); }
/* Muro de marcas: logo en gris (CSS) → color original al pasar el cursor */
.brand-drop-img { width: 132px; height: 48px; object-fit: contain; display: block; filter: grayscale(1); opacity: .7; transition: filter var(--t-fast), opacity var(--t-fast); }
.brand-drop-item:hover .brand-drop-img { filter: none; opacity: 1; }
.brand-drop-name { font-size:13px; font-weight: 700; color: var(--dark); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--r-btn);
  font-family: var(--font); font-size: var(--btn-font-size); font-weight: 700;
  line-height: 1; white-space: nowrap; cursor: pointer;
  transition: background var(--t-fast), box-shadow var(--t-fast), transform .1s;
  border: 2px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); box-shadow: var(--shadow-orange); }
.btn-dark { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-dark:hover { background: var(--dark-2); border-color: var(--dark-2); }
.btn-outline { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); }
.btn-outline-orange { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn-outline-orange:hover { background: var(--orange); color: var(--white); box-shadow: var(--shadow-orange); }
.btn-ghost { background: transparent; color: var(--text-2); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--panel); border-color: var(--border-2); color: var(--dark); }
.btn-white { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn-white:hover { background: var(--bg); }
.btn-sm { padding: 8px 16px; font-size:13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-xl { padding: 17px 36px; font-size: 16px; }
.btn-full { width: 100%; }

/* ── TODO redondeado (pills) — ningún botón ni campo rectangular en el sitio.
   Gana sobre estilos inline (!important). Los botones circulares no cambian
   (el radio se limita a la mitad de su tamaño). Se exceptúan los controles
   con redondeo especial propio (buscador del header, pills de idioma/moneda). ── */
button:not(.search-go):not(.ecn-lang-btn):not(.ecn-cur-btn):not(.hdr-hamburger),
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="search"]:not(.search-input), input[type="number"], input[type="url"],
select {
  border-radius: 26px !important;
}
textarea { border-radius: 18px !important; }

/* ── BADGES ── */
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: var(--r-full); font-size:13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; line-height: 1.5; }
.badge-new  { background: var(--success-bg);  color: #065f46; }
.badge-hot  { background: var(--orange-light); color: var(--orange-hover); }
.badge-out  { background: var(--warning-bg);  color: var(--warning); }
.badge-sale { background: var(--danger-bg);   color: var(--danger); }
.badge-dark { background: var(--dark);        color: var(--white); }

/* ── HERO ── */
.hero {
  background: var(--dark-3);
  position: relative; overflow: hidden;
  min-height: 540px; display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .1; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,20,20,.98) 0%, rgba(30,30,30,.82) 55%, rgba(40,40,40,.5) 100%);
}
.hero-inner {
  position: relative; z-index: 10;
  max-width: var(--max-w); margin: 0 auto; padding: 72px 24px;
  display: grid; grid-template-columns: 1fr 440px; gap: 56px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange-light); border: 1px solid var(--orange-border);
  color: var(--orange); font-size:13px; font-weight: 800;
  padding: 5px 13px; border-radius: var(--r-full); letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-eyebrow svg { width: 12px; height: 12px; }
.hero-h1 {
  font-size:clamp(16px, 4.5vw, 16px); font-weight: 800; color: var(--white);
  line-height: 1.05; letter-spacing: -.03em; margin-bottom: 18px;
}
.hero-h1 em { color: var(--orange); font-style: normal; }
.hero-lead { font-size: 16px; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.hero-btns { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 36px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.08); }
.hero-stat-n { font-size:16px; font-weight: 800; color: var(--white); line-height: 1; letter-spacing: -.03em; }
.hero-stat-n span { color: var(--orange); }
.hero-stat-l { font-size:13px; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .07em; margin-top: 4px; }

/* Hero search card */
.hero-search-card {
  background: var(--white); border-radius: var(--r-card);
  padding: 28px; box-shadow: var(--shadow-xl);
}
.hero-search-title { font-size:16px; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.hero-search-sub { font-size:13px; color: var(--text-3); margin-bottom: 18px; }
.hero-search-form { display: flex; flex-direction: column; gap: 10px; }
.hero-search-input {
  padding: 12px 16px; border: 2px solid var(--border-2); border-radius: var(--r-btn);
  font-size: 13.5px; color: var(--text); outline: none; width: 100%;
  transition: border-color var(--t-fast);
}
.hero-search-input:focus { border-color: var(--orange); }
.hero-search-select {
  padding: 11px 14px; border: 2px solid var(--border-2); border-radius: var(--r-btn);
  font-size: 13px; color: var(--text-2); background: var(--panel); outline: none;
  cursor: pointer; width: 100%;
}
.hero-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.hero-chip {
  padding: 5px 11px; border: 1.5px solid var(--border-2); border-radius: var(--r-full);
  font-size:13px; font-weight: 600; color: var(--text-2);
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.hero-chip:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-light); }
.hero-chip-lbl { font-size:13px; color: var(--text-4); font-weight: 600; }

/* ── TRUST BAR ── */
.trust-bar { background: var(--orange-grad); padding: 14px 0; }
.trust-items { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; }
.trust-item { display: flex; align-items: center; gap: 10px; flex: 1; padding: 0 20px; border-right: 1px solid rgba(255,255,255,.2); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: none; }
.trust-ico { width: 34px; height: 34px; background: rgba(255,255,255,.15); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: var(--white); flex-shrink: 0; }
.trust-ico svg { width: 16px; height: 16px; }
.trust-text strong { display: block; font-size:13px; font-weight: 800; color: var(--white); }
.trust-text span { font-size:13px; color: rgba(255,255,255,.65); }

/* ── SECTION HEADERS ── */
.sec-head { margin-bottom: 36px; }
.sec-eyebrow { font-size:13px; font-weight: 800; color: var(--orange); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.sec-title { font-size:clamp(16px, 3vw, 16px); font-weight: 800; color: var(--dark); line-height: 1.1; letter-spacing: -.025em; }
.sec-desc { font-size: 14.5px; color: var(--text-2); margin-top: 8px; line-height: 1.65; }
.sec-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.see-all { display: flex; align-items: center; gap: 6px; color: var(--orange); font-size: 13px; font-weight: 700; white-space: nowrap; transition: gap var(--t-fast); }
.see-all:hover { gap: 10px; }

/* ── CATEGORY GRID ── */
.cat-grid { display: grid; grid-template-columns: repeat(8,1fr); gap: 10px; }
.cat-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r-card); padding: 16px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  text-align: center; cursor: pointer;
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.cat-card:hover { border-color: var(--orange); box-shadow: 0 4px 18px rgba(255,131,0,.12); transform: translateY(-2px); }
.cat-thumb { width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--bg); overflow: hidden; }
.cat-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.cat-card:hover .cat-thumb { background: var(--orange-light); }
.cat-name { font-size:13px; font-weight: 700; color: var(--dark); line-height: 1.3; }
.cat-count { font-size:13px; color: var(--text-4); }

/* ── PRODUCT CARD ── */
.product-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r-card); overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow var(--t-base), transform var(--t-base), border-color var(--t-base);
}
.product-card:hover { box-shadow: var(--shadow-lg); border-color: var(--border-2); }
.p-img-wrap { position: relative; background: var(--white); overflow: hidden; }
.p-img-wrap a:not(.p-qbtn) { display: block; aspect-ratio: 1; overflow: hidden; }
.p-img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform var(--t-slow); }
.product-card:hover .p-img-wrap img { transform: scale(1.05); }
.p-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; }
.p-quick-btns { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 5px; opacity: 1; }
.p-qbtn { width: 32px; height: 32px; padding: 0; border: none; cursor: pointer; box-sizing: border-box; background: var(--white); border-radius: 50% !important; display: inline-flex !important; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); color: var(--text-2); transition: background var(--t-fast), color var(--t-fast); line-height: 0; text-decoration: none; position: relative; }
.p-qbtn:hover { background: var(--dark); color: var(--white); }
.p-qbtn svg { width: 14px; height: 14px; display: block; flex-shrink: 0; margin: auto; }
/* Tooltip instantáneo al pasar el cursor (el title nativo tarda ~1s) */
.p-qbtn[data-tip]::after {
  content: attr(data-tip);
  position: absolute; right: calc(100% + 8px); top: 50%; transform: translateY(-50%);
  background: var(--dark); color: var(--white);
  font-size:13px; font-weight: 700; font-family: var(--font); line-height: 1.2;
  padding: 6px 10px; border-radius: 8px; white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transition: opacity .12s;
  z-index: 5;
}
.p-qbtn[data-tip]:hover::after { opacity: 1; }
.p-body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.p-vendor { font-size:13px; font-weight: 800; color: var(--text-4); text-transform: uppercase; letter-spacing: .06em; }
.p-name { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; transition: color var(--t-fast); margin-bottom: 4px; }
.p-name:hover { color: var(--orange); }
.p-desc { font-size:13px; color: var(--text-3); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 5px; }
.p-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin-top: 3px; }
.p-sku { font-size:13px; color: var(--text-4); font-family: var(--font); font-weight: 300; }
.p-stock { font-size:13px; font-weight: 700; color: var(--success); display: flex; align-items: center; gap: 4px; }
.p-stock.out { color: var(--warning); }
.p-price { font-size:16px; font-weight: 800; color: var(--dark); line-height: 1; letter-spacing: -.02em; margin-top: 4px; }
.p-price-note { font-size:13px; color: var(--text-4); font-weight: 400; }
.p-actions { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.btn-atc {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; padding: 10px; background: var(--orange); color: var(--white);
  border-radius: var(--r-btn); font-size:13px; font-weight: 700; font-family: var(--font);
  border: 2px solid var(--orange); transition: background var(--t-fast), border-color var(--t-fast); cursor: pointer;
}
.btn-atc:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
.btn-atc:disabled { background: var(--bg-2); border-color: var(--border-2); color: var(--text-4); cursor: not-allowed; }
.btn-atc svg { width: 14px; height: 14px; }
.btn-quote-card {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 8px; background: transparent; color: var(--text-2);
  border-radius: var(--r-btn); font-size:13px; font-weight: 700; font-family: var(--font);
  border: 2px solid var(--border-2); transition: border-color var(--t-fast), color var(--t-fast); cursor: pointer;
}
.btn-quote-card:hover { border-color: var(--orange); color: var(--orange); }
.btn-quote-card svg { width: 12px; height: 12px; }

/* Product grids */
.products-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--border-2) transparent; }
.products-scroll::-webkit-scrollbar { height: 3px; }
.products-scroll::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }
.products-scroll .product-card { flex: 0 0 216px; scroll-snap-align: start; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.grid-5 { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }

/* ── BRAND LOGOS ── */
.brands-row { display: grid; grid-template-columns: repeat(5,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; }
.brand-card { background: var(--white); padding: 26px 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; transition: background var(--t-fast); }
.brand-card:hover { background: var(--panel); }
.brand-logo-img { height: 36px; width: 100%; object-fit: contain; filter: grayscale(1) opacity(.45); transition: filter var(--t-base); }
.brand-card:hover .brand-logo-img { filter: grayscale(0) opacity(1); }
/* Oculto por defecto: el logo ya dice el nombre. Solo aparece si el logo falla (onerror) */
.brand-card-name { font-size:13px; font-weight: 700; color: var(--text-4); text-transform: uppercase; letter-spacing: .06em; opacity: 0; height: 0; overflow: hidden; }

/* ── PROMO BANNER ── */
.promo-banner {
  background: var(--dark); border-radius: var(--r-card); overflow: hidden;
  display: grid; grid-template-columns: 1fr 460px;
}
.promo-body { padding: 52px 48px; }
.promo-eyebrow { display: inline-flex; align-items: center; gap: 7px; background: var(--orange-light); border: 1px solid var(--orange-border); color: var(--orange); font-size:13px; font-weight: 800; padding: 4px 11px; border-radius: var(--r-full); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.promo-title { font-size:clamp(26px,3vw,34px); font-weight: 800; color: var(--white); line-height: 1.04; letter-spacing: -.03em; margin-bottom: 8px; }
.promo-sub { font-size:17px; color: rgba(255,255,255,.4); font-weight: 400; letter-spacing: -.01em; margin-bottom: 24px; }
.promo-bullets { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.promo-bullet { display: flex; align-items: flex-start; gap: 11px; }
.promo-bullet-dot { width: 7px; height: 7px; background: var(--orange); border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.promo-bullet strong { display: block; font-size: 15px; color: var(--white); font-weight: 700; }
.promo-bullet span { font-size:14px; color: rgba(255,255,255,.4); }
.promo-price-block { margin-bottom: 28px; }
.promo-price-pre { font-size:13.5px; color: rgba(255,255,255,.3); margin-bottom: 4px; }
.promo-price { font-size:24px; font-weight: 800; color: var(--white); line-height: 1; letter-spacing: -.03em; }
.promo-price span { font-size:18px; color: rgba(255,255,255,.3); }
.promo-img-wrap { display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--white); position: relative; }
.promo-img-wrap img { max-height: 100%; max-width: 100%; object-fit: contain; filter: drop-shadow(0 24px 48px rgba(0,0,0,.18)); }

/* ── SHOP LAYOUT ── */
.shop-wrap { display: grid; grid-template-columns: 244px 1fr; gap: 24px; align-items: start; padding-top: 24px; padding-bottom: 64px; }

/* Filters */
.filters-sidebar { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-card); overflow: hidden; position: sticky; top: calc(var(--hdr-h) + 44px + 12px); }
.filter-head { padding: 14px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.filter-head-title { font-size: 13.5px; font-weight: 800; color: var(--dark); display: flex; align-items: center; gap: 7px; }
.filter-head-title svg { width: 14px; height: 14px; color: var(--text-3); }
.filter-clear { font-size:13px; color: var(--orange); font-weight: 700; cursor: pointer; }
.filter-section { padding: 14px 18px; border-bottom: 1px solid var(--border); }
.filter-section:last-child { border-bottom: none; }
.filter-section-title { font-size:13px; font-weight: 800; color: var(--dark); margin-bottom: 10px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
.filter-section-title svg { width: 12px; height: 12px; color: var(--text-4); transition: transform .2s; }
.filter-section-title.open svg { transform: rotate(180deg); }
.filter-body { }
.filter-body.collapsed { display: none; }
.filter-opt { display: flex; align-items: center; gap: 9px; padding: 4px 0; cursor: pointer; }
.filter-cb { width: 15px; height: 15px; border: 2px solid var(--border-2); border-radius: 3px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: border-color var(--t-fast), background var(--t-fast); }
.filter-opt.on .filter-cb { border-color: var(--orange); background: var(--orange); }
.filter-opt.on .filter-cb::after { content: '✓'; font-size:13px; color: var(--white); font-weight: 800; }
.filter-lbl { font-size:13px; color: var(--text-2); flex: 1; transition: color var(--t-fast); }
.filter-opt:hover .filter-lbl { color: var(--dark); }
.filter-ct { font-size:13px; color: var(--text-4); }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.price-range input { padding: 8px 10px; border: 2px solid var(--border-2); border-radius: var(--r-btn); font-size:13px; outline: none; width: 100%; transition: border-color var(--t-fast); }
.price-range input:focus { border-color: var(--orange); }

/* Shop toolbar */
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.shop-count { font-size: 13px; color: var(--text-3); }
.shop-count strong { color: var(--dark); font-weight: 800; }
.shop-controls { display: flex; align-items: center; gap: 10px; }
.shop-sort select { padding: 7px 12px; border: 2px solid var(--border-2); border-radius: var(--r-btn); font-size:13px; color: var(--text); outline: none; font-family: var(--font); cursor: pointer; }
.view-toggle { display: flex; gap: 3px; }
.view-btn { width: 30px; height: 30px; border: 2px solid var(--border-2); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: var(--text-3); transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast); cursor: pointer; }
.view-btn.active, .view-btn:hover { background: var(--dark); border-color: var(--dark); color: var(--white); }
.view-btn svg { width: 13px; height: 13px; }

/* Active filter chips */
.active-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.active-chip { display: flex; align-items: center; gap: 5px; padding: 4px 10px; background: var(--orange-light); border: 1px solid var(--orange-border); border-radius: var(--r-full); font-size:13px; font-weight: 700; color: var(--orange-hover); }
.active-chip button { width: 15px; height: 15px; background: var(--orange); color: var(--white); border-radius: 50%; font-size:13px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--t-fast); border: none; }
.active-chip button:hover { background: var(--orange-hover); }

/* ── BREADCRUMBS ── */
.breadcrumbs { display: flex; align-items: center; gap: 6px; font-size:13px; color: var(--text-4); padding: 12px 0; flex-wrap: wrap; }
.breadcrumbs a { color: var(--text-4); transition: color var(--t-fast); }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs span { color: var(--border-2); }
.breadcrumbs .current { color: var(--text-2); font-weight: 600; }

/* ── PRODUCT PAGE ── */
.pdp-grid { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: start; }
.gallery-sticky { position: sticky; top: calc(var(--hdr-h) + 44px + 20px); }
.gallery-main { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-card); overflow: hidden; aspect-ratio: 1; position: relative; cursor: zoom-in; margin-bottom: 10px; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 28px; transition: transform var(--t-slow); }
.gallery-main img:hover { transform: scale(1.06); }
.gallery-thumbs { display: flex; gap: 8px; }
.g-thumb { width: 68px; height: 68px; flex-shrink: 0; border: 2px solid var(--border); border-radius: var(--r-md); overflow: hidden; cursor: pointer; transition: border-color var(--t-fast); background: var(--white); }
.g-thumb.active { border-color: var(--orange); }
.g-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.pdp-col { padding-top: 2px; }
.p-vendor-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.p-vendor-tag { font-size:13px; font-weight: 800; color: var(--orange); text-transform: uppercase; letter-spacing: .06em; }
.pdp-title { font-size:clamp(16px,3vw,16px); font-weight: 800; color: var(--dark); line-height: 1.12; letter-spacing: -.025em; margin-bottom: 14px; }
.p-info-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.p-info-pill { display: flex; align-items: center; gap: 5px; font-size:13px; color: var(--text-3); background: var(--panel); padding: 4px 11px; border-radius: var(--r-full); }
.p-info-pill svg { width: 12px; height: 12px; }
.p-info-pill strong { color: var(--dark); font-weight: 700; font-size:13px; }
.p-price-block { padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.pdp-price { font-size:16px; font-weight: 800; color: var(--dark); line-height: 1; letter-spacing: -.03em; }
.pdp-price-note { font-size:13px; color: var(--text-3); margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.pdp-price-note svg { width: 13px; height: 13px; color: var(--success); }
.stock-indicator { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: var(--success-bg); border-radius: var(--r-btn); font-size: 13px; font-weight: 700; color: #065f46; margin-bottom: 16px; }
.stock-indicator.unavailable { background: var(--warning-bg); color: var(--warning); }
.stock-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:.35} }
.qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.qty-label { font-size: 13px; font-weight: 700; color: var(--dark); }
.qty-ctrl { display: flex; align-items: center; border: 2px solid var(--border-2); border-radius: var(--r-btn); overflow: hidden; }
.qty-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size:16px; font-weight: 700; color: var(--text-2); background: var(--panel); transition: background var(--t-fast); cursor: pointer; border: none; font-family: var(--font); }
.qty-btn:hover { background: var(--bg-2); }
.qty-in { width: 46px; text-align: center; font-size: 15px; font-weight: 800; border-left: 2px solid var(--border-2); border-right: 2px solid var(--border-2); padding: 8px 0; outline: none; border-top: none; border-bottom: none; background: var(--white); font-family: var(--font); }
.btn-pdp-atc { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 15px; background: var(--orange); color: var(--white); border: 2px solid var(--orange); border-radius: var(--r-btn); font-size: 15px; font-weight: 800; font-family: var(--font); margin-bottom: 10px; transition: background var(--t-fast), box-shadow var(--t-fast); cursor: pointer; }
.btn-pdp-atc:hover { background: var(--orange-hover); border-color: var(--orange-hover); box-shadow: var(--shadow-orange); }
.btn-pdp-atc:disabled { background: var(--bg-2); border-color: var(--border-2); color: var(--text-4); cursor: not-allowed; box-shadow: none; }
.btn-pdp-atc svg { width: 17px; height: 17px; }
.btn-pdp-quote { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; padding: 13px; border: 2px solid var(--border-2); border-radius: var(--r-btn); font-size: 14px; font-weight: 700; font-family: var(--font); color: var(--text-2); margin-bottom: 18px; transition: border-color var(--t-fast), color var(--t-fast); cursor: pointer; background: var(--white); }
.btn-pdp-quote:hover { border-color: var(--dark); color: var(--dark); }
.btn-pdp-quote svg { width: 15px; height: 15px; }
.trust-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; padding: 16px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-md); margin-top: 4px; }
.trust-mini-item { display: flex; align-items: center; gap: 10px; font-size:12.5px; font-weight: 600; color: var(--text-2); }
.trust-mini-item .icon-badge { width: 30px; height: 30px; border-radius: 9px; background: var(--orange-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-mini-item svg { width: 15px; height: 15px; color: var(--orange); flex-shrink: 0; }
.p-short-desc { margin-top: 18px; padding: 14px 16px; background: var(--panel); border-radius: var(--r-md); border-left: 3px solid var(--orange); font-size: 13.5px; color: var(--text-2); line-height: 1.65; }

/* Tabs */
.tabs-wrap { margin-top: 48px; border-top: 1px solid var(--border); padding-top: 28px; }
.tabs-nav { display: flex; border-bottom: 2px solid var(--border); gap: 0; overflow-x: auto; margin-bottom: 24px; }
.tab-btn { padding: 10px 18px; font-size: 13px; font-weight: 700; color: var(--text-3); border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap; transition: color var(--t-fast), border-color var(--t-fast); font-family: var(--font); background: transparent; border-top: none; border-left: none; border-right: none; cursor: pointer; }
.tab-btn.active { color: var(--dark); border-bottom-color: var(--orange); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.specs-tbl { width: 100%; border-collapse: collapse; }
.specs-tbl tr:nth-child(even) td { background: var(--panel); }
.specs-tbl td { padding: 9px 14px; font-size: 13px; border-bottom: 1px solid var(--border); }
.specs-tbl td:first-child { font-weight: 700; color: var(--dark); width: 38%; }
.dl-list { display: flex; flex-direction: column; gap: 8px; }
.dl-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--panel); border-radius: var(--r-md); border: 1.5px solid var(--border); transition: border-color var(--t-fast); }
.dl-item:hover { border-color: var(--orange-border); }
.dl-ico { width: 38px; height: 38px; background: var(--dark); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: var(--white); flex-shrink: 0; }
.dl-ico svg { width: 16px; height: 16px; }
.dl-name { font-size: 13px; font-weight: 700; color: var(--dark); }
.dl-meta { font-size:13px; color: var(--text-4); margin-top: 2px; }
.faq-list { display: flex; flex-direction: column; gap: 7px; }
.faq-item { border: 1.5px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--white); }
.faq-q { padding: 13px 16px; font-size: 13.5px; font-weight: 700; color: var(--dark); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq-q svg { width: 14px; height: 14px; color: var(--text-4); transition: transform var(--t-base); flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 16px 13px; font-size: 13px; color: var(--text-2); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ── CART DRAWER ── */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 500; opacity: 0; visibility: hidden; transition: opacity var(--t-slow), visibility var(--t-slow); }
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 420px; background: var(--white); z-index: 501; display: flex; flex-direction: column; transform: translateX(100%); transition: transform var(--t-slow); box-shadow: var(--shadow-xl); }
.cart-drawer.open { transform: translateX(0); }
.cart-hd { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.cart-hd-title { font-size:16px; font-weight: 800; color: var(--dark); display: flex; align-items: center; gap: 9px; letter-spacing: -.02em; }
.cart-hd-title svg { width: 18px; height: 18px; }
.cart-close { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-md); color: var(--text-3); transition: background var(--t-fast); cursor: pointer; }
.cart-close:hover { background: var(--panel); color: var(--dark); }
.cart-close svg { width: 16px; height: 16px; }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.cart-empty { text-align: center; padding: 52px 0; color: var(--text-4); }
.cart-empty svg { margin: 0 auto 14px; }
.cart-empty p { font-size: 14px; margin-bottom: 16px; font-weight: 600; }
.cart-item { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 72px; height: 72px; object-fit: contain; border-radius: var(--r-md); background: var(--panel); padding: 6px; }
.ci-vendor { font-size:13px; font-weight: 800; color: var(--text-4); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.ci-name { font-size:13px; font-weight: 500; color: var(--dark); line-height: 1.35; margin-bottom: 8px; }
.ci-bottom { display: flex; align-items: center; justify-content: space-between; }
.ci-qty { display: flex; align-items: center; border: 1.5px solid var(--border-2); border-radius: var(--r-btn); overflow: hidden; }
.ci-qty-btn { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--text-2); background: var(--panel); cursor: pointer; border: none; font-family: var(--font); transition: background var(--t-fast); }
.ci-qty-btn:hover { background: var(--bg-2); }
.ci-qty-val { width: 30px; text-align: center; font-size: 13px; font-weight: 800; border-left: 1.5px solid var(--border-2); border-right: 1.5px solid var(--border-2); line-height: 26px; }
.ci-price { font-size:16px; font-weight: 800; color: var(--dark); }
.ci-remove { font-size:13px; color: var(--text-4); cursor: pointer; background: none; border: none; font-family: var(--font); transition: color var(--t-fast); margin-top: 4px; display: block; }
.ci-remove:hover { color: var(--danger); }
.cart-ft { border-top: 1px solid var(--border); padding: 16px 20px; background: var(--panel); flex-shrink: 0; }
.cart-totals { margin-bottom: 14px; }
.cart-subtotal-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; }
.cart-subtotal-lbl { font-size: 13px; color: var(--text-3); }
.cart-subtotal-val { font-size: 13px; font-weight: 700; color: var(--dark); }
.cart-total-row { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--border); margin-top: 4px; }
.cart-total-lbl { font-size: 14px; font-weight: 700; color: var(--dark); }
.cart-total-val { font-size:16px; font-weight: 800; color: var(--dark); letter-spacing: -.025em; }
.btn-checkout-main { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; padding: 15px; background: var(--orange); color: var(--white); border-radius: var(--r-btn); font-size: 15px; font-weight: 800; font-family: var(--font); margin-bottom: 8px; border: 2px solid var(--orange); transition: background var(--t-fast), box-shadow var(--t-fast); }
.btn-checkout-main:hover { background: var(--orange-hover); border-color: var(--orange-hover); box-shadow: var(--shadow-orange); }
.btn-view-cart { display: flex; align-items: center; justify-content: center; width: 100%; padding: 12px; border: 2px solid var(--border-2); border-radius: var(--r-btn); font-size: 13px; font-weight: 700; font-family: var(--font); color: var(--text-2); margin-bottom: 10px; transition: border-color var(--t-fast), color var(--t-fast); background: var(--white); cursor: pointer; }
.btn-view-cart:hover { border-color: var(--dark); color: var(--dark); }
.cart-note-txt { text-align: center; font-size:13px; color: var(--text-4); }
.cart-note-txt a { color: var(--orange); font-weight: 700; }

/* PDF COTIZACIÓN BUTTON — from original theme */
.btn-pdf {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px; background: var(--dark); color: var(--white);
  border-radius: var(--r-btn); font-size: 13px; font-weight: 700; font-family: var(--font);
  border: 2px solid var(--dark); margin-bottom: 8px;
  transition: background var(--t-fast); cursor: pointer;
}
.btn-pdf:hover { background: var(--dark-2); }
.btn-pdf:disabled { opacity: .45; cursor: not-allowed; }
.btn-pdf svg { width: 14px; height: 14px; }
.pdf-agree { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size:13px; color: var(--text-3); cursor: pointer; }
.pdf-agree input { width: 14px; height: 14px; cursor: pointer; accent-color: var(--orange); }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 90px; right: 24px; z-index: 600;
  background: var(--dark); color: var(--white);
  padding: 13px 17px; border-radius: var(--r-card);
  box-shadow: var(--shadow-xl); min-width: 290px;
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--t-base), transform var(--t-base);
  pointer-events: none; font-size: 13px; font-weight: 500;
}
.toast.show { opacity: 1; transform: translateY(0); pointer-events: all; }
.toast-ico { color: #4ade80; flex-shrink: 0; }
.toast-ico svg { width: 15px; height: 15px; }
.toast-msg { flex: 1; line-height: 1.35; }
.toast-cta { color: var(--orange); font-weight: 800; font-size:13px; cursor: pointer; white-space: nowrap; }

/* ── WHATSAPP ── */
.wa-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 400;
  background: #25d366; color: var(--white);
  display: flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: var(--r-btn);
  font-size: 13.5px; font-weight: 800;
  box-shadow: 0 4px 18px rgba(37,211,102,.35);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.wa-btn:hover { transform: scale(1.04); box-shadow: 0 6px 26px rgba(37,211,102,.45); }
.wa-btn svg { width: 18px; height: 18px; }

/* ── PAGINATION ── */
.pagination { display: flex; align-items: center; gap: 5px; justify-content: center; padding: 32px 0 8px; }
.pg-btn { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-md); border: 2px solid var(--border-2); font-size:13px; font-weight: 700; color: var(--text-2); transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast); cursor: pointer; font-family: var(--font); }
.pg-btn.active { background: var(--dark); border-color: var(--dark); color: var(--white); }
.pg-btn:hover:not(.active) { background: var(--panel); }
.pg-btn svg { width: 13px; height: 13px; }
.pg-ellipsis { color: var(--border-2); padding: 0 3px; }

/* ── FORMS ── */
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-label { font-size:13px; font-weight: 700; color: var(--dark); }
.form-control { padding: 11px 14px; border: 2px solid var(--border-2); border-radius: var(--r-btn); font-size: 13.5px; color: var(--text); outline: none; width: 100%; font-family: var(--font); transition: border-color var(--t-fast), box-shadow var(--t-fast); background: var(--white); }
.form-control:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-light); }
.form-control::placeholder { color: var(--text-4); }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-hint { font-size:13px; color: var(--text-4); }

/* ── INDUSTRIES ── */
.industries-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.industry-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-card); padding: 20px; display: flex; flex-direction: column; gap: 10px; transition: border-color var(--t-base), box-shadow var(--t-base); cursor: pointer; }
.industry-card:hover { border-color: var(--orange-border); box-shadow: 0 4px 18px rgba(255,131,0,.08); }
.industry-ico { width: 44px; height: 44px; background: var(--panel); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: var(--dark); }
.industry-ico svg { width: 20px; height: 20px; }
.industry-card:hover .industry-ico { background: var(--orange-light); color: var(--orange); }
.industry-name { font-size: 14px; font-weight: 800; color: var(--dark); }
.industry-desc { font-size:13px; color: var(--text-2); line-height: 1.6; }
.industry-link { font-size:13px; color: var(--orange); font-weight: 700; display: flex; align-items: center; gap: 5px; margin-top: auto; transition: gap var(--t-fast); }
.industry-card:hover .industry-link { gap: 9px; }

/* ── FOOTER (fondo blanco, textos oscuros de la paleta) ── */
.site-footer { background: var(--footer-bg); padding: 64px 0 0; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 260px 1fr 1fr 1fr; gap: 48px; padding-bottom: 52px; }
.footer-desc { font-size: var(--footer-font-size); color: var(--text-2); line-height: 1.7; margin: 14px 0 18px; }
.footer-social { display: flex; gap: 7px; }
.soc-btn { width: 32px; height: 32px; background: rgba(42,43,42,.06); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: var(--text-2); transition: background var(--t-fast), color var(--t-fast); }
.soc-btn:hover { background: var(--dark); color: var(--white); }
.soc-btn svg { width: 14px; height: 14px; }
.footer-col h4 { font-size:13px; font-weight: 800; color: var(--dark); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: var(--footer-font-size); color: var(--text-2); transition: color var(--t-fast); display: flex; align-items: center; gap: 5px; }
.footer-links a::before { content: '→'; font-size:13px; color: var(--orange); opacity: .55; }
.footer-links a:hover { color: var(--dark); }
.footer-hours { margin-top: 18px; padding: 12px; background: rgba(42,43,42,.04); border-radius: var(--r-md); border: 1px solid var(--border); font-size:13px; color: var(--text-2); line-height: 1.7; }
.footer-hours strong { color: var(--dark); display: block; font-size:13px; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 4px; }
.footer-bottom { border-top: 1px solid var(--border); padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; max-width: var(--max-w); margin: 0 auto; }
.footer-copy { font-size:13px; color: var(--text-3); }
.footer-pay { display: flex; gap: 6px; }
.pay-chip { height: 20px; background: rgba(42,43,42,.06); border-radius: 4px; padding: 0 8px; font-size:13px; font-weight: 800; color: var(--text-2); display: flex; align-items: center; letter-spacing: .04em; }

/* ── RESPONSIVE ── */
/* ══════════════════════════════════════════
   TRAFAG CTA BANNER
══════════════════════════════════════════ */
.trafag-cta-banner {
  display: block;
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform .3s, box-shadow .3s;
  line-height: 0;
}
.trafag-cta-banner:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
/* Image fills exactly — no crop, no pixelation */
.trafag-cta-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform .5s ease;
}
.trafag-cta-banner:hover img { transform: scale(1.02); }

/* Overlay on the left */
.trafag-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 45%, transparent 70%);
  display: flex;
  align-items: center;
}
.trafag-cta-inner {
  padding: 0 40px;
  max-width: 440px;
}
.trafag-cta-eyebrow {
  font-size:13px;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 8px;
}
.trafag-cta-title {
  font-size:clamp(16px, 4vw, 16px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.025em;
  margin-bottom: 8px;
}
.trafag-cta-sub {
  font-size:clamp(13px, 1.4vw, 13.5px);
  color: rgba(255,255,255,.75);
  line-height: 1.5;
  margin-bottom: 18px;
}
.trafag-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: var(--r-btn);
  transition: background .2s, transform .15s;
}
.trafag-cta-banner:hover .trafag-cta-btn {
  background: var(--orange-hover);
  transform: translateX(3px);
}

/* ══════════════════════════════════════════
   HAMBURGER BUTTON
══════════════════════════════════════════ */
.hdr-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--r-md);
  transition: background .15s;
}
.hdr-hamburger:hover { background: var(--bg); }
.hdr-hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .25s, opacity .2s, width .2s;
  transform-origin: center;
}
.hdr-hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hdr-hamburger.active span:nth-child(2) { opacity: 0; width: 0; }
.hdr-hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ══════════════════════════════════════════
   MOBILE MENU DRAWER
══════════════════════════════════════════ */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1100;
  backdrop-filter: blur(2px);
}
.mobile-menu-overlay.open { display: block; }

.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 88vw);
  height: 100vh;
  background: var(--white);
  z-index: 1200;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0,0,0,.15);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1;
}
.mobile-menu-search {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-search input {
  width: 100%;
  padding: 9px 14px;
  border: 1.5px solid var(--border-2);
  border-radius: var(--r-md);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.mobile-menu-search input:focus { border-color: var(--orange); }

.mobile-nav { flex: 1; padding: 8px 0; }
.mobile-nav-sep {
  font-size:13px;
  font-weight: 800;
  color: var(--text-4);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 12px 18px 4px;
}
.mobile-nav-item {
  display: block;
  padding: 12px 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background .12s, color .12s;
}
.mobile-nav-item:hover { background: var(--bg); color: var(--orange); }
.mobile-nav-sub {
  padding-left: 28px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
}
.mobile-menu-foot {
  padding: 16px;
  border-top: 1px solid var(--border);
  background: var(--white);
  position: sticky;
  bottom: 0;
}

/* ══════════════════════════════════════════
   RESPONSIVE — 1200px
══════════════════════════════════════════ */
@media (max-width: 1200px) {
  .cat-grid { grid-template-columns: repeat(4,1fr); }
  .grid-4 { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .brands-row { grid-template-columns: repeat(4,1fr); }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 1024px (tablets landscape)
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-search-card { display: none; }
  .pdp-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery-sticky { position: relative; top: 0; }
  .industries-grid { grid-template-columns: repeat(2,1fr); }
  .shop-wrap { grid-template-columns: 1fr; }
  .filters-sidebar { display: none; }
  .promo-banner { grid-template-columns: 1fr; }
  .promo-img-wrap { display: none; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 768px (tablets portrait + mobile)
══════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --hdr-h: 58px; }

  /* Hero — placeholder inicial usa proporción mobile (6/5) para coincidir
     con los banners reales, evita salto de layout al cargar store-config */
  #heroStaticImg { aspect-ratio: 6/5 !important; }

  /* Header */
  .header-inner { grid-template-columns: auto 1fr auto; }
  .logo-mark-only .logo-mark { height: 40px; }
  .logo-mark-only .logo-mark img { max-width: 160px; }
  .header-search { display: none; }
  .site-nav { display: none; }
  .hdr-btn-lbl { display: none; }
  .hdr-hamburger { display: flex; }
  /* Móvil: 3 iconos a la derecha — Mi cuenta (login), carrito y menú */
  .header-actions { gap: 6px; margin-left: auto; }
  .hdr-cta { display: none; } /* hide Cotizar en header — está en el menú */

  /* Sections padding */
  section[style*="padding:64px"] { padding: 40px 0 !important; }
  section[style*="padding:72px"] { padding: 44px 0 !important; }
  section[style*="padding:56px"] { padding: 36px 0 !important; }
  section[style*="padding:80px"] { padding: 48px 0 !important; }
  .container { padding: 0 16px; }

  /* Banner slider */
  .banner-slider img { max-height: 240px !important; }
  .bs-arrow { width: 30px; height: 30px; }
  #slideTabs { display: none; }

  /* Hero */
  .hero-h1 { font-size:16px !important; }
  .hero-lead { font-size: 14px; }
  .hero-stats { gap: 16px; flex-wrap: wrap; }
  .hero-stat-n { font-size:16px; }
  .hero-btns { flex-direction: column; gap: 8px; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-inner { padding: 44px 20px 36px !important; }

  /* Search bar below slider */
  .slide-search-bar { padding: 14px 16px; }
  .slide-search-bar .search-wrap { flex-direction: column; gap: 8px; }
  .slide-search-bar .search-go { width: 100%; justify-content: center; border-radius: var(--r-md); }

  /* Categories */
  .cat-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .cat-card { padding: 14px 10px; }
  .cat-count { display: none; }

  /* Products scroll */
  .products-scroll .product-card { flex: 0 0 170px; }

  /* Grid products */
  .grid-4, .grid-3, .grid-5 { grid-template-columns: repeat(2,1fr); gap: 10px; }

  /* Section headings */
  .sec-row { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 20px; }
  .sec-title { font-size:16px; }
  .see-all { font-size:13px; }

  /* Trafag CTA Banner — imagen muy ancha, en mobile usamos cover con altura fija */
  .trafag-cta-banner img {
    height: 140px;
    object-fit: cover;
    object-position: right center;
  }
  .trafag-cta-overlay {
    background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 60%, transparent 100%);
    align-items: center;
  }
  .trafag-cta-inner { padding: 0 18px; max-width: 100%; }
  .trafag-cta-title { font-size:16px; }
  .trafag-cta-sub { display: none; }
  .trafag-cta-eyebrow { font-size:13px; margin-bottom: 4px; }
  .trafag-cta-btn { font-size:13px; padding: 7px 14px; }

  /* Promo banner */
  .promo-body { padding: 28px 20px !important; }
  .promo-title { font-size:16px !important; }
  .promo-price { font-size:16px !important; }
  .promo-img-wrap { display: none; }

  /* Brands */
  .brands-row { grid-template-columns: repeat(3,1fr); gap: 8px; }
  .brand-card { padding: 12px 8px; }

  /* Industries */
  .industries-grid { grid-template-columns: 1fr; gap: 8px; }

  /* Trust bar */
  .trust-items { flex-wrap: wrap; }
  .trust-item { flex: 0 0 calc(50% - 8px); border-right: none; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Cart drawer */
  .cart-drawer { width: 100%; max-width: 100%; }

  /* PDP */
  .pdp-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 480px (small phones)
══════════════════════════════════════════ */
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  .brands-row { grid-template-columns: repeat(2,1fr); }
  .grid-4, .grid-3, .grid-5 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .products-scroll .product-card { flex: 0 0 155px; }
  .hero-h1 { font-size:16px !important; }
  .sec-title { font-size:16px; }
  .trust-item { flex: 0 0 100%; }
  .banner-slider img { max-height: 190px !important; }
}

/* ══════════════════════════════════════════
   RESPONSIVE COMPLETO — MOBILE FIRST
   Todos los componentes optimizados para 390px
══════════════════════════════════════════ */

/* ── Header móvil mejorado ── */
@media (max-width: 768px) {

  /* Topbar anuncio: solo mostrar primer item */
  .topbar-ticker { font-size:13px; }

  /* Header: logo | [flex] | cart + hamburger */
  .header-inner {
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 8px;
    height: var(--hdr-h);
  }
  .site-logo { flex-shrink: 0; }
  .site-logo img { height: 36px; }
  .site-logo-name { font-size: 15px; }
  .site-logo-sub { font-size:13px; }

  /* Mostrar Mi cuenta en menú móvil — agregar enlace */
  .mobile-menu .mobile-mi-cuenta {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--orange);
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    background: var(--orange-lt);
  }

  /* Productos en scroll horizontal — mejor en móvil */
  .products-scroll {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: visible;
    gap: 10px;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .products-scroll::-webkit-scrollbar { height: 3px; }
  .products-scroll::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

  .products-scroll .product-card {
    flex: 0 0 160px !important;
    min-width: 160px;
    scroll-snap-align: start;
  }

  /* Product card ajustado para 160px */
  .products-scroll .p-img-wrap { height: 140px; }
  .products-scroll .p-body { padding: 10px; }
  .products-scroll .p-name { font-size:13px; -webkit-line-clamp: 2; }
  .products-scroll .p-vendor { font-size:13px; }
  .products-scroll .p-price { font-size: 15px; }
  .products-scroll .p-meta { display: none; }
  .products-scroll .p-actions { padding: 8px; gap: 4px; flex-direction: column; }
  .products-scroll .btn-atc { font-size:13px; padding: 7px 10px; }
  .products-scroll .btn-quote-card { font-size:13px; padding: 5px 8px; }

  /* Círculos "Los más solicitados" */
  .fc-scroll {
    gap: 14px;
    padding-bottom: 8px;
  }
  .fc-circle { width: 80px !important; height: 80px !important; }
  .fc-title { font-size:13px; }
  .fc-link { display: none; }

  /* Trust / features bar — 2 columnas */
  .trust-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .trust-item {
    flex: none;
    padding: 14px 12px;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }
  .trust-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.15) !important; }
  .trust-icon { width: 28px; height: 28px; font-size: 14px; }
  .trust-title { font-size:13px; }
  .trust-sub { font-size:13px; }

  /* Sección encabezados */
  .sec-row {
    align-items: flex-start;
    margin-bottom: 16px;
  }
  .sec-eyebrow { font-size:13px; }
  .sec-title { font-size:16px; line-height: 1.2; }

  /* Categorías: 2 columnas compactas */
  .cat-card { padding: 12px 8px; border-radius: 10px; }
  .cat-card-name { font-size:13px; }
  .cat-thumb { height: 40px; margin-bottom: 6px; }
  .cat-thumb img { height: 36px; }

  /* Marcas: 3 columnas */
  .brand-card { padding: 10px 6px; }
  .brand-logo-img { max-height: 28px; }
  .brand-card-name { font-size:13px; }

  /* Banner slider */
  .bs-arrow { display: none; }
  .banner-slide { border-radius: 10px !important; }

  /* Mobile menu — Mi cuenta al inicio */
  .mobile-menu-hd { padding: 14px 18px; }
  .mobile-menu-hd span { font-size: 15px; }
  .mobile-nav-item { padding: 12px 20px; font-size: 14px; }
  .mobile-nav-sub { padding: 10px 30px; font-size: 13px; }
  .mobile-menu-foot { padding: 14px 18px; }

  /* Footer compacto */
  .footer-logo-name { font-size:16px; }
  .footer-links a { font-size: 13px; padding: 3px 0; }
  .footer-col h4 { font-size: 13px; margin-bottom: 10px; }
  .footer-contact-item { font-size:13px; }

  /* Secciones con padding inline */
  section { padding-left: 0 !important; padding-right: 0 !important; }

  /* Botón WhatsApp flotante — más pequeño */
  .whatsapp-float { bottom: 16px; right: 14px; }
  .whatsapp-float a { padding: 10px 14px; font-size: 13px; gap: 6px; }
  .whatsapp-float svg { width: 18px; height: 18px; }
}

/* ── 390px (iPhone 14/15) — optimizaciones extra ── */
@media (max-width: 420px) {

  .site-logo-name { display: none; } /* Solo ícono en pantallas muy pequeñas */
  .site-logo img { height: 32px; }

  /* Producto card 150px */
  .products-scroll .product-card { flex: 0 0 150px !important; min-width: 150px; }
  .products-scroll .p-img-wrap { height: 130px; }
  .products-scroll .p-price { font-size: 14px; }

  /* Circles más pequeños */
  .fc-circle { width: 70px !important; height: 70px !important; }
  .fc-title { font-size:13px; max-width: 70px; }

  /* Hero */
  .hero-h1 { font-size:16px !important; }
  .hero-lead { font-size: 13px; }
  .hero-stat-n { font-size:16px; }
  .hero-stat-l { font-size:13px; }

  /* Slider */
  .banner-slider img { max-height: 180px !important; object-fit: cover; }

  /* Trust: 2 columns más compacto */
  .trust-title { font-size:13px; }
  .trust-sub { display: none; }

  /* Categorías */
  .cat-grid { gap: 8px; }
  .cat-card { padding: 10px 6px; }
  .cat-thumb { height: 32px; }
  .cat-card-name { font-size:13px; }
}

/* ── Colecciones.html en móvil ── */
@media (max-width: 768px) {
  /* Filtros: ocultar sidebar, mostrar filtros dropdown */
  .shop-wrap { display: block; }
  .filters-sidebar { display: none; }

  /* Filtros en barra horizontal */
  .mobile-filters-bar {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 12px 16px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
  }

  /* Grid productos: 2 columnas en colecciones */
  .grid-4 { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr) !important; }

  .product-card .p-img-wrap { height: 150px; }
  .product-card .p-name { font-size:13px; }
  .product-card .p-body { padding: 10px 10px 6px; }
  .product-card .p-actions { flex-direction: column; gap: 5px; padding: 8px 10px; }
  .product-card .btn-atc { width: 100%; justify-content: center; font-size:13px; padding: 8px; }
  .product-card .btn-quote-card { width: 100%; justify-content: center; font-size:13px; }
}

/* ── Página producto en móvil ── */
@media (max-width: 768px) {
  .pdp-price { font-size:16px !important; }
  .pdp-title { font-size:16px !important; }
  .pdp-actions { flex-direction: column; gap: 8px; }
  .pdp-actions .btn { width: 100%; justify-content: center; }
  .pdp-tabs { overflow-x: auto; }
  .tab-nav { flex-wrap: nowrap; overflow-x: auto; }
  .tab-btn { white-space: nowrap; }
}

/* ── Carrito / Checkout en móvil ── */
@media (max-width: 768px) {
  .cart-table thead { display: none; }
  .cart-table td { display: block; padding: 6px 0; }
  .cart-table tr { border-bottom: 1px solid var(--border); padding: 12px 0; display: block; }
  .checkout-grid { grid-template-columns: 1fr !important; }
}

/* ── Fixes generales para overflow en móvil ──
   overflow-x: clip (NO hidden) — hidden rompe position:sticky del header */
@media (max-width: 768px) {
  html, body { overflow-x: clip; max-width: 100vw; }
  * { box-sizing: border-box; }
  img { max-width: 100%; }
  .container { padding: 0 16px; }
}

/* ── Jerarquía tipográfica final ──
   Títulos y "primera línea" de cada bloque: 16px.
   TODO el contenido del footer: 13px. */
h1, h2, h3,
.sec-title, .pdp-title, .p-name,
.sec-eyebrow,
.mega-feature-name, .prod-card-title {
  font-size: 16px !important;
}
.site-footer, .site-footer * { font-size: 13px !important; }
