@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
.header-gradient {
    background: #1A1A1A !important;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 5rem !important;
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

    .nav-link:hover {
        color: #fbbf24;
    }

.search-input {
    width: 100%;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: none;
    outline: none;
}

.search-button {
    background-color: #fbbf24;
    color: black;
    border: none;
    border-radius: 0 9999px 9999px 0;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .search-button:hover {
        background-color: #f59e0b;
    }

.category-header {
    background-color: #1A1A1A !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Hero Section Styles */
.hero-bg {
    position: relative;
    height: 100vh;
    background-color: #1A1A1A;
    overflow: hidden;
}

    .hero-bg::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url('/imagenes/banners/banner1.jpg');
        background-size: cover;
        background-position: center;
        opacity: 0.7;
    }

.hero-content {
    position: relative;
    z-index: 10;
    background-color: rgba(26, 26, 26, 0.8);
    padding: 2rem;
    border-radius: 0.5rem;
    color: white;
}

/* General Layout Styles */
.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1A1A1A;
}

.category-card, .product-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

    .category-card:hover, .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .category-card img {
        transition: transform 0.3s ease;
    }

    .category-card:hover img {
        transform: scale(1.05);
    }

.product-image {
    width: 100%;
    height: 16rem;
    object-fit: contain;
}

/* Brand Logos */
.brand-logo {
    height: 3rem;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

    .brand-logo:hover {
        filter: grayscale(0%);
    }

/* Newsletter Styles */
.newsletter {
    background-color: #1A1A1A;
    color: white;
}

.newsletter-input {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border-radius: 9999px 0 0 9999px;
    border: none;
    outline: none;
}

.newsletter-button {
    background-color: #fbbf24;
    color: black;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0 9999px 9999px 0;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .newsletter-button:hover {
        background-color: #f59e0b;
    }

/* Footer Styles */
.footer {
    background-color: #1A1A1A;
    color: white;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

    .footer-links a:hover {
        color: #fbbf24;
    }

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background-color: #25D366;
    color: white;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

    .whatsapp-button:hover {
        background-color: #128C7E;
        transform: scale(1.05);
    }

/* Helper Classes */
.text-yellow {
    color: #fbbf24;
}

.bg-yellow {
    background-color: #fbbf24;
}

.hover\:text-yellow:hover {
    color: #fbbf24;
}

.hover\:bg-yellow:hover {
    background-color: #f59e0b;
}

.rating {
    color: #fbbf24;
}

.price {
    font-weight: 700;
    font-size: 1.125rem;
}

.offer-badge, .shopping-cart-badge {
    display: none !important;
}

/* Carousel Styles */
.carousel-image {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .carousel-image.active {
        opacity: 1;
    }

.banner-container {
    position: relative;
    overflow: hidden;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .nav-button:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

.prev-button {
    left: 0;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.next-button {
    right: 0;
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

/* Modal Styles */
.cart-modal-backdrop {
    backdrop-filter: blur(4px);
}

.cart-modal {
    animation: slideIn 0.3s ease-out;
}

/* Scrollbar Styles */
.cart-items-container::-webkit-scrollbar {
    width: 6px;
}

.cart-items-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.cart-items-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

    .cart-items-container::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }

/* Cart Item Effects */
.cart-item-hover:hover {
    background-color: #f9fafb;
    transition: background-color 0.2s ease;
}

.btn-hover-scale:hover {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

.btn-hover-scale:active {
    transform: scale(0.98);
}

.remove-btn:hover {
    color: #dc2626;
    transform: scale(1.1);
    transition: all 0.2s ease;
}

.quantity-badge {
    background: linear-gradient(45deg, #1f2937, #374151);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.price-highlight {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cart-item-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.8s ease-out;
}

.animate-fade-in-delayed {
    animation: fade-in 0.8s ease-out 0.2s both;
}

.animate-fade-in-delayed-2 {
    animation: fade-in 0.8s ease-out 0.4s both;
}

@keyframes marquee {
    0% {
        transform: translate3d(100%, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

.animate-marquee {
    animation: marquee 25s linear infinite;
    display: inline-block;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .logo img {
        height: 4rem;
    }

    .hero-content {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .product-image {
        height: 12rem;
    }

    .nav-link {
        padding: 0.5rem 0;
    }
}

@media (max-width: 640px) {
    .cart-modal {
        margin: 1rem;
        max-height: 90vh;
    }

        .cart-modal .p-6 {
            padding: 1rem;
        }

        .cart-modal .p-4 {
            padding: 0.75rem;
        }


    @keyframes scroll-marquee {
        0% {
            transform: translateX(100%);
        }

        100% {
            transform: translateX(-100%);
        }
    }

    .animate-marquee-infinite {
        display: inline-block;
        white-space: nowrap;
        animation: scroll-marquee 20s linear infinite;
    }






}
