/* ── Reset & Variables ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  /* Brand blues extracted from ISANTO logo */
  --accent:      #8A4D63;
  --accent-bright: #00A0C8;
  --accent-deep: #005080;
  --accent-soft: rgba(0, 120, 180, 0.08);
  --accent-mid:  rgba(0, 120, 180, 0.15);
  --accent-glow: rgba(0, 160, 200, 0.25);

  /* Surface */
  --bg:          #ffffff;
  --bg2:         #f8f9fb;
  --bg3:         #f1f4f8;
  --text:        #0d1117;
  --text-muted:  #6a737d;
  --text-soft:   #94a3b8;
  --border:      #e2e8f0;
  --border-soft: rgba(226, 232, 240, 0.6);

  /* Typography */
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Geometry */
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --img-h:      180px;   /* alto de .product-img, usado para centrar flechas del carrusel */

  /* Shadows */
  --shadow-xs:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm:  0 4px 12px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.04);
  --shadow-md:  0 8px 24px rgba(0,0,0,.08), 0 4px 8px rgba(0,0,0,.04);
  --shadow-lg:  0 20px 48px rgba(0,0,0,.1), 0 8px 16px rgba(0,0,0,.05);
  --shadow-accent: 0 8px 24px rgba(0, 120, 180, 0.22);

  /* Motion */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── HEADER ────────────────────────────────────────────── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 6%;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: padding .3s;
}
header.sticky { 
  padding: 12px 6%; 
}

.logo-header {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

nav { display: flex; align-items: center; gap: 28px; }
nav a { font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s; position: relative; }
nav a::after { content:''; position:absolute; bottom:-3px; left:0; width:0; height:1.5px; background:var(--accent); transition:width .25s; }
nav a:hover { color: var(--text); }
nav a:hover::after { width: 100%; }
.nav-cta {
  font-size: 13px; font-weight: 700;
  padding: 9px 22px; border-radius: 8px;
  background: #8A4D63; color: #F8F8F8;
  transition: opacity .2s, transform .15s;
}
.nav-cta::after { display: none; }
.nav-cta:hover { 
  opacity: .88; 
  transform: scale(1.03); 
  color: #F8F8F8;
}

.nav-cta:hover { opacity: .88; }
.header-right { display: flex; align-items: center; gap: 14px; }
.carrito-btn {
  position: relative; cursor: pointer;
  width: 38px; height: 38px; border-radius: 9px;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--text);
  transition: border-color .2s, background .2s;
}
.carrito-btn:hover { border-color: var(--accent); background: rgba(39,224,176,.06); }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); color: #F8F8F8;
  font-size: 10px; font-weight: 700; font-family: var(--mono);
  display: flex; align-items: center; justify-content: center;
}
.menu-icon { display: none; font-size: 26px; cursor: pointer; color: var(--text); }

/* ── MOBILE NAV ────────────────────────────────────────── */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(255,255,255,.98);
  flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  backdrop-filter: blur(12px);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 22px; font-weight: 700; color: var(--text); }
.mobile-nav a:hover { color: var(--accent); }
.mobile-close { position: absolute; top: 24px; right: 24px; font-size: 34px; cursor: pointer; color: var(--muted); line-height: 1; }

