
/* ================================
   HOW TO CUSTOMIZE SPACING:
   ================================ */

/*
1. TO CHANGE ITEMS PER ROW:
   - Edit .product-grid grid-template-columns
   - Example: repeat(4, 300px) for 4 items per row

2. TO CHANGE SPACE BETWEEN CARDS:
   - Edit .product-grid gap property
   - Example: gap: 3rem; for more space

3. TO CHANGE CARD SIZE:
   - Edit .product-card width and height
   - Also update .bundle-card and .deal-card min-width

4. TO CHANGE INTERNAL CARD SPACING:
   - Edit margins in .product-title, .product-pricing, .product-description
   - Edit padding in .product-info and .product-actions-fixed

5. TO CHANGE SECTION SPACING:
   - Edit padding in .featured-products, .summer-deals, .hot-bundles
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #FF4757;
    --secondary-orange: #FF7F50;
    --pastel-pink: #FFB3C1;
    --pastel-blue: #A8E6CF;
    --pastel-yellow: #FFE066;
    --pastel-purple: #D1A3FF;
    --light-gray: #F8F9FA;
    --dark-text: #2C3E50;
    --white: #FFFFFF;
}

body {
    font-family: 'Nunito', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background: linear-gradient(135deg, #FFF5F5 0%, #F0F8FF 100%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', cursive;
    font-weight: 600;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    height: 80px;
    align-items: center;
}

.logo {
    font-size: 3rem;
    text-decoration: none;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 10;
    padding-top: 40px;
}
.logo img {
    height: 120px !important;
    position: absolute;
    top: 0px;
    left: 0;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}
.nav-links.active {
    display: flex !important;
}
.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-red), var(--secondary-orange));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-red);
    transform: translateY(-2px);
}

.search-container {
    position: relative;
    margin: 0 1rem;
    flex: 1;
    max-width: 400px;
    min-width: 200px;
}

.search-box {
    padding: 12px 50px 12px 20px;
    border: 3px solid var(--pastel-pink);
    border-radius: 30px;
    outline: none;
    width: 100%;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 500;
}

.search-box:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
    transform: scale(1.02);
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-red);
    border: none;
    color: white;
    padding: 10px 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.search-btn:hover {
    background: var(--secondary-orange);
    transform: translateY(-50%) scale(1.1);
}


.header-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}


@media (max-width: 1200px) and (min-width: 1025px) {
    .products-layout {
        display: grid !important;
        grid-template-columns: 200px 1fr !important;
        gap: 2rem !important;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 300px) !important;
        gap: 2rem !important;
        justify-content: center !important;
    }
    
    .category-panel {
        padding: 1.5rem !important;
    }
}

/* Tablet Medium (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .products-layout {
        display: block !important; /* Single column layout */
    }
    
    .category-panel {
        position: static !important;
        width: 100% !important;
        margin-bottom: 2rem !important;
        padding: 1rem !important;
    }
    
    .category-filters {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 300px) !important;
        gap: 2rem !important;
        justify-content: center !important;
    }
    
    .filter-btn {
        padding: 8px 15px !important;
        font-size: 0.9rem !important;
    }
        .popup-content {
        max-width: 800px !important;
        width: 100% !important;
        max-height: 90vh;
    }
    
    /* Keep two-column layout for tablets */
    .popup-layout {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        min-height: 500px !important;
        max-height: 70vh !important;
    }
    
    .popup-media {
        padding: 0.2rem !important;
    }
    
    .main-media {
        min-height: 300px !important;
    }
    
    .media-thumbnails .thumb {
        width: 50px !important;
        height: 50px !important;
    }
    
    .popup-info {
        padding: 1.5rem !important;
        overflow-y: auto !important;

    }
    
    
    
    .popup-description {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin: 1rem 0 !important;
    }
    
    .popup-actions {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .popup-actions button {
        padding: 10px 15px !important;
        font-size: 0.9rem !important;
    }
        .popup-tags .tag {
        padding: 5px 5px !important;
        font-size: 0.75rem !important;
        border-radius: 10px !important;
    }
        .popup-info h2 {
        font-size: 1.5rem !important;
        margin-bottom: -0.5rem !important;
        line-height: 1.3 !important;
    }
    
    .popup-price {
        font-size: 1.8rem !important;
        margin-bottom: -1rem !important;
    }
}


