body {
    padding-top: -76px;
}

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

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-img-top {
    border-bottom: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.producto-imagen {
    width: 100%;
    height: auto; /* deja que la altura se ajuste */
    object-fit: cover; /* opcional */
    max-height: 300px; /* si quieres limitar el tamaño */
}

#modal-imagen {
    width: 100%;
    height: 300px; /* O el tamaño que prefieras para que todas sean uniformes */
    object-fit: contain; /* Usamos 'contain' para que la imagen se ajuste completamente dentro del contenedor sin ser recortada, dejando espacio en blanco si es necesario. Esto es ideal para un modal. */
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

#modal-galeria {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#modal-galeria img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
}

#modal-galeria img:hover {
    border-color: #198754;
}

.admin-panel {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 30px;
}

.talla-btn {
    border: 1px solid #ccc;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
}

.talla-btn:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.talla-btn.selected {
    background: #198754;
    color: #fff;
    border-color: #198754;
}

.btn-primary {
    background: linear-gradient(45deg, #007bff, #00c6ff);
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, #0096c7);
    transform: scale(1.05);
}

.modal-content {
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

#products {
    background: linear-gradient(to bottom, #f9f9f9, #ffffff);
    padding: 60px 0;
}

.modal-header {
    background: #007bff;
    color: #fff;
}
.modal-header .btn-close {
    filter: invert(1);
}

.navbar {
    background: rgba(0,0,0,0.7) !important;
    backdrop-filter: blur(8px);
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0,0,0,0.9) !important;
}

#modal-imagen {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

#modal-imagen:hover {
    transform: scale(1.05);
}

#modal-galeria {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

#modal-galeria img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

#modal-galeria img:hover {
    border-color: #007bff;
    transform: scale(1.05);
}

#modal-galeria img.active {
    border-color: #198754;
    box-shadow: 0 4px 15px rgba(25,135,84,0.3);
}

.talla-chip {
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 6px 14px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.talla-chip:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.talla-chip.selected {
    background: #198754;
    color: #fff;
    border-color: #198754;
    box-shadow: 0 4px 10px rgba(25, 135, 84, 0.3);
}

/* ================= Navbar ================= */
.navbar {
    background: rgba(0,0,0,0.7) !important;
    backdrop-filter: blur(8px);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Sombra sutil al hacer scroll */
.navbar.scrolled {
    background: rgba(0,0,0,0.9) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Enlaces */
.navbar .nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: #00c6ff;
}

/* Subrayado elegante para enlace activo */
.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(45deg, #007bff, #00c6ff);
    border-radius: 2px;
}

/* ================= Secciones ================= */
section {
    padding: 60px 20px;
}

section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

section p.lead {
    font-size: 1rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* ================= Sección Nosotros ================= */
#about {
    background: #f8f9fa;
}

/* ================= Sección Contacto ================= */
#contact {
    background: #ffffff;
}

#contact ul {
    padding: 0;
    list-style: none;
}

#contact li {
    margin-bottom: 10px;
    font-size: 1rem;
    text-align: center;
}

#contact i {
    margin-right: 8px;
    color: #007bff;
}

/* ================= Responsivo ================= */
@media (max-width: 576px) {
    section h2 {
        font-size: 1.5rem;
    }
    section p.lead {
        font-size: 0.95rem;
    }
    #contact li {
        font-size: 0.95rem;
    }
}

/* ================= Hero ================= */
.hero-section {
    position: relative;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    color: #fff;
    padding: 0 20px;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url('https://png.pngtree.com/background/20230309/original/pngtree-city-%E2%80%8B%E2%80%8Bstreet-night-cartoon-buildings-scenery-background-picture-image_2108360.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url('https://i.redd.it/synthwave-3840x2160-v0-1fw8gg1oah3e1.png?width=3840&format=png&auto=webp&s=bbd24599a949ef151a4d5b9fb99c492eb58e55d3');
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeBg 8s infinite alternate;
    z-index: 1;
    animation-play-state: running;
    animation-timing-function: linear
}

@keyframes fadeBg {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

.hero-section h1,
.hero-section p.lead,
.hero-section img {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
}

.hero-section p.lead {
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.5);
}

.hero-section .btn {
    position: relative;
    z-index: 2;
}

/* ================= Botón animado ================= */
.btn-primary {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(45deg, #007bff, #00c6ff);
    border: none;
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Brillo animado */
.btn-primary::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.15);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Responsivo */
@media (max-width: 576px) {
    .hero-section h1 { font-size: 2rem; }
    .hero-section p.lead { font-size: 1rem; }
    .btn-primary { padding: 10px 22px; font-size: 0.95rem; }
}

.navbar-brand{
    font-family: "Sriracha", cursive;
}

#carouselProducto img {
    border-radius: 10px;
    object-fit: contain;
    height: 300px;
}
.carousel-indicators button {
    background-color: #198754; /* verde como en ML */
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1); /* hace que se vean blancos */
}

.descripcion-lista {
    list-style: none;   /* ❌ elimina los bullets nativos */
    padding-left: 0;    /* quitamos indentación */
    margin: 0;
}

.descripcion-lista li {
    position: relative;
    padding-left: 20px; /* espacio para nuestro puntito */
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.4;
}

.descripcion-lista li::before {
    content: "•";       /* nuestro puntito custom */
    position: absolute;
    left: 0;
    top: 0;
    color: #000000;     /* puedes cambiarlo al verde ML (#198754) o negro (#333) */
    font-weight: bold;
}
