
@font-face {
  font-family: 'Dunbar Tall Italic';
  src: url('fuentes/DUNBAR TALL EXTRA BOLD ITALIC.TTF') format('truetype');
  font-weight: 800;
  font-style: italic;
}
/* ══════════════════════════════════════════
   LOCAL FONTS — DUNBAR
══════════════════════════════════════════ */
/* Dunbar Low */
@font-face { font-family: 'Dunbar Low'; src: url('fuentes/DUNBAR LOW REGULAR.TTF') format('truetype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Dunbar Low'; src: url('fuentes/DUNBAR LOW LIGHT.TTF') format('truetype'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'Dunbar Low'; src: url('fuentes/DUNBAR LOW BOOK.TTF') format('truetype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Dunbar Low'; src: url('fuentes/DUNBAR LOW MEDIUM ITALIC.TTF') format('truetype'); font-weight: 500; font-style: italic; }

/* Dunbar Tall */
@font-face { font-family: 'Dunbar Tall'; src: url('fuentes/DUNBAR TALL MEDIUM.TTF') format('truetype'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'Dunbar Tall'; src: url('fuentes/DUNBAR TALL BOLD.TTF') format('truetype'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'Dunbar Tall'; src: url('fuentes/DUNBAR TALL EXTRA BOLD.TTF') format('truetype'); font-weight: 800; font-style: normal; }
@font-face { font-family: 'Dunbar Tall'; src: url('fuentes/DUNBAR TALL ULTRA.TTF') format('truetype'); font-weight: 900; font-style: normal; }

/* Dunbar Text */
@font-face { font-family: 'Dunbar Text'; src: url('fuentes/DUNBAR TEXT MEDIUM.TTF') format('truetype'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'Dunbar Text'; src: url('fuentes/DUNBAR TEXT BOLD.TTF') format('truetype'); font-weight: 700; font-style: normal; }

/* Alias 'Dunbar' for general use */
@font-face { font-family: 'Dunbar'; src: url('fuentes/DUNBAR LOW REGULAR.TTF') format('truetype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Dunbar'; src: url('fuentes/DUNBAR LOW LIGHT.TTF') format('truetype'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'Dunbar'; src: url('fuentes/DUNBAR TALL BOLD.TTF') format('truetype'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'Dunbar'; src: url('fuentes/DUNBAR TALL EXTRA BOLD.TTF') format('truetype'); font-weight: 800; font-style: normal; }

/* ══════════════════════════════════════════
   VARIABLES
══════════════════════════════════════════ */
:root {
  --red:    #FF1A22;
  --dark:   #111111;
  --gray:   #666666;
  --light:  #FFF8F8;
  --border: rgba(0,0,0,0.08);
  --white:  #ffffff;
  --cream:  #FFFBF9;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Dunbar', sans-serif;
  background: var(--cream);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }
::selection { background: var(--red); color: white; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* ══════════════════════════════════════════
   GRAIN TEXTURE OVERLAY
══════════════════════════════════════════ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ══════════════════════════════════════════
   FONDO FIJO — VIDEO SALVATORE.WEBM
   Scroll controla currentTime del video
══════════════════════════════════════════ */
.fixed-bg-container {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: var(--cream);
}

.fixed-bg-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.10;
  /* Forzar capa de compositing en GPU:
     - will-change: contents indica al browser que el contenido
       del video cambia frecuentemente → reserva capa de GPU propia.
     - translateZ(0) fuerza el elemento a su propio layer de compositing.
     Ambos reducen el costo de transferir cada frame decodificado a la GPU. */
  will-change: contents;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ══════════════════════════════════════════
   HEADER (BARRA DE MENÚ FIJA SIN REDUCCIÓN)
══════════════════════════════════════════ */
.site-header {
  background: var(--red);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg,
    rgba(255,255,255,.35) 0, rgba(255,255,255,.35) 6px,
    transparent 6px, transparent 12px);
}

.header-top {
  background: rgba(0,0,0,.2);
  padding: .4rem 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.header-contact a {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-family: 'Dunbar', sans-serif;
  font-size: .72rem;
  font-weight: 300;
  letter-spacing: .04em;
  transition: color .2s;
}
.header-contact a:hover { color: #fff; }
.header-contact svg { width: 13px; height: 13px; fill: rgba(255,255,255,.7); flex-shrink: 0; }

.header-tagline {
  font-family: 'Dunbar Tall', sans-serif;
  font-size: .65rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.header-brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 2rem;
  gap: 1rem;
}

.brand-logo { display: inline-block; flex-shrink: 0; }
.brand-logo-img {
  height: 57px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  text-decoration: none;
  padding: .55rem 1.1rem;
  border-radius: 2px;
  font-family: 'Dunbar', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.header-cta:hover { background: rgba(0,0,0,.45); border-color: rgba(255,255,255,.5); }
.header-cta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: none;
}

/* ══════════════════════════════════════════
   CATEGORY NAV (UNIDA AL HEADER)
══════════════════════════════════════════ */
.category-nav {
  position: relative;
  top: 0;
  z-index: 90;
  background: rgba(255,251,249,.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.15);
  border-bottom: 1px solid var(--border);
}

.nav-scroll {
  display: flex;
  gap: .3rem;
  padding: .55rem 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-scroll::-webkit-scrollbar { display: none; }

.nav-pill {
  flex-shrink: 0;
  padding: .38rem 1rem;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: var(--gray);
  font-family: 'Dunbar Tall', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.nav-pill:hover {
  color: var(--dark);
  border-color: rgba(0,0,0,.12);
}
.nav-pill.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* Espacio superior para compensar el header fijo */
main {
  padding-top: 100px;
}

/* ══════════════════════════════════════════
   CATALOG — SECCIONES
══════════════════════════════════════════ */
.catalog-section {
  padding: 4rem 0 2rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.catalog-section.revealed {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-label {
  font-family: 'Dunbar Tall', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: .06em;
  line-height: 1;
}

.section-underline {
  display: flex;
  gap: 3px;
  margin-top: .4rem;
}
.section-underline .u1 {
  display: block;
  width: 32px; height: 3px;
  background: var(--red);
}
.section-underline .u2 {
  display: block;
  width: 8px; height: 3px;
  background: rgba(255,26,34,.3);
}

.section-count {
  font-family: 'Dunbar', sans-serif;
  font-size: .72rem;
  font-weight: 300;
  color: var(--gray);
  letter-spacing: .06em;
  white-space: nowrap;
  border: 1px solid var(--border);
  padding: .2rem .6rem;
  border-radius: 1px;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

/* ══════════════════════════════════════════
   CATALOG LIST — FILAS TIPOGRÁFICAS
══════════════════════════════════════════ */
.catalog-list {
  list-style: none;
  border-top: 1px solid var(--border);
}

.list-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background .15s;
  position: relative;
}

.list-row::before {
  content: '';
  position: absolute;
  left: -2rem; right: -2rem; top: 0; bottom: 0;
  background: transparent;
  transition: background .18s;
  z-index: -1;
}
.list-row:hover::before {
  background: rgba(255,26,34,.04);
}

.list-row-left {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  min-width: 0;
}

.list-row-name {
  font-family: 'Dunbar Tall', sans-serif;
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .18s;
  line-height: 1.32;
}
.list-row:hover .list-row-name { color: var(--red); }

.list-row-specs {
  font-family: 'Dunbar', sans-serif;
  font-size: .76rem;
  font-weight: 500;
  color: #484848;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
}

.list-row-brand {
  font-family: 'Dunbar Text', sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  padding: .15rem .5rem;
  border-radius: 1px;
  white-space: nowrap;
  flex-shrink: 0;
}

.list-row-right {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-shrink: 0;
}

.list-row-qty {
  font-family: 'Dunbar', sans-serif;
  font-size: .65rem;
  font-weight: 300;
  color: var(--gray);
  letter-spacing: .04em;
}

.list-row-arrow {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all .18s;
}
.list-row:hover .list-row-arrow {
  background: var(--red);
  border-color: var(--red);
}
.list-row-arrow svg {
  width: 13px; height: 13px;
  fill: var(--gray);
  transition: fill .18s;
}
.list-row:hover .list-row-arrow svg { fill: #fff; }

.lens-list-row {
  align-items: center !important;
  padding-top: 1.1rem !important;
  padding-bottom: 1.1rem !important;
}

.lens-title-row {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex-wrap: wrap;
}

.lens-row-focals {
  font-family: 'Dunbar', sans-serif;
  font-size: .74rem;
  font-weight: 500;
  color: #4a4a4a;
  margin-top: .35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lens-specs-text {
  color: var(--red);
  font-weight: 500;
}

/* ══════════════════════════════════════════
   BRAND BADGE
══════════════════════════════════════════ */
.brand-badge {
  display: inline-block;
  font-family: 'Dunbar Text', sans-serif;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .14em;
  padding: .12rem .45rem;
  border-radius: 1px;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.8);
  padding: 3.5rem 0 0;
  margin-top: 4rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

@media (max-width: 768px) {
  .footer-main { grid-template-columns: 1fr; }
}

.footer-logo-img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
  object-fit: contain;
}

.footer-desc {
  font-family: 'Dunbar', sans-serif;
  font-size: .78rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
  margin-top: 1rem;
}

.footer-col-title {
  font-family: 'Dunbar Tall', sans-serif;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}

.footer-contact-list,
.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-contact-list a,
.footer-nav-list a {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: rgba(255,255,255,.7);
  font-family: 'Dunbar', sans-serif;
  font-size: .8rem;
  font-weight: 300;
  transition: color .2s;
}
.footer-contact-list a:hover,
.footer-nav-list a:hover { color: #fff; }

.footer-contact-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,26,34,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.footer-contact-icon svg { width: 13px; height: 13px; fill: var(--red); }

.footer-contact-main { font-weight: 500; font-size: .78rem; color: rgba(255,255,255,.85); }
.footer-contact-sub  { font-size: .65rem; color: rgba(255,255,255,.35); margin-top: .1rem; }

.footer-nav-list a {
  padding: .15rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-family: 'Dunbar Tall', sans-serif;
  font-size: .82rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-family: 'Dunbar', sans-serif;
  font-size: .7rem;
  font-weight: 300;
  color: rgba(255,255,255,.3);
}

/* ══════════════════════════════════════════
   WHATSAPP FLOTANTE
══════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .4s, transform .4s;
  pointer-events: none;
}
.wa-float.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.wa-tooltip {
  background: var(--dark);
  color: #fff;
  font-family: 'Dunbar', sans-serif;
  font-size: .75rem;
  font-weight: 400;
  padding: .45rem .85rem;
  border-radius: 2px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.wa-tooltip.show { opacity: 1; transform: translateX(0); }

.wa-btn {
  width: 52px; height: 57px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
}
.wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
}
.wa-btn svg { width: 26px; height: 26px; fill: #fff; }

/* ══════════════════════════════════════════
   LOGO BRAND
══════════════════════════════════════════ */
.footer-brand { margin-bottom: .2rem; }

/* ══════════════════════════════════════════
   HEADER BRAND RIGHT & HAMBURGER MENU
══════════════════════════════════════════ */
.header-brand-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 38px;
  height: 38px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  padding: 10px 8px;
  cursor: pointer;
  z-index: 110;
  transition: background 0.2s, border-color 0.2s, transform 0.2s ease;
}
.menu-toggle:hover {
  background: rgba(0,0,0,0.45);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-1px);
}

.menu-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #d5131b;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  transform-origin: center;
}

/* Animación del botón hamburguesa a X */
.site-header.menu-open .bar1 {
  transform: translateY(7px) rotate(45deg);
}
.site-header.menu-open .bar2 {
  opacity: 0;
  transform: scaleX(0);
}
.site-header.menu-open .bar3 {
  transform: translateY(-7px) rotate(-45deg);
}

/* ══════════════════════════════════════════
   RESPONSIVE (DISPOSITIVOS MÓVILES)
══════════════════════════════════════════ */
@media (max-width: 768px) {
  .site-header {
    transition: box-shadow 0.28s ease;
  }

  .site-header.menu-open .menu-toggle {
    background: #ffffff;
  }

  .menu-toggle {
    display: flex;
    position: fixed;
    top: calc(max(1rem, env(safe-area-inset-top)) + 65px);
    right: 0.75rem;
    z-index: 160;
    width: 46px;
    height: 46px;
    padding: 12px 10px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #d5131b;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  }

  .menu-toggle:hover {
    background: #ffffff;
    border-color: #d5131b;
  }

  .header-brand-bar {
    padding: 0.6rem 1.2rem;
  }

  .brand-logo-img {
    height: 44px;
  }

  .header-cta .cta-text {
    display: none;
  }

  .header-cta {
    padding: 0.5rem;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    justify-content: center;
  }

  .header-tagline {
    display: none;
  }

  .header-top {
    padding: 0.25rem 0;
  }

  .header-top-inner {
    justify-content: center;
  }

  /* Menú desplegable en móviles */
  .category-nav {
    position: relative;
    z-index: 90;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
    border-top: 1px solid rgba(255,255,255,0.15);
  }

  .site-header.menu-open .category-nav {
    max-height: 380px;
    opacity: 1;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  }

  .nav-scroll {
    flex-direction: column;
    gap: 0;
    padding: 0.4rem 0.8rem 0.8rem;
  }

  .nav-pill {
    width: 100%;
    text-align: left;
    padding: 0.65rem 1rem;
    border-radius: 4px;
    font-size: 0.78rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  main {
      padding-top: 60px;
    }

  .catalog-section {
    padding: 2.5rem 0 1.5rem;
  }

  .container {
    padding: 0 1rem;
  }

  /* Filas responsivas del catálogo */
  .list-row {
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
    padding: 0.75rem 0;
  }

  .list-row::before {
    left: -1rem;
    right: -1rem;
  }

  .list-row-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .list-row-name {
    font-size: 0.95rem;
    white-space: normal;
    word-break: break-word;
    line-height: 1.25;
  }

  .list-row-specs {
    font-size: 0.74rem;
    font-weight: 500;
    color: #3f3f3f;
    white-space: normal;
    line-height: 1.35;
  }

  .brand-logo-badge {
    width: 44px;
    height: 44px;
    padding: 2px;
  }

  .section-count {
    color: #3c3c3c;
    background: rgba(255, 255, 255, 0.72);
  }

  .badge-canon-fd .badge-title { font-size: 0.52rem; }
  .badge-canon-fd .badge-sub { font-size: 0.58rem; }
  .badge-canon-fd .badge-tag { font-size: 0.3rem; }
  .badge-zeiss-jena .zeiss-title { font-size: 0.38rem; }
  .badge-zeiss-jena .jena-title { font-size: 0.35rem; }
  .badge-contax .contax-top, .badge-contax .contax-bot { font-size: 0.48rem; }
  .badge-leica .leica-script { font-size: 0.82rem; }
  .badge-sigma .sigma-circle { width: 26px; height: 26px; font-size: 0.88rem; }
  .badge-canon-l .canon-logo-text { font-size: 0.72rem; }
  .badge-gmaster .gm-g { width: 16px; height: 16px; font-size: 0.6rem; }
  .badge-gmaster .gm-text { font-size: 0.36rem; }
  .badge-blazar .blazar-text { font-size: 0.52rem; }
  .badge-generic { font-size: 0.5rem; }

  .list-row-arrow {
    width: 26px;
    height: 26px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .wa-float {
    bottom: 1rem;
    right: 1rem;
  }
}

@media (max-width: 420px) {
  .header-contact a:last-child {
    display: none;
  }
}

/* ══════════════════════════════════════════
   HIDDEN UTILITY
══════════════════════════════════════════ */
.hidden { display: none !important; }

/* ══════════════════════════════════════════
   KIT BUTTON (HEADER)
══════════════════════════════════════════ */
.kit-btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 2px;
  font-family: 'Dunbar Tall', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s;
  white-space: nowrap;
}
.kit-btn:hover {
  background: rgba(0,0,0,.45);
  border-color: rgba(255,255,255,.5);
  transform: translateY(-1px);
}
.kit-count {
  background: #fff;
  color: var(--red);
  border-radius: 50%;
  padding: 1px 6px;
  font-size: .7rem;
  font-weight: 800;
  font-family: 'Dunbar Text', sans-serif;
  line-height: 1.3;
}

/* ══════════════════════════════════════════
   PRODUCT DETAIL (FICHA INDIVIDUAL)
══════════════════════════════════════════ */
#product-detail {
  padding: 4rem 0 2rem;
  animation: pdFadeIn .35s ease forwards;
}

@keyframes pdFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pd-back-btn {
  background: transparent;
  color: var(--gray);
  border: none;
  font-family: 'Dunbar', sans-serif;
  font-size: .88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: 2rem;
  transition: color .2s;
}
.pd-back-btn:hover { color: var(--dark); }
.pd-back-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }

.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.pd-image {
  background: #f5f2ef;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  padding: 1.5rem;
}
.pd-image img {
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
}

.pd-info { display: flex; flex-direction: column; }

.pd-brand {
  font-family: 'Dunbar Tall', sans-serif;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.pd-info h1 {
  font-family: 'Dunbar Tall', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1rem;
}

.pd-desc {
  color: #555;
  font-family: 'Dunbar', sans-serif;
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 400;
}

.pd-specs h3 {
  font-family: 'Dunbar Tall', sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: .8rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}

.pd-specs ul {
  list-style: none;
  color: #444;
  font-family: 'Dunbar', sans-serif;
  font-size: .88rem;
  line-height: 1.9;
  margin-bottom: 2.5rem;
}
.pd-specs ul li::before {
  content: '\2014\00a0';
  color: var(--red);
}

.pd-actions { margin-top: auto; }

.pd-add-btn {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 2px;
  padding: .9rem 2rem;
  font-family: 'Dunbar Tall', sans-serif;
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: .1em;
  cursor: pointer;
  width: 100%;
  transition: background .2s, transform .15s;
}
.pd-add-btn:hover {
  background: #d0111a;
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════
   KIT SIDEBAR
══════════════════════════════════════════ */
.kit-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.kit-overlay.active { opacity: 1; pointer-events: auto; }

.kit-sidebar {
  position: fixed; top: 0; right: -420px;
  width: 380px; max-width: 90vw; height: 100vh;
  background: var(--cream);
  border-left: 1px solid var(--border);
  z-index: 10001;
  display: flex; flex-direction: column;
  transition: right .35s cubic-bezier(.16,1,.3,1);
  box-shadow: -8px 0 30px rgba(0,0,0,.15);
}
.kit-sidebar.active { right: 0; }

.kit-header {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  background: var(--red);
  color: #fff;
}
.kit-header h2 {
  font-family: 'Dunbar Tall', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.kit-close-btn {
  background: none; border: none; color: #fff;
  font-size: 1.6rem; cursor: pointer; line-height: 1;
  transition: transform .15s;
}
.kit-close-btn:hover { transform: scale(1.2); }

.kit-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem;
}
.kit-empty {
  color: var(--gray);
  text-align: center;
  margin-top: 2rem;
  font-family: 'Dunbar', sans-serif;
  font-size: .85rem;
  font-weight: 300;
}

.kit-item-row {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff;
  padding: .8rem 1rem;
  border-radius: 2px;
  margin-bottom: .6rem;
  border: 1px solid var(--border);
}
.kit-item-title {
  font-family: 'Dunbar Tall', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  color: var(--dark);
  margin-bottom: .15rem;
}
.kit-item-qty {
  font-size: .72rem;
  color: var(--gray);
  font-family: 'Dunbar', sans-serif;
}
.kit-item-remove {
  background: none; border: none; color: var(--red);
  font-size: 1.3rem; cursor: pointer; padding: .3rem;
  transition: transform .15s;
}
.kit-item-remove:hover { transform: scale(1.2); }

.kit-footer {
  padding: 1.2rem;
  background: #f5f2ef;
  border-top: 1px solid var(--border);
}

.kit-dates {
  display: grid; grid-template-columns: 1fr 1fr; gap: .8rem;
  margin-bottom: 1rem;
}
.kit-dates label {
  display: block;
  font-size: .65rem;
  color: var(--gray);
  margin-bottom: .25rem;
  text-transform: uppercase;
  font-family: 'Dunbar Tall', sans-serif;
  font-weight: 700;
  letter-spacing: .1em;
}
.kit-dates input {
  width: 100%;
  padding: .5rem;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--dark);
  border-radius: 2px;
  font-family: 'Dunbar', sans-serif;
  font-size: .82rem;
}

.kit-checkout-btn {
  width: 100%;
  background: #25D366;
  color: #fff;
  border: none; border-radius: 2px;
  padding: .85rem;
  font-family: 'Dunbar Tall', sans-serif;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.kit-checkout-btn:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

/* ── Responsive para nuevos elementos ── */
@media (max-width: 900px) {
  .pd-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pd-image { min-height: 220px; }
}

@media (max-width: 768px) {
  .kit-btn {
    padding: .4rem .7rem;
    font-size: .65rem;
  }
  .kit-count {
    padding: 0px 5px;
    font-size: .62rem;
  }
  #product-detail {
    padding: 2rem 0 1.5rem;
  }
  .pd-info h1 { font-size: 1.6rem; }
}

/* ══════════════════════════════════════════════
   VINTAGE LENSES EDITORIAL SECTION
══════════════════════════════════════════════ */
.vintage-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 1.5rem;
}

.vintage-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.vintage-card:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.vintage-card-img {
  background: #f5f2ef;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 400px;
  cursor: pointer;
}

.vintage-card-img img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.vintage-card-img:hover img {
  transform: scale(1.05);
}

.vintage-card-content {
  padding: 3rem 3rem 3rem 0;
  display: flex;
  flex-direction: column;
}

.vintage-card-brand {
  font-family: 'Dunbar Text', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.vintage-card-title {
  font-family: 'Dunbar Tall', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.vintage-card-desc {
  font-family: 'Dunbar', sans-serif;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.5rem;
  border-left: 2px solid var(--red);
  padding-left: 1rem;
}

.vintage-card-specs {
  font-family: 'Dunbar', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vintage-focals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.vintage-focal-item {
  background: #f8f8f8;
  border: 1px solid var(--border);
  padding: 0.8rem;
  text-align: center;
  font-family: 'Dunbar Text', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  border-radius: 2px;
}

.vintage-card-actions {
  margin-top: auto;
  display: flex;
  gap: 1rem;
}

.vintage-add-btn {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 2px;
  padding: 0.9rem 2rem;
  font-family: 'Dunbar Tall', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  flex: 1;
}

.vintage-add-btn:hover {
  background: #d0111a;
  transform: translateY(-1px);
}

.vintage-detail-btn {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--dark);
  border-radius: 2px;
  padding: 0.9rem 2rem;
  font-family: 'Dunbar Tall', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.2s;
  flex: 1;
}

.vintage-detail-btn:hover {
  background: var(--dark);
  color: #fff;
}

@media (max-width: 900px) {
  .vintage-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .vintage-card-content {
    padding: 0 2rem 2rem 2rem;
  }
  .vintage-card-img {
    min-height: 250px;
    padding: 1.5rem;
  }
}

@media (max-width: 500px) {
  .vintage-card-actions {
    flex-direction: column;
  }
  .vintage-focals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ══════════════════════════════════════════════
   MOBILE NATIVE OPTIMIZATIONS
══════════════════════════════════════════════ */
html, body {
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none; /* Previene rebote en iOS/Android */
}

a, button, input {
  touch-action: manipulation; /* Remueve delay de 300ms en tap */
}

/* Soporte para Safe Area (Notch / Dynamic Island de iPhone) */
.site-header {
  padding-top: max(1rem, env(safe-area-inset-top));
}

.kit-sidebar {
  padding-bottom: env(safe-area-inset-bottom);
}

.kit-footer {
  padding-bottom: max(1.2rem, env(safe-area-inset-bottom));
}

#wa-float {
  bottom: max(2rem, env(safe-area-inset-bottom));
}

@media (max-width: 450px) {
  /* Evitar desbordes de texto en celdas pequenas (ej. iPhone SE) */
  .list-row-name, .lens-specs-text {
    word-break: break-word;
  }
  
  .list-row {
    padding: 1rem;
    gap: 0.5rem;
  }
  
  .list-row-specs {
    font-size: 0.65rem; /* Achicar un poco para que no rompa */
  }
}

/* ══════════════════════════════════════════════
   BOTTOM CONTACT BAR (MOVING HEADER-TOP)
══════════════════════════════════════════════ */
.header-top {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  background: rgba(26, 26, 26, 0.98) !important; /* var(--dark) con opacidad alta */
  padding: 0.5rem 0 !important;
  border-bottom: none !important;
  border-top: 1px solid rgba(255,255,255,.12) !important;
  z-index: 9999 !important; /* Por encima de todo, excepto el kit modal */
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom)) !important;
}

body {
  padding-bottom: 50px; /* Espacio para que el scroll no se coma contenido bajo la barra */
}

@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
  }
}

#wa-float {
  /* Levantar el boton de WA para que no choque con la barra inferior */
  bottom: max(4rem, calc(3rem + env(safe-area-inset-bottom))) !important;
}

/* ══════════════════════════════════════════════
   ACCORDION (COLLAPSIBLE SECTIONS)
══════════════════════════════════════════════ */
.section-header {
  cursor: pointer;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  transition: opacity 0.2s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  align-items: center !important; /* Override baseline */
}
.section-header:hover {
  opacity: 0.8;
}

.section-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-chevron {
  width: 24px;
  height: 24px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--red);
}
.section-chevron.open {
  transform: rotate(180deg);
}

.section-content {
  display: none;
  animation: pdFadeIn 0.35s ease forwards;
}
.section-content.open {
  display: block;
}

/* ══════════════════════════════════════════════
   FEATURED CAROUSEL
══════════════════════════════════════════════ */
#featured-carousel {
  height: 300px;
  background-image: url('img/BANNER_SLTR.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}
#featured-carousel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* Overlay oscuro sutil */
  z-index: 1;
}

.carousel-title {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-family: 'Dunbar Tall', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 10;
}

.carousel-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: scrollCarousel 35s linear infinite;
  padding-left: 3rem;
  z-index: 2;
  position: relative;
}

.carousel-track:hover {
  animation-play-state: paused;
}

@keyframes scrollCarousel {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 1.5rem)); }
}

.carousel-item {
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s, background 0.3s;
  padding: 1.5rem;
  text-decoration: none;
}

.carousel-item:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.15);
}

.carousel-item img {
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.carousel-item-name {
  color: #fff;
  font-family: 'Dunbar Tall', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
}

@media (max-width: 768px) {
  #featured-carousel { height: 240px; }
  .carousel-item { width: 150px; height: 160px; padding: 1rem; }
  .carousel-item img { max-height: 80px; margin-bottom: 0.8rem; }
  .carousel-item-name { font-size: 0.75rem; }
}

/* ══════════════════════════════════════════════
   VINTAGE TITLE & PRODUCT NAVIGATION
══════════════════════════════════════════════ */
#title-lentes-vintage {
  font-family: 'Dunbar Tall Italic', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  text-transform: uppercase;
  color: var(--dark);
  font-style: italic;
}

.pd-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.pd-nav-btn {
  background: transparent;
  color: var(--gray);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.6rem 1rem;
  font-family: 'Dunbar Tall', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
}

.pd-nav-btn:hover:not(:disabled) {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.pd-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.section-label {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
}

.vintage-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--red);
  color: white;
  font-family: 'Dunbar Tall', sans-serif;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  width: 40px;
  height: 40px;
  text-align: center;
  margin-left: 0.6rem;
  transform: translateY(-2px);
  animation: floatBadge 3s ease-in-out infinite;
  font-style: normal;
  /* 12-pointed starburst / sticker shape */
  clip-path: polygon(50% 0%, 61% 10%, 75% 5%, 81% 18%, 95% 20%, 92% 35%, 100% 50%, 92% 65%, 95% 80%, 81% 82%, 75% 95%, 61% 90%, 50% 100%, 39% 90%, 25% 95%, 19% 82%, 5% 80%, 8% 65%, 0% 50%, 8% 35%, 5% 20%, 19% 18%, 25% 5%, 39% 10%);
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(-4px); }
  50% { transform: translateY(-8px); }
}

/* ══════════════════════════════════════════════
   ADMINISTRABLE DESDE /admin — banners, precios, galería
══════════════════════════════════════════════ */
.hero-banners { position: relative; height: clamp(260px, 40vw, 520px); overflow: hidden; background: #0d0d0d; }
.hero-banners.hidden { display: none; }
.hb-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; display: flex; align-items: center; }
.hb-slide.active { opacity: 1; visibility: visible; }
.hb-slide[data-link] { cursor: pointer; }
.hb-slide picture, .hb-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hb-slide.active img { animation: hbZoom 9s ease-out forwards; }
@keyframes hbZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hb-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.25) 100%); }
.hb-center .hb-shade { background: #000; }
.hb-right .hb-shade { background: linear-gradient(270deg, #000 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.25) 100%); }
.hb-content { position: relative; z-index: 2; width: 100%; display: flex; }
.hb-center .hb-content { justify-content: center; text-align: center; }
.hb-right .hb-content { justify-content: flex-end; text-align: right; }
.hb-text { max-width: 620px; color: #fff; }
.hb-text h2 { font-family: 'Dunbar Tall', sans-serif; font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 5vw, 3.6rem); line-height: .95; letter-spacing: -.005em; margin-bottom: .8rem; }
.hb-text p { font-family: 'Dunbar', sans-serif; font-size: clamp(.9rem, 1.5vw, 1.1rem); color: rgba(255,255,255,.85); margin-bottom: 1.3rem; }
.hb-btn { display: inline-block; background: var(--red); color: #fff; font-family: 'Dunbar Tall', sans-serif; font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; padding: .85rem 1.8rem; border-radius: 2px; transition: transform .15s, background .2s; }
.hb-slide:hover .hb-btn { background: #d0111a; transform: translateY(-1px); }
.hb-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hb-dots button { width: 26px; height: 3px; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; transition: background .2s, width .2s; }
.hb-dots button.active { background: var(--red); width: 44px; }
.hb-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.25); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s, background .2s; }
.hb-prev { left: 18px; } .hb-next { right: 18px; }
.hero-banners:hover .hb-arrow { opacity: 1; }
.hb-arrow:hover { background: var(--red); border-color: var(--red); }
@media (max-width: 768px) {
  .hero-banners { height: clamp(300px, 90vw, 460px); }
  .hb-slide { align-items: flex-end; padding-bottom: 3rem; }
  .hb-shade, .hb-right .hb-shade { background: linear-gradient(0deg, #000 0%, rgba(0,0,0,.5) 55%, rgba(0,0,0,.15) 100%); }
  .hb-arrow { display: none; }
}

/* Precios en listas */
.list-row-price { font-family: 'Dunbar Tall', sans-serif; font-weight: 800; font-size: .85rem; color: var(--dark); white-space: nowrap; letter-spacing: .02em; }
.list-row-price small { font-family: 'Dunbar', sans-serif; font-weight: 400; font-size: .65rem; color: var(--gray); margin-left: .15rem; }
.item-tag { display: inline-block; background: var(--red); color: #fff; font-family: 'Dunbar Tall', sans-serif; font-size: .55rem; font-weight: 800; letter-spacing: .12em; padding: .15rem .4rem; border-radius: 2px; vertical-align: middle; margin-left: .35rem; }
.vintage-card-price { font-family: 'Dunbar Tall', sans-serif; font-weight: 800; font-size: 1.1rem; margin: .2rem 0 .8rem; color: var(--dark); }
.vintage-card-price small { font-family: 'Dunbar', sans-serif; font-weight: 400; font-size: .72rem; color: var(--gray); margin-left: .2rem; }
@media (max-width: 560px) {
  .list-row-price { font-size: .75rem; }
  .list-row-price small { display: block; margin: 0; text-align: right; }
}

/* Ficha: precios y galería */
.pd-prices { display: flex; flex-wrap: wrap; gap: .6rem; margin: -.2rem 0 .6rem; }
.pd-price { border: 1px solid var(--border); background: #fff; padding: .6rem .9rem; border-radius: 2px; min-width: 120px; }
.pd-price span { display: block; font-family: 'Dunbar Tall', sans-serif; font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }
.pd-price b { font-family: 'Dunbar Tall', sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--dark); }
.pd-price:first-child { border-color: var(--red); }
.pd-price:first-child b { color: var(--red); }
.pd-price-note { font-family: 'Dunbar', sans-serif; font-size: .78rem; color: var(--gray); margin-bottom: 1.4rem; }
.pd-prices + .pd-desc { margin-top: 1rem; }
.pd-media { min-width: 0; }
.pd-thumbs { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; padding-bottom: .2rem; }
.pd-thumb { width: 72px; height: 72px; flex-shrink: 0; border: 1px solid var(--border); background: #f5f2ef; padding: 0; cursor: pointer; border-radius: 2px; overflow: hidden; opacity: .6; transition: opacity .15s, border-color .15s; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:hover, .pd-thumb.active { opacity: 1; border-color: var(--red); }

/* Kit: estimado */
.kit-estimate { margin-top: 1rem; padding: .9rem 1rem; background: #fff; border: 1px solid var(--dark); border-radius: 2px; display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; align-items: baseline; }
.kit-estimate span { font-family: 'Dunbar Tall', sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.kit-estimate b { font-family: 'Dunbar Tall', sans-serif; font-weight: 800; font-size: 1.2rem; }
.kit-estimate small { grid-column: 1 / -1; font-size: .7rem; color: var(--gray); line-height: 1.4; }

/* Carrusel de destacados: fondo rojo de marca */
#featured-carousel {
  background: var(--red);
  background-image: none;
}
#featured-carousel::before {
  background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,.12) 100%);
}
#featured-carousel .carousel-item {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.28);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
#featured-carousel .carousel-item:hover { background: rgba(255,255,255,0.2); }
#featured-carousel .carousel-title { color: #fff; }

/* Fondo animado en canvas (mismo aspecto que el video) */
.fixed-bg-container .bg-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  opacity: 0.10;
  transform: translateZ(0);
}

/* ══ Lentes que se alquilan sueltos ══ */
.vintage-loose-hint { font-family: 'Dunbar', sans-serif; font-size: .75rem; color: var(--gray); margin: -.2rem 0 .7rem; }
button.vintage-focal-item.is-loose { position: relative; cursor: pointer; background: #fff; border-color: rgba(255,26,34,.35); display: flex; flex-direction: column; align-items: center; gap: .2rem; transition: border-color .15s, background .15s, transform .15s; font: inherit; font-family: 'Dunbar Text', sans-serif; font-size: .85rem; font-weight: 700; }
button.vintage-focal-item.is-loose:hover { border-color: var(--red); background: #FFF4F4; transform: translateY(-1px); }
.vf-price { font-family: 'Dunbar', sans-serif; font-weight: 400; font-size: .7rem; color: var(--gray); }
.vf-price small { font-size: .62rem; margin-left: .1rem; }
.vf-plus { position: absolute; top: -7px; right: -7px; width: 18px; height: 18px; border-radius: 50%; background: var(--red); color: #fff; font-size: .8rem; line-height: 18px; text-align: center; font-weight: 800; }

.pd-prices-label { font-family: 'Dunbar Tall', sans-serif; font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); margin-bottom: .35rem; }
.pd-lenses { margin: -1rem 0 2rem; }
.pd-lenses h3 { font-family: 'Dunbar Tall', sans-serif; font-size: .78rem; font-weight: 800; letter-spacing: .12em; color: var(--gray); text-transform: uppercase; margin-bottom: .5rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border); }
.pd-lenses h3 span { font-weight: 500; letter-spacing: .04em; text-transform: none; font-family: 'Dunbar', sans-serif; }
.pd-lenses ul { list-style: none; }
.pd-lenses li { display: grid; grid-template-columns: 1fr auto auto; gap: .8rem; align-items: center; padding: .45rem 0; border-bottom: 1px solid var(--border); font-family: 'Dunbar', sans-serif; font-size: .9rem; }
.pdl-name { font-family: 'Dunbar Text', sans-serif; font-weight: 700; color: var(--dark); }
.pdl-price { font-family: 'Dunbar Tall', sans-serif; font-weight: 800; font-size: .9rem; white-space: nowrap; }
.pdl-price small { font-family: 'Dunbar', sans-serif; font-weight: 400; font-size: .68rem; color: var(--gray); margin-left: .15rem; }
.pdl-only { grid-column: 2 / 4; justify-self: end; font-size: .72rem; color: var(--gray); }
.pdl-add { background: none; border: 1px solid var(--red); color: var(--red); font-family: 'Dunbar Tall', sans-serif; font-weight: 800; font-size: .68rem; letter-spacing: .08em; padding: .4rem .7rem; border-radius: 2px; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.pdl-add:hover { background: var(--red); color: #fff; }