/* Mobile Header Adjustments */
@media (max-width: 768px) {
    nav {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        height: 70px;
        position: relative;
    }
    
    /* Logo - far left, smaller */
    .logo {
        font-size: 1.5rem;
        padding-top: 10px;
        flex-shrink: 0;
        order: 1;
    }
    
    .logo img {
        height: 60px !important;
        top: -25px;
    }
    
    /* Hide search on mobile for now */
    .search-container {
        display: none;
    }
    
    /* Icons - middle area */
    .header-icons {
        display: flex;
        gap: 0.5rem;
        align-items: center;
        margin: 0;
        order: 2;
        flex-shrink: 0;
    }
    
    .cart-icon, .wishlist-icon, .whatsapp-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Mobile menu button - far right */
    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        order: 3;
        flex-shrink: 0;
        z-index: 1001;
    }
    
    .mobile-menu-btn span {
        width: 25px;
        height: 3px;
        background: var(--dark-text);
        margin: 2px 0;
        transition: 0.3s;
        border-radius: 2px;
    }
    .hot-bundles .section-title::before {
        visibility: hidden;
    }
    /* Hidden navigation menu */
    /* Modern slide-out nav menu */
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -300px !important; /* Slide from right */
        width: 280px !important;
        height: 100vh !important;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding-top: 80px !important;
        z-index: 1500 !important;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
        box-shadow: -5px 0 25px rgba(0,0,0,0.3) !important;
        overflow-y: auto !important;
    }
    

    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 250px !important; /* Made slimmer */
        height: 100vh !important;
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-orange) 100%) !important;
        flex-direction: column !important;
        padding-top: 80px !important;
        z-index: 1500 !important;
        transition: right 0.4s ease !important;
        box-shadow: -5px 0 20px rgba(0,0,0,0.3) !important;
    }
    .nav-links.active {
        right: 0 !important;
    }

     .nav-overlay.active {
        display: block !important;
    }
    /* Modern nav items */
    .nav-links li {
        margin: 8px 15px !important;
        width: calc(100% - 30px) !important;
    }
    
    .nav-links a {
        display: block !important;
        padding: 12px 20px !important;
        background: rgba(255,255,255,0.15) !important;
        border-radius: 10px !important;
        color: white !important;
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        border: 1px solid rgba(255,255,255,0.2) !important;
        text-align: center !important;
    }
    
    .nav-links a:hover {
        background: rgba(255,255,255,0.25) !important;
        transform: scale(1.02) !important;
    }
    
    /* Close button in nav */
    .nav-close {
        position: absolute !important;
        top: 20px !important;
        right: 20px !important;
        background: rgba(255,255,255,0.2) !important;
        border: none !important;
        color: white !important;
        font-size: 1.5rem !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    

        /* Search bar below header */
    .search-container {
        display: block !important;
        order: 4 !important;
        width: 100% !important;
        margin: 0 !important;
        position: absolute !important;
        top: 70px !important;
        left: 0 !important;
        padding: 10px 15px !important;
        background: white !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
        z-index: 999 !important;
    }
    
    .search-box {
        width: 100% !important;
        font-size: 1rem !important;
        padding: 12px 50px 12px 20px !important;
    }
    
    /* Adjust content spacing for search bar */
    .carousel-section {
        margin-top: 130px !important; /* 70px header + 60px search area */
    }
        /* Carousel responsive */
    .carousel-section {
        height: 300px !important;
        padding: 0 15px !important;
        margin-top: 130px !important;
    }
    
    .slide-content h1 {
        font-size: 2rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .slide-content p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .cta-button {
        padding: 12px 25px !important;
        font-size: 1rem !important;
    }
    
    .carousel-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.5rem !important;
    }
    
    .carousel-btn.prev {
        left: 10px !important;
    }
    
    .carousel-btn.next {
        right: 10px !important;
    }
    
    /* Section titles */
    .section-title {
        font-size: 2rem !important;
        margin-bottom: 2rem !important;
    }
    
    /* Age filters responsive */
    .age-filters-compact {
        flex-wrap: wrap !important;
        padding: 6px 12px !important;
        gap: 5px !important;
    }
    
    .age-btn-compact {
        padding: 4px 8px !important;
        font-size: 0.75rem !important;
        min-width: 30px !important;
    }
        .slide-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    
    .carousel-slide {
        border-radius: 15px !important;
        overflow: hidden !important;
    }
    
    .carousel-container {
        border-radius: 15px !important;
        overflow: hidden !important;
        height: 100% !important;
    }
    
    /* Ensure slide background covers properly */
    .slide-background {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    /* Content overlay adjustments for mobile */
    .slide-content {
        padding: 0 1rem !important;
        max-width: 90% !important;
    }
        .carousel-section {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
    }
    
    .carousel-container,
    .carousel-slide,
    .slide-background,
    .slide-image {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
    }
    .products-layout {
        display: block !important; /* Change from grid to block */
        margin-top: 2rem !important;
    }
    
    /* Category panel - make horizontal */
    .category-panel {
        position: static !important; /* Remove sticky */
        width: 100% !important;
        height: auto !important;
        margin-bottom: 2rem !important;
        padding: 1rem !important;
        border-radius: 15px !important;
    }
    
    /* Category filters - make horizontal scrollable */
    .category-filters {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        overflow-x: auto !important;
        padding-bottom: 10px !important;
    }
    
    .filter-btn {
        flex-shrink: 0 !important;
        padding: 8px 15px !important;
        font-size: 0.9rem !important;
        white-space: nowrap !important;
    }
    
    /* Product grid - full width */
    .product-grid {
        grid-template-columns: 1fr !important; /* Single column */
        gap: 1.5rem !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Product cards - full width */
    .product-card {
        width: 100% !important;
        max-width: 350px !important;
        margin: 0 auto !important;
    }
     .product-popup {
        padding: 10px !important;
        align-items: flex-start !important;
        padding-top: 20px !important;
    }
    
    .popup-content {
        max-width: 95% !important;
        width: 95% !important;
        max-height: 90vh !important;
        margin: 0 !important;
        border-radius: 20px !important;
        overflow: hidden !important;
    }
    
    /* Single column layout */
    .popup-layout {
        display: block !important;
        height: fit-content !important;
        min-height: 100px !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
        padding: 1rem !important;
        position: relative !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    
    /* Media section - top */
    .popup-media {
        padding: 0.2rem !important;
        background: #f8f9fa !important;
        border-bottom: 1px solid #eee !important;
    }
    
    .main-media {
        min-height: 250px !important;
        max-height: 350px !important;
        border-radius: 15px !important;
    }
    
    .media-thumbnails {
        gap: 8px !important;
        justify-content: center !important;
        margin-top: -1.5rem !important;
    }
    
    .thumb {
        width: 50px !important;
        height: 50px !important;
        border-radius: 8px !important;
    }
    
    /* Info section - bottom */
    .popup-info {
        padding: 0.3rem !important;
        gap: 0.5rem !important;
        max-height: 40vh !important;
        overflow-y: auto !important;
    }
    
    .popup-info h2 {
        font-size: 1.5rem !important;
        margin-bottom: -1rem !important;
        line-height: 1.3 !important;
    }
    
    .popup-price {
        font-size: 1.8rem !important;
        margin-bottom: -1rem !important;
    }
    
    .popup-description {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        max-height: 150px !important;
        overflow-y: auto !important;
        margin-bottom: 0.7rem  !important;
    }
    
    /* Tags responsive */
    .popup-tags {
        gap: 6px !important;
        margin: -0.5rem  !important;

    }
    
    .popup-tags .tag {
        padding: 0px 0px !important;
        font-size: 0.7rem !important;
        border-radius: 15px !important;
        margin-bottom: -0.7rem  !important;
    }
    
    /* Action buttons */
    .popup-actions {
        flex-direction: column !important;
        gap: 10px !important;
        margin-top: 1rem !important;
    }
    
    .popup-actions button {
        padding: 5px 50px !important;
        font-size: 1rem !important;
        border-radius: 12px !important;
    }
    
    /* Close button positioning */
    .popup-close {
        top: 15px !important;
        right: 15px !important;
        width: 35px !important;
        height: 35px !important;
        font-size: 1.3rem !important;
        background: rgba(0,0,0,0.5) !important;
        color: white !important;
        z-index: 10 !important;
    }
     .filter-summary {
        position: relative !important;
        transform: none !important;
        margin: 10px auto 0 auto !important;
        max-width: 95% !important;
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
    }
    
    .filter-summary button {
        padding: 3px 10px !important;
        font-size: 0.7rem !important;
        border-radius: 10px !important;
        margin: 0 !important;
        align-self: center !important;
        width: fit-content !important;
    }
    
    /* Adjust spacing after filter summary */
    .products-layout {
        margin-top: 1rem !important;
    }
    .cart-sidebar, .wishlist-sidebar {
        width: 100vw !important;
        height: 100vh !important;
        right: -100vw !important;
        top: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }
    
    /* Header responsive */
    .cart-header, .wishlist-header {
        flex-shrink: 0 !important;
        padding: 4vh 4vw !important; /* Scale with viewport */
        min-height: 12vh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    
    .cart-header h3, .wishlist-header h3 {
        font-size: 4vw !important; /* Scale with width */
        margin: 0 !important;
    }
    
    .cart-header button, .wishlist-header button {
        background: var(--primary-red) !important;
        color: white !important;
        border-radius: 50% !important;
        width: 8vw !important; /* Scale with viewport */
        height: 8vw !important;
        max-width: 45px !important;
        max-height: 45px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        font-size: 5vw !important;
        max-font-size: 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Items container */
    .cart-items, .wishlist-items {
        flex: 1 !important;
        padding: 2vh 4vw !important;
        overflow-y: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 2vh !important;
    }
    
    /* Individual items */
    .cart-item, .wishlist-item {
        display: flex !important;
        gap: 3vw !important;
        padding: 2vh 0 !important;
        border-bottom: 1px solid #eee !important;
        align-items: center !important;
        min-height: 8vh !important;
    }
    
    .cart-item-image, .wishlist-item-image {
        width: 12vw !important;
        height: 12vw !important;
        max-width: 80px !important;
        max-height: 80px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        font-size: 6vw !important;
        flex-shrink: 0 !important;
    }
        .cart-item > div:nth-child(2), 
    .wishlist-item > div:nth-child(2) {
        flex: 1 !important;
        min-width: 0 !important;
    }
  .cart-item h4, .wishlist-item h4 {
        font-size: 3.5vw !important;
        max-font-size: 18px !important;
        min-font-size: 14px !important;
        margin: 0 0 1vh 0 !important;
        line-height: 1.2 !important;
    }
    
    .cart-item p, .wishlist-item p {
        font-size: 3vw !important;
        max-font-size: 16px !important;
        min-font-size: 12px !important;
        margin: 0 0 1vh 0 !important;
        color: var(--primary-red) !important;
        font-weight: bold !important;
    }
    
    /* Buttons in items */
    .cart-item button, .wishlist-item button {
        padding: 1.5vh 3vw !important;
        font-size: 2.8vw !important;
        max-font-size: 14px !important;
        min-font-size: 10px !important;
        border-radius: 6px !important;
        border: none !important;
        background: var(--primary-red) !important;
        color: white !important;
        cursor: pointer !important;
        white-space: nowrap !important;
    }
    
    .cart-item button {
        background: var(--primary-red) !important;
        color: white !important;
        align-self: center !important;
    }
    
    .wishlist-item div[style*="flex"] {
        display: flex !important;
        gap: 8px !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    /* Footer sections */
    .cart-total, .wishlist-actions {
        flex-shrink: 0 !important;
        padding: 3vh 4vw !important;
        min-height: 20vh !important;
        max-height: 25vh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
    
    .cart-total h3 {
        font-size: 4vw !important;
        max-font-size: 20px !important;
        margin-bottom: 2vh !important;
        text-align: center !important;
    }
    
    .whatsapp-checkout, .move-to-cart-btn {
        padding: 2.5vh 4vw !important;
        font-size: 3.5vw !important;
        max-font-size: 18px !important;
        min-font-size: 14px !important;
        border-radius: 12px !important;
        font-weight: bold !important;
        width: 100% !important;
        border: none !important;
        cursor: pointer !important;
    }
    
    .cart-total p {
        font-size: 2.5vw !important;
        max-font-size: 14px !important;
        margin-top: 2vh !important;
        text-align: center !important;
        color: #666 !important;
        line-height: 1.3 !important;
    }

    
    .cart-sidebar.open, .wishlist-sidebar.open {
        right: 0 !important;
    }
    
}


/* Very small phones */
@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 60px !important;

    }
    
    .header-icons {
        gap: 0.3rem;
    }
    
    .cart-icon, .wishlist-icon, .whatsapp-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .mobile-menu-btn {
        padding: 6px;
    }
    
    .mobile-menu-btn span {
        width: 20px;
        height: 2px;
    }
       .carousel-section {
        height: 250px !important;
        margin-top: 130px !important;
    }
    
    .slide-content h1 {
        font-size: 1.5rem !important;
    }
    
    .slide-content p {
        font-size: 0.9rem !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .carousel-btn {
        width: 35px !important;
        height: 35px !important;
        font-size: 1.2rem !important;
    }
        .slide-image {
        object-fit: cover !important;
        object-position: center center !important;
    }
    
    .slide-content {
        padding: 0 0.8rem !important;
        max-width: 95% !important;
    }
    
    /* Ensure text is readable over images */
    .slide-content h1,
    .slide-content p {
        text-shadow: 2px 2px 4px rgba(0,0,0,0.7) !important;
    }
       .carousel-section {
        height: 250px !important;
        min-height: 250px !important;
        max-height: 250px !important;
    }
    
    .carousel-container,
    .carousel-slide,
    .slide-background,
    .slide-image {
        height: 100px !important;
        min-height: 140px !important;
        max-height: 250px !important;
    }
       .category-panel {
        padding: 0.8rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .filter-btn {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
    }
    
    .product-card {
        max-width: 300px !important;
    }
        .nav-links {
        width: 220px !important; /* Even slimmer on small phones */
    }
      .popup-content {
        max-width: 98% !important;
        width: 98% !important;
        border-radius: 15px !important;
    }
    
    .main-media {
        min-height: 350px !important;
        max-height: 350px !important;
    }
    
    .popup-info {
        padding: 0.3rem !important;
    }
    
    .popup-info h2 {
        font-size: 1.3rem !important;
    }
    
    .popup-price {
        font-size: 1.5rem !important;
    }
    
    .popup-description {
        font-size: 0.9rem !important;
        max-height: 120px !important;
    }
    
    .popup-tags .tag {
        padding: 0px 0px !important;
        font-size: 0.7rem !important;
    }
    
    .popup-actions button {
        padding: 5px 15px !important;
        font-size: 0.9rem !important;
    }
    
    .popup-close {
        width: 30px !important;
        height: 30px !important;
        font-size: 1.1rem !important;
    }
        .filter-summary {
        padding: 5px 10px !important;
        font-size: 0.75rem !important;
        border-radius: 15px !important;
        gap: 6px !important;
    }
    
    .filter-summary span {
        font-size: 0.75rem !important;
    }
    
    .filter-summary button {
        padding: 2px 8px !important;
        font-size: 0.65rem !important;
        border-radius: 8px !important;
    }
        .age-filters-container {
        margin: 0.5rem 0 1rem 0 !important;
        padding: 0 10px !important;
    }
    
    .age-filters-compact {
        padding: 6px 10px !important;
        gap: 4px !important;
        font-size: 0.8rem !important;
        border: 2px solid var(--pastel-pink) !important;
        border-radius: 20px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    .age-filter-label {
        font-size: 0.8rem !important;
        margin-right: 2px !important;
    }
    
    .age-btn-compact {
        padding: 4px 8px !important;
        font-size: 0.7rem !important;
        min-width: 25px !important;
        border-radius: 12px !important;
    }
     .cart-header, .wishlist-header {
        padding: 0.8rem 1rem !important;
    }
    
    .cart-header h3, .wishlist-header h3 {
        font-size: 5vw !important;
    }
    
    .cart-header button, .wishlist-header button {
        width: 30px !important;
        height: 30px !important;
        font-size: 1.5rem !important;
    }
    
    .cart-items, .wishlist-items {
        padding: 0.8rem !important;
    }
    
    .cart-item h4, .wishlist-item h4 {
        font-size: 4vw !important;
    }
    
    .cart-item p, .wishlist-item p {
        font-size: 3.5vw !important;
    }
    
    .cart-item button, .wishlist-item button {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
        min-width: 70px !important;
    }
    
    .cart-total, .wishlist-actions {
        padding: 1rem !important;
    }
    
    .whatsapp-checkout, .move-to-cart-btn {
        padding: 12px !important;
        font-size: 1rem !important;
    }
      .cart-header, .wishlist-header {
        padding: 1rem !important;
    }
    
    .cart-items, .wishlist-items {
        padding: 1rem !important;
    }
}

.cart-icon, .wishlist-icon, .whatsapp-icon {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.cart-icon {
    background: var(--pastel-blue);
}

.wishlist-icon {
    background: var(--pastel-pink);
}

.whatsapp-icon {
    background: #25D366;
    color: white;
}

.cart-icon:hover {
    transform: scale(1.15);
    background: #7ED4AD;
}

.wishlist-icon:hover {
    transform: scale(1.15);
    background: #FF9AA9;
}

.whatsapp-icon:hover {
    transform: scale(1.15);
    background: #128C7E;
}

.cart-count, .wishlist-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    font-family: 'Fredoka', cursive;
    opacity: 1; /* Always visible */
    visibility: visible; /* Always visible */
}





/* Carousel Section */
.carousel-section {
    position: relative;
    height: 500px; /* CONTROL TOTAL HEIGHT HERE */
    overflow: hidden;
    margin-top: 80px;
    padding: 0 60px; /* LEFT/RIGHT PADDING */
    background: var(--white); /* Optional: background color for padding area */
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1500px; /* CONTROL MAX WIDTH HERE */
    margin: 0 auto; /* Center the carousel */
    border-radius: 20px; /* Optional: rounded corners */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); /* Optional: shadow */
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 0 2rem;
}

.slide-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideInUp 0.8s ease-out;
}

.slide-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.cta-button {
    background: var(--primary-red);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Fredoka', cursive;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.cta-button:hover {
    background: var(--secondary-orange);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.carousel-btn {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--primary-red);
    font-size: 2rem;
    font-weight: bold;
    padding: 0; /* Remove padding */
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 3;
    display: flex; /* Add flexbox */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 30px;
}

.carousel-btn.next {
    right: 30px;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--dark-text);
    position: relative;
    font-family: 'Fredoka', cursive;
}
.hot-bundles .section-title {
    position: relative;
    color: white;
    display: inline-block;
}

.hot-bundles .section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    z-index: -1; /* Changed to -1 so text is above */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-left: 0.7%;
}
/* Ensure the text appears above the circle */
.hot-bundles .section-title {
    z-index: 1;
    position: relative;
}
.hot-bundles .container {
    text-align: center;
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(to right, var(--primary-red), var(--secondary-orange));
    border-radius: 3px;
}


/* Categories Section */
.deals-slider-btn, .bundle-slider-btn {
    background: var(--primary-red) !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    cursor: pointer !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    z-index: 100 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    font-size: 1.5rem !important;
    font-weight: bold !important;
    padding: 0 !important;
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4) !important;
}

.summer-sale {
    padding: 100px 0;
    background: var(--white);
}

.sale-slider-container {
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
    padding: 0 60px;
}

.sale-products-slider {
    display: flex;
    transition: transform 0.3s ease;
    gap: 2rem;
}

.sale-product-card {
    min-width: 280px;
    flex-shrink: 0;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
}

.sale-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.sale-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-red);
    border: none;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sale-slider-btn.prev {
    left: 0;
}

.sale-slider-btn.next {
    right: 0;
}

.sale-slider-btn:hover {
    background: var(--secondary-orange);
    transform: translateY(-50%) scale(1.1);
}

.hot-bundles {
    padding: 20px 0; /* VERTICAL PADDING AROUND BUNDLES SECTION */
    background: var(--primary-red);
}

.bundle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.bundle-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
}

.bundle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.15);
}

