:root {
  --orange: #ff6600;
  --bg: #fafbfc;
  --muted: #6b7280;
  --card-shadow: 0 12px 40px rgba(2, 6, 23, 0.08);
  --radius: 12px;
  --max-width: 1200px;
}

/* BASE */
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Poppins', sans-serif; background: var(--bg); color: #0b1220; line-height: 1.35; }
a { color: inherit; text-decoration: none; }

/* TOPBAR */
.topbar { background: #fff; padding: 6px 0; border-bottom: 1px solid #fff7f5; }
.topbar-inner { max-width: var(--max-width); margin: 0 auto; padding: 6px 16px; display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }

/* HEADER */
.header { background: var(--orange); position: sticky; top: 0; z-index: 1500; box-shadow: 0 6px 18px rgba(0,0,0,0.05); }
.header-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 14px 16px; }
.logo { height: 56px; object-fit: contain; }
.center-search { flex: 1; display: flex; justify-content: center; align-items: center; gap: 6px; }
.center-search input { width: 60%; max-width: 540px; padding: 10px 12px; border-radius: 8px; border: none; outline: none; }
.center-search button { background: #fff; border: none; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.nav-right a { color: #fff; margin-left: 16px; font-weight: 600; }

/* HERO */
.hero { background: #fff; padding: 28px 0; }
.hero-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; gap: 30px; padding: 12px; }
.hero-text { flex: 1; }
.hero-text h1 { color: var(--orange); font-size: 28px; margin: 0 0 8px; }
.hero-text p { color: #333; margin: 0 0 14px; }
.btn-primary, .btn-outline { font-weight: 700; border-radius: 8px; cursor: pointer; }
.btn-primary { background: var(--orange); color: #fff; padding: 12px 18px; border: none; }
.btn-outline { background: transparent; border: 2px solid var(--orange); color: var(--orange); padding: 10px 16px; }
.hero-image img { width: 420px; max-width: 40vw; border-radius: 10px; object-fit: cover; }

/* MAIN */
.container { max-width: var(--max-width); margin: 26px auto; padding: 0 16px; }
.main { display: flex; gap: 20px; align-items: flex-start; }

/* SIDEBAR (desktop visible by default) */
.sidebar {
  width: 260px;
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  border: 1px solid #eee;
  box-shadow: var(--card-shadow);
  transform: translateX(0);
  transition: none;
  z-index: 1400;
}
.sidebar h3 { color: var(--orange); margin: 0 0 8px; font-weight: 700; }
#categoryList { list-style: none; padding: 0; margin: 0; }
#categoryList li { padding: 10px 8px; border-radius: 6px; cursor: pointer; color: #1f2937; font-weight: 500; }
#categoryList li:hover, #categoryList li.active { background: #fff7f5; color: var(--orange); font-weight: 600; }
/* === PANEL DE CATEGORÍAS FLOTANTE (PROFESIONAL) === */
.sidebar {
  position: sticky;
  top: 100px; /* espacio desde el header */
  align-self: flex-start;
  height: fit-content;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  transition: all 0.3s ease;
}

/* Contenedor visual */
.sidebar h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Lista y elementos */
#categoryList {
  list-style: none;
  margin: 0;
  padding: 0;
}
#categoryList li {
  padding: 10px 12px;
  margin: 4px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
}

/* Efecto hover moderno */
#categoryList li:hover {
  background: #fff3ec;
  color: var(--orange);
  transform: translateX(4px);
}

/* Indicador lateral sutil */
#categoryList li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: transparent;
  border-radius: 0 4px 4px 0;
  transition: background 0.25s ease;
}

/* === Estado activo / seleccionado === */
#categoryList li.active {
  background: linear-gradient(90deg, #fff4ec, #ffffff);
  color: var(--orange);
  font-weight: 700;
  box-shadow: inset 4px 0 0 var(--orange);
}
#categoryList li.active::before {
  background: var(--orange);
}

/* Ocultar sticky en pantallas móviles */
@media (max-width: 900px) {
  .sidebar {
    position: static;
    box-shadow: var(--card-shadow);
    max-height: none;
    overflow: visible;
  }
}

