﻿/* ==========================================================================
   Brand Identity Colors (GDF)
   ========================================================================== */
:root {
    --brand-dark: #2A2118;
    --brand-primary: #695543; /* Bronze/Brown */
    --brand-accent: #D3B689; /* Light Beige */
    --brand-action: #7B8441; /* Olive Green */
    /* Alternating Section Backgrounds */
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-brand-tint: #FDFBF9; /* Very subtle warm tint */

    --font-ar: 'Cairo', sans-serif;
    --transition: all 0.3s ease-in-out;
}

body {
    font-family: var(--font-ar);
    background-color: var(--bg-white);
    color: #333;
}

/* Background Utility Classes */
.section-bg-white {
    background-color: var(--bg-white);
}

.section-bg-light {
    background-color: var(--bg-light);
}

.section-bg-tint {
    background-color: var(--bg-brand-tint);
}

/* Colors Utilities */
.text-brand {
    color: var(--brand-primary) !important;
}

.text-action {
    color: var(--brand-action) !important;
}

.text-accent {
    color: var(--brand-accent) !important;
}

.bg-brand {
    background-color: var(--brand-primary) !important;
}

.bg-action {
    background-color: var(--brand-action) !important;
}

.bg-accent {
    background-color: var(--brand-accent) !important;
}

.hover-text-action:hover {
    color: var(--brand-action) !important;
}

.hover-text-accent:hover {
    color: var(--brand-accent) !important;
}

.transition {
    transition: var(--transition);
}

.z-index-master {
    z-index: 1040;
}

.section-title {
    position: relative;
    padding-bottom: 10px;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 60px;
        height: 4px;
        background-color: var(--brand-action);
        border-radius: 2px;
    }

/* Header & Search */
.store-logo {
    height: 45px;
    object-fit: contain;
}

.search-wrapper {
    max-width: 600px;
}

.search-group {
    border: 2px solid var(--brand-action);
    border-radius: 8px;
    overflow: hidden;
}

    .search-group .form-control:focus {
        box-shadow: none;
    }

    .search-group .dropdown-toggle {
        border-inline-end: 1px solid #ddd !important;
        border-radius: 0;
    }

.btn-action {
    background-color: var(--brand-action);
    border: none;
    border-radius: 0;
    transition: var(--transition);
}

    .btn-action:hover {
        background-color: #616833;
        color: white !important;
    }

/* Navigation */
.all-categories-btn {
  /*  width: 260px;*/
    border-radius: 8px 8px 0 0;
    margin-bottom: -1px;
}

/* Hero Slider Heights */
.heroSwiper {
    height: 480px !important;
}

.promo-banner {
    height: calc(240px - 0.5rem) !important;
}

@media (max-width: 991.98px) {
    .heroSwiper {
        height: 380px !important;
    }

    .promo-banner {
        height: 220px !important;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }
}

.hero-content {
    background: linear-gradient(90deg, rgba(42,33,24,0.95) 0%, transparent 100%);
}

.overlay-dark {
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 100%);
}

/* Circular Categories */
.category-item {
    display: block;
    transition: var(--transition);
}

    .category-item:hover {
        transform: translateY(-5px);
    }

.category-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition);
}

.category-item:hover .category-circle {
    border-color: var(--brand-action) !important;
    box-shadow: 0 8px 15px rgba(123, 132, 65, 0.2) !important;
}

/* Product Cards */
.product-card {
    transition: var(--transition);
}

    .product-card:hover {
        box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
        border-color: var(--brand-action) !important;
    }

.product-img img {
    transition: transform 0.4s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}

.product-title {
    font-size: 0.95rem;
    line-height: 1.5;
    height: 3em;
    color: #222;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.z-index-1 {
    z-index: 1;
}

/* Occasion Cards (Fixed layout to prevent collapse) */
.occasion-card {
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.occasion-img-wrap {
    height: 180px;
    width: 100%;
    overflow: hidden;
    background-color: #f8f9fa; /* Fallback color */
}

    .occasion-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.occasion-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
    border-color: var(--brand-action) !important;
}

    .occasion-card:hover img {
        transform: scale(1.08);
    }

.bg-opacity-85 {
    background-color: rgba(0, 0, 0, 0.85) !important;
}

/* Footer */
.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

    .footer-links a:hover {
        color: var(--brand-accent) !important;
        padding-inline-start: 10px;
    }



/* ==========================================================================
   PRODUCT DETAILS PAGE (PDP) STYLES
   ========================================================================== */

/* Breadcrumb Styling */
.breadcrumb-item + .breadcrumb-item::before {
    content: "›"; /* Replacing default slash with angle bracket for cleaner look */
    color: #6c757d;
}