.bundle-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-red);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    z-index: 1;
    font-family: 'Fredoka', cursive;
}

.bundle-image {
    height: 220px;
    background: linear-gradient(45deg, var(--pastel-pink), var(--pastel-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
}

.bundle-content {
    padding: 2rem;
}

.bundle-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--dark-text);
    font-family: 'Fredoka', cursive;
}

.bundle-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 1.5rem 0;
}


.product-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.wishlist-btn {
    background: var(--pastel-pink);
    border: none;
    font-size: 1.5rem;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-btn:hover {
    background: #ff9999;
    transform: scale(1.1);
}

.add-to-cart {
    flex: 1;
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Fredoka', cursive;
    font-size: 1.1rem;
}

.add-to-cart:hover {
    background: var(--secondary-orange);
    transform: translateY(-2px);
}


/* Space between different sections */
.featured-products {
    padding: 20px 0; /* VERTICAL PADDING AROUND ENTIRE SECTION */
    background: var(--white);
}

.product-grid {
    display: grid;
    /* TO CHANGE COLUMNS: */
    /* 2 items per row: grid-template-columns: repeat(2, 300px); */
    /* 4 items per row: grid-template-columns: repeat(4, 300px); */
    /* 5 items per row: grid-template-columns: repeat(5, 300px); */
    grid-template-columns: repeat(3, 300px); /* Current: 3 items per row */
    gap: 4rem; /* CHANGE THIS TO CONTROL SPACE BETWEEN CARDS */
    margin-top: 1rem;
    justify-content: center;
}
.product-grid-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 300px));
    gap: 2.5rem;
    margin-top: 3rem;
    justify-content: center;
}
.bundle-card, .deal-card {
    min-width: 300px; /* SLIDER CARD WIDTH */
    flex-shrink: 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
}


