/* ===== FERREMARKET 21 — STYLES ===== */
:root {
  --yellow:       #E63946;
  --yellow-dark:  #C42836;
  --yellow-soft:  rgba(230,57,70,0.12);
  --yellow-line:  rgba(230,57,70,0.35);
  --navy:         #1B3A6B;
  --navy-dark:    #102540;
  --navy-soft:    rgba(27,58,107,0.10);
  --navy-line:    rgba(27,58,107,0.30);
  --charcoal:     #1C2128;
  --bg:           #FFFFFF;
  --bg-2:         #F5F5F5;
  --surface:      #FAFAFA;
  --surface-2:    #F0F0F0;
  --surface-3:    #E8E8E8;
  --border:       rgba(0,0,0,0.1);
  --text:         #1A1A1A;
  --text-muted:   #666;
  --text-dim:     #999;
  --green:        #25D366;
  --green-dark:   #128C7E;
  --red:          #FF4D4D;
  --radius:       12px;
  --radius-sm:    8px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--yellow); }

/* ===== TOP STRIP ===== */
.top-strip {
  background: var(--charcoal);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.65);
  font-size: 12px;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.top-strip .promo-marquee {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}
.top-strip .promo-marquee span {
  display: inline-block;
  animation: scroll-left 22s linear infinite;
  padding-right: 60px;
}
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.top-strip .strip-link { color: #fff; text-decoration: none; font-weight: 700; }
.top-strip .strip-link:hover { color: var(--yellow); }
.top-strip .strip-link:hover { text-decoration: underline; }

/* ===== HEADER ===== */
.header-top {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo-anim {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
}
.logo-anim img {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(.2,1.6,.4,1);
}
.logo-anim:hover img {
  transform: scale(1.04) rotate(-1.5deg);
}
.logo-anim::after {
  content: '';
  position: absolute;
  inset: -8px;
  background: radial-gradient(ellipse, var(--yellow-soft), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: -1;
}
.logo-anim:hover::after { opacity: 1; }

.search-wrap { flex: 1; max-width: 620px; position: relative; }
.search-wrap input {
  width: 100%; height: 46px;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 0 56px 0 22px;
  font-size: 14px; outline: none;
  background: var(--surface-2); color: var(--text);
  transition: all 0.2s;
}
.search-wrap input::placeholder { color: var(--text-dim); }
.search-wrap input:focus {
  border-color: var(--yellow);
  background: var(--surface-3);
  box-shadow: 0 0 0 4px var(--yellow-soft);
}
.search-btn {
  position: absolute; right: 5px; top: 5px;
  width: 36px; height: 36px;
  background: var(--yellow); border: none; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.search-btn:hover { background: var(--yellow-dark); transform: scale(1.06) rotate(-6deg); }
.search-btn svg { width: 16px; height: 16px; fill: #fff; }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 12px;
  border-right: 1px solid var(--border);
  padding-right: 14px;
}
.header-info .phone-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--yellow-soft);
  border: 1px solid var(--yellow-line);
  display: flex; align-items: center; justify-content: center;
}
.header-info .phone-icon svg { width: 16px; height: 16px; fill: var(--yellow); }
.header-info .phone-info { line-height: 1.3; }
.header-info .phone-info b { color: var(--text); font-size: 14px; display: block; }
.icon-btn {
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  color: var(--text-muted);
  transition: all 0.2s;
}
.icon-btn:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn .badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--yellow); color: #fff;
  font-size: 10px; font-weight: 800;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}

/* ===== CATEGORY NAV ===== */
.cat-nav {
  background: #0A0A0A;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow-x: auto; scrollbar-width: none;
  padding: 10px 24px;
  position: sticky; top: 75px; z-index: 99;
  display: flex; align-items: center; gap: 6px;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-btn {
  display: inline-flex; align-items: center;
  padding: 7px 16px;
  background: #fff;
  border: 1px solid #fff;
  color: #1A1A1A;
  border-radius: 20px; cursor: pointer;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  transition: all 0.2s;
}
.cat-btn:hover { background: #e8e8e8; border-color: #e8e8e8; color: #1A1A1A; }
.cat-btn.active {
  color: #fff; background: var(--yellow);
  border-color: var(--yellow); font-weight: 700;
  box-shadow: 0 0 16px var(--yellow-soft);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* HERO V1 — Industrial big slogan */
.hero-v1 {
  background: linear-gradient(180deg, #FFFFFF, #F5F5F5);
  padding: 80px 24px 60px;
  border-bottom: 1px solid var(--border);
}
.hero-v1 .grid-bg { display: none; }
.hero-v1 .inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1.2fr;
  gap: 60px; align-items: center; position: relative;
}
.hero-v1 .hero-left { position: relative; z-index: 2; }
.hero-v1 .hero-right { display: flex; flex-direction: column; gap: 24px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  color: var(--yellow);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--yellow);
  width: fit-content;
}

.hero-main {
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--text);
}
.hero-main .highlight {
  background: var(--yellow);
  color: #fff;
  padding: 0 12px;
  display: inline-block;
  border-radius: 8px;
  margin: 0 6px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 32px;
}

.btn-explore {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 36px;
  background: var(--yellow); color: #000;
  border: none; border-radius: 30px;
  font-size: 14px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px;
  cursor: pointer; text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 12px 32px rgba(230,57,70,0.3);
  width: fit-content;
}
.btn-explore:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(230,57,70,0.4);
}

/* Hero Features */
.hero-feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.hero-feature:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(230,57,70,0.15);
}

.feature-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(230,57,70,0.12), rgba(230,57,70,0.04));
  border: 2px solid var(--yellow-line);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: var(--yellow);
  font-size: 28px;
}
.feature-icon svg { width: 32px; height: 32px; }
.feature-icon.wa-icon {
  background: linear-gradient(135deg, rgba(37,211,102,0.12), rgba(37,211,102,0.04));
  border-color: rgba(37,211,102,0.4);
  color: var(--green);
}

