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; }
}
