/* ==========================================================================
   MARKET LAGUNA AZUL — Hoja de estilos principal
   ========================================================================== */

:root {
  --navy: #0A1F44;
  --navy-light: #12315C;
  --navy-lighter: #1B4079;
  --cyan: #06B6D4;
  --cyan-dark: #0891B2;
  --orange: #FF7A1A;
  --orange-dark: #E5650A;
  --bg: #F5F7FA;
  --card: #FFFFFF;
  --text: #1A2333;
  --text-light: #64748B;
  --text-lighter: #94A3B8;
  --border: #E2E8F0;
  --success: #16A34A;
  --danger: #DC2626;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 16px rgba(10, 31, 68, 0.08);
  --shadow-lg: 0 12px 32px rgba(10, 31, 68, 0.14);
  --header-h: 80px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.icon { flex-shrink: 0; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: 1.75rem; }
.section-head p { color: var(--text-light); margin-top: 6px; }
.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255, 122, 26, 0.35); }
.btn-secondary { background: var(--navy); color: #fff; }
.btn-secondary:hover { background: var(--navy-light); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); background: #fff; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1EBE5A; transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn.added { background: var(--success); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ---------- Header ---------- */
.top-bar {
  background: var(--navy);
  color: #cbd5e1;
  font-size: 0.82rem;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 6px; }
.top-bar-links { display: flex; gap: 20px; }
.top-bar-links span, .top-bar-links a { display: inline-flex; align-items: center; gap: 6px; }
.top-bar-links a:hover { color: #fff; }

.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  color: #fff; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-family: 'Poppins', sans-serif; font-size: 1.15rem; color: var(--navy); }
.logo-text small { font-size: 0.68rem; color: var(--text-light); letter-spacing: 0.06em; }

.nav-menu { display: flex; align-items: center; gap: 28px; margin-left: 12px; }
.nav-menu a { font-weight: 500; color: var(--navy); font-size: 0.95rem; padding: 8px 0; position: relative; }
.nav-menu a:hover, .nav-menu a.active { color: var(--orange); }
.nav-menu a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange);
}

.header-search { flex: 1; max-width: 420px; margin-left: auto; }
.header-search form {
  display: flex; align-items: center; background: var(--bg); border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 8px 6px 16px;
}
.header-search input { flex: 1; background: none; border: none; outline: none; font-size: 0.9rem; }
.header-search button { background: var(--navy); color: #fff; width: 34px; height: 34px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; color: var(--navy);
}
.icon-btn:hover { background: var(--bg); }
.cart-badge {
  position: absolute; top: 2px; right: 2px; background: var(--orange); color: #fff;
  font-size: 0.65rem; font-weight: 700; min-width: 17px; height: 17px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 3px;
}

.nav-toggle { display: none; flex-direction: column; gap: 4px; width: 42px; height: 42px; align-items: center; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 55%, var(--navy-lighter) 100%);
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 620px;
  display: flex;
  align-items: center;
}
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(10px); z-index: 0;
}
.hero::before { width: 420px; height: 420px; background: radial-gradient(circle, rgba(6,182,212,0.35), transparent 70%); top: -140px; right: -100px; }
.hero::after { width: 320px; height: 320px; background: radial-gradient(circle, rgba(255,122,26,0.25), transparent 70%); bottom: -120px; left: -60px; }

.hero-bg { position: absolute; inset: 0; z-index: 1; }
.hero-bg-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease;
  background-size: cover; background-position: center;
}
.hero-bg-slide.active { opacity: 1; }
.hero-bg-slide svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(100deg, rgba(10,31,68,0.94) 0%, rgba(10,31,68,0.82) 38%, rgba(10,31,68,0.45) 68%, rgba(6,182,212,0.25) 100%);
}
.hero-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 4;
  display: none; gap: 8px;
}
.hero-dots button {
  width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.45);
  border: 0; padding: 0; cursor: pointer; transition: all 0.3s ease;
}
.hero-dots button.active { background: var(--orange); width: 26px; }

