@import url("variables.css");
@import url("reset.css");
@import url("utilities.css");
@import url("header.css");
@import url("navigation.css");
@import url("mega_menu.css");
@import url("hero.css");
@import url("featured_categories.css");
@import url("product_card.css");
@import url("header_section.css");
@import url("topbar.css");
@import url("category_sidebar.css");
@import url("flash_sale.css");
@import url("best_seller.css");
@import url("footer.css");
@import url("home_sections.css");
@import url("product/product_sub_subcategories.css");
@import url("product/product_subcategories.css");
@import url("product/product_categories.css");
@import url("product/product_details.css");
@import url("product/all_products.css");
@import url("product/products_on_promotion.css");

@import url("customer/cart_and_wishlist.css");
@import url("customer/login.css");
@import url("customer/register.css");
@import url("customer/checkout.css");


.category-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 7px 12px;
    background: #147FD1;
    color: #fff;
    border-radius: 2px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    transition: .25s ease;
}

.category-cta i {
    font-size: 9px;
}

.category-cta:hover {
    background: #f5a623;
    color: #fff;
}

.featured-categories {
    padding: 60px 0;
    background: #f8f9fa;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-header div {
    flex: 1;
}

.section-subtitle {
    display: block;
    font-size: 14px;
    color: var(--primary, #FF4500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary, #FF4500);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 2px solid var(--primary, #FF4500);
    border-radius: 8px;
}

.view-all:hover {
    background: var(--primary, #FF4500);
    color: #fff;
    transform: translateX(5px);
}

.view-all i {
    transition: transform 0.3s ease;
}

.view-all:hover i {
    transform: translateX(5px);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
}

.category-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary, #FF4500);
}

.category-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    transition: color 0.3s ease;
}

.category-card:hover h3 {
    color: var(--primary, #FF4500);
}

.category-card p {
    font-size: 14px;
    color: #888;
    margin: 0;
}



/* Large Tablets (1024px and below) */
@media screen and (max-width: 1024px) {
    .featured-categories {
        padding: 50px 0;
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .category-card {
        min-height: 100px;
        padding: 25px 15px;
    }
    
    .category-card h3 {
        font-size: 16px;
    }
}

/* Tablets (768px and below) */
@media screen and (max-width: 768px) {
    .featured-categories {
        padding: 40px 0;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 30px;
        gap: 10px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .view-all {
        padding: 8px 16px;
        font-size: 14px;
        align-self: flex-start;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .category-card {
        padding: 20px 15px;
        min-height: 90px;
    }
    
    .category-card h3 {
        font-size: 15px;
        margin-bottom: 5px;
    }
    
    .category-card p {
        font-size: 13px;
    }
}

/* Mobile Phones (576px and below) */
@media screen and (max-width: 576px) {
    .featured-categories {
        padding: 30px 0;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .section-subtitle {
        font-size: 12px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .view-all {
        font-size: 13px;
        padding: 6px 14px;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .category-card {
        padding: 15px 10px;
        border-radius: 10px;
        min-height: 80px;
    }
    
    .category-card h3 {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .category-card p {
        font-size: 12px;
    }
}

/* Small Mobile Phones (375px and below) */
@media screen and (max-width: 375px) {
    .featured-categories {
        padding: 20px 0;
    }
    
    .section-header h2 {
        font-size: 18px;
    }
    
    .view-all {
        font-size: 12px;
        padding: 5px 12px;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .category-card {
        padding: 12px 8px;
        border-radius: 8px;
        min-height: 70px;
    }
    
    .category-card h3 {
        font-size: 13px;
        margin-bottom: 3px;
    }
    
    .category-card p {
        font-size: 11px;
    }
}

/* Animation for cards */
.category-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5) { animation-delay: 0.5s; }
.category-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.custom-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 380px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #147FD1;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.12);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.custom-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.custom-toast.success {
    border-left-color: #16a34a;
}

.custom-toast.error {
    border-left-color: #dc2626;
}

.custom-toast.info {
    border-left-color: #147FD1;
}

.custom-toast.warning {
    border-left-color: #f59e0b;
}

.custom-toast .toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eaf5ff;
    color: #147FD1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.custom-toast.success .toast-icon {
    background: #ecfdf3;
    color: #16a34a;
}

.custom-toast.error .toast-icon {
    background: #fef2f2;
    color: #dc2626;
}

.custom-toast.warning .toast-icon {
    background: #fffbeb;
    color: #f59e0b;
}

.custom-toast .toast-message {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: #172033;
    line-height: 1.4;
}

.custom-toast .toast-close {
    width: 22px;
    height: 22px;
    border: none;
    background: transparent;
    color: #98a2b3;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.custom-toast .toast-close:hover {
    background: #f1f5f9;
    color: #172033;
}

@media (max-width: 576px) {
    .custom-toast {
        top: 16px;
        right: 16px;
        left: 16px;
        min-width: 0;
        max-width: none;
    }
}

@media (prefers-color-scheme: dark) {
    .custom-toast {
        background: #1e293b;
        border-color: #334155;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    }

    .custom-toast .toast-message {
        color: #f1f5f9;
    }

    .custom-toast .toast-icon {
        background: rgba(20, 127, 209, 0.15);
        color: #4da3e0;
    }

    .custom-toast.success .toast-icon {
        background: rgba(22, 163, 74, 0.15);
        color: #4ade80;
    }

    .custom-toast.error .toast-icon {
        background: rgba(220, 38, 38, 0.15);
        color: #f87171;
    }

    .custom-toast.warning .toast-icon {
        background: rgba(245, 158, 11, 0.15);
        color: #fbbf24;
    }

    .custom-toast .toast-close {
        color: #64748b;
    }

    .custom-toast .toast-close:hover {
        background: #334155;
        color: #f1f5f9;
    }
}