.bundle-slider-container, .deals-slider-container {
    position: relative;
    overflow: hidden;
    margin: 3rem 0;
    padding: 0 80px;
}

.bundle-slider, .deals-slider {
    display: flex;
    transition: transform 0.3s ease;
    gap: 2rem;
    width: max-content;
    padding-right: 40px;
}

/* Update slide calculations */
.bundle-slider-btn, .deals-slider-btn {
    background: var(--primary-red);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0;
    color: white;
}


/* Fix card height with new structure */
/* Updated card dimensions - 300px width as requested */
.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    width: 300px; /* CARD WIDTH - CHANGE THIS TO MAKE CARDS WIDER/NARROWER */
    height: 520px; /* CARD HEIGHT - CHANGE THIS TO MAKE CARDS TALLER/SHORTER */
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.product-image {
    height: 270px; /* Changed from 200px */
    width: 270px;  /* Changed from 200px */
    margin: 0 auto;
    background: linear-gradient(45deg, var(--pastel-blue), var(--pastel-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Product info spacing - controls space between title, price, description */
.product-info {
    padding: 1.5rem 1.5rem 0 1.5rem; /* CHANGE PADDING TO CONTROL INTERNAL SPACING */
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Product title spacing */
.product-title {
    font-size: 1.2rem;
    margin-bottom: -0.5rem; /* SPACE BETWEEN TITLE AND PRICE - CHANGE THIS */
    color: var(--dark-text);
    font-family: 'Fredoka', cursive;
    line-height: 1.3;
    height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Remove tags from product cards - hide them */
.product-card .product-tags {
    display: none; /* Hide tags in cards */
}

/* Keep tags visible only in popups */
.popup-info .product-tags {
    display: flex; /* Show tags in popup */
}
.product-price {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-family: 'Fredoka', cursive;
}

.product-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--pastel-blue);
    color: var(--dark-text);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Cart Sidebar */
.cart-sidebar, .wishlist-sidebar {
    position: fixed;
    right: -450px;
    top: 0;
    width: 450px;
    height: 100vh;
    background: var(--white);
    box-shadow: -10px 0 20px rgba(0,0,0,0.1);
    transition: right 0.4s ease;
    z-index: 1001;
    overflow-y: auto;
}

.cart-sidebar.open, .wishlist-sidebar.open {
    right: 0;
}

.cart-header, .wishlist-header {
    padding: 2rem;
    border-bottom: 2px solid var(--pastel-pink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light-gray);
}

.cart-header h3, .wishlist-header h3 {
    font-family: 'Fredoka', cursive;
    font-size: 1.5rem;
    color: var(--dark-text);
}

.cart-items, .wishlist-items {
    padding: 1.5rem;
}

.cart-item, .wishlist-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.cart-item-image, .wishlist-item-image {
    width: 70px;
    height: 70px;
    background: var(--pastel-pink);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.cart-total {
    padding: 2rem;
    border-top: 3px solid var(--pastel-pink);
    text-align: center;
    background: var(--light-gray);
}

.cart-total h3 {
    font-family: 'Fredoka', cursive;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.whatsapp-checkout {
    width: 100%;
    background: #25D366;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 15px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
    font-family: 'Fredoka', cursive;
    font-size: 1.1rem;
}

.whatsapp-checkout:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.wishlist-actions {
    padding: 2rem;
    border-top: 3px solid var(--pastel-pink);
    background: var(--light-gray);
}

.move-to-cart-btn {
    width: 100%;
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Fredoka', cursive;
    font-size: 1.1rem;
}

.move-to-cart-btn:hover {
    background: var(--secondary-orange);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--dark-text);
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--pastel-pink);
    font-family: 'Fredoka', cursive;
    font-size: 1.3rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-section a:hover {
    color: var(--pastel-pink);
    transform: translateX(5px);
}




/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0,-15px,0);
    }
    70% {
        transform: translate3d(0,-7px,0);
    }
    90% {
        transform: translate3d(0,-3px,0);
    }
}

.bounce {
    animation: bounce 1s ease infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-20px); 
    }
}

