html, body {
    overflow-x: hidden;
}
.navbar-brand .navbar-item {
            font-weight: bold;
            font-size: 1.5rem;
            color: #363636;
        }
        
.whatsapp-btn {
    background-color: #25d366;
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #22c55e;
    color: white;
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff3860;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: white;
    border: 1px solid #dbdbdb;
    border-radius: 6px;
    box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
    z-index: 1000;
    display: none;
}

.cart-dropdown.is-active {
    display: block;
}

.cart-item {
    padding: 1rem;
    border-bottom: 1px solid #f5f5f5;
}

.cart-item:last-child {
    border-bottom: none;
}

/* Hero Section Styles */
.hero-background {
    background: linear-gradient(135deg, rgba(54, 54, 54, 0.8), rgba(0, 209, 178, 0.6)), 
                url('https://images.unsplash.com/photo-1441984904996-e0b6ba687e04?w=1920&h=1080&fit=crop&crop=center') center/cover;
    position: relative;
}

.hero-content {
    backdrop-filter: blur(2px);
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem !important;
}

.hero-subtitle {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem !important;
}

.hero-button .button {
    box-shadow: 0 8px 16px rgba(0, 209, 178, 0.3);
    transition: all 0.3s ease;
}

.hero-button .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 209, 178, 0.4);
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1rem;
}

.carousel-item {
    flex: 0 0 300px;
    max-width: 300px;
}

.product-card {
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.product-card .image img {
    transition: transform 0.3s ease;
}

.product-card:hover .image img {
    transform: scale(1.05);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(54, 54, 54, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(54, 54, 54, 1);
}

.carousel-btn-prev {
    left: 10px;
}

.carousel-btn-next {
    right: 10px;
}


.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}
img.producto-img {
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;

}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dbdbdb;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background: #00d1b2;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .carousel-item {
        flex: 0 0 280px;
        max-width: 280px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn-prev {
        left: -20px;
    }
    
    .carousel-btn-next {
        right: -20px;
    }
}

@media screen and (max-width: 480px) {
    .carousel-item {
        flex: 0 0 250px;
        max-width: 250px;
    }
    
    .carousel-btn {
        display: none;
    }
}

/* === Navbar sin burger en móvil: 2 botones izq + 2 der === */
@media screen and (max-width: 1023px) {
  /* Ocultar texto de elementos que tengan esta clase */
  .texto-none {
    display: none !important;
  }

  /* Forzar navbar en una sola línea */
  .navbar-menu {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
  }

  /* Contenedores para izquierda y derecha */
  .navbar-start,
  .navbar-end {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px; /* separación entre botones */
    padding: 0rem 1rem;
  }

  /* Botones más compactos */
  .navbar-item .button {
    padding: 0 !important;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Logo si lo usas centrado */
  .navbar-brand .navbar-item img {
    max-height: 40px;
    object-fit: contain;
  }
  /* Dropdown flotante (popup) - centrado respecto a su botón */
  .navbar-item.has-dropdown { position: relative; }
  .navbar-item.has-dropdown .navbar-dropdown {
    display: none !important;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 160px;
    z-index: 1200;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-radius: 8px;
    background: #fff;
    padding: 6px 0;
    white-space: normal;
  }
  .navbar-item.has-dropdown.is-active .navbar-dropdown { display: block !important; }

  /* Links dentro del dropdown mejor presentación */
  .navbar-dropdown .navbar-item {
    display: block;
    padding: 8px 12px;
    white-space: nowrap;
  }
}


@media screen and (min-width: 1024px) {
    /* En desktop, asegurar que los botones estén uno al lado del otro */
    .navbar-end {
        align-items: center;
    }
    
    .navbar-end .navbar-item {
        padding: 0 0.75rem;
    }
}
/*carrito*/
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    z-index: 9999;
    transition: right 0.3s ease-in-out;
}

.cart-sidebar.active {
    right: 0;
}

.cart-sidebar-content {
    padding: 2rem;
}

.cart-sidebar-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
}

#carritoSidebar {
    z-index: 900;
    width: 720px; 
}


@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
    }
}




.navbar-item.logo-item img {
  max-height: none !important;     /* quitar límite de Bulma */
  height: 50px !important;        /* el tamaño que quieras */
  width: auto;
  padding: 2%;
}