.feature-label {
  font-size: 11px; color: var(--yellow); font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.hero-feature h3 {
  font-size: 20px; font-weight: 800; color: var(--text);
  margin-bottom: 6px;
}
.hero-feature p {
  font-size: 14px; color: var(--text-muted); line-height: 1.5;
}

/* HERO V2 — Full-width banner slider */
.hero-v2 {
  background: #000;
  padding: 0;
}
.hero-v2 .slider {
  width: 100%;
  position: relative;
  height: 580px;
  overflow: hidden;
}
.hero-v2 .slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-v2 .slide.active { opacity: 1; z-index: 2; }

/* CTA flotante sobre los banners */
.slide-cta-overlay {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 10;
}
.slide-cta-btn {
  display: inline-block;
  background: var(--yellow);
  color: #fff;
  padding: 14px 40px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  box-shadow: 0 8px 24px rgba(230,57,70,0.45);
  transition: background .2s, transform .2s;
}
.slide-cta-btn:hover { background: var(--yellow-dark); transform: translateY(-2px); }
.hero-v2 .slide-visual {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.hero-v2 .slide-visual .big-circle {
  width: 320px; height: 320px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(230,57,70,0.18), transparent 70%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-v2 .slide.s2 .slide-visual .big-circle { background: radial-gradient(circle, rgba(255,77,77,0.15), transparent 70%); }
.hero-v2 .slide.s3 .slide-visual .big-circle { background: radial-gradient(circle, rgba(37,211,102,0.12), transparent 70%); }
.hero-v2 .slide-visual svg {
  width: 200px; height: 200px;
  animation: gentle-float 5s ease-in-out infinite;
}
@keyframes gentle-float {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}
.hero-img-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}
.hero-img-glow {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  filter: blur(55px);
  opacity: 0.45;
  pointer-events: none;
}
.hero-img-glow-red   { background: radial-gradient(circle, rgba(230,57,70,0.65), transparent 70%); }
.hero-img-glow-green { background: radial-gradient(circle, rgba(37,211,102,0.55), transparent 70%); }
.hero-product-img {
  width: auto; max-width: 100%; max-height: 340px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.22));
  animation: gentle-float 5s ease-in-out infinite;
  position: relative; z-index: 1;
}
.hero-v2 .price-tag {
  position: absolute;
  top: 30px; right: 0;
  background: var(--red);
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 800;
  transform: rotate(8deg);
  box-shadow: 0 8px 20px rgba(255,77,77,0.4);
  font-size: 14px;
}
.hero-v2 .slide-dots {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.hero-v2 .slide-dots .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer; transition: all 0.3s;
  border: none;
}
.hero-v2 .slide-dots .dot.active {
  background: var(--yellow); width: 28px; border-radius: 5px;
}
.hero-v2 .slide-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 5;
  color: var(--text);
  transition: all 0.2s;
}
.hero-v2 .slide-arrow:hover { background: var(--yellow); color: #fff; border-color: var(--yellow); }
.hero-v2 .slide-arrow.prev { left: 20px; }
.hero-v2 .slide-arrow.next { right: 20px; }

/* HERO V3 — Editorial split */
.hero-v3 { background: #FFFFFF; }
.hero-v3 .inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.hero-v3 .left {
  padding: 60px 40px 60px 24px;
  display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid var(--border);
  position: relative;
}
.hero-v3 .left .number {
  font-size: 200px; font-weight: 900; color: var(--yellow);
  line-height: 0.85; letter-spacing: -8px;
  position: absolute; top: 20px; right: 30px; opacity: 0.06;
}
.hero-v3 .left h1 {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900; line-height: 1; letter-spacing: -1.5px;
  margin-bottom: 16px; text-transform: uppercase;
}
.hero-v3 .left h1 .stripe {
  background: var(--yellow); color: #fff;
  padding: 0 12px; display: inline-block;
}
.hero-v3 .left .subtitle {
  font-size: 14px; color: var(--yellow); font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px; margin-bottom: 16px;
}
.hero-v3 .left p { color: var(--text-muted); margin-bottom: 30px; line-height: 1.6; max-width: 480px; }
.hero-v3 .right { padding: 0; display: grid; grid-template-rows: 1fr 1fr; }
.hero-v3 .right > div {
  padding: 40px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 24px;
  position: relative; overflow: hidden; cursor: pointer;
  transition: background 0.25s;
}
.hero-v3 .right > div:last-child { border-bottom: none; }
.hero-v3 .right > div:hover { background: var(--surface); }
.hero-v3 .right .badge {
  flex-shrink: 0; width: 90px; height: 90px;
  background: var(--yellow-soft); border: 1px solid var(--yellow-line);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
}
.hero-v3 .right .badge svg { width: 44px; height: 44px; fill: var(--yellow); }
.hero-v3 .right .info { flex: 1; }
.hero-v3 .right .info .label {
  font-size: 11px; font-weight: 700; color: var(--yellow);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 6px;
}
.hero-v3 .right .info h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.hero-v3 .right .info p { font-size: 13px; color: var(--text-muted); }
.hero-v3 .right > div::after {
  content: '→'; position: absolute; right: 30px; bottom: 30px;
  font-size: 24px; color: var(--text-dim); transition: all 0.25s;
}
.hero-v3 .right > div:hover::after { color: var(--yellow); transform: translateX(8px); }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--charcoal);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 22px 24px;
}
.trust-bar .inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .ti-icon {
  width: 50px; height: 50px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
/* Cada ícono con su propio color */
.trust-item:nth-child(1) .ti-icon { background: rgba(230,57,70,0.18);  border: 1px solid rgba(230,57,70,0.35); }
.trust-item:nth-child(1) .ti-icon svg { fill: var(--yellow); }
.trust-item:nth-child(2) .ti-icon { background: rgba(27,58,107,0.35);  border: 1px solid rgba(27,58,107,0.5); }
.trust-item:nth-child(2) .ti-icon svg { fill: #5B9BD5; }
.trust-item:nth-child(3) .ti-icon { background: rgba(37,211,102,0.18); border: 1px solid rgba(37,211,102,0.35); }
.trust-item:nth-child(3) .ti-icon svg { fill: var(--green); }
.trust-item:nth-child(4) .ti-icon { background: rgba(250,176,5,0.18);  border: 1px solid rgba(250,176,5,0.35); }
.trust-item:nth-child(4) .ti-icon svg { fill: #FAB005; }
.trust-item .ti-icon svg { width: 24px; height: 24px; }
.trust-item .ti-text b { display: block; font-size: 14px; margin-bottom: 2px; color: #fff; }
.trust-item .ti-text span { font-size: 12px; color: rgba(255,255,255,0.55); }

/* ===== SECTION HEADER ===== */
/* ===== TOP 10 MÁS VENDIDOS ===== */
.top-vendidos {
  padding: 64px 24px 56px;
  background: linear-gradient(180deg, #fff 0%, #f8f8f8 100%);
  overflow: hidden;
}
.tv-header {
  text-align: center;
  margin-bottom: 40px;
}
.tv-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 2.5px;
  color: var(--navy); text-transform: uppercase; margin-bottom: 10px;
}
.tv-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900; color: var(--text);
}
.tv-accent { color: var(--navy); }
.tv-track-wrap {
  overflow: hidden;
  padding-bottom: 16px;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.tv-track {
  display: flex;
  gap: 20px;
  padding: 8px 0 4px;
  width: max-content;
  animation: tv-scroll 40s linear infinite;
}
.tv-track:hover {
  animation-play-state: paused;
}
@keyframes tv-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.tv-card {
  width: 280px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 28px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  flex-shrink: 0;
}
.tv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.10);
  border-color: var(--yellow);
}
.tv-rank {
  position: absolute;
  top: -12px; left: 16px;
  background: var(--yellow);
  color: #fff;
  font-size: 11px; font-weight: 900;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .5px;
}
.tv-rank.gold   { background: #F4A700; }
.tv-rank.silver { background: #8A9BAF; }
.tv-rank.bronze { background: #B87333; }
.tv-img {
  width: 190px; height: 190px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.tv-img img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.tv-code {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  color: var(--text-dim); text-transform: uppercase;
}
.tv-name {
  font-size: 14px; font-weight: 600; color: var(--text);
  text-align: center; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 60px;
}
.tv-price {
  font-size: 22px; font-weight: 900; color: var(--yellow);
}
.tv-btn {
  width: 100%;
  background: var(--yellow);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 0;
  font-size: 13px; font-weight: 700; cursor: pointer;
  transition: background .15s;
  letter-spacing: .3px;
}
.tv-btn:hover { background: var(--yellow-dark); }

.section-head {
  max-width: 1400px; margin: 0 auto;
  padding: 50px 24px 24px; text-align: center;
}
.section-head .eyebrow {
  font-size: 11px; color: var(--navy); font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px; margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900; letter-spacing: -1px; text-transform: uppercase;
}
.section-head p { color: var(--text-muted); margin-top: 10px; font-size: 15px; }

/* ===== MAIN CATALOG ===== */
.main-wrap {
  max-width: 1400px; margin: 0 auto;
  padding: 20px 16px 40px;
  display: grid; grid-template-columns: 240px 1fr;
  gap: 24px; align-items: start;
}
.sidebar {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  position: sticky; top: 140px;
  max-height: calc(100vh - 160px); overflow-y: auto;
}
.sidebar h3 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-dim); margin-bottom: 16px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.filter-section { margin-bottom: 24px; }
.filter-section h4 {
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.8px;
}
.brand-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0; cursor: pointer;
  font-size: 13px; color: var(--text-muted); transition: color 0.15s;
}
.brand-item:hover { color: var(--text); }
.brand-item input[type=checkbox] { accent-color: var(--yellow); width: 14px; height: 14px; cursor: pointer; }
.brand-item label { cursor: pointer; flex: 1; }
.brand-item .count {
  font-size: 10px; background: var(--surface-3);
  color: var(--text-dim); padding: 1px 6px; border-radius: 8px;
}
.price-inputs { display: flex; gap: 8px; align-items: center; }
.price-inputs input {
  flex: 1; height: 36px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0 10px;
  font-size: 13px; outline: none;
  background: var(--surface-2); color: var(--text);
}
.price-inputs input:focus { border-color: var(--yellow); }
.price-inputs span { color: var(--text-dim); }
.filter-apply-btn {
  width: 100%; height: 36px; background: var(--yellow); color: #fff;
  border: none; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 700;
  cursor: pointer; margin-top: 8px; transition: all 0.2s;
}
.filter-apply-btn:hover { background: var(--yellow-dark); }
.clear-filters-btn {
  width: 100%; height: 34px; background: transparent; color: var(--text-muted);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 12px; cursor: pointer; margin-top: 6px;
}
.clear-filters-btn:hover { border-color: var(--yellow); color: var(--yellow); }

.products-section { min-width: 0; }
.results-bar {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; flex-wrap: wrap; gap: 8px;
}
.results-count { font-size: 14px; color: var(--text-muted); }
.results-count strong { color: var(--yellow); font-size: 16px; }
.sort-select {
  height: 34px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0 10px;
  font-size: 12px; outline: none; cursor: pointer;
  background: var(--surface-2); color: var(--text);
}

/* ===== PRODUCT GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.product-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  position: relative; cursor: pointer;
}
.product-card::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--yellow-soft), transparent);
  opacity: 0; transition: opacity 0.25s; pointer-events: none;
}
.product-card:hover {
  border-color: var(--yellow-line);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 24px var(--yellow-soft);
}
.product-card:hover::before { opacity: 1; }
.product-img-wrap {
  position: relative; background: var(--surface-2);
  aspect-ratio: 1.1;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform 0.4s;
}
.product-img-wrap svg {
  width: 60%; height: 60%; transition: transform 0.4s;
}
.product-card:hover .product-img-wrap img,
.product-card:hover .product-img-wrap svg { transform: scale(1.08); }
.promo-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--red); color: #fff;
  font-size: 11px; font-weight: 800; padding: 4px 10px;
  border-radius: 14px; letter-spacing: 0.3px; z-index: 2;
}
.brand-badge {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
  color: rgba(255,255,255,0.85); font-size: 9px; font-weight: 700;
  padding: 3px 7px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: 0.5px;
  border: 1px solid rgba(255,255,255,0.1); z-index: 2;
}
.product-info { padding: 14px; flex: 1; display: flex; flex-direction: column; position: relative; z-index: 1; }
.product-code { font-size: 10px; color: var(--text-dim); font-family: monospace; margin-bottom: 6px; }
.product-name {
  font-size: 13px; font-weight: 500; color: var(--text);
  line-height: 1.45; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin-bottom: 12px;
}
.product-price { font-size: 20px; font-weight: 800; color: var(--yellow); margin-bottom: 2px; letter-spacing: -0.5px; }
.product-price-label { font-size: 9px; color: var(--text-dim); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.product-actions { display: flex; gap: 6px; }
.btn-quick {
  flex: 1; height: 36px; background: var(--yellow); color: #fff;
  border: none; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 700; cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 5px;
}
.btn-quick:hover { background: var(--yellow-dark); }
.btn-quick svg { width: 14px; height: 14px; fill: currentColor; }
.btn-wa-mini {
  width: 36px; height: 36px;
  background: rgba(37,211,102,0.1); border: 1px solid rgba(37,211,102,0.25);
  border-radius: var(--radius-sm); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0; text-decoration: none;
}
.btn-wa-mini:hover { background: rgba(37,211,102,0.2); border-color: rgba(37,211,102,0.5); }
.btn-wa-mini svg { width: 18px; height: 18px; fill: var(--green); }

/* ===== MODAL ===== */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(8px);
  z-index: 1000; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; max-width: 1400px; width: 95vw;
  max-height: 90vh; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 40px var(--yellow-soft);
  animation: modalIn 0.25s cubic-bezier(0.4,0,0.2,1);
}
@keyframes modalIn { from { transform: scale(0.92) translateY(12px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px 16px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--surface); z-index: 1;
}
.modal-header h2 { font-size: 16px; font-weight: 600; }
.modal-close {
  width: 34px; height: 34px; border: 1px solid var(--border);
  background: var(--surface-2); border-radius: 50%; cursor: pointer;
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all 0.15s;
}
.modal-close:hover { background: var(--yellow); color: #fff; border-color: var(--yellow); }
.modal-body { padding: 24px; }
.modal-grid { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.modal-img-wrap {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); height: 240px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.modal-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.modal-img-wrap svg { width: 70%; height: 70%; }
.modal-code { font-size: 11px; color: var(--text-dim); font-family: monospace; margin-bottom: 6px; }
.modal-brand { font-size: 12px; font-weight: 800; color: var(--yellow); text-transform: uppercase; margin-bottom: 8px; letter-spacing: 1px; }
.modal-category {
  font-size: 11px; color: var(--text-muted);
  background: var(--surface-2); border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 20px; display: inline-block; margin-bottom: 14px;
}
.modal-price-box {
  background: linear-gradient(135deg, rgba(230,57,70,0.12), rgba(230,57,70,0.04));
  border: 1px solid var(--yellow-line); border-radius: var(--radius); padding: 14px; margin-bottom: 16px;
}
.modal-price { font-size: 30px; font-weight: 900; color: var(--yellow); letter-spacing: -1px; }
.modal-price-sub { font-size: 10px; color: var(--text-dim); margin-top: 3px; text-transform: uppercase; letter-spacing: 0.5px; }
.spec-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.spec-label { color: var(--text-dim); }
.spec-value { font-weight: 600; color: var(--text); text-align: right; }
.modal-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.modal-btn-wa {
  flex: 1; height: 50px; background: var(--green); border: none;
  color: #fff; border-radius: var(--radius); font-size: 15px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  gap: 10px; transition: all 0.2s; text-decoration: none;
}
.modal-btn-wa:hover { background: var(--green-dark); }
.modal-btn-wa svg { width: 22px; height: 22px; fill: #fff; }

/* ===== CONTACT SECTION ===== */
.contact-section {
  background:
    radial-gradient(ellipse at top left, rgba(27,58,107,0.12), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(230,57,70,0.07), transparent 50%),
    var(--bg-2);
  padding: 70px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.contact-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 50px; align-items: center;
}
.contact-grid h2 {
  font-size: 36px; font-weight: 900; line-height: 1;
  margin-bottom: 16px; text-transform: uppercase; letter-spacing: -1px;
}
.contact-grid h2 .accent { color: var(--yellow); }
.contact-grid p.lead { color: var(--text-muted); margin-bottom: 24px; line-height: 1.6; }
.contact-info-list { list-style: none; }
.contact-info-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-list .ci-icon {
  width: 40px; height: 40px;
  background: var(--yellow-soft); border: 1px solid var(--yellow-line);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-list .ci-icon svg { width: 18px; height: 18px; fill: var(--yellow); }
.contact-info-list b { display: block; font-size: 14px; margin-bottom: 2px; }
.contact-info-list span { font-size: 13px; color: var(--text-muted); }
.contact-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 30px;
}
.contact-form h3 { margin-bottom: 4px; font-size: 18px; }
.contact-form .sub { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-input, .form-textarea, .form-select {
  width: 100%; height: 44px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 0 14px;
  color: var(--text); font-size: 14px; outline: none;
  font-family: inherit; transition: all 0.2s;
}
.form-textarea { padding: 12px 14px; height: 110px; resize: vertical; }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-soft);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-dim); }
.btn-submit {
  width: 100%; height: 50px; background: var(--yellow); color: #fff;
  border: none; border-radius: 10px; font-size: 14px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-submit:hover { background: var(--yellow-dark); }
.form-success {
  background: rgba(37,211,102,0.1); border: 1px solid rgba(37,211,102,0.3);
  color: var(--green); padding: 14px; border-radius: 10px;
  font-size: 14px; margin-top: 14px; display: none;
}
.form-success.visible { display: block; }

/* ===== FOOTER ===== */
footer.footer-main {
  background: var(--charcoal); border-top: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.55); padding: 60px 24px 0;
}
.footer-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px; padding-bottom: 40px;
}
.footer-grid h4 {
  color: #fff; font-size: 14px; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding-bottom: 8px; border-bottom: 2px solid var(--navy); display: inline-block;
}
.footer-grid img.logo-foot { height: 64px; margin-bottom: 16px; }
.footer-grid p { font-size: 13px; line-height: 1.6; margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 10px; font-size: 13px; }
.footer-grid ul li a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-grid ul li a:hover { color: var(--yellow); }
.footer-newsletter form { display: flex; margin-bottom: 18px; }
.footer-newsletter input {
  width: 100%; height: 44px; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 8px 0 0 8px;
  padding: 0 14px; color: #fff; outline: none; font-size: 13px;
}
.footer-newsletter button {
  background: var(--yellow); color: #fff; border: none;
  padding: 0 20px; border-radius: 0 8px 8px 0;
  font-weight: 700; cursor: pointer; font-size: 13px; text-transform: uppercase;
}
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a {
  width: 38px; height: 38px; border: 1px solid var(--border);
  background: var(--surface-2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all 0.2s;
}
.social-row a:hover { background: var(--yellow); color: #fff; border-color: var(--yellow); transform: translateY(-3px); }
.social-row svg { width: 16px; height: 16px; fill: currentColor; }
.payment-row { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.payment-row .pay {
  height: 28px; padding: 0 10px; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 6px;
  font-size: 10px; font-weight: 800; color: var(--text-muted);
  display: flex; align-items: center; letter-spacing: 0.5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0;
  text-align: center; font-size: 12px; color: rgba(255,255,255,0.35);
}

/* ===== FLOATING WIDGETS ===== */
.float-wa {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px; background: var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 90; text-decoration: none;
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
  animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 8px 30px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 8px 30px rgba(37,211,102,0.5), 0 0 0 14px rgba(37,211,102,0); }
}
.float-wa svg { width: 30px; height: 30px; fill: #fff; }
.float-wa .float-tooltip {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%);
  background: var(--surface); color: var(--text);
  padding: 8px 14px; border-radius: 8px; font-size: 12px;
  white-space: nowrap; border: 1px solid var(--border);
  opacity: 0; pointer-events: none; transition: all 0.2s;
}
.float-wa:hover .float-tooltip { opacity: 1; right: 78px; }

.float-chat {
  position: fixed; bottom: 100px; right: 24px;
  width: 60px; height: 60px; background: var(--yellow); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 90;
  box-shadow: 0 8px 30px rgba(230,57,70,0.45); border: none;
  transition: transform 0.2s;
}
.float-chat:hover { transform: scale(1.08); }
.float-chat svg { width: 28px; height: 28px; fill: #fff; }
.float-chat .live-dot {
  position: absolute; top: 6px; right: 6px;
  width: 14px; height: 14px; background: var(--green);
  border: 2px solid var(--bg); border-radius: 50%;
}

.float-up {
  position: fixed; bottom: 176px; right: 24px;
  width: 44px; height: 44px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 90; color: var(--text-muted);
  opacity: 0; pointer-events: none; transition: all 0.3s;
}
.float-up.show { opacity: 1; pointer-events: all; }
.float-up:hover { color: var(--yellow); border-color: var(--yellow); transform: translateY(-3px); }

/* ===== CHATBOT ===== */
.chatbot-window {
  position: fixed; bottom: 100px; right: 24px;
  width: 380px; max-width: calc(100vw - 48px);
  height: 540px; max-height: calc(100vh - 130px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; z-index: 200;
  display: none; flex-direction: column; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.7), 0 0 50px rgba(230,57,70,0.15);
  animation: chatIn 0.3s cubic-bezier(.2,1.4,.4,1);
}
.chatbot-window.open { display: flex; }
@keyframes chatIn {
  from { transform: translateY(20px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.chatbot-header {
  background: linear-gradient(135deg, #F5F5F5, #FFFFFF);
  border-bottom: 1px solid var(--border); padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
}
.chatbot-avatar {
  width: 40px; height: 40px; background: var(--yellow); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.chatbot-avatar svg { width: 22px; height: 22px; fill: #fff; }
.chatbot-avatar::after {
  content: ''; position: absolute; bottom: 0; right: 0;
  width: 12px; height: 12px; background: var(--green);
  border: 2px solid var(--surface); border-radius: 50%;
}
.chatbot-title { flex: 1; }
.chatbot-title b { display: block; font-size: 14px; }
.chatbot-title span { font-size: 11px; color: var(--green); }
.chatbot-close {
  background: transparent; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 20px; padding: 4px 8px;
}
.chatbot-close:hover { color: var(--yellow); }
.chatbot-body {
  flex: 1; overflow-y: auto; padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  background:
    radial-gradient(circle at top right, rgba(230,57,70,0.04), transparent 50%),
    var(--bg-2);
}
.chat-msg {
  max-width: 92%; padding: 10px 14px; border-radius: 14px;
  font-size: 13.5px; line-height: 1.45; word-wrap: break-word;
  animation: msgIn 0.3s ease;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.chat-msg.bot {
  background: var(--surface); border: 1px solid var(--border);
  border-bottom-left-radius: 4px; align-self: flex-start;
}
.chat-msg.user {
  background: var(--yellow); color: #fff;
  border-bottom-right-radius: 4px; align-self: flex-end; font-weight: 500;
}
.chat-msg.bot .typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.chat-msg.bot .typing span {
  width: 6px; height: 6px; background: var(--text-muted); border-radius: 50%;
  animation: typing 1.2s infinite ease-in-out;
}
.chat-msg.bot .typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-msg.bot .typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%,100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-4px); opacity: 1; }
}
/* Chat product cards */
.chat-cards {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 10px;
}
.chat-card {
  display: flex; gap: 10px; align-items: center;
  background: #fff; border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 10px;
  cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.chat-card:hover { border-color: var(--yellow); box-shadow: 0 4px 12px rgba(230,57,70,0.12); }
.chat-card-img {
  width: 54px; height: 54px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; border-radius: 6px; background: var(--surface-2);
}
.chat-card-img img { width: 100%; height: 100%; object-fit: contain; }
.chat-card-svg { width: 80%; height: 80%; }
.chat-card-info {
  flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.chat-card-code {
  font-size: 10px; font-weight: 700; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: .8px;
}
.chat-card-name {
  font-size: 12px; font-weight: 500; color: var(--text);
  line-height: 1.3; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.chat-card-price {
  font-size: 14px; font-weight: 800; color: var(--yellow);
}
.chat-card-btn {
  align-self: flex-start; margin-top: 2px;
  background: var(--yellow); color: #fff; border: none;
  border-radius: 6px; padding: 4px 10px;
  font-size: 11px; font-weight: 700; cursor: pointer;
  transition: background .15s;
}
.chat-card-btn:hover { background: var(--yellow-dark); }

.quick-replies { padding: 0 18px 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.quick-reply {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-muted); padding: 6px 12px; border-radius: 16px;
  font-size: 12px; cursor: pointer; transition: all 0.2s;
}
.quick-reply:hover { background: var(--yellow); color: #fff; border-color: var(--yellow); }
.chatbot-input-row {
  display: flex; gap: 8px; padding: 14px;
  border-top: 1px solid var(--border); background: var(--surface);
}
.chatbot-input-row input {
  flex: 1; height: 40px; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 0 14px; color: var(--text); outline: none; font-size: 13px;
}
.chatbot-input-row input:focus { border-color: var(--yellow); }
.chatbot-send {
  width: 40px; height: 40px; background: var(--yellow); border: none;
  border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.2s;
}
.chatbot-send:hover { background: var(--yellow-dark); transform: scale(1.06); }
.chatbot-send svg { width: 16px; height: 16px; fill: #fff; }

/* ===== LOADING ===== */
.loading-overlay {
  position: fixed; inset: 0; background: #000; z-index: 9999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 24px; transition: opacity 0.5s;
}
.loading-overlay.hide { opacity: 0; pointer-events: none; }
.loading-overlay img { height: 100px; animation: pulse 1.5s ease-in-out infinite; }
.spinner {
  width: 38px; height: 38px; border: 3px solid rgba(255,255,255,0.05);
  border-top-color: var(--yellow); border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { color: var(--text-dim); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; }

/* ===== EMPTY STATE ===== */
.empty-state { grid-column: 1/-1; text-align: center; padding: 80px 20px; color: var(--text-dim); }
.empty-state svg { width: 56px; height: 56px; fill: var(--surface-3); margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; margin-bottom: 8px; color: var(--text-muted); }

/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 28px 0 8px; flex-wrap: wrap; }
.page-btn {
  min-width: 38px; height: 38px; border: 1px solid var(--border);
  background: var(--surface); border-radius: var(--radius-sm); cursor: pointer;
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  transition: all 0.15s; padding: 0 12px;
}
.page-btn:hover { border-color: var(--yellow); color: var(--yellow); }
.page-btn.active { background: var(--yellow); border-color: var(--yellow); color: #fff; font-weight: 700; }
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ===== COUPON MODAL ===== */
.logo-anim { position: relative; }
.logo-pulse-tip {
  position: absolute; top: -6px; right: -10px;
  background: #E63946; color: #fff; font-size: 14px;
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(230,57,70,0.5);
  animation: couponPulse 1.8s ease-in-out infinite; pointer-events: none;
}
@keyframes couponPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(230,57,70,0.5), 0 0 0 0 rgba(230,57,70,0.6); }
  50%      { transform: scale(1.12); box-shadow: 0 4px 12px rgba(230,57,70,0.5), 0 0 0 10px rgba(230,57,70,0); }
}
.coupon-overlay {
  position: fixed; inset: 0; background: rgba(15,15,20,0.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  z-index: 9999; padding: 20px; animation: couponFadeIn .25s ease;
}
.coupon-overlay.show { display: flex; }
@keyframes couponFadeIn { from { opacity: 0; } to { opacity: 1; } }
.coupon-modal {
  position: relative; background: #fff; border-radius: 20px;
  padding: 40px 36px 32px; max-width: 520px; width: 100%;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4); text-align: center; overflow: hidden;
  animation: couponPop .45s cubic-bezier(.2,1.5,.4,1);
}
@keyframes couponPop {
  0%   { transform: scale(.7) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.coupon-modal::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, #E63946, #C42836, #E63946);
}
.coupon-close {
  position: absolute; top: 12px; right: 14px;
  background: #f3f3f3; border: none; width: 36px; height: 36px;
  border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer;
  color: #555; transition: all .2s; z-index: 5;
}
.coupon-close:hover { background: #E63946; color: #fff; transform: rotate(90deg); }
.coupon-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.coupon-confetti span {
  position: absolute; top: -10px; width: 8px; height: 14px;
  opacity: 0; animation: confettiFall 2.5s ease-out forwards;
}
.coupon-confetti span:nth-child(1)  { left: 10%; background: #E63946; animation-delay: .05s; }
.coupon-confetti span:nth-child(2)  { left: 22%; background: #1A1A1A; animation-delay: .15s; }
.coupon-confetti span:nth-child(3)  { left: 34%; background: #E63946; animation-delay: .25s; transform: rotate(45deg); }
.coupon-confetti span:nth-child(4)  { left: 46%; background: #FFC93C; animation-delay: .1s; }
.coupon-confetti span:nth-child(5)  { left: 58%; background: #1A1A1A; animation-delay: .3s; }
.coupon-confetti span:nth-child(6)  { left: 70%; background: #E63946; animation-delay: .2s; }
.coupon-confetti span:nth-child(7)  { left: 82%; background: #FFC93C; animation-delay: .35s; transform: rotate(45deg); }
.coupon-confetti span:nth-child(8)  { left: 92%; background: #E63946; animation-delay: .15s; }
.coupon-confetti span:nth-child(9)  { left: 16%; background: #FFC93C; animation-delay: .4s; }
.coupon-confetti span:nth-child(10) { left: 64%; background: #1A1A1A; animation-delay: .25s; transform: rotate(45deg); }
@keyframes confettiFall {
  0%   { transform: translateY(-20px) rotate(0); opacity: 1; }
  100% { transform: translateY(560px) rotate(720deg); opacity: 0; }
}
.coupon-eyebrow {
  display: inline-block; background: rgba(230,57,70,0.12); color: #E63946;
  font-weight: 800; font-size: 13px; padding: 6px 14px;
  border-radius: 100px; letter-spacing: .5px; margin-bottom: 14px;
}
.coupon-title {
  font-size: 30px; font-weight: 900; line-height: 1.15;
  color: #1A1A1A; margin: 0 0 10px; letter-spacing: -.5px;
}
.coupon-title span { color: #E63946; font-size: 36px; display: inline-block; }
.coupon-sub { color: #666; font-size: 15px; margin: 0 0 24px; }
.coupon-ticket {
  display: flex; align-items: stretch; background: #1A1A1A; color: #fff;
  border-radius: 14px; margin: 0 0 22px; position: relative; overflow: hidden;
}
.coupon-ticket::before, .coupon-ticket::after {
  content: ''; position: absolute; width: 22px; height: 22px;
  border-radius: 50%; background: #fff; top: 50%; transform: translateY(-50%);
}
.coupon-ticket::before { left: -11px; }
.coupon-ticket::after  { right: -11px; }
.coupon-ticket-left {
  background: #E63946; padding: 22px 18px; flex: 0 0 42%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.coupon-ticket-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: 1.5px; opacity: .9; margin-bottom: 4px; }
.coupon-ticket-discount { font-size: 56px; font-weight: 900; line-height: 1; letter-spacing: -2px; }
.coupon-ticket-discount span { font-size: 28px; vertical-align: top; margin-left: 2px; }
.coupon-ticket-foot { font-size: 11px; font-weight: 700; letter-spacing: 1px; margin-top: 4px; opacity: .9; }
.coupon-ticket-divider { width: 0; border-left: 2px dashed rgba(255,255,255,0.25); margin: 12px 0; }
.coupon-ticket-right {
  flex: 1; padding: 18px 18px 18px 22px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.coupon-code-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: #aaa; text-transform: uppercase; }
.coupon-code {
  font-family: 'Courier New', monospace; font-size: 22px; font-weight: 900;
  letter-spacing: 2px; color: #FFC93C; background: rgba(255,255,255,0.08);
  padding: 8px 14px; border-radius: 8px; border: 1px dashed rgba(255,201,60,0.4); user-select: all;
}
.coupon-copy {
  background: #fff; color: #1A1A1A; border: none; padding: 8px 14px;
  border-radius: 8px; font-weight: 700; font-size: 12px; cursor: pointer;
  display: flex; align-items: center; gap: 6px; transition: all .2s;
}
.coupon-copy:hover { background: #E63946; color: #fff; transform: translateY(-1px); }
.coupon-copy.copied { background: #2E7D32; color: #fff; }
.coupon-terms {
  list-style: none; padding: 14px 16px; margin: 0 0 22px;
  text-align: left; font-size: 13px; color: #555;
  display: grid; gap: 6px; background: #fafafa;
  border-radius: 10px; border: 1px solid #eee;
}
.coupon-terms li { line-height: 1.5; }
.coupon-cta-row { display: flex; gap: 10px; }
.coupon-cta, .coupon-cta-ghost {
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 18px; border-radius: 10px;
  font-weight: 800; text-decoration: none; font-size: 14px; transition: all .25s;
}
.coupon-cta { background: #E63946; color: #fff; }
.coupon-cta:hover { background: #C42836; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(230,57,70,0.4); }
.coupon-cta-ghost { background: #fff; color: #1A1A1A; border: 2px solid #1A1A1A; }
.coupon-cta-ghost:hover { background: #1A1A1A; color: #fff; }
.coupon-step[hidden] { display: none !important; }
.coupon-form { display: grid; gap: 6px; text-align: left; }
.coupon-field-label { font-size: 13px; font-weight: 700; color: #1A1A1A; margin: 4px 0 2px; }
.coupon-phone-row {
  display: flex; align-items: stretch; border: 2px solid #ddd;
  border-radius: 10px; overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.coupon-phone-row:focus-within { border-color: #E63946; box-shadow: 0 0 0 3px rgba(230,57,70,0.15); }
.coupon-phone-flag {
  background: #fafafa; padding: 13px 12px; font-weight: 800;
  color: #1A1A1A; font-size: 15px; border-right: 1px solid #eee; white-space: nowrap;
}
.coupon-phone-row input {
  flex: 1; border: none; outline: none; padding: 13px 14px;
  font-size: 15px; font-weight: 600; color: #1A1A1A; background: transparent;
  letter-spacing: .5px; font-family: inherit;
}
.coupon-phone-row input::placeholder { color: #aaa; font-weight: 500; }
.coupon-error {
  color: #C42836; font-size: 13px; font-weight: 600;
  min-height: 18px; margin-top: 2px; display: flex; align-items: center; gap: 6px;
}
.coupon-error:not(:empty)::before { content: '⚠️'; }
.coupon-fineprint {
  font-size: 11px; color: #888; text-align: center;
  margin: 10px 0 0; line-height: 1.5; font-style: italic;
}
.coupon-modal.claimed .coupon-eyebrow { background: rgba(255,201,60,0.18); color: #B07700; }

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
  position: fixed;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 32px 100px rgba(0,0,0,0.22), 0 0 0 1px rgba(230,57,70,0.08);
  z-index: 500;
  overflow: hidden;
  width: 820px;
  max-width: calc(100vw - 32px);
  max-height: 78vh;
  display: flex;
  flex-direction: column;
  animation: overlayIn 0.18s cubic-bezier(.2,1,.4,1);
}
@keyframes overlayIn {
  from { opacity:0; transform:translateY(-8px) scale(0.98); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}
.search-overlay-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--text-dim);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface);
  flex-shrink: 0;
}
.search-overlay-header b { color: var(--yellow); }
.search-overlay-list {
  overflow-y: auto;
  flex: 1;
}
.search-overlay-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
}
.search-overlay-item:last-child { border-bottom: none; }
.search-overlay-item:hover { background: var(--surface); }
.search-overlay-img {
  width: 72px; height: 72px;
  background: var(--surface-2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.search-overlay-img img { width:100%; height:100%; object-fit:contain; }
.search-overlay-img svg { width:60%; height:60%; }
.search-overlay-info { min-width: 0; }
.search-overlay-code { font-size: 11px; color: var(--text-dim); font-family: monospace; margin-bottom: 4px; }
.search-overlay-name { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.35;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.search-overlay-brand { font-size: 12px; color: var(--text-muted); }
.search-overlay-price { font-size: 18px; font-weight: 900; color: var(--yellow); white-space: nowrap; }
.search-overlay-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
}
.search-overlay-footer button {
  width: 100%; height: 40px;
  background: var(--yellow); color: #fff;
  border: none; border-radius: 8px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  transition: background 0.2s;
}
.search-overlay-footer button:hover { background: var(--yellow-dark); }
.search-overlay-empty {
  padding: 40px 20px; text-align: center; color: var(--text-dim); font-size: 14px;
}
.search-overlay-backdrop {
  position: fixed; inset: 0; z-index: 499;
}

/* ===== PRICE FILTER MEJORADO ===== */
.price-presets {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px; margin-bottom: 14px;
}
.price-preset-btn {
  height: 32px; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  cursor: pointer; transition: all 0.2s;
}
.price-preset-btn:hover,
.price-preset-btn.active {
  background: var(--yellow); color: #fff; border-color: var(--yellow);
}
.price-range-wrap { display: flex; flex-direction: column; gap: 10px; }
.price-range-row { display: flex; align-items: center; gap: 8px; }
.price-range-field { flex: 1; }
.price-field-label { font-size: 10px; font-weight: 700; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.5px; display: block; margin-bottom: 4px; }
.price-field-input {
  display: flex; align-items: center;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--surface-2); overflow: hidden;
  transition: border-color 0.2s;
}
.price-field-input:focus-within { border-color: var(--yellow); }
.price-field-input span {
  padding: 0 8px; font-size: 13px; font-weight: 700;
  color: var(--text-dim); background: var(--surface-3);
  height: 36px; display: flex; align-items: center;
  border-right: 1px solid var(--border);
}
.price-field-input input {
  flex: 1; height: 36px; border: none; background: transparent;
  padding: 0 8px; font-size: 13px; color: var(--text); outline: none;
}
.price-range-sep {
  width: 12px; height: 2px; background: var(--border); flex-shrink: 0; margin-top: 16px;
}

/* ===== MOBILE BOTTOM NAV ===== */
.mobile-bottom-nav { display: none; }

/* ===== MOBILE CATEGORY DRAWER ===== */
.mobile-cats-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 1100;
}
.mobile-cats-overlay.open { display: block; }
.mobile-cats-drawer {
  position: fixed; left: 0; top: 0; bottom: 0;
  width: 82vw; max-width: 320px;
  background: #fff; z-index: 1101;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex; flex-direction: column;
}
.mobile-cats-drawer.open { transform: translateX(0); }
.mobile-cats-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px; border-bottom: 1px solid #eee;
  font-size: 16px; font-weight: 800; color: #1A1A1A;
}
.mobile-cats-header button {
  background: none; border: none; font-size: 20px;
  cursor: pointer; color: #666; padding: 4px;
}
.mobile-cats-list { flex: 1; overflow-y: auto; padding: 8px 0; }
.mobile-cat-item {
  width: 100%; text-align: left; background: none; border: none;
  padding: 14px 20px; font-size: 14px; font-weight: 600; color: #1A1A1A;
  cursor: pointer; border-bottom: 1px solid #f5f5f5;
  transition: background 0.15s;
}
.mobile-cat-item:active { background: #f5f5f5; }
.mobile-cat-item.active { color: var(--yellow); background: #fff5f5; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .trust-bar .inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .header-info { display: none; }
  .hero-v1 .inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-v1 .hero-right { gap: 16px; }
  .hero-main { font-size: clamp(32px, 6vw, 56px); }
  .hero-v2 .slide { grid-template-columns: 1fr; padding: 30px; }
  .hero-v2 .slide-visual { display: none; }
  .hero-v2 .slider { height: 320px; }
  .hero-v3 .inner { grid-template-columns: 1fr; }
  .hero-v3 .left { border-right: none; border-bottom: 1px solid var(--border); padding: 40px 24px; }
  .main-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; max-height: none; display: none; }
  .sidebar.open { display: block; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 600px) {
  /* === TOP STRIP: ocultar en móvil === */
  .top-strip { display: none; }

  /* === HEADER COMPACTO === */
  .header-top {
    padding: 10px 12px; gap: 8px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .logo-anim img { height: 44px; }
  .search-wrap {
    max-width: none; order: unset; flex-basis: unset;
  }
  .search-wrap input { font-size: 13px; padding: 0 36px 0 12px; height: 38px; }
  .header-actions { display: flex; gap: 4px; }
  .header-actions .icon-btn:not(:last-child):not(:nth-last-child(2)) { display: none; }
  .cat-nav { padding: 8px 12px; top: 64px; gap: 6px; }
  .cat-btn { padding: 6px 14px; font-size: 12px; }

  /* === HERO === */
  .hero-v2 .slider { height: 220px; }
  .slide-cta-btn { padding: 10px 24px; font-size: 13px; }

  /* === BODY: espacio para bottom nav === */
  body { padding-bottom: 64px; }

  /* === PRODUCTOS === */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 0 8px; }
  .product-card { border-radius: 10px; }
  .product-img-wrap { height: 140px; }

  /* === FORMS === */
  .form-row { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  /* === CHATBOT === */
  .chatbot-window {
    right: 0; left: 0; bottom: 64px;
    width: 100vw; border-radius: 16px 16px 0 0;
    max-height: 75vh;
  }

  /* === FLOAT BUTTONS: ocultar en móvil (reemplazados por bottom nav) === */
  .float-wa, .float-chat { display: none; }
  .float-up { right: 12px; bottom: 72px; }

  /* === MODAL PRODUCTO: pantalla completa === */
  .modal-overlay { align-items: flex-end; }
  .modal-box {
    width: 100%; max-width: 100%; border-radius: 20px 20px 0 0;
    max-height: 90vh; overflow-y: auto; margin: 0;
  }

  /* === CART / CHECKOUT: pantalla completa === */
  #cartModal > div, #checkoutModal > div {
    width: 100%; height: 100%; max-width: 100%;
    border-radius: 0; margin: 0;
  }

  /* === CUPÓN === */
  .coupon-modal { padding: 32px 22px 24px; }
  .coupon-title { font-size: 24px; }
  .coupon-title span { font-size: 28px; }
  .coupon-ticket-discount { font-size: 44px; }
  .coupon-ticket-left { flex-basis: 38%; padding: 16px 10px; }
  .coupon-cta-row { flex-direction: column; }
  .coupon-code { font-size: 18px; letter-spacing: 1px; }

  /* === SECCIONES === */
  .about-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .trust-bar .inner { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 20px; }

  /* === CART MÓVIL: columna única === */
  #cartGrid {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow: hidden !important;
    gap: 0 !important;
  }
  #cartProductList {
    flex: 1 !important;
    overflow-y: auto !important;
    padding-right: 0 !important;
    padding-bottom: 8px;
  }
  #cartSummary {
    position: static !important;
    height: auto !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-top: 2px solid #eee !important;
    padding: 14px 0 0 !important;
    flex-shrink: 0;
  }
  /* Los items del carrito se renderizan distinto en móvil desde JS */

  /* === CHECKOUT MÓVIL === */
  #checkoutModal > div { padding: 16px 16px 24px !important; }

  /* === BOTTOM NAV === */
  .mobile-bottom-nav {
    display: flex;
    position: fixed; bottom: 0; left: 0; right: 0;
    height: 64px; background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    z-index: 1000;
    align-items: stretch;
  }
  .mbn-item {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 3px; background: none; border: none;
    cursor: pointer; text-decoration: none;
    color: #888; font-size: 10px; font-weight: 600;
    transition: color 0.2s; position: relative;
    padding: 6px 4px;
  }
  .mbn-item svg { width: 22px; height: 22px; }
  .mbn-item.mbn-active { color: var(--yellow); }
  .mbn-item:active { color: var(--yellow); }
  .mbn-cart { color: #1A1A1A; }
  .mbn-badge {
    position: absolute; top: 6px;
    left: 50%; transform: translateX(4px);
    background: var(--yellow); color: #fff;
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 800; line-height: 1;
  }
}

}