/* ── MODAL CARRITO ─────────────────────────────────────── */
.modal-overlay-cart {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.5); backdrop-filter: blur(4px);
  align-items: flex-start; justify-content: flex-end;
}
.modal-overlay-cart[style*="block"] { display: flex; }
.modal-cart {
  background: var(--bg); width: 100%; max-width: 520px;
  height: 100vh; display: flex; flex-direction: column;
  box-shadow: -4px 0 32px rgba(0,0,0,.15);
}
.modal-cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px; border-bottom: 1px solid var(--border);
}
.modal-cart-header h2 { font-size: 18px; font-weight: 800; }
.modal-close { font-size: 28px; cursor: pointer; color: var(--muted); line-height: 1; }
.modal-close:hover { color: var(--text); }
.modal-cart-body { flex: 1; overflow-y: auto; padding: 16px 28px; }
#lista-carrito { width: 100%; border-collapse: collapse; font-size: 13px; }
#lista-carrito th { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; color: var(--muted); padding: 8px 6px; text-align: left; border-bottom: 1px solid var(--border); }
#lista-carrito td { padding: 12px 6px; border-bottom: 1px solid var(--border); vertical-align: middle; }
#lista-carrito td img { width: 52px; height: 52px; object-fit: contain; border-radius: 6px; background: var(--bg2); padding: 4px; }
.button-container { display: flex; gap: 4px; }
.button-container button { width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--border); background: var(--bg2); cursor: pointer; font-size: 13px; font-weight: 700; transition: background .15s; }
.button-container button:hover { background: var(--border); }
.modal-cart-footer { padding: 20px 28px; border-top: 1px solid var(--border); }
.cart-total { font-size: 16px; margin-bottom: 14px; }
.cart-total strong { color: var(--accent); font-family: var(--mono); font-size: 20px; }
.cart-actions { display: flex; gap: 10px; }
.btn-ghost-cart { flex: 1; padding: 10px; border-radius: 8px; border: 1.5px solid var(--border); background: transparent; font-family: var(--sans); font-size: 13px; font-weight: 600; cursor: pointer; color: var(--muted); transition: border-color .2s; }
.btn-ghost-cart:hover { border-color: var(--text); color: var(--text); }
.btn-wa-cart { flex: 2; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 8px; background: #25D366; color: #fff; border: none; font-family: var(--sans); font-size: 13px; font-weight: 700; cursor: pointer; transition: opacity .2s; }
.btn-wa-cart:hover { opacity: .88; }
.btn-wa-cart i { font-size: 18px; }

/* ── TOAST carrito ─────────────────────────────────────── */
#cart-toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--text); color: #fff;
  padding: 12px 20px; border-radius: 10px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s var(--ease-out);
  z-index: 9998; white-space: nowrap;
}
#cart-toast i { font-size: 16px; color: #25D366; }
#cart-toast.toast-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* ── HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100dvh;
  background: url('../img/Home.jpg') center/cover no-repeat;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 6% 60px;
  gap: 40px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(255,255,255,.96) 45%,
    rgba(255,255,255,.75) 70%,
    rgba(255,255,255,.2) 100%
  );
  z-index: 0;
}

.hero-left {
  position: relative;
  z-index: 1;
  max-width: 540px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 1.5px; color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(0,120,180,.15);
  padding: 6px 14px; border-radius: 99px;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--accent-bright);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.8); }
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2.5px;
  margin-bottom: 16px;
  color: var(--text);
}

.hero-line-2 {
  display: block;
  color: #8A4D63;
}

.hero-sub {
  font-size: 17px; font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 14px; letter-spacing: -0.2px;
}

.hero-desc {
  font-size: 14.5px;
  color: #5a6472;
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 32px;
}

.hero-social { display: flex; gap: 10px; }

.social-link {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); font-size: 18px;
  color: var(--text-muted);
  transition: border-color .2s, color .2s, background .2s, transform .15s;
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

/* ── BUTTONS ───────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-sm);
  background: var(--accent); color: #ffffff;
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  letter-spacing: -0.1px;
  transition: background .2s, transform .15s var(--ease-out), box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,120,180,.25);
}

.btn-primary:hover {
  background: #b16c86;
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
  color: #ffffff;
}

.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  color: var(--text-muted);
  transition: border-color .2s, color .2s, background .2s, transform .15s var(--ease-out);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #f8f8f8;
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════
   MARQUEE STRIP (between hero and features)
   ══════════════════════════════════════════════════════════ */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 36px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}
