.row {  
    margin-right: 0;

}

/* Preloader Styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #101d0d;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

#preloader img {
  width: 400px; /* Tamaño para desktop */
  height: auto;
  max-width: 100%; /* Asegura que no se salga de la pantalla en móviles */
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
  #preloader img {
    width: 80vw; /* Usa el 80% del ancho de la pantalla en móviles */
    max-width: 300px; /* Máximo de 300px para no estirar demasiado el GIF */
  }
}

.loaded #preloader {
  opacity: 0;
  pointer-events: none;
}

body {
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.banner-container {
    height: 70vh;
    min-height: 500px;
    position: relative;
}

.carousel-item {
    position: relative;
}

.carousel-caption {
    bottom: 30%;
    text-align: left;
    left: 10%;
    right: 40%;
}

.shape {
    position: absolute;
    background: #d5923a;
    border-radius: 50%;
}

.shape-1 {
    width: 150px;
    height: 150px;
    top: -50px;
    left: -50px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    right: -80px;
}



.carousel-caption h2 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-catalog {
    background-color: #ff6b00;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    margin-top: 20px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-catalog:hover {
    background-color: #e05e00;
    color: white;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    border-bottom: 3px solid #ff6b00;
    display: inline-block;
    padding-bottom: 5px;
}

.z-index-1 {
    position: relative;
    z-index: 1;
}

.hover-animate:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hover-animate-inner {
    position: relative;
    z-index: 2;
}

/* Product cards */
.product-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

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

.image-container {
    margin: 0 auto;
    max-width: 900px; /* Ajusta según necesidad */
  }
  
  @media (max-width: 768px) {
.image-container img {
      max-height: 300px !important;
    }
  }
  
  @media (max-width: 576px) {
    .image-container img {
      max-height: 200px !important;
    }
  }
/* Estilos generales del navbar */
.navbar {
    background: #101d0d;
    padding: 0.8rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Estilos para el menú desplegable en móvil */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        padding: 2rem 1.5rem;
        background-color: #2c3e50;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        transform: translateX(100%);
        transition: transform 0.3s ease-out;
        z-index: 1050;
        overflow-y: auto;
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }

    .navbar-nav {
        flex-direction: column !important;
        width: 100%;
    }

    .nav-item {
        margin-bottom: 1rem;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 4px;
    }

    /* Fondo oscuro cuando el menú está abierto */
    .navbar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        display: none;
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* Botón de cerrar para el menú móvil */
.close-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: white;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Efecto hover para los items del menú */
.nav-link {
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    transform: translateX(5px);
}

.nav-link.active {
    background-color: #0b1218 !important;
    color: white !important;
}

/* Logo y marca */
.navbar-brand {
    font-weight: 700;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.03);
}

/* Botón del menú hamburguesa */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .banner-container {
        max-height: 200px;
    }

    .product-card .card-img-top {
        height: 150px;
    }

    body.toggled {
        overflow: hidden;
    }
}
.products-carousel-container {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Para Firefox */
    padding: 0 15px;
    width: 100%;
}

.products-carousel-container::-webkit-scrollbar {
    display: none; /* Para Chrome, Safari y Opera */
}

.products-carousel-track {
    display: flex;
    gap: 20px;
    padding: 10px 0;
    width: max-content;
}

.product-carousel-slide {
    flex: 0 0 auto;
    width: 280px; /* Ancho fijo para cada tarjeta */
}

.product-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: none;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.carousel-btn:hover {
    opacity: 1;
}

.prev-btn {
    left: 5px;
}

.next-btn {
    right: 15px;
}

.carousel-btn i {
    font-size: 1.2rem;
    color: #333;
}

/* Estilos para las tarjetas de producto */
.product-description {
    font-size: 0.9rem;
    color: #666;
    height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;    
    -webkit-box-orient: vertical;
}

.garantia {
    display: block;
    font-size: 0.8rem;
    color: #28a745;
    margin-bottom: 10px;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .product-carousel-slide {
        width: 240px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    .product-carousel-slide {
        width: 220px;
    }
}

/* ESTRUCTURA PRINCIPAL */
#super-oferta {
  background: linear-gradient(135deg, #ff4d4d 0%, #ff6b00 100%);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(255, 59, 48, 0.4);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* CONTENEDOR DE IMAGEN PERFECTO */
.image-wrapper {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.product-img {
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

.product-img:hover {
  transform: scale(1.05) rotate(2deg);
}

/* ANIMACIONES */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.glow {
  transition: all 0.3s ease;
}

.glow:hover {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.float {
  animation: float 3s ease-in-out infinite;
}

.float.delay-1 {
  animation-delay: 0.5s;
}

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

.price-tag {
  position: relative;
}

.price-tag::after {
  content: "¡PRECIO ESPECIAL!";
  position: absolute;
  top: -15px;
  left: 0;
  font-size: 0.7rem;
  background: white;
  color: #ff4d4d;
  padding: 2px 8px;
  border-radius: 10px;
  animation: bounce 2s infinite;
}

.bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(-45deg, 
    rgba(255,255,255,0.1) 0%, 
    rgba(255,255,255,0) 50%, 
    rgba(255,255,255,0.1) 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  z-index: -1;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* RESPONSIVE */
@media (max-width: 767.98px) {
  #super-oferta .row {
    flex-direction: column-reverse;
  }
  
  .image-wrapper {
    padding: 15px;
  }
  
  .product-img {
    max-height: 200px !important;
  }
  
  #super-oferta .col-md-7 {
    padding: 2rem !important;
    text-align: center;
  }
  
  #super-oferta .d-flex {
    justify-content: center;
  }
}



.section-title {
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: currentColor;
}

/* Sellers section */
.sellers-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
    margin-top: 20px;
}

.seller-column {
    flex: 1;
    min-width: 150px;
    padding: 10px;
}

.seller-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.seller-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid #ddd;
}

.seller-name {
    margin: 8px 0;
    font-weight: 600;
    color: #333;
}

.seller-button {
    width: 100%;
    max-width: 250px;
    margin-top: 5px;
    white-space: normal;
}

.modal-body img {
    max-height: 70vh;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .product-card .card-img-top {
        height: 150px;
    }
    
    .sellers-container {
        flex-direction: column;
    }
    
    .seller-column {
        min-width: 100%;
    }
    
    .seller-button {
        max-width: 100%;
    }
}
