/* ═══════════════════════════════════════════
   ÓPTICA VISUAL — Sistema de diseño compartido
   ═══════════════════════════════════════════ */

:root {
  --blue: #004aad;
  --blue-dark: #003a8c;
  --blue-light: #e8f0fb;
  --orange: #f18745;
  --green: #00b050;
  --text: #4d4d4d;
  --text-dark: #1a1a1a;
  --border: #e0e0e0;
  --bg: #fff;
  --bg-light: #f5f7fa;
  --font: 'Cabin', sans-serif;
  --domain: 'https://www.opticaliniers.com.ar';
}

*, *::before, *::after { box-sizing: border-box; }
html, body { background: #fff; margin: 0; padding: 0; overflow-x: hidden; max-width: 100%; }
body { font-family: var(--font); font-size: 1rem; font-weight: 400; color: var(--text); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
h1,h2,h3,h4 { color: var(--text-dark); margin: 0; }

/* ── Announcement bar ── */
.adbar { background: var(--blue); color: #fff; font-size: 13px; font-weight: 600; padding: 9px 0; overflow: hidden; white-space: nowrap; }
.adbar-track { display: inline-flex; gap: 0; animation: marquee 30s linear infinite; }
.adbar-item { padding: 0 48px; }
.adbar-sep { opacity: 0.4; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Header ── */
header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 200; overflow: visible; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; height: 72px; gap: 24px; }
.logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.logo img { height: 180px; width: auto; }
nav { display: flex; align-items: center; flex: 1; justify-content: center; flex-wrap: nowrap; overflow: visible; }
nav a { font-size: 13.5px; font-weight: 600; color: var(--text); padding: 8px 14px; border-radius: 4px; white-space: nowrap; transition: color .15s, background .15s; }
nav a:hover, nav a.active { color: var(--blue); background: var(--blue-light); }

/* ── Nav dropdown ── */
.nav-has-dropdown { position: relative; display: flex; align-items: center; }
.nav-has-dropdown > a { display: flex; align-items: center; gap: 3px; }
.nav-chevron { width: 12px; height: 12px; opacity: .5; flex-shrink: 0; transition: transform .18s, opacity .18s; }
.nav-has-dropdown:hover .nav-chevron,
.nav-has-dropdown:focus-within .nav-chevron { transform: rotate(180deg); opacity: 1; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.13), 0 2px 8px rgba(0,0,0,.06);
  min-width: 256px;
  padding: 14px 8px 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s, visibility .15s, transform .15s;
  z-index: 400;
  pointer-events: none;
}
.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav-dd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: background .12s, color .12s;
}
.nav-dd-item:hover { background: var(--blue-light); color: var(--blue); }
.nav-dd-icon { width: 30px; height: 30px; background: var(--bg-light); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; transition: background .12s; }
.nav-dd-item:hover .nav-dd-icon { background: rgba(0,74,173,.1); }
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--blue); }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text); border: none; background: transparent; cursor: pointer; transition: background .15s; }
.icon-btn:hover { background: var(--bg-light); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font); font-size: 14px; font-weight: 700; padding: 12px 24px; border-radius: 6px; border: none; cursor: pointer; transition: background .15s, transform .12s; text-decoration: none; }
.btn:active { transform: translateY(0) !important; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 4px 16px rgba(241,135,69,.4); }
.btn-orange:hover { background: #d9703a; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-wa { background: #25d366; color: #fff; font-size: 15px; padding: 14px 28px; box-shadow: 0 4px 18px rgba(37,211,102,.35); }
.btn-wa:hover { background: #1da851; transform: translateY(-1px); }
.btn-wa-sm { background: var(--blue); color: #fff; font-size: 13px; padding: 10px 16px; width: 100%; justify-content: center; text-transform: uppercase; letter-spacing: .03em; }
.btn-wa-sm:hover { background: var(--blue-dark); }

/* ── Trust bar ── */
.trustbar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }
.trustbar-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 20px 28px; border-right: 1px solid var(--border); }
.trust-item:last-child { border-right: none; }
.trust-icon { width: 42px; height: 42px; flex-shrink: 0; color: var(--blue); }
.trust-label { font-size: 13px; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; }
.trust-sub { font-size: 12px; color: var(--text); }

/* ── Product cards ── */
.product-card { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; position: relative; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.pc-badge { position: absolute; top: 8px; left: 8px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; z-index: 1; color: #fff; }
.pc-badge.green { background: var(--green); }
.pc-badge.orange { background: var(--orange); }
.pc-badge.blue { background: var(--blue); }
.pc-img { background: #fff; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pc-img img { width: 80%; object-fit: contain; mix-blend-mode: multiply; }
.pc-body { padding: 12px 12px 14px; flex: 1; display: flex; flex-direction: column; }
.pc-brand { font-size: 11px; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.pc-name { font-size: 13px; color: var(--text-dark); line-height: 1.4; flex: 1; margin-bottom: 10px; }
.pc-price { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.pc-price-sub { font-size: 11px; color: var(--text); margin-bottom: 10px; }

/* ── Section helpers ── */
.section { padding: 48px 20px; }
.section + .section { border-top: 1px solid var(--border); }
.container { max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.section-title { font-size: clamp(22px,3vw,34px); font-weight: 700; color: var(--text-dark); margin-bottom: 12px; line-height: 1.2; }
.section-sub { font-size: 15px; color: var(--text); line-height: 1.7; max-width: 560px; margin-bottom: 36px; }
.ps-header { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.ps-title { font-size: 20px; font-weight: 700; color: var(--text-dark); }
.ps-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; margin-bottom: 24px; }
.btn-ver-mas { display: flex; align-items: center; justify-content: center; max-width: 220px; margin: 0 auto 32px; padding: 12px 32px; border: 2px solid var(--blue); border-radius: 6px; color: var(--blue); font-family: var(--font); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; cursor: pointer; background: transparent; transition: background .15s, color .15s; }
.btn-ver-mas:hover { background: var(--blue); color: #fff; }


/* ── Breadcrumb ── */
.breadcrumb { font-size: 13px; color: var(--text); padding: 14px 20px; background: var(--bg-light); border-bottom: 1px solid var(--border); }
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; opacity: .5; }

/* ── Blog card ── */
.blog-card { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; text-decoration: none; display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.blog-card-img { background: var(--blue-light); aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 40px; }
.blog-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.blog-card-title { font-size: 16px; font-weight: 700; color: var(--text-dark); line-height: 1.35; margin-bottom: 10px; }
.blog-card-excerpt { font-size: 13px; color: var(--text); line-height: 1.6; flex: 1; }
.blog-card-meta { font-size: 12px; color: var(--text); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }

/* ── Article layout ── */
.article-body { max-width: 720px; margin: 0 auto; padding: 48px 20px 64px; }
.article-body h1 { font-size: clamp(26px,4vw,40px); font-weight: 700; line-height: 1.15; margin-bottom: 16px; color: var(--text-dark); }
.article-body h2 { font-size: 22px; font-weight: 700; margin: 40px 0 14px; color: var(--text-dark); border-left: 4px solid var(--blue); padding-left: 14px; }
.article-body h3 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; color: var(--text-dark); }
.article-body p { font-size: 16px; line-height: 1.8; color: var(--text); margin-bottom: 18px; }
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 18px; }
.article-body li { font-size: 16px; line-height: 1.8; color: var(--text); margin-bottom: 6px; }
.article-meta { font-size: 13px; color: var(--text); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.article-meta span { display: flex; align-items: center; gap: 5px; }
.article-cta-box { background: var(--blue-light); border: 1px solid rgba(0,74,173,.2); border-radius: 10px; padding: 24px; margin: 36px 0; text-align: center; }
.article-cta-box p { font-size: 15px; font-weight: 600; color: var(--text-dark); margin-bottom: 16px; }
.toc { background: var(--bg-light); border: 1px solid var(--border); border-radius: 10px; padding: 20px 24px; margin-bottom: 36px; }
.toc-title { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dark); margin-bottom: 12px; }
.toc ol { padding-left: 20px; margin: 0; }
.toc li { font-size: 14px; margin-bottom: 6px; }
.toc a { color: var(--blue); }
.toc a:hover { text-decoration: underline; }

/* ── Footer ── */
footer { background: #fff; border-top: 1px solid var(--border); padding: 48px 20px 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand img { height: 80px; width: auto; margin-bottom: 14px; }
.footer-desc { font-size: 13px; color: var(--text); line-height: 1.7; margin-bottom: 20px; max-width: 280px; }
.social-links { display: flex; gap: 10px; }
.social-link { width: 36px; height: 36px; background: var(--blue-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--blue); transition: background .15s, color .15s; }
.social-link:hover { background: var(--blue); color: #fff; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.footer-col a { display: block; font-size: 13px; color: var(--text); margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--border); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #999; flex-wrap: wrap; gap: 12px; }
.pay-badge { background: var(--bg-light); border: 1px solid var(--border); border-radius: 4px; padding: 4px 10px; font-size: 11px; font-weight: 600; color: var(--text); }

/* ── Marcas destacadas ── */
.brands-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.brand-card { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 3/4; cursor: pointer; display: block; }
.brand-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; filter: brightness(.88); }
.brand-card:hover img { transform: scale(1.05); }
.brand-name { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 16px 16px; background: linear-gradient(to top, rgba(0,0,0,.7), transparent); color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* ── Announcement bar ── */
.adbar-track span.adbar-sep { padding: 0; margin: 0 8px; }

/* ── Responsive ── */
@media (max-width: 1024px) { .ps-grid { grid-template-columns: repeat(4,1fr); } }
@media (max-width: 900px) {
  nav { display: none; }
  .trustbar-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: none; }
  .ps-grid { grid-template-columns: repeat(3,1fr); }
  .brands-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .article-body { padding: 32px 16px 48px; }
}
@media (max-width: 600px) {
  .ps-grid { grid-template-columns: repeat(2,1fr); }
  .brands-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .trustbar-inner { grid-template-columns: 1fr; }
}

/* ── Clickable card overlay ── */
.pc-overlay { position: absolute; inset: 0; z-index: 0; display: block; }
.product-card .btn-wa-sm { position: relative; z-index: 1; }
.pc-img-placeholder { font-size: 12px; color: var(--blue); font-weight: 600; text-align: center; padding: 16px 10px; line-height: 1.4; }

/* ═══════════════════════════════════════════
   PRODUCT PAGE
   ═══════════════════════════════════════════ */

/* ── Layout grid ── */
.pp-layout { max-width: 1200px; margin: 0 auto; padding: 40px 20px 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pp-gallery { position: sticky; top: 90px; }
.pp-main-img { background: #f7f8fa; border: 1px solid var(--border); border-radius: 14px; aspect-ratio: 1; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.pp-main-img img { width: 76%; object-fit: contain; }

/* ── Info column ── */
.pp-cat-link { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 10px; }
.pp-cat-link:hover { text-decoration: underline; }
.pp-title { font-size: clamp(22px, 3vw, 32px); font-weight: 700; color: var(--text-dark); line-height: 1.2; margin-bottom: 8px; }
.pp-brand { font-size: 14px; color: var(--text); margin-bottom: 20px; }
.pp-price { font-size: 32px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.pp-installment { font-size: 13px; color: var(--green); font-weight: 600; margin-bottom: 24px; }

/* ── CTA buttons ── */
.pp-cta-wa { display: flex; align-items: center; justify-content: center; gap: 10px; background: #25d366; color: #fff; font-family: var(--font); font-size: 16px; font-weight: 700; padding: 15px 24px; border-radius: 8px; text-decoration: none; margin-bottom: 10px; transition: background .15s, transform .12s; }
.pp-cta-wa:hover { background: #1da851; transform: translateY(-1px); }
.pp-cta-wa:active { transform: translateY(0); }
.pp-cta-receta { display: flex; align-items: center; justify-content: center; gap: 8px; background: transparent; color: var(--blue); font-family: var(--font); font-size: 14px; font-weight: 600; padding: 12px 24px; border-radius: 8px; border: 2px solid var(--blue); text-decoration: none; margin-bottom: 24px; transition: background .15s, color .15s; }
.pp-cta-receta:hover { background: var(--blue); color: #fff; }

/* ── Trust items ── */
.pp-trust { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; padding: 16px; background: var(--bg-light); border-radius: 8px; border: 1px solid var(--border); }
.pp-trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); font-weight: 500; }
.pp-trust-item svg { color: var(--blue); flex-shrink: 0; }

/* ── Specs ── */
.pp-specs { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.pp-specs-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text); background: var(--bg-light); padding: 10px 14px; border-bottom: 1px solid var(--border); }
.pp-specs-body { display: flex; flex-direction: column; }
.pp-spec-row { display: flex; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--border); font-size: 13px; }
.pp-spec-row:last-child { border-bottom: none; }
.pp-spec-key { color: var(--text); min-width: 110px; flex-shrink: 0; }
.pp-spec-val { color: var(--text-dark); font-weight: 600; }

/* ── Description + aside ── */
.pp-desc-area { max-width: 1200px; margin: 0 auto; padding: 0 20px 60px; display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.pp-desc h2 { font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 14px; }
.pp-desc p { font-size: 15px; color: var(--text); line-height: 1.8; margin-bottom: 14px; }
.pp-aside-card { background: var(--bg-light); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }

/* ═══════════════════════════════════════════
   GRADUATION SECTION
   ═══════════════════════════════════════════ */
.grad-section { background: linear-gradient(135deg, var(--blue-light) 0%, #fff 100%); border-top: 1px solid rgba(0,74,173,.12); border-bottom: 1px solid rgba(0,74,173,.12); padding: 48px 20px; }
.grad-section-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 32px; align-items: flex-start; }
.grad-icon { font-size: 48px; flex-shrink: 0; line-height: 1; margin-top: 4px; }
.grad-content { flex: 1; }
.grad-title { font-size: 22px; font-weight: 700; color: var(--text-dark); margin-bottom: 14px; }
.grad-content p { font-size: 15px; color: var(--text); line-height: 1.8; margin-bottom: 12px; }
.grad-content p:last-of-type { margin-bottom: 20px; }

/* ═══════════════════════════════════════════
   RELATED PRODUCTS
   ═══════════════════════════════════════════ */
.pp-related { background: var(--bg-light); border-top: 1px solid var(--border); padding: 48px 20px; }
.pp-related-title { font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 24px; }
.pp-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ═══════════════════════════════════════════
   CATALOG PAGE (category pages)
   ═══════════════════════════════════════════ */
.cat-hero { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); color: #fff; padding: 48px 20px 40px; }
.cat-hero-inner { max-width: 1200px; margin: 0 auto; }
.cat-hero h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 700; margin-bottom: 12px; }
.cat-hero p { font-size: 16px; opacity: .88; line-height: 1.7; max-width: 640px; margin-bottom: 24px; }
.cat-cta-wa { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--blue); font-family: var(--font); font-size: 14px; font-weight: 700; padding: 12px 22px; border-radius: 6px; text-decoration: none; transition: opacity .15s; }
.cat-cta-wa:hover { opacity: .9; }

.cat-body { max-width: 1200px; margin: 0 auto; padding: 40px 20px 64px; display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.cat-filters { position: sticky; top: 90px; }
.cat-filters-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dark); margin-bottom: 16px; }
.filter-group { margin-bottom: 24px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.filter-group:last-child { border-bottom: none; }
.filter-group-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text); margin-bottom: 10px; }
.filter-option { display: flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; font-size: 13px; color: var(--text); transition: color .12s; }
.filter-option:hover { color: var(--blue); }
.filter-option input[type="checkbox"] { accent-color: var(--blue); width: 15px; height: 15px; cursor: pointer; }
.filter-search { width: 100%; padding: 9px 12px; border: 1px solid var(--border); border-radius: 6px; font-family: var(--font); font-size: 16px; color: var(--text-dark); outline: none; transition: border-color .15s; margin-bottom: 16px; }
.filter-search:focus { border-color: var(--blue); }
.cat-main {}
.cat-main-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.cat-count { font-size: 13px; color: var(--text); }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-no-results { text-align: center; padding: 60px 20px; color: var(--text); font-size: 15px; display: none; }

.cat-seo-block { max-width: 1200px; margin: 0 auto; padding: 0 20px 48px; }
.cat-seo-block h2 { font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 14px; }
.cat-seo-block p { font-size: 15px; color: var(--text); line-height: 1.8; margin-bottom: 12px; }

.cat-faq { background: var(--bg-light); border-top: 1px solid var(--border); padding: 48px 20px; }
.cat-faq-inner { max-width: 1200px; margin: 0 auto; }
.cat-faq h2 { font-size: 22px; font-weight: 700; color: var(--text-dark); margin-bottom: 28px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--text-dark); gap: 16px; }
.faq-q svg { flex-shrink: 0; transition: transform .2s; color: var(--blue); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { font-size: 14px; color: var(--text); line-height: 1.8; padding-bottom: 16px; display: none; }
.faq-item.open .faq-a { display: block; }

/* ── Graduation info block (category pages) ── */
.cat-grad-block { background: var(--blue-light); border: 1px solid rgba(0,74,173,.15); border-radius: 12px; padding: 24px 28px; margin-bottom: 32px; display: flex; gap: 20px; align-items: flex-start; }
.cat-grad-block-icon { font-size: 32px; flex-shrink: 0; }
.cat-grad-block h3 { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.cat-grad-block p { font-size: 13px; color: var(--text); line-height: 1.7; margin: 0 0 12px; }
.cat-grad-block p:last-of-type { margin-bottom: 0; }

/* ═══════════════════════════════════════════
   RESPONSIVE — PRODUCT + CATALOG
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .pp-related-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-body { grid-template-columns: 200px 1fr; gap: 24px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pp-layout { grid-template-columns: 1fr; gap: 32px; padding: 24px 16px 40px; }
  .pp-gallery { position: static; }
  .pp-desc-area { grid-template-columns: 1fr; }
  .pp-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .pp-related-grid { grid-template-columns: repeat(2, 1fr); }
  .grad-section-inner { flex-direction: column; gap: 16px; }
  .grad-icon { font-size: 36px; }
  .cat-body { grid-template-columns: 1fr; }
  .cat-filters { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
  .cat-filters-title { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .pp-layout { padding: 16px 12px 32px; }
  .pp-price { font-size: 26px; }
  .pp-related-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pp-desc-area { padding: 0 12px 40px; }
  .pp-aside { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-filters { grid-template-columns: 1fr; }
  .grad-title { font-size: 18px; }
}

/* ═══════════════════════════════════════════
   CATÁLOGO LC — Lentes de contacto, soluciones, accesorios
   ═══════════════════════════════════════════ */

/* Filtros */
.filtros-lc { background: var(--bg-light); border-bottom: 1px solid var(--border); padding: 18px 20px; }
.filtros-lc-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filtro-select { padding: 9px 12px; border: 1px solid var(--border); border-radius: 6px; font-family: var(--font); font-size: 13px; color: var(--text-dark); background: #fff; outline: none; cursor: pointer; transition: border-color .15s; min-width: 150px; }
.filtro-select:focus { border-color: var(--blue); }
.filtro-search-lc { flex: 1; min-width: 180px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 6px; font-family: var(--font); font-size: 16px; color: var(--text-dark); outline: none; transition: border-color .15s; }
.filtro-search-lc:focus { border-color: var(--blue); }
.filtro-reset { font-size: 13px; color: var(--blue); font-weight: 600; cursor: pointer; background: none; border: none; font-family: var(--font); padding: 9px 4px; white-space: nowrap; }
.filtro-reset:hover { text-decoration: underline; }
.filtro-count { font-size: 12px; color: var(--text); margin-left: auto; white-space: nowrap; }

/* Grid */
.plc-section { max-width: 1200px; margin: 0 auto; padding: 32px 20px 64px; }
.plc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plc-no-results { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--text); font-size: 15px; }

/* Product card */
.plc-card { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.plc-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.plc-img-wrap { background: #fff; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.plc-img-wrap img { width: 80%; object-fit: contain; mix-blend-mode: multiply; }
.plc-body { padding: 12px 12px 14px; flex: 1; display: flex; flex-direction: column; }
.plc-marca { font-size: 11px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.plc-nombre { font-size: 13px; font-weight: 600; color: var(--text-dark); line-height: 1.4; flex: 1; margin-bottom: 4px; }
.plc-tipo { font-size: 11px; color: var(--text); margin-bottom: 8px; }
.plc-nota { font-size: 11px; color: var(--orange); font-weight: 600; display: block; margin-bottom: 6px; }
.plc-precio { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.plc-btn { display: flex; align-items: center; justify-content: center; gap: 6px; background: #25d366; color: #fff; font-family: var(--font); font-size: 12px; font-weight: 700; padding: 10px 12px; border-radius: 6px; text-decoration: none; transition: background .15s; }
.plc-btn:hover { background: #1da851; }
.plc-btn svg { width: 14px; height: 14px; fill: #fff; flex-shrink: 0; }

/* ═══════════════════════════════════════════
   PROMOCIONES LC
   ═══════════════════════════════════════════ */
.promo-hero { background: linear-gradient(135deg, #001840 0%, #003382 60%, var(--blue) 100%); color: #fff; padding: 56px 20px 48px; }
.promo-hero-inner { max-width: 1200px; margin: 0 auto; }
.promo-hero h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 700; color: #fff; margin-bottom: 12px; }
.promo-hero p { font-size: 16px; color: rgba(255,255,255,.82); line-height: 1.7; max-width: 600px; }

.pami-notice { max-width: 1200px; margin: 0 auto; background: #fffbeb; border: 1px solid rgba(245,158,11,.3); border-radius: 8px; padding: 12px 18px; font-size: 12px; color: #92400e; }

.promo-section { max-width: 1200px; margin: 0 auto; padding: 40px 20px 64px; }
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.promo-card { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.promo-card:hover { box-shadow: 0 10px 32px rgba(0,0,0,.1); transform: translateY(-2px); }
.promo-card-header { background: linear-gradient(135deg, var(--blue) 0%, #003382 100%); padding: 24px; position: relative; overflow: hidden; }
.promo-card-header::after { content: ''; position: absolute; right: -24px; top: -24px; width: 120px; height: 120px; background: rgba(255,255,255,.06); border-radius: 50%; pointer-events: none; }
.promo-badge { display: inline-flex; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; }
.promo-titulo { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 6px; line-height: 1.25; }
.promo-subtitulo { font-size: 14px; color: rgba(255,255,255,.8); }
.promo-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.promo-incluye { list-style: none; padding: 0; margin: 0 0 20px; }
.promo-incluye li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text); padding: 6px 0; border-bottom: 1px solid var(--border); line-height: 1.4; }
.promo-incluye li:last-child { border-bottom: none; }
.promo-incluye li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.promo-precios { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.promo-precio { font-size: 28px; font-weight: 700; color: var(--text-dark); }
.promo-original { font-size: 16px; color: var(--text); text-decoration: line-through; opacity: .55; }
.promo-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.promo-tag { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; background: var(--blue-light); color: var(--blue); }
.promo-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: #25d366; color: #fff; font-family: var(--font); font-size: 15px; font-weight: 700; padding: 14px; border-radius: 8px; text-decoration: none; transition: background .15s, transform .12s; margin-top: auto; }
.promo-btn:hover { background: #1da851; transform: translateY(-1px); }
.promo-btn svg { width: 18px; height: 18px; fill: #fff; flex-shrink: 0; }

/* ═══════════════════════════════════════════
   BENEFICIOS TRANSVERSALES
   ═══════════════════════════════════════════ */
.benef-section { background: var(--bg-light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 48px 20px; }
.benef-inner { max-width: 1200px; margin: 0 auto; }
.benef-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benef-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px 24px; }
.benef-icon { font-size: 32px; margin-bottom: 12px; }
.benef-titulo { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.benef-desc { font-size: 13px; color: var(--text); line-height: 1.7; margin: 0; }
.benef-disclaimer { font-size: 11px; color: var(--text); opacity: .7; margin-top: 8px; font-style: italic; }

/* ═══════════════════════════════════════════
   NAVBAR — WhatsApp button
   ═══════════════════════════════════════════ */
.header-wa-btn { display: inline-flex; align-items: center; gap: 7px; background: #25d366; color: #fff !important; font-family: var(--font); font-size: 13px; font-weight: 700; padding: 9px 16px; border-radius: 6px; text-decoration: none; transition: background .15s, transform .12s; white-space: nowrap; }
.header-wa-btn:hover { background: #1da851 !important; transform: translateY(-1px); }
.header-wa-mobile { display: none; }

.nav-promos-btn { display: inline-flex; align-items: center; gap: 4px; background: #e8380d; color: #fff !important; font-family: var(--font); font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 20px; text-decoration: none !important; white-space: nowrap; transition: background .15s, transform .12s, box-shadow .15s; box-shadow: 0 2px 8px rgba(232,56,13,.35); letter-spacing: .01em; }
.nav-promos-btn:hover { background: #c22d08 !important; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(232,56,13,.45); }

/* ═══════════════════════════════════════════
   FOOTER — PAMI row
   ═══════════════════════════════════════════ */
.footer-pami-row { border-top: 1px solid rgba(255,255,255,.1); padding: 14px 20px; font-size: 12px; color: rgba(255,255,255,.6); text-align: center; }

/* ═══════════════════════════════════════════
   RESPONSIVE — Catálogo LC + Promos
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) { .plc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .plc-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: 1fr; }
  .benef-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .filtros-lc-inner { flex-direction: column; align-items: stretch; }
  .filtro-count { margin-left: 0; text-align: right; }
  .filtro-select, .filtro-search-lc { width: 100%; min-width: unset; }
}
@media (max-width: 380px) { .plc-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════════ */
.breadcrumb-bar { background: var(--bg-light); border-bottom: 1px solid var(--border); padding: 10px 20px; }
.breadcrumb-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text); }
.breadcrumb-inner a { color: var(--blue); font-weight: 600; }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-sep { opacity: .45; }

/* ═══════════════════════════════════════════
   CATÁLOGO — Hero
   ═══════════════════════════════════════════ */
.cat-hero { background: linear-gradient(135deg, #001840 0%, #002e6e 55%, var(--blue) 100%); color: #fff; padding: 52px 20px 44px; }
.cat-hero-inner { max-width: 1200px; margin: 0 auto; }
.cat-hero-text h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 700; color: #fff; margin-bottom: 12px; line-height: 1.15; }
.cat-hero-text p { font-size: 16px; color: rgba(255,255,255,.82); line-height: 1.7; max-width: 620px; margin-bottom: 24px; }
.cat-hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-badge { display: inline-flex; align-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 20px; }

/* ═══════════════════════════════════════════
   CATÁLOGO — Contenedor interno
   ═══════════════════════════════════════════ */
.plc-inner { max-width: 1200px; margin: 0 auto; padding: 32px 20px 64px; }
.plc-empty { text-align: center; padding: 60px 20px; color: var(--text); font-size: 15px; }
.plc-empty-reset { background: none; border: none; color: var(--blue); font-weight: 700; font-size: 15px; cursor: pointer; font-family: var(--font); }
.plc-empty-reset:hover { text-decoration: underline; }
.filtro-reset-btn { font-size: 13px; color: var(--blue); font-weight: 600; cursor: pointer; background: none; border: 1px solid var(--blue); font-family: var(--font); padding: 8px 14px; border-radius: 6px; white-space: nowrap; transition: background .15s, color .15s; }
.filtro-reset-btn:hover { background: var(--blue); color: #fff; }

/* ═══════════════════════════════════════════
   PROMOCIONES — Hero extras
   ═══════════════════════════════════════════ */
.promo-hero-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.promo-hero-sub { font-size: 16px; color: rgba(255,255,255,.82); line-height: 1.7; max-width: 580px; margin-bottom: 32px; }
.promo-hero-stats { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.promo-stat { padding: 0 28px; }
.promo-stat:first-child { padding-left: 0; }
.promo-stat-num { display: block; font-size: 22px; font-weight: 700; color: #fff; }
.promo-stat-label { display: block; font-size: 12px; color: rgba(255,255,255,.6); margin-top: 2px; }
.promo-stat-div { width: 1px; height: 40px; background: rgba(255,255,255,.2); }

/* ═══════════════════════════════════════════
   PAMI strip (arriba del grid de promos)
   ═══════════════════════════════════════════ */
.pami-strip { background: #fffbeb; border-bottom: 1px solid rgba(245,158,11,.25); padding: 10px 20px; }
.pami-strip-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: #78350f; }
.pami-strip-inner a { color: var(--blue); font-weight: 700; }
.pami-strip-inner a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════
   PAMI notice (dentro de benef-section)
   ═══════════════════════════════════════════ */
.pami-notice { display: flex; align-items: flex-start; gap: 10px; background: #fffbeb; border: 1px solid rgba(245,158,11,.3); border-radius: 8px; padding: 14px 18px; font-size: 12px; color: #92400e; margin-top: 32px; }
.pami-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.pami-notice p { margin: 0; line-height: 1.6; }

/* ═══════════════════════════════════════════
   PROMOCIONES — Contenedor interno + CTA
   ═══════════════════════════════════════════ */
.promo-inner { max-width: 1200px; margin: 0 auto; padding: 40px 20px 64px; }
.promo-cta-section { background: linear-gradient(135deg, #001840 0%, var(--blue) 100%); padding: 60px 20px; text-align: center; }
.promo-cta-inner { max-width: 600px; margin: 0 auto; }
.promo-cta-inner h2 { font-size: clamp(20px, 3vw, 30px); font-weight: 700; color: #fff; margin-bottom: 12px; }
.promo-cta-inner p { font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: 28px; line-height: 1.7; }
.promo-cta-btn { display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: #fff; font-family: var(--font); font-size: 16px; font-weight: 700; padding: 16px 32px; border-radius: 8px; text-decoration: none; transition: background .15s, transform .12s; }
.promo-cta-btn:hover { background: #1da851; transform: translateY(-2px); }
.promo-cta-btn svg { fill: #fff; flex-shrink: 0; }

/* ═══════════════════════════════════════════
   BENEFICIOS — heading override
   ═══════════════════════════════════════════ */
.benef-titulo { font-size: clamp(20px, 2.5vw, 26px); font-weight: 700; color: var(--text-dark); margin-bottom: 32px; text-align: center; }
.benef-card h3 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.benef-card p { font-size: 13px; color: var(--text); line-height: 1.7; margin: 0; }

/* ═══════════════════════════════════════════
   MEGA MENU — Lentes de Contacto
   ═══════════════════════════════════════════ */
.nav-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,.14), 0 2px 8px rgba(0,0,0,.06);
  width: 760px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s, visibility .15s, transform .15s;
  z-index: 400;
  pointer-events: none;
}
.nav-has-mega:hover .nav-mega,
.nav-has-mega:focus-within .nav-mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.nav-mega-col { padding: 0 16px; border-right: 1px solid var(--border); }
.nav-mega-col:first-child { padding-left: 0; }
.nav-mega-col:last-child { border-right: none; padding-right: 0; }
.nav-mega-col-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--blue-light); }
.nav-mega-link { display: block; font-size: 13px; color: var(--text-dark); padding: 6px 0; transition: color .12s; white-space: nowrap; }
.nav-mega-link:hover { color: var(--blue); }

/* ═══════════════════════════════════════════
   LENTES DE CONTACTO — Catálogo con sidebar
   ═══════════════════════════════════════════ */
.lc-page-layout { max-width: 1200px; margin: 0 auto; padding: 28px 20px 64px; display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.lc-sidebar { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 20px; position: sticky; top: 90px; }
.lcs-search { position: relative; margin-bottom: 20px; }
.lcs-search input { width: 100%; padding: 9px 36px 9px 12px; border: 1px solid var(--border); border-radius: 6px; font-family: var(--font); font-size: 16px; color: var(--text-dark); outline: none; transition: border-color .15s; box-sizing: border-box; }
.lcs-search input:focus { border-color: var(--blue); }
.lcs-search svg { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--text); pointer-events: none; }
.lcs-group { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.lcs-group:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.lcs-group-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text); margin-bottom: 12px; }
.lcs-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.lcs-pill { font-family: var(--font); font-size: 12px; font-weight: 600; color: var(--text-dark); background: var(--bg-light); border: 1px solid var(--border); border-radius: 20px; padding: 5px 11px; cursor: pointer; transition: background .12s, color .12s, border-color .12s; white-space: nowrap; }
.lcs-pill:hover { border-color: var(--blue); color: var(--blue); }
.lcs-pill.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.lcs-check-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-dark); padding: 5px 0; cursor: pointer; }
.lcs-check-item input[type="checkbox"] { accent-color: var(--blue); width: 15px; height: 15px; cursor: pointer; flex-shrink: 0; }
.lcs-check-item:hover { color: var(--blue); }
.lcs-reset { width: 100%; background: transparent; border: 1px solid var(--border); border-radius: 6px; padding: 9px; font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer; margin-top: 16px; transition: border-color .15s, color .15s; }
.lcs-reset:hover { border-color: var(--blue); color: var(--blue); }
.lc-sort-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.lc-count-text { font-size: 14px; color: var(--text); }
.lc-count-text strong { color: var(--text-dark); }
.lc-sort-select { padding: 8px 12px; border: 1px solid var(--border); border-radius: 6px; font-family: var(--font); font-size: 13px; color: var(--text-dark); outline: none; cursor: pointer; background: #fff; }
.lc-sort-select:focus { border-color: var(--blue); }
.lc-prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lc-no-results-msg { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--text); font-size: 15px; }
.lc-no-results-msg button { background: none; border: none; color: var(--blue); font-weight: 700; font-size: 15px; cursor: pointer; font-family: var(--font); text-decoration: underline; }

@media (max-width: 960px) {
  .lc-page-layout { grid-template-columns: 1fr; }
  .lc-sidebar { position: static; }
  .lc-prod-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) { .lc-prod-grid { grid-template-columns: repeat(2, 1fr); } }

/* ═══════════════════════════════════════════
   MOBILE NAV — Hamburger + Drawer
   ═══════════════════════════════════════════ */

.hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: transparent;
  cursor: pointer;
  color: var(--text-dark);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  transition: background .15s;
  flex-shrink: 0;
}
.hamburger-btn:hover { background: var(--bg-light); }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.mobile-overlay.open { opacity: 1; visibility: visible; }

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(300px, 88vw);
  background: #fff;
  z-index: 501;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-drawer.open { transform: translateX(0); }

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  padding: 20px 16px;
  min-height: 80px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mobile-drawer-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.mobile-drawer-logo img { height: 116px; width: auto; }

.mobile-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: background .15s;
  flex-shrink: 0;
}
.mobile-close-btn:hover { background: var(--border); }

.mobile-nav { flex: 1; overflow-y: auto; }

.mobile-nav-group {
  background: linear-gradient(135deg, var(--blue-light) 0%, #eaf0ff 100%);
  border-left: 3px solid var(--blue);
  border-bottom: 2px solid rgba(0,74,173,.15);
  margin-bottom: 2px;
}

.mobile-nav-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue);
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
}
.mobile-nav-cat-chevron { flex-shrink: 0; transition: transform .2s ease; }
.mobile-nav-group.expanded .mobile-nav-cat-chevron { transform: rotate(180deg); }

/* Sub-links hidden by default, shown when expanded */
.mobile-nav-group .mobile-nav-link { display: none; }
.mobile-nav-group.expanded .mobile-nav-link { display: flex; }

.mobile-nav-link {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 13px 16px;
  border-bottom: 1px solid rgba(0,0,0,.05);
  transition: background .12s, color .12s;
  min-height: 48px;
  text-decoration: none;
}
.mobile-nav-link:hover { background: var(--blue-light); color: var(--blue); }

.mobile-nav-featured {
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 700;
  border-left: 3px solid var(--blue);
  padding-left: 13px;
}
.mobile-nav-featured:hover { background: #d6e6ff; }

.mobile-nav-indent {
  font-size: 14px;
  font-weight: 500;
  padding-left: 28px;
  color: var(--text);
}

.mobile-nav-promos-link {
  color: #e8380d;
  background: rgba(232,56,13,.06);
  margin: 8px 12px 8px;
  border-radius: 8px;
  justify-content: center;
  border-bottom: none;
  font-weight: 700;
}
.mobile-nav-promos-link:hover { background: rgba(232,56,13,.14); color: #c22d08; }

.mobile-drawer-foot {
  border-top: 1px solid var(--border);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-wa-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s;
  min-height: 48px;
}
.mobile-wa-cta:hover { background: #1da851; }

.mobile-phone-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  padding: 10px;
  min-height: 44px;
  text-decoration: none;
}

.mobile-hours { text-align: center; font-size: 12px; color: var(--text); opacity: .7; margin: 0; }

/* ── Mobile breakpoint overrides ── */
@media (max-width: 900px) {
  header { position: fixed; top: 0; left: 0; right: 0; width: 100%; }
  body { padding-top: 70px; }
  .hamburger-btn { display: flex; }
  .header-inner { padding: 0 12px; gap: 0; justify-content: space-between; height: 70px; }
  .logo { position: static; transform: none; }
  .logo img { height: 140px; }
  .header-actions { gap: 8px; }
  .icon-btn { display: none; }
  .header-wa-btn { display: none; }
  .header-wa-mobile { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 12px; background: #25d366; color: #fff; border-radius: 8px; text-decoration: none; font-family: var(--font); font-size: 13px; font-weight: 700; white-space: nowrap; flex-shrink: 0; transition: background .15s; }
  .header-wa-mobile:hover { background: #1da851; }
  .hero-image { display: none; }
  .footer-pami-row { color: var(--text); border-top-color: var(--border); }
}

/* ── Mobile drawer slides from right ── */
.mobile-drawer {
  left: auto;
  right: 0;
  transform: translateX(100%);
}
.mobile-drawer.open { transform: translateX(0); }
/* ── Mobile filter toggle button ── */
.mobile-filter-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--blue-light);
  border: 1px solid rgba(0,74,173,.22);
  border-radius: 8px;
  padding: 11px 14px;
  font-family: Cabin, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  text-align: left;
}
.mobile-filter-toggle .mft-chevron { transition: transform .2s ease; flex-shrink: 0; }
.lc-sidebar.filters-open .mobile-filter-toggle .mft-chevron,
.filters.filters-open .mobile-filter-toggle .mft-chevron { transform: rotate(180deg); }
.lc-sidebar .mobile-filter-toggle { margin-top: 10px; }

@media (max-width: 900px) {
  .mobile-filter-toggle { display: flex; }

  /* lentes-de-contacto sidebar groups collapsed by default */
  .lc-sidebar .lcs-group,
  .lc-sidebar .lcs-reset { display: none; }
  .lc-sidebar.filters-open .lcs-group,
  .lc-sidebar.filters-open .lcs-reset { display: block; }

  /* anteojos-de-sol / armazones sidebar collapsed by default */
  .filters > h3 { display: none; }
  .filters .filter-group,
  .filters .btn-reset { display: none; }
  .filters.filters-open .filter-group,
  .filters.filters-open .btn-reset { display: block; }
}

@media (max-width: 480px) {
  .adbar { font-size: 11.5px; }
.plc-section { padding: 20px 12px 48px; }
  .plc-inner { padding: 20px 12px 48px; }
  .filtros-lc { padding: 12px 12px; }
}