.marquee-item span { color: #1E6A78; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── PRODUCTOS ─────────────────────────────────────────── */
.products-section { padding: 80px 6%; position: relative; }
.products-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 40px; gap: 20px; flex-wrap: wrap;
}
.section-label { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--accent); margin-bottom: 8px; }
.products-title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -1px; line-height: 1; }
.search-wrap { position: relative; min-width: 260px; }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 16px; color: var(--muted); pointer-events: none; }
.search-input {
  width: 100%; padding: 10px 14px 10px 38px;
  border: 1.5px solid var(--border); border-radius: 9px;
  font-family: var(--sans); font-size: 13px; color: var(--text);
  background: var(--bg2); outline: none; transition: border-color .2s;
}
.search-input:focus { border-color: var(--accent); background: var(--bg); }

/* ── CARRUSEL ──────────────────────────────────────────── */
.carousel-wrap { position: relative; }
.carousel { overflow: hidden; }

.carousel-container {
  display: flex; gap: 16px;
  align-items: flex-start;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  margin-top: 10px;
}
.carousel-container.grid-mode {
  flex-wrap: wrap; transform: none !important;
}
.product {
  display: flex;
  flex-direction: column;
  height: 360px;
  position: relative;
  overflow: visible;
  min-width: 200px;
  max-width: 200px;
  flex-shrink: 0;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
}

.product-txt {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  gap: 0;
  overflow: hidden;
}
.product-cat { font-family: var(--mono); font-size: 9px; letter-spacing: 1.5px; color: var(--accent); font-weight: 500; margin-bottom: 4px; }
.product-txt h3 { 
  font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--text); margin-bottom: 8px;
}

.agregar-carrito {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px;
  margin-top: 6px;
  z-index: 10;
}
.product:hover { border-color: var(--accent); transform: translateY(-3px); }

.product-img {
  height: var(--img-h);
  min-height: var(--img-h);
  background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; overflow: hidden; padding: 16px;
  flex-shrink: 0;
  border-radius: 11px;
}
.product-img img { 
  max-height: 148px; 
  width: auto; 
  max-width: 100%; 
  object-fit: contain; 
  transition: transform .25s; 
}

.product-img:hover img { transform: scale(1.05); }


.product-txt h3 { 
  font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--text);
  height: 34px;
  overflow: hidden;
}

/* ── Colores disponibles ───────────────────────────────── */
.product-colors {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  min-height: 22px;
}
.product-colors-dots {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  height: 22px;
}
.color-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  height: 0;
  overflow: visible;
  line-height: 14px;
}
.color-dot {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,.15);
  cursor: pointer; flex-shrink: 0;
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
}
.color-dot:hover {
  transform: scale(1.35);
  box-shadow: 0 2px 8px rgba(0,0,0,.22);
}

/* Tooltip desactivado — el nombre se muestra como texto en la card */
.color-dot::before,
.color-dot::after {
  display: none;
}
.product-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.precio { 
  font-size: 15px; 
  font-weight: 800; 
  color: var(--text); 
  font-family: var(--mono); 
}

.agregar-carrito {
  display: block; margin-top: auto; padding: 8px 12px;
  background: #F8F8F8; color: #0a0a0a;
  font-size: 12px; font-weight: 700; text-align: center;
  transition: opacity .2s; cursor: pointer;
  border-radius: 10px;
  border: 1.5px solid var(--accent);
}

.agregar-carrito:hover { opacity: .85; }

.carousel-prev, .carousel-next {
  position: absolute;
  top: calc(10px + var(--img-h) / 2);
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  z-index: 100;
  transition: border-color .2s, background .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  margin-top: 80px;
}

.carousel-prev { left: -18px; }
.carousel-next { right: -18px; }
.carousel-prev:hover, .carousel-next:hover { border-color: var(--accent); background: rgba(39,224,176,.06); }

/* ── OVERLAY imagen ────────────────────────────────────── */
#overlay {
  display: none; position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,.88); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; cursor: pointer;
}
#overlay[style*="flex"] { display: flex; }
#overlay img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: var(--radius); }