.float {
    animation: float 3s ease-in-out infinite;
}
.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 10px;
    padding: 10px 0;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: var(--dark-text);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 1rem;
}

.dropdown-content a:hover {
    background-color: var(--pastel-pink);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.bundle-slider-container {
    position: relative;
    z-index: 10; /* Higher than promo text */
}

.bundle-slider {
    display: flex;
    transition: transform 0.3s ease;
    gap: 2rem;
    width: max-content;
    padding-right: 40px; /* Add extra padding to the right for the last card */
}

.slider-btn {
    width: 60px;
    height: 60px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slider-btn.prev {
    left: -80px; /* Move further left */
}


.slider-btn.next {
    right: -80px; /* Move further right */
}

.bundle-card {
    position: relative;
    z-index: 15; /* Even higher for cards */
    pointer-events: auto; /* Ensure clickability */
}
.product-card {
    position: relative;
    overflow: visible; /* Change to visible */
}

.product-media-preview {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 6px;
    z-index: 5;
    background: rgba(255,255,255,0.95);
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

.product-card:hover .product-media-preview {
    display: flex;
}

.media-thumb {
    width: 35px;
    height: 35px;
    background: var(--pastel-blue);
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
    background-size: cover;
    background-position: center;
    border: 2px solid white;
    flex-shrink: 0;
}

.media-thumb:hover {
    opacity: 1;
    transform: scale(1.1);
}
.media-thumb.video {
    background: linear-gradient(45deg, #333, #555);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
}

.product-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    display: none;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-content {
    background: white;
    border-radius: 25px;
    padding: 0;
    max-width: 1000px; /* Much wider */
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    animation: popupSlideIn 0.4s ease-out;
}

.popup-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.popup-media {
    background: #f8f9fa;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-media {
    flex: 1;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-media img, .main-media video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.media-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}



.thumb.active {
    border-color: var(--primary-red);
    transform: scale(1.05);
}

.thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.video-thumb {
    background: #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    width: 100%;
    height: 100%;
}

.popup-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popup-info h2 {
    font-size: 2rem;
    color: var(--dark-text);
    margin: 0;
    font-family: 'Fredoka', cursive;
}

.popup-price {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--primary-red);
    font-family: 'Fredoka', cursive;
}

.popup-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    flex: 1;
}

.popup-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.popup-tags .tag {
    background: var(--pastel-blue);
    color: var(--dark-text);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
}

.popup-actions {
    display: flex;
    gap: 15px;
}

.popup-actions button {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Fredoka', cursive;
    font-size: 1.1rem;
}

.popup-actions .wishlist-btn.large {
    background: var(--pastel-pink);
    color: var(--dark-text);
}

.popup-actions .add-to-cart.large {
    background: var(--primary-red);
    color: white;
}

.popup-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: #f0f0f0;
    color: #333;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}




.products-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.category-panel {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.category-filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-btn {
    background: var(--light-gray);
    border: none;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-red);
    color: white;
}


.whatsapp-icon:hover {
    transform: scale(1.15);
    background: #128C7E;
}

.summer-deals {
    padding: 20px 0; /* VERTICAL PADDING AROUND DEALS SECTION */
    background: var(--white);
}


.deals-slider-container {
    position: relative;
    overflow: hidden; /* Change back to hidden to clip the sliding area */
    margin: 3rem 0; /* Remove left/right margins */
    padding: 0 80px; /* Add padding instead for button space */
}

.deals-slider {
    display: flex;
    transition: transform 0.3s ease;
    gap: 2rem;
    width: max-content;
    padding-right: 40px; /* Add extra padding to the right for the last card */
}



.deals-slider-btn:hover {
    background: var(--secondary-orange);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

.deals-slider-btn.prev {
    left: 20px; /* Position within the padding */
}

.deals-slider-btn.next {
    right: 20px; /* Position within the padding */
}

.deal-card {
    min-width: 300px;
    flex-shrink: 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
}

.deal-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-red);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 1;
}

/* Product pricing spacing */
.product-pricing {
    margin-bottom: -0.3rem; /* SPACE BETWEEN PRICE AND DESCRIPTION - CHANGE THIS */
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
    margin-right: 10px;
}

.sale-price {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-red);
    font-family: 'Fredoka', cursive;
}