/* Product Gallery Swipers */
.productMainSwiper {
    width: 100%;
    /* Fixed height to keep image aspect ratio clean */
    height: 400px;
    background-color: var(--bg-light);
}

    .productMainSwiper img {
        height: 100%;
        width: 100%;
        object-fit: contain; /* Ensures the whole bottle shows without cropping */
    }

.productThumbSwiper {
    box-sizing: border-box;
    padding: 10px 0;
    height: 120px;
}

    .productThumbSwiper .swiper-slide {
        width: 25%;
        height: 100%;
        opacity: 0.5;
        transition: var(--transition);
    }

    .productThumbSwiper .swiper-slide-thumb-active {
        opacity: 1;
        border-color: var(--brand-action) !important;
    }

/* Branding Radio Buttons */
.btn-check:checked + .btn-outline-brand {
    background-color: var(--brand-action);
    color: white;
    border-color: var(--brand-action);
}

/* Upload Zone */
.upload-zone {
    border-color: #dee2e6 !important;
}

    .upload-zone.hover-bg-tint:hover {
        background-color: var(--bg-brand-tint) !important;
        border-color: var(--brand-action) !important;
        color: var(--brand-action);
    }

/* Quantity Button Resets */
.qty-btn {
    width: 40px;
}

.qty-selector input[type="number"]::-webkit-inner-spin-button,
.qty-selector input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Tab Overrides */
#pdp-tabs .nav-link {
    color: var(--text-muted);
    border: 1px solid transparent;
}

    #pdp-tabs .nav-link.active {
        background-color: var(--brand-primary);
        color: white;
    }

    #pdp-tabs .nav-link:hover:not(.active) {
        border-color: var(--brand-primary);
        color: var(--brand-primary);
    }

/* Utilities */
.w-15px {
    width: 15px;
    text-align: center;
}

.hover-scale:hover {
    transform: scale(1.02);
}


/* ==========================================================================
   CART & CHECKOUT PAGE STYLES
   ========================================================================== */

/* Item Hover Borders */
.hover-border-action {
    border: 1px solid transparent;
}

    .hover-border-action:hover {
        border-color: var(--brand-action) !important;
    }

/* Quantity Button Resets for Cart */
.qty-selector {
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
}

.qty-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-selector input[type="number"]::-webkit-inner-spin-button,
.qty-selector input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Accordion Overrides for Promo Code */
.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--brand-action);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,0.1);
}

.border-brand {
    border: 1px solid var(--brand-primary);
}

/* Checkout specific */
.checkout-step-number {
    box-shadow: 0 4px 10px rgba(105, 85, 67, 0.3);
}

.form-control-lg, .form-select-lg {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.form-control:focus, .form-select:focus {
    background-color: #fff !important;
    border: 1px solid var(--brand-action) !important;
    box-shadow: 0 0 0 3px rgba(123, 132, 65, 0.1) !important;
}

/* Upload Zone (Checkout Step 3) */
.border-dashed {
    border-style: dashed !important;
    border-color: #ced4da !important;
}

.upload-zone:hover {
    background-color: var(--bg-brand-tint) !important;
    border-color: var(--brand-action) !important;
}

/* Input group text fix for LTR text inside RTL page */
.input-group-text {
    font-weight: 600;
}

/* Simple scale hover effect */
.hover-scale {
    transition: transform 0.2s ease;
}

    .hover-scale:hover {
        transform: scale(1.02);
    }

/* ====================================================
   HOME PAGE: CATEGORY PILLS NAVIGATION
   ==================================================== */
.category-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    color: #495057 !important; /* Forces dark gray text, removes default blue */
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none !important; /* Removes hyperlink underline */
    white-space: nowrap;
}

    .category-pill i {
        font-size: 1.1rem;
        color: var(--brand-action);
        transition: all 0.3s ease;
    }

    .category-pill:hover {
        border-color: var(--brand-action);
        background-color: var(--brand-action);
        color: #ffffff !important;
        box-shadow: 0 8px 20px rgba(123, 132, 65, 0.2);
    }

        .category-pill:hover i {
            color: #ffffff;
        }

    /* Specific styling for the 'All Products' active pill */
    .category-pill.bg-brand {
        background-color: var(--brand-primary) !important;
        border-color: var(--brand-primary) !important;
        color: #ffffff !important;
    }

        .category-pill.bg-brand i {
            color: #ffffff !important;
        }

/* ====================================================
   HOME PAGE: LUXURY FEATURED COLLECTIONS
   ==================================================== */
.luxury-collection-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #f1f3f5;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

    .luxury-collection-card:hover {
        box-shadow: 0 15px 35px rgba(0,0,0,0.06);
        border-color: transparent;
        transform: translateY(-5px);
    }