/* ── TESTIMONIOS ───────────────────────────────────────── */
.testimonios {
  padding: 100px 6%;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.testi-header {
  max-width: 620px;
  margin: 0 auto 52px;
  text-align: center;
}

.testi-header .section-label {
  display: inline-block;
  width: 100%;
}

.testi-header h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800; letter-spacing: -1px;
  line-height: 1.15; margin-bottom: 14px;
  color: var(--text);
}

.testi-desc {
  font-size: 14.5px; color: var(--text-muted);
  line-height: 1.75;
}

/* ── TESTIMONIOS · CARRUSEL ────────────────────────────── */
.testi-carousel {
  position: relative;
}

.testi-viewport {
  overflow: hidden;
}

.testi-track {
  display: flex;
  gap: 16px;
  transition: transform .5s var(--ease-out);
  will-change: transform;
}

.testi-track .testi-card {
  flex: 0 0 calc((100% - 2 * 16px) / 3);
  min-width: 0;
}

.testi-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow-xs);
  transition: border-color .22s, transform .22s var(--ease-out), box-shadow .22s;
}

.testi-card:hover {
  border-color: rgba(0,120,180,.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testi-stars {
  font-size: 18px; letter-spacing: 4px; line-height: 1;
  color: #FFB400;
}

.testi-text {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.75; flex: 1;
}

.testi-author {
  font-size: 11.5px; font-weight: 600;
  color: var(--text-soft);
  font-family: var(--mono); letter-spacing: .5px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}

/* ── CONTROLES DEL CARRUSEL ────────────────────────────── */
.testi-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 22px; margin-top: 36px;
}

.testi-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--text-muted); flex-shrink: 0;
  transition: transform .2s var(--ease-out), color .2s, border-color .2s, background .2s;
  cursor: pointer;
}

.testi-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.testi-arrow:active { transform: scale(.92); }

.testi-dots {
  display: flex; align-items: center; gap: 8px;
}

.testi-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); border: none; padding: 0;
  cursor: pointer;
  transition: background .2s, transform .2s var(--ease-out);
}

.testi-dot:hover { background: var(--accent-glow); }

.testi-dot.active {
  background: var(--accent);
  transform: scale(1.35);
}

/* ── FOOTER ────────────────────────────────────────────── */
footer {
  background: #0a0a0a;
  padding: 40px 6%;
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.footer-logo-img {
  height: 28px; width: auto;
  opacity: .75;
  filter: brightness(0) invert(1);
}
.footer-name { 
  font-size:14px; 
  font-weight:800; 
  color:#fff; 
}
.footer-info { 
  display:flex; 
  gap:40px; 
  flex-wrap:wrap; 
}
.footer-col { 
  display:flex; 
  flex-direction:column; 
  gap:6px; 
}
.footer-col-title { 
  font-family:var(--mono); 
  font-size:10px; 
  letter-spacing:1.5px; 
  color:var(--accent); 
  margin-bottom:4px; 
}
.footer-col p { 
  font-size:12px; 
  color:#555; 
  line-height:1.6; 
  max-width:200px; 
}
.footer-col a { 
  font-size:12px; 
  color:#555; 
  transition:color .2s; 
}
.footer-col a:hover { 
  color:var(--accent); 
}
.footer-bottom { 
  background:#0a0a0a; 
  padding:16px 6%; 
  border-top:1px solid #1a1a1a; 
  font-size:12px; 
  color:#444; 
  font-family:var(--mono); 
  text-align:center; 
}

/* ── BOTÓN INFO FLOTANTE ───────────────────────────────── */
.info-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  background: #1E6A78; color: #F8F8F8;
  border: none; border-radius: 9px; padding: 10px 20px;
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  cursor: pointer; box-shadow: 0 4px 16px rgba(39,224,176,.35);
  transition: opacity .2s, transform .15s;
}

.info-btn:hover { opacity: .88; transform: translateY(-2px); }