.bundle-slider-btn:hover {
    background: var(--secondary-orange); /* Change hover color */
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

.bundle-slider-btn.prev {
    left: 100px; /* Position within the padding */
}

.bundle-slider-btn.next {
    right: 20px; /* Position within the padding */
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-red);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 1;
    font-family: 'Fredoka', cursive;
}

/* Product description spacing */
.product-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: auto; /* PUSHES BUTTONS TO BOTTOM */
    line-height: 1.4;
    height: 3.6em;
    overflow: hidden;
}

/* Button area spacing */
.product-actions-fixed {
    display: flex;
    gap: 10px; /* SPACE BETWEEN WISHLIST AND CART BUTTON - CHANGE THIS */
    align-items: center;
    padding: 1.5rem; /* SPACE AROUND BUTTONS - CHANGE THIS */
    margin-top: auto;
    border-top: 1px solid #f0f0f0;
    background: white;
    position: relative;
    z-index: 15;
}

/* Ensure buttons don't trigger card click */
.product-actions-fixed {
    position: relative;
    z-index: 10;
}

/* ================================
   NOTIFICATION STYLING
   ================================ */

.added-notification {
    position: fixed !important;
    z-index: 10000 !important;
    pointer-events: none !important;
    font-family: 'Fredoka', cursive !important;
}

@keyframes notificationSlideIn {
    0% { 
        transform: translateY(30px) scale(0.6); 
        opacity: 0; 
    }
    70% { 
        transform: translateY(-5px) scale(1.05); 
        opacity: 1; 
    }
    100% { 
        transform: translateY(0) scale(1); 
        opacity: 1; 
    }
}
/* Prevent notification from interfering with other elements */
.added-notification {
    will-change: transform, opacity;
    isolation: isolate;
}
.loading-message, .no-products, .error-message {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
    font-size: 1.1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 20px;
}

/* Loading and Error States */
.loading-message, .no-products, .error-message {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
    font-size: 1.1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 20px;
}

.loading-message {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    color: white;
    animation: pulse 2s infinite;
}

.error-message {
    background: #fee;
    color: #e74c3c;
    border: 1px solid #fcc;
}

.error-message button {
    margin-top: 15px;
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.error-message button:hover {
    background: #c0392b;
}

/* Placeholder image styling */
.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f1f2f6 0%, #ddd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #999;
    border-radius: 15px;
}

/* Image Loading Animation */
.product-image img {
    transition: opacity 0.1s ease;
}