/* CRITICAL: This forces all images to be the exact same height */
.luxury-img-wrap {
    height: 240px;
    width: 100%;
    overflow: hidden;
    background-color: #f8f9fa;
}

    /* CRITICAL: object-fit cover ensures images don't stretch or squash */
    .luxury-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s ease;
    }

.luxury-collection-card:hover .luxury-img-wrap img {
    transform: scale(1.08);
}

.luxury-collection-title {
    padding: 20px;
    text-align: center;
    font-weight: 700;
    color: #343a40;
    margin: 0;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.luxury-collection-card:hover .luxury-collection-title {
    color: var(--brand-action);
}


/* ====================================================
   HOME PAGE: PREMIUM B2B VOLUME DEALS
   ==================================================== */
.premium-deals-section {
    overflow: hidden;
}

.deal-timer-pill {
    min-width: 280px;
    justify-content: center;
}

.premium-deal-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

    .premium-deal-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
        border-color: var(--brand-accent) !important;
    }

.deal-img-wrap {
    height: 280px;
    background: radial-gradient(circle, #ffffff 0%, #f8f9fa 100%);
}

    .deal-img-wrap img {
        max-height: 90%;
        max-width: 90%;
        object-fit: contain;
        transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

.premium-deal-card:hover .deal-img-wrap img {
    transform: scale(1.1);
}

/* Glass-morphic Hover Actions */
.deal-action-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
}

.premium-deal-card:hover .deal-action-overlay {
    opacity: 1;
}

.btn-icon-blur {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    color: #343a40;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,0.05);
}

    .btn-icon-blur:hover {
        background: var(--brand-action);
        color: #ffffff;
        transform: scale(1.15);
        border-color: var(--brand-action);
    }

/* Swiper Pagination Fixes */
.premiumFlashSwiper .swiper-pagination-bullet {
    background: #adb5bd;
    opacity: 0.5;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.premiumFlashSwiper .swiper-pagination-bullet-active {
    background: var(--brand-action);
    opacity: 1;
    width: 25px;
    border-radius: 5px;
}



/* Ensure Category Pill Swiper respects container width and hides overflow to allow swiping */
.categoryPillSwiper {
    width: 100%;
    overflow: hidden !important;
    padding: 10px 5px !important;
}

    /* Force slides to adjust to the content width of the pill */
    .categoryPillSwiper .swiper-slide {
        width: auto !important;
    }

/* Fix Swiper pagination colors for the new Occasion Swiper */
.occasionSwiper .swiper-pagination-bullet,
.premiumFlashSwiper .swiper-pagination-bullet {
    background: #adb5bd;
    opacity: 0.5;
    width: 8px;
    height: 8px;
    transition: all 0.3s ease;
}

.occasionSwiper .swiper-pagination-bullet-active,
.premiumFlashSwiper .swiper-pagination-bullet-active {
    background: var(--brand-action);
    opacity: 1;
    width: 25px;
    border-radius: 5px;
}


/* ==========================================================================
   CATEGORY PAGE UI (Filters & Layout)
   ========================================================================== */
.category-banner {
    border-bottom: 4px solid var(--brand-accent);
}

.section-min-height {
    min-height: 70vh;
}

.filter-sidebar {
    position: sticky;
    top: 100px;
    z-index: 10;
}

/* Custom ASP.NET Checkbox Styling */
.custom-checkbox {
    cursor: pointer;
    user-select: none;
    transition: var(--transition-fast);
}

    .custom-checkbox:hover {
        color: var(--brand-dark) !important;
    }

    .custom-checkbox input[type="checkbox"] {
        width: 1.2em;
        height: 1.2em;
        accent-color: var(--brand-action);
        cursor: pointer;
        border-radius: 4px;
    }

/* Premium Pagination */
.pagination .page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.pagination .page-item.active .page-link {
    background-color: var(--brand-action);
    border-color: var(--brand-action);
}

.hover-bg-light:hover {
    background-color: var(--bg-brand-tint) !important;
    color: var(--brand-action) !important;
}


/* ====================================================
   PREMIUM ADD TO CART BUTTON
   ==================================================== */
.btn-premium-add {
    background-color: rgba(123, 132, 65, 0.08); /* Soft Brand Tint */
    color: var(--brand-action) !important;
    border: 1px solid transparent;
    overflow: hidden;
}

/* Floating Icon Badge */
.icon-wrap-cart {
    background-color: #ffffff;
    color: var(--brand-action);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

/* Hover State Transformation */
.btn-premium-add:hover {
    background-color: var(--brand-action);
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(123, 132, 65, 0.25) !important;
    transform: translateY(-2px);
}

    .btn-premium-add:hover .icon-wrap-cart {
        background-color: rgba(255, 255, 255, 0.25);
        color: #ffffff;
        box-shadow: none;
        transform: scale(1.1);
    }

/* ====================================================
   PRODUCT DETAILS UI EXTENSIONS
   ==================================================== */
.tier-card {
    transition: var(--transition-fast);
}

    .tier-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
    }

/* Ensure Tabs maintain Brand Colors */
#pdp-tabs .nav-link {
    color: var(--text-muted);
    border: 1px solid transparent;
}

    #pdp-tabs .nav-link.active {
        background-color: var(--brand-primary);
        color: #ffffff;
        box-shadow: 0 4px 15px rgba(105, 85, 67, 0.2);
    }

    #pdp-tabs .nav-link:hover:not(.active) {
        border-color: var(--brand-primary);
        color: var(--brand-primary);
    }