/* ── MODAL OFERTAS ─────────────────────────────────────── */
.modal-overlay-offer {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.65); backdrop-filter: blur(6px);
  align-items: center; justify-content: center;
}
.modal-overlay-offer[style*="flex"] { display: flex; }
.modal-offer {
  background: #2E3138;
  border-radius: 20px;
  padding: 44px 48px;
  max-width: 460px; width: 90%;
  position: relative; text-align: center;
  border: 1px solid rgba(255,255,255,.08);
}
.modal-offer .modal-close {
  position: absolute; top: 18px; right: 22px;
  font-size: 26px; cursor: pointer;
  color: rgba(255,255,255,.4); line-height: 1;
  transition: color .2s;
}
.modal-offer .modal-close:hover { color: #fff; }
.modal-offer h2 {
  font-size: 22px; font-weight: 800;
  color: #fff; margin-bottom: 28px; letter-spacing: -.4px;
}
.countdown {
  display: flex; justify-content: center; gap: 12px; margin-bottom: 28px;
}
.timer {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: rgba(255,255,255,.06); border-radius: 12px;
  padding: 14px 16px; min-width: 72px;
  border: 1px solid rgba(255,255,255,.08);
}
.timer div {
  font-size: 30px; font-weight: 800;
  font-family: var(--mono); color: var(--accent); line-height: 1;
}
.timer span {
  font-size: 10px; font-family: var(--mono);
  color: rgba(255,255,255,.35); letter-spacing: 1.5px; text-transform: uppercase;
}
.modal-offer p {
  font-size: 14px; color: rgba(255,255,255,.55);
  line-height: 1.65; max-width: 340px; margin: 0 auto;
}

/* ── SELECTOR DE COLOR (popup) ─────────────────────────── */
#color-picker-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.color-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
}

.color-picker-box {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  min-width: 240px;
}

.color-picker-box p {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.2px;
}

.color-picker-dots {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.color-dot-selectable {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  border: 2.5px solid transparent;
  outline: 2px solid transparent;
  outline-offset: 2px;
  display: inline-block;
  transition: transform 0.18s var(--ease-out), outline-color 0.18s;
}

.color-picker-cancel {
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 20px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}

.color-picker-cancel:hover {
  border-color: var(--text);
  color: var(--text);
}

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  nav { display: none; }
  .menu-icon { display: block; }
  .contacto-inner { grid-template-columns: 1fr; gap: 28px; }
  .btn-wa { width: 100%; justify-content: center; }
  .testi-track .testi-card { flex: 0 0 calc((100% - 16px) / 2); }
}
@media (max-width: 768px) {
  .products-header { flex-direction: column; align-items: flex-start; }
  .search-wrap { width: 100%; min-width: unset; }
  .modal-cart { max-width: 100%; }
  .footer-info { flex-direction: column; gap: 24px; }
}
@media (max-width: 600px) {
  :root { --img-h: 140px; }
  header { padding: 14px 4%; }
  .hero { padding: 90px 4% 52px; }
  .hero-deco { display: none; }
  .hero h1 { font-size: 2.6rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .products-section { padding: 56px 4%; }
  .product { min-width: 160px; max-width: 160px; }
  .product-img { height: 140px; }
  .contacto { padding: 64px 4%; }
  .contacto h2 { font-size: 1.7rem; }
  footer { padding: 32px 4%; }
  .info-btn { bottom: 16px; right: 16px; }
  .testimonios { padding: 64px 4%; }
  .testi-track .testi-card { flex: 0 0 100%; }
  .testi-card { padding: 28px; }
  .testi-header { margin-bottom: 36px; }
  .testi-controls { gap: 16px; margin-top: 28px; }
  .carousel-prev, .carousel-next { top: 80px; }
}
@media (max-width: 380px) {
  :root { --img-h: 120px; }
  .product { min-width: 140px; max-width: 140px; }
  .product-img { height: 120px; }
  .carousel-prev, .carousel-next { top: 70px; }
}