.media-thumb {
    transition: all 0.1s ease;
    opacity: 0.7;
}

.media-thumb.loaded {
    opacity: 1;
    border: 2px solid #667eea;
}

/* Pulse animation for loading */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Bounce animation for cart/wishlist */
.bounce {
    animation: bounceEffect 0.6s ease;
}

@keyframes bounceEffect {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -10px, 0);
    }
    70% {
        transform: translate3d(0, -5px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}


/* Fix product image container to be perfectly square */
.product-image-container {
    position: relative;
    width: 100%;
    padding: 15px;
}



/* Make whole card clickable */
.clickable-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* Fix media preview positioning */






.media-thumb:hover,
.media-thumb.active {
    opacity: 1;
    transform: scale(1.15);
    border-color: var(--primary-red);
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.media-thumb {
    pointer-events: auto !important;
    z-index: 9999 !important;
}

.product-image img {
    pointer-events: none !important;
}

/* Prevent hover zoom extension interference */
.hoverZoomLink {
    pointer-events: auto !important;
}





.product-actions-fixed button {
    position: relative;
    z-index: 11;
}

/* Out of stock styling */
.out-of-stock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    z-index: 5;
}

.out-of-stock-text {
    background: #ff4757;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-family: 'Fredoka', cursive;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
}

.product-card.out-of-stock {
    opacity: 0.8;
    filter: grayscale(30%);
}

.product-card.out-of-stock .product-image {
    opacity: 0.7;
}

.product-card.out-of-stock .add-to-cart:disabled,
.product-card.out-of-stock .wishlist-btn:disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
}


.media-thumb.active {
    border-color: var(--primary-red) !important;
    transform: scale(1.15) !important;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.5) !important;
    opacity: 1 !important;
}
.media-thumbnails .thumb {
    width: 60px !important;
    height: 60px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

.media-thumbnails .thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Age Filter Styling */







.age-btn[onclick="filterByAge('3-5')"]::before {
    content: '🧒';
}

.age-btn[onclick="filterByAge('6-10')"]::before {
    content: '👦';
}

.age-btn[onclick="filterByAge('10+')"]::before {
    content: '👨';
}

.age-btn[onclick="filterByAge('all')"]::before {
    content: '👨‍👩‍👧‍👦';
}





/* Compact Age Filters - Horizontal Layout */
.age-filters-container {
    display: flex;
    justify-content: center;
    margin: 1rem 0 2rem 0;
    padding: 0 1rem;
}

.age-filters-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid var(--pastel-pink);
    flex-wrap: wrap;
    justify-content: center;
}

.age-filter-label {
    font-weight: 600;
    color: var(--dark-text);
    font-family: 'Fredoka', cursive;
    margin-right: 5px;
    font-size: 0.9rem;
}

.age-btn-compact {
    background: var(--light-gray);
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--dark-text);
    min-width: 35px;
    text-align: center;
    white-space: nowrap;
}

.age-btn-compact:hover {
    background: var(--pastel-blue);
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 71, 87, 0.2);
}

.age-btn-compact.active {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-orange));
    color: white;
    border-color: var(--primary-red);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
    transform: translateY(-1px);
}



/* Fix layout stability - prevent cards from jumping */
.products-layout {
    min-height: 600px; /* Prevent layout shifts */
}

.product-grid {
    min-height: 400px; /* Stable grid height */
    transition: opacity 0.2s ease; /* Smooth transitions */
}

/* Filter summary positioning fix */
/* Hot Bundle Promotional Text */
.bundle-promo-text {
    text-align: center;
    margin: -0.5rem 0 3rem 0;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column; /* Stack vertically */
    align-items: center;
    gap: 10px; /* Space between lines */
}

.promo-main {
    background: linear-gradient(135deg, #FFD700, #FF6B6B);
    color: rgb(0, 89, 131);
    font-family: 'Fredoka', cursive;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: pulseGlow 3s ease-in-out infinite;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    display: block; /* Force block display */
}

.promo-sub {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    display: block; /* Force block display */
}

/* Subtle pulsing animation */
@keyframes pulseGlow {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
    }
}



/* Enhance section background for better contrast */
.hot-bundles {
    background: linear-gradient(135deg, var(--primary-red) 0%, #E74C3C 100%);
    position: relative;
    overflow: hidden;
}

.hot-bundles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}



/* Ensure all cards are clickable */
.bundle-card,
.deal-card,
.product-card {
    pointer-events: auto !important;
    position: relative;
    z-index: 15;
}

/* Fix promotional text z-index conflicts */


.hot-bundles .bundle-promo-text {
    position: relative;
    z-index: 5; /* Lower than cards */
    pointer-events: none; /* Don't block clicks */
}

.hot-bundles .bundle-promo-text button {
    pointer-events: auto; /* But buttons should be clickable */
}

/* Media thumbnails for bundle cards */
.bundle-card .product-media-preview {
    display: flex !important; /* Ensure thumbnails show on bundles */
}

.bundle-card .media-thumb {
    pointer-events: auto !important; /* Ensure thumbnails are clickable */
    z-index: 20 !important; /* Above everything */
}

/* Ensure all cards have full border-radius */
.product-card,
.bundle-card, 
.deal-card {
    border-radius: 20px !important;
    overflow: hidden; /* This ensures child elements respect the border-radius */
}

/* Fix bottom elements to match card corners */
.product-actions-fixed {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
}

/* Fix any other bottom elements */
.product-info {
    border-radius: 0; /* Remove any conflicting radius */
}

