:root {
    --primary-color: #4ECDC4;  /* Verde menta como en el logo */
    --secondary-color: #45B7B8; /* Verde menta más oscuro para hover */
    --accent-color: #E8F8F5;   /* Verde menta muy claro para acentos */
    --text-color: #333333;
    --light-bg: #F0FDFA;      /* Fondo muy suave verde menta */
    --white: #FFFFFF;
    --dark-overlay: rgba(0, 0, 0, 0.3);
    --card-shadow: 0 4px 6px rgba(78, 205, 196, 0.15);
    --baby-blue: #87CEEB;     /* Azul bebé para acentos */
    --baby-yellow: #FFFACD;   /* Amarillo bebé para acentos */
    --logo-green: #4ECDC4;    /* Verde del logo */
    --logo-blue: #5DADE2;     /* Azul del logo */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    padding-top: 0;
    line-height: 1.6;
}

/* Custom styles */

/* Hero Section */
.carousel {
    margin-top: 0;
}

.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(78, 205, 196, 0.7), rgba(93, 173, 226, 0.3));
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.hero-slide h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-slide .lead {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    max-width: 600px;
}

.hero-slide .btn-outline-light {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-width: 2px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-slide .btn-outline-light:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Controles del carrusel */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: var(--primary-color);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--primary-color);
    border-color: var(--white);
    transform: scale(1.2);
}

/* Video en hero */
.video-slide {
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
}