/* Swiper Thumbnail Overrides for PDP */
.productThumbSwiper .swiper-slide {
    height: 90px;
}

    .productThumbSwiper .swiper-slide img {
        opacity: 0.5;
        transition: var(--transition-fast);
    }

.productThumbSwiper .swiper-slide-thumb-active img {
    opacity: 1;
    transform: scale(1.1);
}


/* ====================================================
   PREMIUM RADIO BUTTON CARDS (Branding Options)
   ==================================================== */
.b2b-radio-list {
    display: flex;
    flex-direction: column;
/*    gap: 12px;*/
}

    .b2b-radio-list input[type="radio"] {
        display: none; /* Hide default radio */
    }

    .b2b-radio-list label {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 16px 20px;
        background-color: #ffffff;
        border: 2px solid #e9ecef;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        margin: 0 !important;
    }

        .b2b-radio-list label:hover {
            border-color: var(--brand-accent);
            background-color: var(--bg-brand-tint);
            transform: translateY(-2px);
        }

        /* Custom Animated Radio Dot */
        .b2b-radio-list label::before {
            content: '';
            display: inline-block;
            width: 22px;
            height: 22px;
            border: 2px solid #adb5bd;
            border-radius: 50%;
            margin-inline-end: 15px; /* RTL spacing */
            transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            flex-shrink: 0;
        }

    /* Selected State */
    .b2b-radio-list input[type="radio"]:checked + label {
        border-color: var(--brand-action);
        background-color: rgba(123, 132, 65, 0.04);
        box-shadow: 0 4px 15px rgba(123, 132, 65, 0.08);
    }

        .b2b-radio-list input[type="radio"]:checked + label::before {
            border-color: var(--brand-action);
            background-color: var(--brand-action);
            box-shadow: inset 0 0 0 4px #ffffff; /* Creates the inner dot */
        }

/* ====================================================
   SWIPER ARROWS FIX & BRANDING
   ==================================================== */
.productMainSwiper {
    /* Ensure arrows don't clip outside */
    padding: 0 10px;
}

.gallery-arrow {
    background-color: #ffffff;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    color: var(--brand-action) !important; /* Brand Color */
    transition: all 0.2s ease;
    opacity: 0;
    z-index: 20 !important; /* CRITICAL: Forces arrows above images */
    cursor: pointer;
    pointer-events: auto; /* CRITICAL: Ensures clicks register */
}

.productMainSwiper:hover .gallery-arrow {
    opacity: 1;
}

.gallery-arrow:hover {
    background-color: var(--brand-action);
    color: #ffffff !important;
    transform: scale(1.1);
}

/* Override default swiper arrow icons */
.gallery-arrow::after {
    font-size: 1.2rem !important;
    font-weight: 900;
}


/* ====================================================
   B2B CHECKOUT WIZARD STEPPER
   ==================================================== */
.checkout-stepper .step-item {
    width: 80px;
    color: #adb5bd;
    transition: all 0.4s ease;
}

.checkout-stepper .step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f8f9fa;
    border: 3px solid #dee2e6;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    box-shadow: 0 0 0 5px #ffffff; /* Fakes transparency gap over line */
}

/* Active & Completed Steps */
.checkout-stepper .step-item.active {
    color: var(--brand-action);
}

    .checkout-stepper .step-item.active .step-circle {
        background-color: var(--brand-action);
        border-color: var(--brand-action);
        color: #ffffff;
        box-shadow: 0 0 0 5px #ffffff, 0 5px 15px rgba(123, 132, 65, 0.3);
    }

.checkout-stepper .progress {
    background-color: #dee2e6;
    border-radius: 5px;
    overflow: hidden;
}