/* Ensure button container respects parent radius */
.product-card .product-actions-fixed:last-child,
.bundle-card .product-actions-fixed:last-child,
.deal-card .product-actions-fixed:last-child {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* Fix image container to have rounded top corners only */
.product-image-container {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}



/* Make sure no child elements break the card shape */
.product-card > *:first-child {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.product-card > *:last-child {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* Mobile Responsive - Professional Version */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--dark-text);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Tablet styles (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .search-box {
        width: 250px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 300px);
        gap: 2rem;
    }
        .filter-summary {
        position: relative !important; /* Change from absolute */
        transform: none !important;
        left: auto !important;
        top: auto !important;
        margin: 15px auto 0 auto !important;
        max-width: 90% !important;
        font-size: 0.9rem !important;
    }
    
    .age-filters-container {
        position: static !important; /* Remove relative positioning */
    }
}


/* Policy Popup Styles */
.policy-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.policy-content {
    background: white;
    border-radius: 20px;
    padding: 0;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
}

.policy-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: var(--primary-red);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.policy-close:hover {
    background: var(--secondary-orange);
    transform: scale(1.1);
}

.policy-text {
    padding: 3rem 2.5rem 2rem 2.5rem;
    overflow-y: auto;
    max-height: 85vh;
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
}

.policy-text h1 {
    font-family: 'Fredoka', cursive;
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    text-align: center;
}

.policy-text h2 {
    font-family: 'Fredoka', cursive;
    font-size: 1.3rem;
    color: var(--dark-text);
    margin: 1.5rem 0 1rem 0;
    border-bottom: 2px solid var(--pastel-pink);
    padding-bottom: 0.5rem;
}

.policy-text p, .policy-text li {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.policy-text ul {
    margin: 1rem 0 1rem 1.5rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .policy-popup {
        padding: 10px;
    }
    
    .policy-content {
        width: 95%;
        max-height: 90vh;
        border-radius: 15px;
    }
    
    .policy-text {
        padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    }
    
    .policy-text h1 {
        font-size: 1.5rem;
    }
    
    .policy-text h2 {
        font-size: 1.1rem;
    }
    
    .policy-text p, .policy-text li {
        font-size: 0.9rem;
    }
    
    .policy-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .policy-text {
        padding: 2rem 1rem 1rem 1rem;
    }
    
    .policy-text h1 {
        font-size: 1.3rem;
    }
    
    .policy-text h2 {
        font-size: 1rem;
    }
    
    .policy-text p, .policy-text li {
        font-size: 0.85rem;
    }
}

/* Compact Social Media Icons */
.social-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
    justify-content: flex-start;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: white;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

/* Individual platform colors and effects */
.social-link.email:hover {
    background: linear-gradient(135deg, #EA4335, #FBBC05);
    border-color: #EA4335;
}

.social-link.tiktok:hover {
    background: linear-gradient(135deg, #000000, #ff0050);
    border-color: #ff0050;
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCB045);
    border-color: #FD1D1D;
}

.social-link.youtube:hover {
    background: linear-gradient(135deg, #FF0000, #CC0000);
    border-color: #FF0000;
}

.social-link.facebook:hover {
    background: linear-gradient(135deg, #1877F2, #42A5F5);
    border-color: #1877F2;
}

.social-link:hover .social-icon svg {
    transform: scale(1.2);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .social-links {
        gap: 0.6rem;
        justify-content: center;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .social-links {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .social-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}




/* Mobile - Desktop-like Cards (768px and below) */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        justify-content: center !important;
        padding: 0 10px !important;
    }
    
    /* Scale down cards to look exactly like desktop */
    .product-card {
        width: 100% !important;
        max-width: 180px !important; /* Scaled from 300px */
        height: 312px !important; /* Scaled from 520px (60% of original) */
        margin: 0 auto !important;
        transform-origin: center !important;
    }
    
    .product-image {
        height: 162px !important; /* Scaled from 270px */
        width: 162px !important; /* Scaled from 270px */
        margin: 0 auto !important;
        font-size: 2.4rem !important; /* Scaled from 4rem */
    }
    
    .product-info {
        padding: 0.1rem 0.2rem 0 0.5rem !important; /* Scaled from 1.5rem */
    }
    
    .product-title {
        font-size: 0.72rem !important; /* Scaled from 1.2rem */
        margin-bottom: -0.3rem !important; /* Scaled from -0.5rem */
        line-height: 1.3 !important;
        height: 1.56em !important; /* Scaled from 2.6em */
    }
    
    .product-price, .sale-price {
        font-size: 0.84rem !important; /* Scaled from 1.4rem */
        margin-bottom: 0.6rem !important; /* Scaled from 1rem */
    }
    
    .product-description {
        font-size: 0.54rem !important; /* Scaled from 0.9rem */
        margin-bottom: auto !important;
        line-height: 1.4 !important;
        height: 2.16em !important; /* Scaled from 3.6em */
    }
    
    .product-actions-fixed {
        padding: 0.9rem !important; /* Scaled from 1.5rem */
        gap: 6px !important; /* Scaled from 10px */
    }
    
    .wishlist-btn {
        min-width: 27px !important; /* Scaled from 45px */
        height: 27px !important; /* Scaled from 45px */
        font-size: 0.9rem !important; /* Scaled from 1.5rem */
        padding: 7.2px !important; /* Scaled from 12px */
    }
    
    .add-to-cart {
        padding: 9px 12px !important; /* Scaled from 15px 20px */
        font-size: 0.66rem !important; /* Scaled from 1.1rem */
        border-radius: 9px !important; /* Scaled from 15px */
    }
    
    /* Scale badges and thumbnails */
    .product-badge {
        padding: 3px 9px !important; /* Scaled from 5px 15px */
        font-size: 0.54rem !important; /* Scaled from 0.9rem */
        border-radius: 12px !important; /* Scaled from 20px */
    }
    
    .product-media-preview {
        gap: 3.6px !important; /* Scaled from 6px */
        padding: 4.8px !important; /* Scaled from 8px */
        border-radius: 7.2px !important; /* Scaled from 12px */
    }
    
    .media-thumb {
        width: 21px !important; /* Scaled from 35px */
        height: 21px !important; /* Scaled from 35px */
        border-radius: 4.8px !important; /* Scaled from 8px */
    }
}

/* Very small mobile - even smaller but same proportions */
@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
        padding: 0 5px !important;
    }
    
    .product-card {
        max-width: 160px !important; /* Even smaller */
        height: 277px !important; /* Scaled accordingly */
    }
    
    .product-image {
        height: 144px !important;
        width: 144px !important;
        font-size: 2.1rem !important;
    }
    
    .product-title {
        font-size: 0.64rem !important;
    }
    
    .product-price, .sale-price {
        font-size: 0.75rem !important;
    }
    
    .product-description {
        font-size: 0.48rem !important;
    }
    
    .add-to-cart {
        font-size: 0.6rem !important;
        padding: 8px 10px !important;
    }
}

