body {
  background-color: #0e0e2c;
  font-family: 'Inter', sans-serif;
  color: #e0e0e0;
}

a {
  text-decoration: none;
}

.main-header {
  background: linear-gradient(90deg, #111132, #0e0e2c);
  border-bottom: 1px solid #222;
}

.main-header .logo {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
}

.nav-link {
  color: #aaa;
  transition: all 0.3s;
}
.nav-link:hover {
  color: #00e0ff;
}

.main-footer {
  background-color: #111132;
  border-top: 1px solid #222;
}

.hero img {
  height: 500px;
  object-fit: cover;
  filter: brightness(0.6);
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  color: #00e0ff;
  margin-bottom: 2rem;
  font-family: 'Orbitron', sans-serif;
}

.futuristic-block {
  background: #1a1a3d;
  border: 1px solid #2a2a4f;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.futuristic-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(0, 224, 255, 0.3);
}

.futuristic-block i {
  font-size: 2rem;
  color: #00e0ff;
  margin-bottom: 1rem;
}

.card.card-product {
  width: 195px;
  height: 350px;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  background-color: #0f172a;
  color: #fff;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}

.card.card-product .card-img-top {
  height: 200px;
  object-fit: contain;
  background: #fff;
  padding: 10px;
}

.card.card-product .card-body {
  padding: 8px 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card.card-product .card-body h5 {
  font-size: 16px;
  margin: 0 0 5px;
  line-height: 1.2;
}

.card.card-product .card-body p {
  font-size: 15px;
  margin: 0;
}

.card.card-product .card-footer {
  margin-top: auto;
  background-color: #0f172a;
  padding: 4px 8px;
  display: flex;
  justify-content: space-between;
  gap: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.card.card-product .btn-outline-primary {
  border-radius: 8px;
  color: #60a5fa;
  border-color: #60a5fa;
  padding: 4px 6px;
  font-size: 14px;
  flex: 1;
  transition: all 0.2s ease-in-out;
}

.card.card-product .btn-outline-primary:hover {
  background-color: #60a5fa;
  color: #fff;
}


/* === SLIDER FUTURISTA === */
.futuristic-slider {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to right, #0f172a, #1e293b);
  padding: 0;
}

.slider-wrapper {
  display: flex;
  animation: slide-left 25s linear infinite;
  width: max-content;
}

.slider-item {
  position: relative;
  flex: 0 0 100vw;
  height: 500px;
  overflow: hidden;
}

.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.slider-text {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  color: #fff;
  z-index: 10;
}

.slider-text h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px #00f2fe;
}

.slider-text p {
  font-size: 1.25rem;
  background: rgba(255, 0, 0, 0.35);
  display: inline-block;
  padding: 6px 16px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

/* Desplazamiento continuo */
@keyframes slide-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

footer {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

footer h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #38bdf8;
}

footer ul {
  padding: 0;
  list-style: none;
}

footer ul li {
  margin-bottom: 8px;
}

footer ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer ul li a:hover {
  color: #38bdf8;
}

footer img {
  transition: transform 0.3s ease-in-out;
}

footer img:hover {
  transform: scale(1.05);
}

footer .bi {
  transition: transform 0.3s ease;
}

footer .bi:hover {
  transform: scale(1.2);
  color: #38bdf8;
}

footer .small img {
  border-radius: 4px;
  margin: 2px;
}

footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

@media (max-width: 768px) {
  footer .col-md-3 {
    margin-bottom: 2rem;
  }

  footer .d-flex.flex-wrap {
    justify-content: center;
  }
}
.categoria-destacada {
  width: 70px;
  height: 263px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.categoria-destacada img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.accordion-button {
  font-weight: bold;
  border: none;
  box-shadow: none;
  transition: all 0.2s ease-in-out;
}

.accordion-button:not(.collapsed) {
  background-color: #111827;
  color: #0ff;
}

.accordion-body {
  background-color: #1e293b;
  border-top: 1px solid #334155;
}

/* ===== Marcas carrusel ===== */
.marcas-carousel {
  background: linear-gradient(135deg, #0f172a, #0e1530);
  border-top: 1px solid rgba(0, 224, 255, 0.08);
  border-bottom: 1px solid rgba(0, 224, 255, 0.08);
}

.marcas-viewport {
  overflow: hidden;
  width: 100%;
}

.marcas-track {
  display: flex;
  align-items: center;
  gap: 30px;              /* separaci贸n pedida */
  will-change: transform; /* rendimiento */
}

.marca-item img {
  height: 44px;           /* alto del logo (puedes subir a 56 si quieres) */
  width: auto;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: transform .25s ease, opacity .25s ease, filter .25s ease;
}

.marca-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

@media (min-width: 992px) {
  .marca-item img { height: 56px; }
}
.futurista-card {
  background: #0a0a0a;
  color: #fff;
  border-radius: 12px;
  border: 1px solid #1f1f1f;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.futurista-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}
.futurista-btn {
  background: transparent;
  border: 1px solid #00f0ff;
  color: #00f0ff;
}
.futurista-btn:hover {
  background: #00f0ff;
  color: #000;
}
.modal-content {
  background-color: #101820; /* Oscuro futurista */
  color: #ffffff; /* Texto claro */
  border: 1px solid #0df;
}

.modal-content .form-label,
.modal-content select,
.modal-content input {
  color: #ffffff;
  background-color: #1a1a2e;
  border-color: #0df;
}

.modal-content input[type="file"]::file-selector-button {
  background-color: #0df;
  color: #000;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.modal-title {
  color: #0df;
}

.modal-footer .btn-primary {
  background-color: #0df;
  border: none;
  color: #000;
  font-weight: bold;
}
.btn-outline-light {
  font-weight: 500;
  border-color: #ccc;
  transition: 0.2s ease-in-out;
}

.btn-outline-light:hover {
  background-color: #ffffff11;
  color: #fff;
}

.text-soft-white {
  color: #000ff; /* blanco hueso */
}

form label {
  color: #fff !important;
}

::placeholder {
  color: #ccc !important;
  opacity: 1; /* para que no sea semitransparente */
}

.card.text-white ul li, 
.card.text-white p, 
.card.text-white small {
  color: #fff !important;
}

/* ===== 5 categorías en una sola fila (móvil) ===== */
.cats-five{
  display: flex;
  justify-content: center;      /* centrado perfecto */
  gap: 6px;                     /* separación entre imágenes */
  flex-wrap: nowrap;            /* todas en una sola fila */
}

.cats-five .categoria-destacada{
  width: 60px;                  /* mismo tamaño que usabas */
  height: 253px;
  border-radius:0px;
  overflow: hidden;
  display: block;
  transition: transform .2s ease, box-shadow .2s ease;
}

.cats-five .categoria-destacada img{
  width: 60px;                  /* mismo tamaño que usabas */
  height: 253px;
  object-fit: cover;            /* mantiene look vertical */
}

.cats-five .categoria-destacada:hover{
  transform: translateY(-3px);
}

/* En pantallas ≥ 992px cambiamos a grilla (sin cambiar el look) */
@media (min-width: 992px){
  .cats-five{
    flex-wrap: wrap;            /* permite más filas */
    justify-content: center;
    gap: 6px;
  }
  .cats-five .categoria-destacada{
    width: 100px;               /* un poco más grande en desktop */
    height: 280px;
  }
}

/* En pantallas muy pequeñas (≤360px) ajustamos 1px los gaps si hace falta */
@media (max-width: 360px){
  .cats-five{ gap: 6px; }
}

/* ===== TIENDAS MEJOR PUNTUADAS ===== */
.futurista-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.futurista-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.futurista-card h5 {
  color: #FFF; /* Texto oscuro para contraste con fondo claro */
}

.futurista-card .text-muted {
  color: rgba(185, 255, 255, 0.7) !important;
}

.futurista-card .text-warning {
  font-weight: bold;
}

.futurista-card .btn-outline-primary {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: #040F72;
  transition: background 0.3s ease, color 0.3s ease;
}

.futurista-card .btn-outline-primary:hover {
  background: rgba(255, 255, 255, 0.4);
  color: #000;
}

/* --- Mini ads / relacionados marketing --- */
.ad-card{
  position: relative;
  border-radius: 16px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)) padding-box,
    linear-gradient(135deg, rgba(0,224,255,.35), rgba(56,189,248,.05)) border-box;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  color: #e5e7eb;
  overflow: hidden;
}
.ad-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,224,255,.12);
  border-color: rgba(0,224,255,.55);
}
.ad-badge{
  position: absolute;
  top: 10px; left: 10px;
  background: linear-gradient(135deg,#22c55e,#16a34a);
  color:#031015; font-weight:700; font-size:.72rem;
  padding:4px 8px; border-radius:999px;
}

.ad-thumb{
  width:100%; height:160px;
  background: #0b0e1a;
  border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.ad-thumb img{
  width:100%; height:100%; object-fit:contain;
}

.ad-body{ padding:10px 6px 48px 6px; }
.ad-title{
  font-size: .95rem; line-height:1.2; margin:6px 0 4px;
  color:#fff; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.ad-price .price-main{ color:#60a5fa; font-weight:700; }
.ad-price .price-may{ color:#22c55e; font-weight:700; }

.ad-cta{
  position:absolute; bottom:10px; right:10px;
  display:flex; align-items:center; gap:6px;
  background: rgba(0,224,255,.12);
  border:1px solid rgba(0,224,255,.35);
  color:#a5f3fc;
  padding:6px 10px; border-radius:999px;
  font-weight:600; transition:background .25s ease, transform .25s ease;
}
.ad-card:hover .ad-cta{ background: rgba(0,224,255,.22); transform: translateX(2px); }

@media (min-width: 992px){
  .ad-thumb{ height:180px; }
}

/* --- estilos embebidos (futurista + glass)--- */
  .confidence-band{
    position:relative;
    background:
      radial-gradient(900px 400px at 10% -10%, rgba(0, 200, 255, .12), transparent 60%),
      radial-gradient(700px 300px at 100% 10%, rgba(60, 120, 255, .10), transparent 50%),
      linear-gradient(180deg, #0d1220 0%, #0b0f1a 100%);
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .c-card{
    padding: 18px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    color: #e9f2ff;
    backdrop-filter: blur(6px);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,.28);
  }
  .c-card:hover{
    transform: translateY(-3px);
    border-color: rgba(0,200,255,.35);
    box-shadow: 0 14px 36px rgba(0,200,255,.12);
  }
  .c-ico{
    width: 54px; height: 54px;
    display: grid; place-items: center;
    border-radius: 14px;
    margin-bottom: 10px;
    background: linear-gradient(145deg, rgba(0,200,255,.20), rgba(0,200,255,.08));
    border: 1px solid rgba(0,200,255,.35);
  }
  .c-ico i{ font-size: 26px; color: #9ceeff; }
  .c-title{
    font-weight: 800; letter-spacing: .2px; margin: 2px 0 6px 0;
    color: #ffffff;
  }
  .c-desc{
    margin: 0;
    color: rgba(255,255,255,.86);   /* texto claro como pediste */
    font-size: .95rem;
    line-height: 1.45;
  }
  @media (max-width: 767.98px){
    .c-card{ padding: 16px 14px; }
    .c-desc{ font-size: .9rem; }
  }
  
  /* --- tiendas--- */
  .tiendas-marquee-outer {
    overflow: hidden;
    position: relative;
  }
  .tiendas-marquee-track {
    display: flex;
    align-items: stretch;
    gap: 16px;
    will-change: transform;
  }
  .tienda-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 220px;
    max-width: 220px;
    padding: 14px;
    border: 0;
    text-decoration: none;
    color: inherit;
  }
  .tienda-card:hover { transform: translateY(-2px); transition: transform .2s ease; }
  .tienda-thumb {
    height: 100px;
    display: grid;
    place-items: center;
    margin-bottom: 8px;
  }
  .tienda-thumb img {
    width: 120px; height: 100px; object-fit: contain;
  }
  .tienda-title { color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  
  
       /* ===== Estilos de la sección (scoped) ===== */
      .nuevos-wrap { position: relative; overflow: hidden; }
      .nuevos-track {
        display: flex; gap: 1rem; will-change: transform;
        animation: scrollNuevos 30s linear infinite;
      }
      .nuevos-track:hover { animation-play-state: paused; }
      @keyframes scrollNuevos { 0% {transform: translateX(0);} 100% {transform: translateX(-50%);} }

      .card-nuevo { width: 220px; min-width: 220px; background: #0e1117; border: 1px solid rgba(255,255,255,.08); }
      .card-nuevo .img-wrap {
        position: relative; overflow: hidden;
        border-top-left-radius: .375rem; border-top-right-radius: .375rem;
        aspect-ratio: 1/1; background: #0a0d12; display: grid; place-items: center;
      }
      .card-nuevo img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
      .card-nuevo:hover img { transform: scale(1.03); }

      /* Cinta NUEVO (rojo carmesí, texto blanco) */
      .ribbon-nuevo {
        position: absolute; top: 10px; left: -50px;   /* la paso a la IZQUIERDA para no chocar con descuentos */
        width: 180px; text-align: center;
        transform: rotate(-28deg);
        background: #DC143C; color: #fff; /* carmesí + texto blanco */
        font-weight: 800; letter-spacing: .8px; font-size: .78rem; padding: 6px 0;
        border: 1px solid rgba(255,255,255,.25); box-shadow: 0 6px 14px rgba(0,0,0,.25);
      }

      /* Badges de descuento (DERECHA, como pediste) */
      .badges-right {
        position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; gap: 6px; z-index: 2;
      }
      .badge-disc {
        display: inline-block; padding: 4px 8px; font-size: .72rem; font-weight: 700; border-radius: 8px;
        border: 1px solid rgba(255,255,255,.2); color: #001018;
      }
      .badge-disc-det { background: linear-gradient(90deg,#ffd166,#ff7b7b); }
      .badge-disc-may { background: linear-gradient(90deg,#9aff9a,#3de2a1); }

      .card-nuevo .card-body { padding: .6rem .7rem .3rem; }
      /* Nombre en BLANCO */
      .card-nuevo .card-title { color: #fff; font-size: .95rem; line-height: 1.2; height: 2.4em; overflow: hidden; margin-bottom: .25rem; }
      .price-det { font-weight: 700; color: #4ec3ff; margin: 0; }
      .price-det-old { color: rgba(255,255,255,.7); text-decoration: line-through; font-size: .85rem; margin: 0; }
      .price-may { font-weight: 700; color: #25d366; margin: 0; }

      .card-nuevo .card-footer { background: transparent; border: 0; padding: .5rem; }
      .card-nuevo .qty { max-width: 76px; }

      /* Flechas manuales */
      .nuevos-btn {
        position: absolute; top: 50%; transform: translateY(-50%);
        width: 38px; height: 38px; border-radius: 50%;
        border: 1px solid rgba(255,255,255,.25);
        background: rgba(10,14,20,.65); color: #eaf4ff;
        display: grid; place-items: center; cursor: pointer; z-index: 2;
      }
      .nuevos-btn:hover { background: rgba(10,14,20,.85); }
      .nuevos-prev { left: -10px; }
      .nuevos-next { right: -10px; }

      @media (max-width: 576px){
        .card-nuevo { width: 180px; min-width: 180px; }
      }
      
      
          /* ====== POLITICAS: LAYOUT PLANO 4-EN-FLEX ====== */
          :root{
            --pf-bg: transparent; --pf-fg:#e6f1ff; --pf-muted:#9fb2c8; --pf-accent:#5eead4; --pf-line:rgba(255,255,255,.15);
          }
          @media (prefers-color-scheme: light){
            :root{ --pf-fg:#0f172a; --pf-muted:#475569; --pf-accent:#0ea5e9; --pf-line:#e7eef7; }
          }
          .pf-wrap{ display:flex; flex-wrap:wrap; gap:16px; }
          .pf-item{
            flex: 1 1 100%;
            display:flex; align-items:flex-start; gap:12px;
            padding:14px 8px; border-bottom:1px solid var(--pf-line);
            text-decoration:none; color:var(--pf-fg); background:var(--pf-bg);
            transition: border-color .18s ease, transform .18s ease;
          }
          /* 2 por fila en >=576px */
          @media (min-width:576px){ .pf-item{ flex-basis: calc(50% - 8px); } }
          /* 4 por fila en >=992px */
          @media (min-width:992px){ .pf-item{ flex-basis: calc(25% - 12px); } }

          .pf-item:hover{ transform:translateY(-2px); border-color: var(--pf-accent); }
          .pf-ico{
            width:42px;height:42px;border-radius:999px; display:flex;align-items:center;justify-content:center;
            border:1px solid var(--pf-line);
            background: radial-gradient(60% 60% at 40% 35%, rgba(94,234,212,.28), rgba(94,234,212,0) 60%);
            flex:0 0 42px;
          }
          .pf-ico i{ font-size:20px; color:var(--pf-accent); }
          .pf-ttl{ margin:0; font-weight:700; font-size:1rem; letter-spacing:.2px; }
          .pf-txt{ margin:.15rem 0 0 0; color:var(--pf-muted); font-size:.92rem; line-height:1.25rem; }
          .pf-cta{ margin-top:.35rem; display:inline-flex; align-items:center; gap:6px; color:var(--pf-accent); font-weight:600; font-size:.9rem; }
          .pf-item:hover .pf-cta i{ transform: translateX(3px); transition: transform .18s; }
          

/* ====== nav header ====== */
    .navbar-glass {
      background: rgba(17, 25, 40, 0.75) !important;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .navbar .nav-link { color: #e6f0ff !important; }
    .navbar .nav-link:hover { color: #5eead4 !important; }
    .navbar-brand { color: #e6f0ff !important; }
    .navbar-toggler { border: 1px solid rgba(255,255,255,.25); }
    .navbar-toggler:focus { box-shadow: none; }
    .header-logo { width: 180px; height: 56px; object-fit: contain; }
    @media (max-width: 576px) { .header-logo { width: 150px; height: 48px; } }
    .search-compact input {
      background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15);
      color: #e6f0ff;
    }
    .search-compact input::placeholder { color: #bcd2ff; }
    .search-compact .btn { white-space: nowrap; }
    .social a { color:#e6f0ff; opacity:.9; }
    .social a:hover { color:#5eead4; opacity:1; }
    