.checkout-stepper .progress-bar {
    transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Upload Zone */
.upload-zone {
    transition: var(--transition-fast);
}

.hover-bg-white:hover {
    background-color: #ffffff !important;
    border-color: var(--brand-action) !important;
}


.otp-input {
    width: 50px;
    height: 60px;
    font-size: 1.5rem;
    text-align: center;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    background-color: #f8f9fa;
    transition: all 0.2s ease;
}

    .otp-input:focus {
        border-color: var(--brand-action);
        background-color: #ffffff;
        box-shadow: 0 0 0 4px rgba(123, 132, 65, 0.1);
        outline: none;
    }

.font14{
    font-size:14px !important;
}


.checkout-stepper .step-item {
    width: 80px;
    color: #adb5bd;
    transition: all 0.4s ease;
}

.checkout-stepper .step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f8f9fa;
    border: 3px solid #dee2e6;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    box-shadow: 0 0 0 5px #ffffff;
}

.checkout-stepper .step-item.active {
    color: var(--brand-action);
}

    .checkout-stepper .step-item.active .step-circle {
        background-color: var(--brand-action);
        border-color: var(--brand-action);
        color: #ffffff;
        box-shadow: 0 0 0 5px #ffffff, 0 5px 15px rgba(123, 132, 65, 0.3);
    }

.checkout-stepper .progress {
    background-color: #dee2e6;
    border-radius: 5px;
    overflow: hidden;
}

.checkout-stepper .progress-bar {
    transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.upload-zone {
    transition: var(--transition-fast);
}

    .upload-zone:hover {
        background-color: #ffffff !important;
        border-color: var(--brand-action) !important;
    }

body {
    background-color: #f8f9fa;
}

.auth-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}

.auth-card {
    max-width: 480px;
    width: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Premium B2B Input Focus */
.form-control:focus {
    box-shadow: none;
    border-color: var(--brand-action);
    background-color: #ffffff !important;
}

/* OTP Inputs */
.otp-input {
    letter-spacing: 0.5rem;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 700;
}


.dashboard-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

    .dashboard-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
    }

.kpi-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.table-custom th {
    background-color: #f8f9fa;
    color: #6c757d;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e9ecef;
    padding: 1rem;
}

.table-custom td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f3f5;
    color: #495057;
    font-weight: 500;
}

.table-custom tbody tr {
    transition: background-color 0.2s ease;
}

    .table-custom tbody tr:hover {
        background-color: #fdfdfe;
    }

.status-badge {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-processing {
    background-color: #cce5ff;
    color: #004085;
}

.status-completed {
    background-color: #d4edda;
    color: #155724;
}

.status-cancelled {
    background-color: #f8d7da;
    color: #721c24;
}



/* Modern B2B SaaS Color Palette & Variables */
:root {
    --surface-color: #ffffff;
    --background-color: #f8fafc;
    --border-soft: rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.08);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    background-color: var(--background-color);
}

/* Premium Card Styling */
.saas-card {
    background: var(--surface-color);
    border: 1px solid var(--border-soft);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

    .saas-card:hover {
        box-shadow: var(--shadow-md);
    }

/* Interactive KPI Cards */
.kpi-card {
    position: relative;
    overflow: hidden;
}

    .kpi-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-hover);
    }

.kpi-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.kpi-card:hover .kpi-icon-wrap {
    transform: scale(1.1);
}

/* Subtle Decorative Gradients */
.kpi-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0,0,0,0.03) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    pointer-events: none;
}

/* Next-Gen Table Styling */
.table-saas {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
    margin-top: -0.5rem;
}

    .table-saas th {
        background: transparent;
        color: #64748b;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 1rem 1.25rem;
        border: none;
        border-bottom: 1px solid var(--border-soft);
    }

    .table-saas td {
        background: var(--surface-color);
        padding: 1.25rem;
        vertical-align: middle;
        color: #334155;
        font-weight: 500;
        font-size: 0.95rem;
        border-top: 1px solid var(--border-soft);
        border-bottom: 1px solid var(--border-soft);
        transition: var(--transition-smooth);
    }

        .table-saas td:first-child {
            border-right: 1px solid var(--border-soft);
            border-top-right-radius: 1rem;
            border-bottom-right-radius: 1rem;
        }

        .table-saas td:last-child {
            border-left: 1px solid var(--border-soft);
            border-top-left-radius: 1rem;
            border-bottom-left-radius: 1rem;
        }

    .table-saas tbody tr:hover td {
        background: #fdfdfe;
        border-color: rgba(0,0,0,0.1);
        box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    }

/* Modern Dot Badges */
.saas-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.4rem 1rem;
    background: var(--surface-color);
    border: 1px solid var(--border-soft);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* Action Buttons */