.hero-inner {
  position: relative; z-index: 3; display: grid; grid-template-columns: 1fr;
  gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px;
}
.hero-text .eyebrow { color: var(--cyan); }
.hero-text h1 { color: #fff; font-size: 2.6rem; margin-bottom: 16px; }
.hero-text h1 span { color: var(--orange); }
.hero-text p { color: #cbd5e1; font-size: 1.05rem; max-width: 480px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,0.55); }
.hero-cta .btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 1.5rem; font-family: 'Poppins', sans-serif; color: #fff; }
.hero-stats div span { color: #94A3B8; font-size: 0.82rem; }

.hero-visual {
  position: relative; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px; padding: 32px; backdrop-filter: blur(6px);
}
.hero-visual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-visual-card {
  background: rgba(255,255,255,0.08); border-radius: 14px; padding: 20px; text-align: center; color: #fff;
}
.hero-visual-card:nth-child(2) { margin-top: 26px; }
.hero-visual-card:nth-child(3) { margin-top: -26px; }
.hero-visual-card .icon { margin: 0 auto 10px; color: var(--cyan); }
.hero-visual-card span { font-size: 0.8rem; color: #cbd5e1; }
/* ---------- Tienda topbar ---------- */
.tienda-topbar { background: var(--navy); padding: 20px 0; }
.tienda-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tienda-topbar .eyebrow { color: var(--cyan); margin-bottom: 4px; }
.tienda-topbar h1 { color: #fff; font-size: 1.4rem; }
.tienda-topbar-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Categoria select ---------- */
.categoria-select {
  width: 100%; max-width: 360px; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); font-size: 0.95rem; font-weight: 600; color: var(--navy);
  background: var(--card); cursor: pointer;
}

/* ---------- Categories strip ---------- */
.categories-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.category-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 16px; text-align: center; transition: all 0.2s ease;
}
.category-card:hover { border-color: var(--cyan); transform: translateY(-3px); box-shadow: var(--shadow); }
.category-card .icon { margin: 0 auto 12px; color: var(--navy); width: 30px; height: 30px; }
.category-card:hover .icon { color: var(--orange); }
.category-card span { font-weight: 600; font-size: 0.88rem; }
.category-card .rubro-count { display: block; margin-top: 4px; font-size: 0.74rem; font-weight: 400; color: var(--text-lighter); }

/* ---------- Negocios (directorio Market Laguna Azul) ---------- */
.negocios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.negocio-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  display: flex; flex-direction: column; overflow: hidden; transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.negocio-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.negocio-card-logo {
  aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; color: #fff;
}
.negocio-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.negocio-card-body { padding: 18px 20px 6px; flex: 1; }
.negocio-card-rubro { font-size: 0.72rem; color: var(--orange); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.negocio-card-body h3 { font-size: 1.05rem; margin: 6px 0 6px; }
.negocio-card-body p { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; }
.negocio-card-cta {
  display: flex; align-items: center; gap: 6px; padding: 14px 20px; font-weight: 600; font-size: 0.85rem;
  color: var(--navy); border-top: 1px solid var(--border);
}
.negocio-card:hover .negocio-card-cta { color: var(--orange); }

.rubro-section { margin-bottom: 8px; }
.rubro-section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.rubro-section-head .icon { color: var(--orange); }
.rubro-section-head h3 { font-size: 1.15rem; }

/* ---------- Product grid & cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.product-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.product-thumb {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; color: #fff;
}
.product-thumb .icon { width: 56px; height: 56px; opacity: 0.95; }

.cat-linea-blanca { background: linear-gradient(135deg, #0A1F44, #1B4079); }
.cat-electro-hogar { background: linear-gradient(135deg, #E5650A, #FF7A1A); }
.cat-tv-audio { background: linear-gradient(135deg, #0891B2, #06B6D4); }
.cat-gadgets { background: linear-gradient(135deg, #6D28D9, #A855F7); }
.cat-cuidado-personal { background: linear-gradient(135deg, #BE185D, #EC4899); }
.cat-hogar-inteligente { background: linear-gradient(135deg, #047857, #10B981); }

/* Rubros de Market Laguna Azul (portada, tarjetas de negocio) */
.cat-electrodomesticos { background: linear-gradient(135deg, #0A1F44, #1B4079); }
.cat-comida { background: linear-gradient(135deg, #B45309, #F59E0B); }
.cat-vida-nocturna { background: linear-gradient(135deg, #6D28D9, #C026D3); }
.cat-alquileres { background: linear-gradient(135deg, #0369A1, #06B6D4); }
.cat-tours { background: linear-gradient(135deg, #047857, #22C55E); }
.cat-ropa { background: linear-gradient(135deg, #BE185D, #EC4899); }

.badge {
  position: absolute; top: 10px; left: 10px; font-size: 0.68rem; font-weight: 700;
  padding: 4px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.03em;
}
.badge-sale { background: var(--danger); color: #fff; }
.badge-new { background: var(--cyan-dark); color: #fff; }
.badge-best { background: var(--orange); color: #fff; }
.badge-discount { left: auto; right: 10px; top: 10px; background: #fff; color: var(--danger); }
.badge-sale ~ .badge-discount { top: 40px; }

.product-info { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: 0.72rem; color: var(--text-lighter); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.product-name { font-size: 0.98rem; font-weight: 600; line-height: 1.35; min-height: 2.6em; }
.product-name a:hover { color: var(--orange); }
.product-rating { display: flex; align-items: center; gap: 5px; font-size: 0.82rem; color: var(--text-light); }
.star-filled { color: #F59E0B; fill: #F59E0B; }
.product-rating .muted { color: var(--text-lighter); }
.product-price-row { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 10px; }
.price { font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.price-old { font-size: 0.85rem; color: var(--text-lighter); text-decoration: line-through; }

/* ---------- Benefits ---------- */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit-card { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.benefit-icon { width: 46px; height: 46px; border-radius: 10px; background: linear-gradient(135deg, var(--navy), var(--cyan)); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.benefit-card h3 { font-size: 1rem; margin-bottom: 4px; }
.benefit-card p { font-size: 0.85rem; color: var(--text-light); }

/* ---------- Testimonials ---------- */
.section-tinted { background: var(--navy); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 24px; color: #E2E8F0; }
.testimonial-stars { display: flex; gap: 3px; color: #F59E0B; margin-bottom: 12px; }
.testimonial-card p.quote { font-size: 0.92rem; line-height: 1.6; margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar { width: 38px; height: 38px; border-radius: 999px; background: var(--cyan); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--navy); font-family: 'Poppins', sans-serif; }
.testimonial-author strong { font-size: 0.88rem; color: #fff; display: block; }
.testimonial-author span { font-size: 0.76rem; color: #94A3B8; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--orange), var(--orange-dark));
  border-radius: 20px; padding: 44px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; color: #fff;
}
.cta-banner h2 { color: #fff; font-size: 1.6rem; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.9); }
.cta-banner .btn-secondary { background: #fff; color: var(--navy); }
.cta-banner .btn-secondary:hover { background: #f1f5f9; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cbd5e1; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-col p { font-size: 0.86rem; line-height: 1.7; color: #94A3B8; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 0.86rem; color: #cbd5e1; }
.footer-col ul a:hover { color: var(--orange); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: #cbd5e1; }
.footer-contact .icon { color: var(--cyan); margin-top: 2px; flex-shrink: 0; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 0.8rem; color: #94A3B8; flex-wrap: wrap; gap: 10px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { padding: 6px 12px; border: 1px solid rgba(255,255,255,0.15); border-radius: 999px; font-size: 0.78rem; }
.footer-socials a:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(10, 31, 68, 0.5); z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 92vw;
  background: #fff; z-index: 201; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.3s ease; box-shadow: -8px 0 24px rgba(0,0,0,0.15);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.cart-drawer-header h3 { font-size: 1.1rem; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 14px 22px; }
.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); align-items: center; }
.cart-item-thumb { width: 56px; height: 56px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 0.86rem; font-weight: 600; margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-item-price { font-size: 0.84rem; color: var(--text-light); margin-bottom: 6px; }
.cart-item-remove { color: var(--text-lighter); padding: 6px; }
.cart-item-remove:hover { color: var(--danger); }

.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.qty-control span { min-width: 28px; text-align: center; font-size: 0.85rem; font-weight: 600; }
.qty-btn { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; color: var(--navy); }
.qty-btn:hover { background: var(--bg); }
.qty-control-sm .qty-btn { width: 22px; height: 22px; }

.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 60px 0; color: var(--text-light); }
.cart-empty .icon { color: var(--text-lighter); }

.cart-drawer-footer { border-top: 1px solid var(--border); padding: 18px 22px 22px; }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 1.05rem; font-weight: 700; }
.cart-drawer-footer .btn { margin-bottom: 10px; }

/* ---------- Products page ---------- */
.page-banner {
  background: linear-gradient(120deg, var(--navy), var(--navy-light));
  color: #fff; padding: 36px 0;
}
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #94A3B8; margin-bottom: 8px; }
.breadcrumb a:hover { color: #fff; }
.page-banner h1 { color: #fff; font-size: 1.9rem; }

.payment-strip {
  background: linear-gradient(120deg, var(--orange), var(--orange-dark));
  color: #fff;
  padding: 18px 0;
}
.payment-strip .container {
  display: flex; align-items: center; justify-content: center; gap: 28px;
  flex-wrap: wrap; text-align: center;
}
.payment-strip-item { display: flex; align-items: center; gap: 10px; }
.payment-strip-item .icon { flex-shrink: 0; }
.payment-strip-item strong { font-size: 1rem; font-weight: 700; }
.payment-strip-item span { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.9); }
.payment-strip-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.35); }
.payment-strip .btn { flex-shrink: 0; }

@media (max-width: 640px) {
  .payment-strip .container { gap: 14px; }
  .payment-strip-divider { display: none; }
}

.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.filters-panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; position: sticky; top: calc(var(--header-h) + 16px); }
.filters-panel h3 { font-size: 0.95rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.filter-group { margin-bottom: 24px; }
.filter-group h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-light); margin-bottom: 12px; }
.filter-option { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.88rem; cursor: pointer; }
.filter-option input { accent-color: var(--orange); width: 16px; height: 16px; }
.filter-option span.count { margin-left: auto; color: var(--text-lighter); font-size: 0.78rem; }
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs input { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.85rem; }

.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.catalog-toolbar select { padding: 9px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; font-size: 0.85rem; }
.results-count { color: var(--text-light); font-size: 0.88rem; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-light); }
.empty-state .icon { margin: 0 auto 14px; color: var(--text-lighter); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.pagination button { width: 38px; height: 38px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-weight: 600; font-size: 0.85rem; }
.pagination button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination button:hover:not(.active) { border-color: var(--navy); }

/* ---------- Nosotros page ---------- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-visual { background: linear-gradient(135deg, var(--navy), var(--navy-lighter)); border-radius: 20px; padding: 48px; display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.about-visual .stat { color: #fff; text-align: center; }
.about-visual .stat strong { display: block; font-size: 2rem; font-family: 'Poppins', sans-serif; color: var(--cyan); }
.about-visual .stat span { font-size: 0.82rem; color: #cbd5e1; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.value-card .icon { color: var(--orange); margin-bottom: 14px; width: 32px; height: 32px; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; color: var(--text-light); }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.timeline-item { border-left: 3px solid var(--cyan); padding-left: 16px; }
.timeline-item strong { display: block; font-family: 'Poppins', sans-serif; color: var(--navy); font-size: 1.1rem; margin-bottom: 4px; }
.timeline-item p { font-size: 0.85rem; color: var(--text-light); }

/* ---------- Contacto page ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px; }
.contact-info-card h3 { color: #fff; margin-bottom: 20px; }
.contact-info-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-info-list .icon { color: var(--cyan); flex-shrink: 0; margin-top: 3px; }
.contact-info-list strong { display: block; font-size: 0.88rem; margin-bottom: 2px; }
.contact-info-list span { font-size: 0.85rem; color: #cbd5e1; }
.map-embed { border-radius: var(--radius); overflow: hidden; margin-top: 20px; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 240px; border: 0; display: block; }

.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--cyan); }
.form-success { display: none; align-items: center; gap: 10px; background: #ECFDF5; color: var(--success); border: 1px solid #A7F3D0; padding: 14px 16px; border-radius: var(--radius-sm); margin-top: 14px; font-size: 0.88rem; }
.form-success.visible { display: flex; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; width: 48px; height: 48px; border-radius: 999px;
  background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: all 0.25s ease; z-index: 90;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--orange); }

.whatsapp-float {
  position: fixed; bottom: 24px; left: 24px; width: 56px; height: 56px; border-radius: 999px;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); z-index: 90; transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .negocios-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters-panel { position: static; }
  .about-hero { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; }
  .hero-visual { order: -1; }
  .nav-menu {
    position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: flex-start; padding: 20px 24px; gap: 4px; box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all 0.2s ease;
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .header-search { display: none; }
  .top-bar-links span:first-child { display: none; }
  .values-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .negocios-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding-bottom: 24px; }
  .hero-text h1 { font-size: 1.7rem; overflow-wrap: break-word; }
  .hero-bg-overlay { background: linear-gradient(180deg, rgba(10,31,68,0.93) 0%, rgba(10,31,68,0.88) 100%) !important; }
  .section { padding: 44px 0; }
  .form-row { grid-template-columns: 1fr; }
  .about-visual { grid-template-columns: 1fr; padding: 28px; }
  .cart-drawer { width: 100%; }
  .whatsapp-float { width: 50px; height: 50px; bottom: 16px; left: 16px; }
  .back-to-top { bottom: 16px; right: 16px; }
}
