
/* Reset and Base Styles */

body {
    color: #333;
    background-color: #f5f5f5;
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary);
    color: white;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.95rem;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
    background-color: #e68900;
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.85rem;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
    border: none;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(255, 107, 0, 0.4);
}


/* Section Background */
.section-with-bg {
    background-color: var(--section-bg);
    padding: 10px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-light);
}


/* Category Sections */
.category-section {
    margin-bottom: 10px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.category-title {
    font-size: 1.5rem;
    color: var(--dark);
    position: relative;
}

.category-title:after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}



/* Responsive Styles */
@media (max-width: 992px) {
    .featured-container {
        grid-template-columns: 1fr;
    }
    
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-with-bg {
        padding: 10px;
    }
    
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    
    .nav-list {
        justify-content: flex-start;
        gap: 10px;
        min-width: 750px;
    }
    
    .add-cart-overlay {
        opacity: 1; /* Keep it visible on mobile */
    }
    
    .section-with-bg {
        padding: 10px;
        margin-left: -10px;
        margin-right: -10px;
        border-radius: 10px;
    }
}

@media (max-width: 576px) {
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-header a {
        margin-top: 10px;
    }
    
    
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .section-with-bg {
        padding: 10px;
        margin-left: -5px;
        margin-right: -5px;
    }
    
    .nav-list {
        min-width: 700px;
    }
}