.btn-saas-light {
    background: #f1f5f9;
    color: #475569;
    border: none;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

    .btn-saas-light:hover {
        background: #e2e8f0;
        color: #0f172a;
    }

/* Utility */
.tracking-wide {
    letter-spacing: 0.05em;
}


/* Luxury Glassmorphism Variables */
:root {
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --luxury-dark: #0f172a;
}

/* Abstract Background Element for Depth */
.page-bg-accent {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.05) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.page-bg-accent-2 {
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(32, 201, 151, 0.05) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

/* The Glass Card */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 1.5rem;
}

/* Premium Swiper Adjustments */
.productMainSwiper {
    border-radius: 1.25rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.productThumbSwiper .swiper-slide {
    border-radius: 0.75rem;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.productThumbSwiper .swiper-slide-thumb-active {
    border-color: var(--luxury-dark);
    opacity: 1;
}

/* Branding Radio Buttons - Executive Style */
.b2b-radio-list input[type="radio"] {
    display: none;
}

.b2b-radio-list label {
    display: block;
    width: 100%;
    padding: 1rem 1.25rem;
    margin-bottom: 0.5rem;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.b2b-radio-list input[type="radio"]:checked + label {
    background: var(--luxury-dark);
    color: #fff !important;
    border-color: var(--luxury-dark);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
}

    .b2b-radio-list input[type="radio"]:checked + label .text-muted {
        color: rgba(255,255,255,0.7) !important;
    }

    .b2b-radio-list input[type="radio"]:checked + label .text-dark {
        color: #ffffff !important;
    }

/* QTY Control */
.qty-luxury {
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(0,0,0,0.08);
}

    .qty-luxury button {
        color: var(--luxury-dark);
    }

    .qty-luxury input {
        color: var(--luxury-dark);
        font-weight: 800;
        font-size: 1.25rem;
    }


:root {
    --surface-color: #ffffff;
    --background-color: #f8fafc;
    --border-soft: rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.04);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    background-color: var(--background-color);
}

.saas-card {
    background: var(--surface-color);
    border: 1px solid var(--border-soft);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.stepper-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 1.5rem 0;
}

    .stepper-wrapper::before {
        content: '';
        position: absolute;
        top: 24px;
        left: 10%;
        right: 10%;
        height: 4px;
        background: var(--border-soft);
        z-index: 0;
        border-radius: 2px;
    }

.step {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 25%;
}

.step-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--border-soft);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto;
    font-size: 1.25rem;
    transition: var(--transition-smooth);
    box-shadow: 0 0 0 6px var(--surface-color);
}

.step.active .step-icon {
    border-color: var(--brand-action);
    color: var(--brand-action);
    background: rgba(13, 110, 253, 0.05);
}

.step.completed .step-icon {
    background: var(--brand-action);
    border-color: var(--brand-action);
    color: #fff;
}

.step-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
}

.step.active .step-title, .step.completed .step-title {
    color: #0f172a;
}

.table-saas {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

    .table-saas th {
        background: #f8fafc;
        color: #64748b;
        font-size: 0.75rem;
        font-weight: 700;
        padding: 1rem 1.25rem;
        border-top: 1px solid var(--border-soft);
        border-bottom: 1px solid var(--border-soft);
    }

    .table-saas td {
        padding: 1.25rem;
        vertical-align: middle;
        border-bottom: 1px solid var(--border-soft);
    }





.saas-card {
    background: var(--surface-color);
    border: 1px solid var(--border-soft);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-sm);
}

/* Search Bar Hero */
.search-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
}

    .search-hero::after {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 50%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    }

.search-input-wrapper {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 0.5rem;
}

    .search-input-wrapper input {
        background: transparent;
        border: none;
        color: white;
        padding-right: 1.5rem;
        font-size: 1.1rem;
    }

        .search-input-wrapper input::placeholder {
            color: rgba(255,255,255,0.6);
        }

        .search-input-wrapper input:focus {
            outline: none;
            box-shadow: none;
        }

/* Product Card */
.product-card {
    transition: var(--transition-smooth);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
        border-color: rgba(13, 110, 253, 0.3);
    }

.product-img-wrap {
    height: 200px;
    padding: 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-soft);
    border-top-left-radius: 1.25rem;
    border-top-right-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .product-img-wrap img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
        transition: transform 0.5s ease;
    }

.product-card:hover .product-img-wrap img {
    transform: scale(1.08);
}