/* CONTENT */
.content { flex: 1; }
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.product-card { background: #fff; border-radius: 12px; padding: 12px; border: 1px solid #f1f1f1; box-shadow: 0 6px 18px rgba(2,6,23,0.05); display: flex; flex-direction: column; align-items: center; transition: transform .2s; }
.product-card:hover { transform: translateY(-6px); }
.product-card img { width: 100%; height: 200px; object-fit: contain; border-radius: 8px; }
.product-title { text-align: center; font-weight: 700; margin: 12px 0 6px; }
.product-desc { color: var(--muted); font-size: 14px; text-align: center; margin-bottom: 8px; }
.product-price { color: var(--orange); font-weight: 800; font-size: 1.1rem; margin-bottom: 8px; text-align: center; }
.product-promo,.product-vigencia { text-align: center; display: block; margin: 4px auto; }
.product-promo { color: var(--orange); font-weight: 700; font-size: .95em; }
.product-vigencia { color: #333; font-size: .85em; opacity: .9; }
.product-promo::before { content: "💳 "; }
.product-vigencia::before { content: "🗓️ "; }
.product-actions { display: flex; justify-content: center; width: 100%; margin-top: 6px; }

/* CONTACT */
.contact { background: transparent; padding: 30px 0; }
.contact-inner { max-width: var(--max-width); margin: 0 auto; display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.contact-info, .contact-form { flex: 1; background: #fff; padding: 18px; border-radius: 10px; border: 1px solid #eee; min-width: 280px; }
.contact-form form { display: flex; flex-direction: column; align-items: stretch; }
.contact-form label { margin-top: 10px; font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px; margin-top: 6px; border: 1px solid #e6e6e6; border-radius: 6px; font-size: 15px; }
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 16px; }
.contact-actions .btn-primary, .contact-actions .btn-outline { min-width: 180px; text-align: center; }

/* TOGGLE CATEGORIES BUTTON */
.toggle-categories {
  display: none;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 12px;
  width: calc(100% - 32px);
  margin: 12px auto;
  cursor: pointer;
  max-width: 400px;
  z-index: 1600;
  position: relative;
}

/* MENU OVERLAY (mobile) */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1500;
  opacity: 0;
  transition: opacity .3s ease;
}

/* WHATSAPP FLOTANTE */
.whatsapp { position: fixed; right: 18px; bottom: 18px; width: 62px; height: 62px; background: #25D366; border-radius: 50%; box-shadow: 0 10px 30px rgba(2,6,23,0.2); display: flex; align-items: center; justify-content: center; z-index: 1700; }
.whatsapp::after { content: ''; width: 30px; height: 30px; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M20.5 3.5c-2.9-2.9-7.6-2.9-10.5 0-2 2-2.8 4.8-2.1 7.3L3 21l10.6-4.9c2.5.7 5.3-0.1 7.3-2.1 2.9-2.9 2.9-7.6 0-10.5z"/></svg>'); background-size: cover; }

/* FOOTER */
.footer { background: #fff; margin-top: 18px; border-top: 1px solid #f2f2f2; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; padding: 12px 16px; display: flex; justify-content: space-between; color: var(--muted); }

/* RESPONSIVE */
@media(max-width:1000px){
  .products-grid{grid-template-columns:repeat(2,1fr)}
  .hero-image img{display:none}
}

/* MOBILE: slide menu + overlay */
@media(max-width:680px){
  .header-inner{flex-direction:column;gap:8px}
  .products-grid{grid-template-columns:1fr}
  .toggle-categories{display:block}

  /* transform the sidebar off-canvas on mobile and enable smooth transition */
  .sidebar {
    position: fixed;
    top: 120px;
    left: 0;
    width: 80%;
    height: calc(100% - 120px);
    background: #fff;
    border-right: 3px solid var(--orange);
    box-shadow: 0 8px 30px rgba(0,0,0,.25);
    padding: 16px;
    overflow-y: auto;
    transform: translateX(-110%);
    transition: transform .32s cubic-bezier(.2,.9,.2,1);
    z-index: 1600;
  }
  .sidebar.show {
    transform: translateX(0);
  }

  .menu-overlay {
    display: block;
    opacity: 0;
    pointer-events: none;
  }
  .menu-overlay.visible {
    opacity: 1;
    pointer-events: auto;
  }

  .contact-inner{flex-direction:column;align-items:stretch}
  .contact-info,.contact-form{width:100%}
  .contact-actions{flex-direction:column;align-items:stretch}
  .contact-actions .btn-primary,.contact-actions .btn-outline{width:100%}
}

/* === MODAL DE MEDIOS DE PAGO === */
.btn-pago {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  margin-left: 6px;
  cursor: pointer;
  transition: background .2s ease;
}
.btn-pago:hover { background: #ff8533; }

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}
.modal-contenido {
  background: #fff;
  width: 90%;
  max-width: 640px;
  margin: 60px auto;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.3);
  animation: slideDown .3s ease;
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.cerrar { float: right; font-size: 28px; cursor: pointer; color: #999; }
.cerrar:hover { color: var(--orange); }

.logos-tarjetas { display:flex; flex-wrap:wrap; gap:10px; margin-top:8px; justify-content:center; }
.logos-tarjetas img { height:40px; object-fit:contain; border-radius:6px; background:#fff; padding:4px; border:1px solid #eee; }
.btn-agregar {
  background: #0b1220;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
  transition: all .2s ease;
}
.btn-agregar:hover {
  background: #ff6600;
  transform: scale(1.04);
}

.carrito-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}
.carrito-buttons button {
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.btn-continuar { background: #ff6600; color: #fff; }
.btn-volver { background: #f5f5f5; color: #333; }
.btn-volver:hover { background: #eee; }
/* === BOTÓN FLOTANTE DEL CARRITO === */
.carrito-float {
  position: fixed;
  right: 100px;
  bottom: 18px;
  width: 62px;
  height: 62px;
  background: #ff6600;
  color: #fff;
  font-size: 30px;
  text-align: center;
  line-height: 62px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(2,6,23,0.25);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.3s;
  z-index: 1800;
}
.carrito-float:hover {
  background: #ff8533;
  transform: scale(1.05);
}
.cart-count {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #fff;
  color: #ff6600;
  font-size: 14px;
  font-weight: bold;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
@media(max-width:680px) {
  .carrito-float {
    right: 90px;
    width: 56px;
    height: 56px;
    line-height: 56px;
    font-size: 26px;
  }
  .cart-count {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }
}
/* === MODAL CONFIRMACIÓN === */
.modal-confirmacion {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.modal-confirmacion .modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  box-shadow: var(--card-shadow);
  animation: slideDown .3s ease;
}
.modal-confirmacion h3 {
  color: var(--orange);
  margin-top: 0;
}
.modal-confirmacion ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 20px;
}
.modal-confirmacion li {
  margin-bottom: 6px;
}
.modal-confirmacion select,
.modal-confirmacion input[type="text"] {
  width: 100%;
  padding: 8px;
  margin: 6px 0;
  border-radius: 6px;
  border: 1px solid #ddd;
}
.entrega label {
  display: block;
  margin-bottom: 6px;
}
.cerrar {
  float: right;
  cursor: pointer;
  color: #999;
  font-size: 20px;
}
.cerrar:hover {
  color: var(--orange);
}
#datosEnvio {
  margin-top: 8px;
  display: none;
}
input[name="entrega"][value="Envío a domicilio"]:checked ~ #datosEnvio {
  display: block;
}
/* === BOTONES DE PRODUCTO (Consultas / Medios de pago / Agregar) === */
.product-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
}

.product-actions button,
.product-actions a {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Consultar */
.product-actions .btn-outline {
  background: #fff;
  border: 2px solid var(--orange);
  color: var(--orange);
}
.product-actions .btn-outline:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255,102,0,0.3);
}

/* Medios de pago */
.product-actions .btn-pago {
  background: var(--orange);
  color: #fff;
}
.product-actions .btn-pago:hover {
  background: #ff8533;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255,133,51,0.3);
}

/* Agregar */
.product-actions .btn-agregar {
  background: #0b1220;
  color: #fff;
}
.product-actions .btn-agregar:hover {
  background: #1f2937;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
/* === BOTONES DE PRODUCTO (Consultas / Medios de pago / Agregar) === */
.product-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
}

.product-actions button,
.product-actions a {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Consultar */
.product-actions .btn-outline {
  background: #fff;
  border: 2px solid var(--orange);
  color: var(--orange);
}
.product-actions .btn-outline:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255,102,0,0.3);
}

/* Medios de pago */
.product-actions .btn-pago {
  background: var(--orange);
  color: #fff;
}
.product-actions .btn-pago:hover {
  background: #ff8533;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255,133,51,0.3);
}

/* Agregar */
.product-actions .btn-agregar {
  background: #0b1220;
  color: #fff;
}
.product-actions .btn-agregar:hover {
  background: #1f2937;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
/* === BOTONES DE PRODUCTO (Consultas / Medios de pago / Agregar) === */
.product-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
}

.product-actions button,
.product-actions a {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Consultar */
.product-actions .btn-outline {
  background: #fff;
  border: 2px solid var(--orange);
  color: var(--orange);
}
.product-actions .btn-outline:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255,102,0,0.3);
}

/* Medios de pago */
.product-actions .btn-pago {
  background: var(--orange);
  color: #fff;
}
.product-actions .btn-pago:hover {
  background: #ff8533;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255,133,51,0.3);
}

/* Agregar */
.product-actions .btn-agregar {
  background: #0b1220;
  color: #fff;
}
.product-actions .btn-agregar:hover {
  background: #1f2937;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

/* En pantallas pequeñas, los botones se apilan */
@media(max-width:600px){
  .product-actions {
    flex-direction: column;
  }
  .product-actions button,
  .product-actions a {
    width: 100%;
  }
}
/* === BLOQUE PREMIUM CORPORATIVO DE BOTONES === */
.product-actions {
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  background: #fff;
}

/* === Estilo base para los tres botones === */
.product-actions button,
.product-actions a {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  font-size: 0.8rem;               /* 🔹 letra balanceada */
  font-weight: 600;
  border: none;
  cursor: pointer;
  letter-spacing: 0.3px;
  line-height: 1.3;
  transition: all 0.25s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* === Efecto corporativo de iluminación === */
.product-actions button::before,
.product-actions a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
  z-index: 0;
}
.product-actions button:hover::before,
.product-actions a:hover::before {
  left: 125%;
}

/* === COLORES INDIVIDUALES === */

/* Consultar */
.product-actions .btn-outline {
  background: #fff;
  color: var(--orange);
  border-right: 1px solid #eee;
}
.product-actions .btn-outline:hover {
  background: linear-gradient(180deg, #fff7f5, #fff);
  color: #ff6600;
  box-shadow: inset 0 0 0 1px rgba(255,102,0,0.15);
}

/* Medios de pago */
.product-actions .btn-pago {
  background: linear-gradient(180deg, #ff7a1a, #ff6600);
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.product-actions .btn-pago:hover {
  background: linear-gradient(180deg, #ff8533, #ff6600);
  box-shadow: 0 3px 10px rgba(255,102,0,0.3);
}

/* Agregar */
.product-actions .btn-agregar {
  background: linear-gradient(180deg, #111827, #0b1220);
  color: #fff;
}
.product-actions .btn-agregar:hover {
  background: linear-gradient(180deg, #1f2937, #111827);
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}

/* === Efecto clic === */
.product-actions button:active,
.product-actions a:active {
  transform: scale(0.97);
  filter: brightness(1.05);
}

/* === Versión móvil === */
@media(max-width:800px){
  .product-actions {
    flex-direction: column;
    border-radius: 10px;
    gap: 5px;
    box-shadow: none;
    background: transparent;
  }
  .product-actions button,
  .product-actions a {
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  }
  .product-actions button::before,
  .product-actions a::before {
    display: none; /* sin brillo en móvil */
  }
}
/* === TOPBAR FIJA CON ANIMACIÓN DE TEXTO === */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #f2f2f2;
  z-index: 2000;
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

/* Contenedor interno centrado */
.topbar-inner {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Animación del texto */
.topbar-marquee {
  display: inline-block;
  white-space: nowrap;
  animation: scrollText 25s linear infinite;
  font-size: 14px;
  color: var(--muted);
}

/* Movimiento infinito de izquierda a derecha */
@keyframes scrollText {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* === HEADER FIJO (franja naranja) === */
.header {
  position: fixed;
  top: 36px; /* debajo de la topbar */
  left: 0;
  width: 100%;
  background: var(--orange);
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  z-index: 1900;
}

/* Ajustar contenido principal por altura fija de topbar + header */
body {
  padding-top: 120px; /* compensa ambas franjas fijas */
}

/* Adaptación móvil */
@media(max-width:700px){
  .topbar {
    height: 42px;
  }
  .topbar-marquee {
    font-size: 13px;
    animation-duration: 18s;
  }
  body {
    padding-top: 130px;
  }
}
/* === EFECTO VIDRIO TRANSLÚCIDO EN LA TOPBAR === */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.topbar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 34px;
  overflow: hidden;
  font-size: 0.85rem;
  color: #333;
  font-weight: 500;
  text-transform: none;
}

.topbar-marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marqueeScroll 22s linear infinite;
  color: #222;
  letter-spacing: 0.3px;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Ajuste: deja espacio arriba para el header fijo */
body {
  padding-top: 120px; /* evita que el contenido quede debajo del header y topbar */
}

/* HEADER también fijo debajo de la topbar */
.header {
  position: fixed;
  top: 34px; /* justo debajo de la topbar */
  left: 0;
  width: 100%;
  z-index: 1900;
  background-color: #ff6600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}