.sound-toggle {
    position: absolute;
    top: 100px;
    left: 30px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.sound-toggle:hover {
    background: var(--primary-color);
    border-color: var(--white);
    transform: scale(1.1);
}

.sound-toggle i {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slide h1 {
        font-size: 2.5rem;
    }
    
    .hero-slide .lead {
        font-size: 1.1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }
    
    .sound-toggle {
        top: 90px;
        left: 20px;
        width: 40px;
        height: 40px;
    }
}

/* Products Grid */
.products-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    padding: 20px;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

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

.product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(78, 205, 196, 0.3);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay i {
    color: var(--white);
    font-size: 2rem;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: var(--text-color);
}

.price {
    color: var(--secondary-color);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin: 10px 0;
}

.add-to-cart {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.add-to-cart:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.whatsapp-float:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.whatsapp-text {
    display: none;
}

@media (min-width: 768px) {
    .whatsapp-text {
        display: inline;
    }
}

/* Estilos para el modal */
.modal-dialog {
    max-width: 1200px;
    margin: 1.75rem auto;
}

.modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    max-height: 85vh;
}

.modal-header {
    padding: 1rem 1.5rem;
    background: white;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.modal-body {
    padding: 0;
    max-height: calc(85vh - 60px);
    overflow-y: auto;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--light-bg);
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.modal-body .row {
    margin: 0;
}

.modal-body .col-md-6 {
    padding: 1.5rem;
}

/* Galería de imágenes */
.product-gallery {
    position: relative;
    height: 100%;
}

.main-image-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-height: 450px;
    max-height: 600px;
}

.main-image {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.main-image:hover {
    transform: scale(1.02);
}

.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.favorite-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.thumbnail-container {
    margin-top: 1rem;
    padding: 0.5rem;
    background: white;
    border-radius: 10px;
    width: 100%;
}

.thumbnail-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.thumbnail-scroll::-webkit-scrollbar {
    display: none;
}

.thumbnail {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    object-fit: cover;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
}

/* Opciones de envío */
.shipping-options {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.shipping-options h6 {
    color: var(--text-color);
    font-weight: 600;
}

.shipping-option {
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.shipping-option:last-child {
    margin-bottom: 0;
}

.shipping-label {
    padding: 1rem;
    margin: 0;
    width: 100%;
    cursor: pointer;
    border: 2px solid transparent;
}

.shipping-option input[type="radio"]:checked + .shipping-label {
    border-color: var(--primary-color);
    background: rgba(181, 201, 154, 0.1);
}

.shipping-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.shipping-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.shipping-text {
    display: flex;
    flex-direction: column;
}

.shipping-title {
    font-weight: 600;
    color: var(--text-color);
}

.shipping-detail {
    font-size: 0.9rem;
    color: #666;
}

.shipping-time {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

@media (max-width: 768px) {
    .modal-content {
        max-height: 95vh;
    }
    
    .modal-body {
        max-height: calc(95vh - 60px);
    }
    
    .modal-body .col-md-6 {
        padding: 1rem;
    }
    
    .main-image-container {
        min-height: 300px;
        max-height: 400px;
    }
    
    .shipping-options {
        padding: 1rem;
    }
    
    .shipping-label {
        padding: 0.8rem;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
}

/* Información del producto */
.product-info-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-info-top {
    margin-bottom: 1rem;
}

.product-info-scroll {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 1rem;
}

.product-info-scroll::-webkit-scrollbar {
    width: 6px;
}

.product-info-scroll::-webkit-scrollbar-track {
    background: var(--light-bg);
    border-radius: 10px;
}

.product-info-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.product-info-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.product-actions {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    background: white;
}

.quantity-selector {
    margin-bottom: 1rem;
}

.product-rating {
    margin-bottom: 0.5rem;
}

.product-title {
    margin-top: 0;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

.product-description {
    margin-bottom: 1.5rem;
}

.shipping-info {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.shipping-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.shipping-item:last-child {
    margin-bottom: 0;
}

.shipping-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Selector de cantidad */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--primary-color);
    border-radius: 25px;
    padding: 0.5rem;
}

.quantity-btn {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: white;
}

#productQuantity {
    width: 50px;
    text-align: center;
    border: none;
    background: none;
    font-weight: 600;
}

#productQuantity::-webkit-inner-spin-button,
#productQuantity::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Botones de acción */
.product-actions .btn {
    padding: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.product-actions .btn:hover {
    transform: translateY(-2px);
}

.product-actions .btn-outline-primary:hover {
    background-color: #25D366;
    border-color: #25D366;
}

@media (max-width: 768px) {
    .modal-dialog {
        max-width: 100%;
        margin: 0.5rem;
    }
    
    .modal-content {
        max-height: 95vh;
    }
    
    .modal-body {
        max-height: calc(95vh - 60px);
        padding: 0 1rem 1rem;
    }
    
    .modal-body .col-md-6 {
        padding: 10px;
    }
    
    .main-image-container {
        min-height: 300px;
        max-height: 400px;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-price {
        font-size: 1.6rem;
    }
    
    .shipping-info {
        padding: 1rem;
    }
    
    .product-gallery,
    .product-info-container {
        max-height: none;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .product-info-container {
        height: auto;
    }
    
    .product-info-scroll {
        max-height: 300px;
    }
    
    .product-actions {
        position: sticky;
        bottom: 0;
        padding: 1rem;
        margin: 0 -1rem;
        background: white;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }
}

/* Ajustes para el contenedor principal de productos */
.row-cols-2 > *, 
.row-cols-md-3 > *, 
.row-cols-lg-4 > *, 
.row-cols-xl-5 > * {
    margin-bottom: 2rem;
}

/* Spinner personalizado */
.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .product-card .card-title {
        font-size: 0.9rem;
    }
    
    .modal-dialog {
        max-width: 95%;
        margin: 1rem auto;
    }
}

/* Modal styles */
.modal-body img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.modal-body .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

/* Featured Categories */
.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: var(--white);
}

/* Search Bar */
.search-container {
    margin-top: -30px;
    position: relative;
    z-index: 2;
    background: white;
    padding: 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.search-container .input-group {
    border-radius: 50px;
    overflow: hidden;
}

.search-container .form-control {
    border: none;
    padding-left: 1.5rem;
}

.search-container .btn {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-radius: 0 50px 50px 0;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Styles */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(78, 205, 196, 0.1);
    transition: all 0.3s ease;
    position: absolute;
    width: 100%;
    z-index: 1030;
}

.navbar-scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    padding: 0;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.navbar-brand:hover .brand-text {
    color: var(--secondary-color);
}

.navbar-brand img {
    height: 50px;
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-2px);
}

/* Footer actualizado */
footer {
    background-color: var(--white);
    color: var(--text-color);
    padding: 60px 0 30px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.03);
    position: relative;
    z-index: 10;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-brand img {
    height: 40px;
    transition: transform 0.3s ease;
}

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

.footer-brand .brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-brand:hover .brand-text {
    color: var(--secondary-color);
}

footer h5 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

footer p, footer a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 2;
}

footer a:hover {
    color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-section {
        margin-bottom: 30px;
    }
}

/* Animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-slide::before {
        display: none;
    }
    
    .navbar-nav {
        margin: 1rem 0;
    }
    
    .nav-link::after {
        display: none;
    }
}

/* Filtros actualizados */
.filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--text-color);
    border-radius: 25px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

#orderBy {
    padding: 8px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 25px;
    color: var(--text-color);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Paginación */
#pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination-btn {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover:not(.disabled),
.pagination-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #ccc;
}

.pagination-ellipsis {
    color: var(--text-color);
    padding: 0 5px;
}

/* Footer Map */
.footer-map {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section.map-section {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .footer-section.map-section {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-map {
        height: 120px;
    }
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.toast {
    background: var(--white);
    color: var(--text-color);
    padding: 15px 25px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.toast.show {
    transform: translateX(0);
}

.toast i {
    font-size: 1.2rem;
}

.toast.toast-success {
    border-left: 4px solid var(--primary-color);
}

.toast.toast-success i {
    color: var(--primary-color);
}

.toast.toast-error {
    border-left: 4px solid #dc3545;
}

.toast.toast-error i {
    color: #dc3545;
}

.toast-message {
    font-size: 0.95rem;
    margin: 0;
}

.toast-product {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.toast-product img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

.toast-product-info {
    flex: 1;
}

.toast-product-name {
    font-weight: 500;
    margin: 0;
    font-size: 0.9rem;
}

.toast-product-price {
    color: var(--primary-color);
    font-size: 0.85rem;
    margin: 0;
}

/* Estilos del Carrito */
.offcanvas {
    border: none;
}

.offcanvas-header {
    background-color: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 1rem 1.5rem;
}

.offcanvas-title {
    color: var(--text-color);
    font-weight: 600;
}

.cart-items {
    padding: 1rem;
    flex: 1;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    background: var(--white);
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 1rem;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.cart-item-remove {
    color: #dc3545;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-item-remove:hover {
    color: #bb2d3b;
}

.cart-summary {
    position: sticky;
    bottom: 0;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.cart-empty {
    text-align: center;
    padding: 2rem;
    color: var(--text-color);
}

.cart-empty i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

#checkout-button {
    background-color: var(--primary-color);
    border: none;
    padding: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

#checkout-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .brand-text {
        font-size: 1.2rem;
    }
}

/* Sección de Innovación */
.innovation-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.innovation-content {
    padding: 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.innovation-image img {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Sección de Donación */
.donation-section {
    padding: 80px 0;
    background: white;
}

.donation-content {
    padding: 2rem;
}

.donation-steps {
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.donation-image img {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .innovation-section,
    .donation-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .innovation-content,
    .donation-content {
        padding: 1rem;
    }

    .step:hover {
        transform: none;
    }
}

/* Estilos del Modal de Checkout */
.checkout-form {
    padding: 1rem;
}

.form-label {
    font-weight: 500;
    color: var(--text-color);
}

.form-control {
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.1);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(181, 201, 154, 0.25);
}

.delivery-options {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 1rem;
}

.form-check {
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
    margin-bottom: 0.5rem;
}

.form-check:last-child {
    margin-bottom: 0;
}

.form-check-input:checked ~ .form-check-label {
    color: var(--primary-color);
}

.form-check:has(.form-check-input:checked) {
    border-color: var(--primary-color);
    background: rgba(181, 201, 154, 0.1);
}

.shipping-fields {
    padding-top: 1rem;
    display: block !important; /* Asegurar que sea visible por defecto */
}

/* Resumen del pedido */
.order-summary {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 1.5rem;
    position: sticky;
    top: 1rem;
}

.cart-items-summary {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.cart-item-summary {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.cart-item-summary img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 1rem;
}

.cart-item-summary-details {
    flex: 1;
}

.cart-item-summary-name {
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.cart-item-summary-price {
    color: var(--primary-color);
    font-weight: 600;
}

.cart-item-summary-quantity {
    font-size: 0.9rem;
    color: #666;
}

.summary-totals {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 1rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.summary-line.total {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.payment-security {
    text-align: center;
    color: #666;
}

.payment-security img {
    max-height: 30px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .order-summary {
        margin-top: 2rem;
        position: static;
    }
    
    .cart-items-summary {
        max-height: 200px;
    }
}

/* Transiciones suaves para navegación */
html {
    scroll-behavior: smooth;
}

/* Estilos específicos para temática de bebé */
.baby-accent {
    background: linear-gradient(135deg, var(--baby-blue), var(--baby-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animaciones flotantes para elementos de bebé */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes gentle-sway {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(1deg); }
    75% { transform: rotate(-1deg); }
}

@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Elementos flotantes decorativos */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 6s;
}

.floating-element:nth-child(3) {
    top: 40%;
    left: 80%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.floating-element:nth-child(4) {
    top: 80%;
    left: 20%;
    animation-delay: 1s;
    animation-duration: 9s;
}

/* Efectos de hover mejorados para productos */
.product-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(78, 205, 196, 0.3);
}

/* Animación de entrada para elementos */
.fade-in-up {
    animation: slideInUp 0.8s ease-out forwards;
}

.fade-in-scale {
    animation: fadeInScale 0.6s ease-out forwards;
}

/* Efectos de pulso para botones importantes */
.pulse-effect {
    animation: heartbeat 2s ease-in-out infinite;
}

/* Estrellas parpadeantes */
.twinkle {
    animation: twinkle 2s ease-in-out infinite;
}

/* Efectos de ondas para botones */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple-effect:active::after {
    width: 300px;
    height: 300px;
}

.baby-card {
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.2);
    transition: all 0.3s ease;
}

.baby-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}

.baby-button {
    background: linear-gradient(45deg, var(--primary-color), var(--baby-blue));
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.baby-button:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.4);
}

/* Animaciones suaves para bebé */
@keyframes gentle-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.gentle-bounce {
    animation: gentle-bounce 2s infinite;
}

/* Estilos para iconos de bebé */
.baby-icon {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* Gradientes suaves para secciones */
.baby-gradient {
    background: linear-gradient(135deg, var(--accent-color), var(--baby-yellow));
}

.baby-gradient-reverse {
    background: linear-gradient(135deg, var(--baby-blue), var(--accent-color));
}

/* Estilos para la sección FAQ */
#faq {
    background-color: #f8f9fa;
    padding: 80px 0;
}

#faq .accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#faq .accordion-button {
    background-color: #fff;
    color: #333;
    font-weight: 500;
    padding: 20px;
}

#faq .accordion-button:not(.collapsed) {
    background-color: #e9ecef;
    color: #333;
}

#faq .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

#faq .accordion-body {
    padding: 20px;
    background-color: #fff;
}

/* Estilos para el navbar */
.navbar {
    transition: all 0.3s ease;
}

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

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Ajuste para el scroll suave */
section {
    scroll-margin-top: 80px;
}

/* Estilos para filtros dinámicos de categorías */
.product-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--text-color);
    border-radius: 25px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

.filter-btn i {
    font-size: 0.9rem;
}

.filter-btn .badge {
    background: var(--white);
    color: var(--primary-color);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
    transition: all 0.3s ease;
}

.filter-btn.active .badge {
    background: var(--white);
    color: var(--primary-color);
}

.filter-btn:hover .badge {
    background: var(--white);
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Animación de carga para filtros */
.filter-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.filter-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive para filtros */
@media (max-width: 768px) {
    .product-filters {
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .filter-btn .badge {
        font-size: 0.6rem;
        padding: 1px 4px;
        min-width: 16px;
    }
}

@media (max-width: 480px) {
    .product-filters {
        flex-direction: column;
        gap: 8px;
    }
    
    .filter-btn {
        width: 100%;
        justify-content: center;
        max-width: 200px;
    }
}