/* --- Static Pages Premium Styles --- */
.static-page-hero {
    background: linear-gradient(135deg, var(--brand-brown), #2A211D);
    padding: 5rem 0;
    color: white;
    text-align: center;
    border-radius: 0 0 3rem 3rem;
    margin-bottom: -3rem;
    position: relative;
    z-index: 1;
}

.static-page-wrapper {
    position: relative;
    z-index: 2;
    margin-top: -3rem;
    margin-bottom: 4rem;
}

.static-content-card {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 4rem;
    box-shadow: 0 20px 40px rgba(92, 75, 65, 0.08);
    border: 1px solid rgba(0,0,0,0.03);
}

.static-title {
    font-weight: 800;
    color: var(--brand-brown);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.static-text {
    color: #4b5563;
    line-height: 2.2;
    font-size: 1.05rem;
    font-weight: 500;
}

.static-list {
    padding-right: 1.5rem;
}

    .static-list li {
        margin-bottom: 1rem;
        position: relative;
        color: #4b5563;
        line-height: 1.8;
    }

        .static-list li::marker {
            color: var(--brand-green);
        }

/* FAQ Accordion Premium */
.premium-accordion .accordion-item {
    border: none;
    background: transparent;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 0.5rem;
}

.premium-accordion .accordion-button {
    background: transparent !important;
    font-weight: 700;
    color: var(--brand-brown);
    box-shadow: none !important;
    padding: 1.5rem 1rem;
    font-size: 1.1rem;
}

    .premium-accordion .accordion-button:not(.collapsed) {
        color: var(--brand-green);
    }

.premium-accordion .accordion-body {
    padding: 0 1rem 1.5rem 1rem;
    color: #6b7280;
    line-height: 2;
    font-weight: 500;
}


/* --- Premium Page Header Banner --- */
.page-header-banner {
    background: linear-gradient(135deg, var(--brand-brown, #5C4B41) 0%, #2A211D 100%);
    padding: 5rem 0 6rem 0;
    text-align: center;
    color: #ffffff;
    position: relative;
}

    .page-header-banner::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: var(--brand-green, #818C45);
    }

.page-title {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.page-breadcrumb {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
}

    .page-breadcrumb a {
        color: #ffffff;
        text-decoration: none;
        transition: opacity 0.2s;
    }

        .page-breadcrumb a:hover {
            opacity: 1;
            color: var(--brand-green, #818C45);
        }

/* --- Premium Content Area --- */
.static-page-container {
    margin-top: -3rem; /* يرفع الكارت فوق البانر قليلاً ليعطي عمق 3D */
    position: relative;
    z-index: 10;
    padding-bottom: 4rem;
}

.premium-content-card {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 3.5rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.03);
}

.section-heading {
    font-weight: 800;
    color: var(--brand-brown, #5C4B41);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.lead-text {
    color: #4b5563;
    line-height: 2;
    font-size: 1.1rem;
    font-weight: 500;
}

/* --- Feature Grid (لتحسين شكل لماذا تختارنا) --- */
.feature-box {
    padding: 2rem;
    background: #F8F9FA;
    border-radius: 1.25rem;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .feature-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(92, 75, 65, 0.08);
        background: #ffffff;
        border-color: rgba(129, 140, 69, 0.2);
    }

.feature-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    background: rgba(129, 140, 69, 0.1);
    color: var(--brand-green, #818C45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-weight: 800;
    color: var(--brand-brown, #5C4B41);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.feature-desc {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

/* Navigation Hover Effect */
.nav-hover-fx {
    transition: color 0.2s ease-in-out;
    position: relative;
}

    .nav-hover-fx:hover {
        color: var(--brand-green, #818C45) !important;
    }

/* Swiper Setup for Auto-Width */
.navCategorySwiper .swiper-slide {
    width: auto !important; /* Allows items to size based on text length */
}

/* Premium Gradient Fades & Custom Arrows */
.nav-swiper-btn-next,
.nav-swiper-btn-prev {
    position: absolute;
    top: 0;
    height: 100%;
    width: 60px;
    display: flex;
    align-items: center;
    z-index: 10;
    cursor: pointer;
    color: var(--brand-brown, #5C4B41);
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

/* RTL Specific Gradients (assuming dir="rtl" on your body/html) */
.nav-swiper-btn-next {
    left: 0;
    justify-content: flex-start;
    padding-left: 10px;
    background: linear-gradient(to right, rgba(255,255,255,1) 30%, rgba(255,255,255,0) 100%);
}

.nav-swiper-btn-prev {
    right: 0;
    justify-content: flex-end;
    padding-right: 10px;
    background: linear-gradient(to left, rgba(255,255,255,1) 30%, rgba(255,255,255,0) 100%);
}

    /* Hide arrows when disabled by Swiper (e.g., reached the end) */
    .nav-swiper-btn-next.swiper-button-disabled,
    .nav-swiper-btn-prev.swiper-button-disabled {
        opacity: 0;
        pointer-events: none;
    }


/* إجبار القائمة على المحاذاة العمودية في المنتصف */
.navCategorySwiper {
    height: 100%;
}

    .navCategorySwiper .swiper-wrapper {
        align-items: center !important;
    }

/* تصميم الأزرار الدائرية الفاخرة للأسهم */
.nav-swiper-btn-next,
.nav-swiper-btn-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* التوسيط العمودي المثالي */
    width: 34px;
    height: 34px;
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* ظل ناعم يعطي عمق 3D */
    display: flex;
    align-items: center;
    justify-content: end;
    z-index: 10;
    cursor: pointer;
    color: var(--brand-brown, #5C4B41);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

    /* تأثير عند مرور الماوس */
    .nav-swiper-btn-next:hover,
    .nav-swiper-btn-prev:hover {
        background-color: var(--brand-green, #818C45);
        color: #ffffff;
        box-shadow: 0 6px 16px rgba(129, 140, 69, 0.3);
    }

/* ضبط الاتجاهات للغة العربية (RTL) */
.nav-swiper-btn-next {
    left: 5px;
}
/* السهم الأيسر */
.nav-swiper-btn-prev {
    right: 5px;
}
    /* السهم الأيمن */

    /* إخفاء السهم بنعومة عند الوصول لنهاية القائمة */
    .nav-swiper-btn-next.swiper-button-disabled,
    .nav-swiper-btn-prev.swiper-button-disabled {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

/* عمل تأثير ضبابي (Fade) على أطراف القائمة لتبدو احترافية */
.navCategorySwiper::before,
.navCategorySwiper::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 30px;
    z-index: 5;
    pointer-events: none;
}

.navCategorySwiper::before {
    right: 0;
    background: linear-gradient(to left, #ffffff 10%, transparent);
}

.navCategorySwiper::after {
    left: 0;
    background: linear-gradient(to right, #ffffff 10%, transparent);
}

.swiper-slide {
    flex-shrink:0 !important;
    position:relative;
    transition-property:transform;
    display:block;
    height:auto !important;
}



/* تأثير التلاشي الأبيض على أطراف القائمة في الجوال */
.fade-edges-mobile::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0; /* التلاشي من جهة اليسار للـ RTL */
    width: 40px;
    height: 100%;
    background: linear-gradient(to right, #ffffff 10%, transparent);
    z-index: 5;
    pointer-events: none;
}

.hero-slider-card {
    border-radius: 1.25rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* ظل ناعم للكارت */
}

/* تدرج لوني ذكي (داكن من الأسفل للنصوص، وشفاف من الأعلى لظهور الصورة) */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 1;
}

.hero-content-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center; /* توسيط المحتوى */
    text-align: center;
}

/* تحسين شارة (الأكثر مبيعاً) */
.badge-bestseller {
    background-color: #FFC107;
    color: #212529;
    padding: 0.5rem 1rem;
    border-radius: 50rem;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

/* تحسين الزر ليكون صديقاً للإبهام في الجوال (Thumb-friendly) */
.btn-hero-cta {
    width: 100%; /* العرض الكامل في الجوال */
    max-width: 300px; /* لا يتمدد كثيراً في التابلت */
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 50rem;
    background-color: var(--brand-green, #818C45);
    color: white;
    border: none;
    font-weight: bold;
    margin-top: 1.5rem;
}

/* إخفاء النص في الشاشات الصغيرة جداً توفيراً للمساحة */
@media (max-width: 576px) {
    .btn-corporate-account span {
        display: none;
    }

    .btn-corporate-account i {
        margin: 0 !important;
        font-size: 1.2rem;
    }
    /* تصغير الشعار قليلاً ليتناسب مع الجوال */
    .header-logo img {
        max-height: 45px;
    }
}

/* ارتفاع ذكي: 55 بكسل للجوال، و 65 بكسل للديسكتوب */
.main-nav-wrapper {
    height: 55px;
}

@media (min-width: 992px) {
    .main-nav-wrapper {
        height: 65px;
    }
    /* تكبير زر الفئات في الديسكتوب */
    .all-categories-btn {
        font-size: 1.1rem;
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

/* تأثير التلاشي (Fade) الاحترافي على أطراف القائمة */
.fade-edges::before, .fade-edges::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 35px;
    z-index: 5;
    pointer-events: none;
}

.fade-edges::before { /* يمين القائمة */
    right: 0;
    background: linear-gradient(to left, #ffffff 15%, transparent);
}

.fade-edges::after { /* يسار القائمة */
    left: 0;
    background: linear-gradient(to right, #ffffff 15%, transparent);
}

/* تأثيرات الروابط (Hover) */
.nav-category-link {
    color: #4b5563;
    transition: all 0.2s ease;
}

    .nav-category-link:hover {
        color: var(--brand-green, #818C45) !important;
    }

        .nav-category-link:hover i {
            color: var(--brand-green, #818C45) !important;
            opacity: 1 !important;
        }