/* ============================================
   EGHUT - MOBILE NAVIGATION & APP-LIKE STYLES
   Color System Based on Logo
   ============================================ */

/* ============ ROOT VARIABLES (From Logo) ============ */
:root {
    /* Brand Greens (logo G-curve) */
    --primary-dark: #0F5D2C;
    --primary: #1A7A3A;
    --primary-light: #4CAF50;
    --primary-soft: rgba(26, 122, 58, 0.08);
    --primary-glow: rgba(26, 122, 58, 0.25);

    /* Accent Cyan (logo G-gradient) */
    --accent-cyan: #29B6D8;
    --accent-cyan-light: #4DD4F0;
    --accent-cyan-soft: rgba(41, 182, 216, 0.1);

    /* Accent Red (logo speed lines) */
    --accent-red: #D62828;
    --accent-red-light: #E63946;
    --accent-red-soft: rgba(214, 40, 40, 0.08);

    /* Legacy Aliases (backward compatibility) */
    --primary-color: var(--primary);
    --secondary-color: var(--accent-cyan);

    /* Text Colors */
    --text-dark: #1F2937;
    --text-body: #374151;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;

    /* Neutrals */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;

    /* Background */
    --bg-body: #FFFFFF;
    --bg-soft: #F9FAFB;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-primary: 0 6px 20px rgba(26, 122, 58, 0.25);
    --shadow-red: 0 6px 20px rgba(214, 40, 40, 0.25);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;

    /* Layout */
    --bottom-nav-height: 65px;
    --header-height: 60px;
}

/* ============================================
   PAGE CONTAINER
   ============================================ */
.mobile-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background: var(--bg-body);
    min-height: 100vh;
    padding-bottom: calc(var(--bottom-nav-height) + 20px);
    position: relative;
}

/* ============================================
   APP-LIKE HEADER
   ============================================ */
.app-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    padding: 12px 15px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(15, 93, 44, 0.2);
}

.app-header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
}

.app-header-brand img {
    height: 32px;
    width: auto;
}

.app-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-header-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    text-decoration: none;
}

.app-header-btn:hover,
.app-header-btn:active {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.app-header-btn .badge-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 50%;
    border: 2px solid var(--primary);
}

/* ============================================
   SEARCH BAR (App-like)
   ============================================ */
.app-search-wrapper {
    padding: 12px 15px;
    background: var(--bg-body);
    position: relative;
}

.app-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    padding: 10px 16px;
    transition: var(--transition);
}

.app-search-box:focus-within {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.app-search-box i {
    color: var(--primary);
    font-size: 0.95rem;
}

.app-search-box input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.app-search-box input::placeholder {
    color: var(--text-light);
}

.app-search-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-primary);
    transition: var(--transition);
}

.app-search-btn:active {
    transform: scale(0.95);
}

/* ============================================
   CATEGORY PILLS
   ============================================ */
.category-pills {
    display: flex;
    gap: 8px;
    padding: 12px 15px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-pills::-webkit-scrollbar {
    display: none;
}

.category-pill {
    padding: 8px 18px;
    background: var(--gray-100);
    color: var(--primary);
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.category-pill:hover,
.category-pill.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.category-pill:active {
    transform: scale(0.96);
}

/* ============================================
   PRODUCT GRID (Mobile Optimized)
   ============================================ */
.product-grid-mobile {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 15px;
}

@media (min-width: 768px) {
    .product-grid-mobile {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (min-width: 992px) {
    .product-grid-mobile {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1200px) {
    .product-grid-mobile {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ============================================
   PRODUCT CARD (Mobile)
   ============================================ */
.product-card-mobile {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card-mobile:active {
    transform: scale(0.98);
    box-shadow: var(--shadow-md);
}

.product-card-mobile .product-img-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--gray-100);
}

.product-card-mobile .product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card-mobile:hover .product-img-wrap img {
    transform: scale(1.05);
}

.product-card-mobile .product-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-mobile .product-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
    margin-bottom: 6px;
    text-decoration: none;
}

.product-card-mobile .product-name:hover {
    color: var(--primary);
}

.product-card-mobile .product-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.product-card-mobile .product-price .old {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
}

/* Badges */
.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.badge-discount {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-red-light));
    color: #fff;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 700;
    box-shadow: var(--shadow-red);
}

.badge-new {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 700;
    box-shadow: var(--shadow-primary);
}

/* Add to cart button */
.product-card-mobile .add-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-primary);
    z-index: 5;
}

.product-card-mobile .add-btn:active {
    transform: scale(0.9);
}

.product-card-mobile .add-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

/* ============================================
   HERO SLIDER - MODERN MOBILE-FIRST
   ============================================ */
.hero-slider-section {
    position: relative;
    overflow: hidden;
}

.hero-slide-modern {
    min-height: 520px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 40px 0;
}

/* Decorative Circles */
.hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-bg-circle.circle-1 {
    top: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(77, 212, 240, 0.25) 0%, transparent 70%);
    animation: floatCircle 8s ease-in-out infinite;
}

.hero-bg-circle.circle-2 {
    bottom: -120px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(214, 40, 40, 0.2) 0%, transparent 70%);
    animation: floatCircle 10s ease-in-out infinite reverse;
}

@keyframes floatCircle {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

/* Dot Pattern */
.hero-bg-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Badge */
.hero-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    color: #fff;
    animation: fadeInUp 0.6s ease;
}

.hero-badge-modern i {
    color: #C1F24D;
    font-size: 0.85rem;
}

/* Title */
.hero-title-modern {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    color: #fff;
    animation: fadeInUp 0.7s ease 0.1s backwards;
}

.hero-title-modern .accent-text {
    background: linear-gradient(135deg, #C1F24D, #4DD4F0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle */
.hero-subtitle-modern {
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 25px;
    max-width: 560px;
    color: #fff;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* Search Bar in Hero */
.hero-search-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    max-width: 540px;
    margin-bottom: 25px;
    animation: fadeInUp 0.9s ease 0.3s backwards;
}

.hero-search-modern i {
    color: #1A7A3A;
    font-size: 1rem;
}

.hero-search-modern input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 0;
    font-size: 0.92rem;
    color: #1F2937;
    background: transparent;
}

.hero-search-modern input::placeholder {
    color: #9CA3AF;
}

.hero-search-modern button {
    background: linear-gradient(135deg, #1A7A3A, #29B6D8);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(26, 122, 58, 0.3);
}

.hero-search-modern button:hover {
    transform: scale(1.08) rotate(-10deg);
    box-shadow: 0 8px 25px rgba(26, 122, 58, 0.4);
}

/* CTA Buttons */
.hero-cta-modern {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn-hero-modern-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #C1F24D, #4DD4F0);
    color: #0F5D2C;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(193, 242, 77, 0.35);
    border: none;
}

.btn-hero-modern-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(193, 242, 77, 0.5);
    color: #0F5D2C;
}

.btn-hero-modern-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.btn-hero-modern-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
    transform: translateY(-3px);
}

/* Visual (Right side) */
.hero-visual-modern {
    text-align: center;
    animation: fadeInUp 1.1s ease 0.5s backwards;
}

.hero-visual-modern img {
    max-height: 380px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.hero-visual-modern i {
    font-size: 14rem;
    color: rgba(255, 255, 255, 0.12);
    animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Indicators */
.hero-indicators {
    z-index: 15;
    bottom: 25px;
}

.hero-indicators button {
    width: 30px !important;
    height: 4px !important;
    border-radius: 2px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border: none !important;
    margin: 0 4px !important;
    transition: all 0.3s !important;
}

.hero-indicators button.active {
    background: #C1F24D !important;
    width: 45px !important;
    box-shadow: 0 0 15px rgba(193, 242, 77, 0.6);
}

/* Controls */
.hero-control {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-slide-modern:hover .hero-control {
    opacity: 1;
}

.hero-control:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    color: #0F5D2C;
}

.hero-control.carousel-control-prev {
    left: 20px;
}

.hero-control.carousel-control-next {
    right: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   HERO MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero-title-modern {
        font-size: 2.2rem;
    }

    .hero-slide-modern {
        min-height: 480px;
    }
}

@media (max-width: 768px) {
    .hero-slide-modern {
        min-height: 500px;
        padding: 30px 0;
    }

    .hero-title-modern {
        font-size: 1.7rem;
        line-height: 1.2;
    }

    .hero-subtitle-modern {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .hero-badge-modern {
        font-size: 0.72rem;
        padding: 6px 14px;
        margin-bottom: 15px;
    }

    .hero-search-modern {
        padding: 5px 5px 5px 16px;
        margin-bottom: 20px;
    }

    .hero-search-modern input {
        font-size: 0.85rem;
        padding: 8px 0;
    }

    .hero-search-modern button {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .hero-cta-modern {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-modern-primary,
    .btn-hero-modern-outline {
        width: 100%;
        justify-content: center;
        padding: 12px 22px;
        font-size: 0.85rem;
    }

    .hero-control {
        display: none;
    }

    .hero-indicators {
        bottom: 15px;
    }
}

@media (max-width: 480px) {
    .hero-slide-modern {
        min-height: 460px;
    }

    .hero-title-modern {
        font-size: 1.5rem;
    }

    .hero-subtitle-modern {
        font-size: 0.85rem;
    }
}

/* ============================================
   PROMO CARDS (3 Circular) - Logo Colors
   ============================================ */
.promo-circles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent-cyan) 100%);
    position: relative;
    overflow: hidden;
}

.promo-circles::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(77, 212, 240, 0.25), transparent 70%);
    border-radius: 50%;
}

.promo-circle {
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.promo-circle:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.25);
}

.promo-circle:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: #fff;
}

.promo-circle .promo-label {
    font-size: 0.7rem;
    opacity: 0.95;
    margin-bottom: 4px;
    font-weight: 500;
}

.promo-circle .promo-value {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.promo-circle i {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #C1F24D;
}

/* ============================================
   FLASH DEAL SECTION
   ============================================ */
.flash-deal-card {
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-light) 100%);
    color: white;
    border-radius: var(--radius-md);
    padding: 15px;
    margin: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-red);
    position: relative;
    overflow: hidden;
}

.flash-deal-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.flash-deal-card h6 {
    margin: 0;
    font-weight: 700;
    font-size: 0.95rem;
}

.flash-deal-card small {
    opacity: 0.9;
    font-size: 0.75rem;
}

.flash-deal-timer {
    display: flex;
    gap: 5px;
    position: relative;
    z-index: 2;
}

.timer-box {
    background: rgba(0, 0, 0, 0.2);
    padding: 5px 10px;
    border-radius: 6px;
    text-align: center;
    min-width: 40px;
    backdrop-filter: blur(5px);
}

.timer-box .num {
    font-size: 1rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.timer-box .lbl {
    font-size: 0.6rem;
    opacity: 0.85;
    margin-top: 2px;
    display: block;
}

/* ============================================
   SERVICE PROVIDER CARDS (Logo-Based)
   ============================================ */
.service-provider-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.service-provider-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--accent-cyan-soft), transparent 70%);
    border-radius: 50%;
}

.service-provider-card:hover,
.service-provider-card:active {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--accent-cyan);
    color: var(--text-dark);
}

.service-provider-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--primary);
    box-shadow: 0 2px 8px var(--primary-soft);
    position: relative;
    z-index: 2;
}

/* Fallback avatar with initials */
.service-provider-avatar-fallback {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px var(--primary-soft);
}

.service-provider-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.service-provider-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-provider-name .verified-icon {
    color: var(--accent-cyan);
    font-size: 0.8rem;
}

.service-provider-category {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.service-provider-rating {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.service-provider-rating .stars {
    color: #FFC107;
    letter-spacing: 1px;
}

.service-provider-distance {
    background: var(--primary-soft);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    font-weight: 600;
}

.service-provider-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    margin-left: auto;
}

/* ============================================
   FLOATING ACTION BUTTON (FAB)
   ============================================ */
.fab {
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + 20px);
    right: 15px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-light) 100%);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 5px 20px rgba(214, 40, 40, 0.4);
    cursor: pointer;
    z-index: 1034;
    transition: var(--transition);
}

.fab:active {
    transform: scale(0.9);
}

.fab:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(214, 40, 40, 0.5);
}

@media (min-width: 992px) {
    .fab {
        display: none;
    }
}

/* ============================================
   BOTTOM NAVIGATION - CENTER CART BUTTON (BOLD)
   ============================================ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 68px;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    z-index: 1035;
    box-shadow: 0 -4px 20px rgba(15, 93, 44, 0.08);
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: #9CA3AF;
    font-size: 0.68rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 6px 4px;
    position: relative;
}

.bottom-nav-item i {
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: inherit;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: #1A7A3A;
}

.bottom-nav-item.active i {
    transform: translateY(-2px);
    color: #1A7A3A;
}

.bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    right: 25%;
    height: 3px;
    background: linear-gradient(90deg, #1A7A3A, #29B6D8);
    border-radius: 0 0 3px 3px;
}

/* ============================================
   CENTER CART BUTTON (ELEVATED + BOLD + GLOW)
   ============================================ */
.bottom-nav-item.cart-item {
    flex: 0 0 auto;
    width: 78px;
    position: relative;
    z-index: 10;
    justify-content: flex-end;
    padding-bottom: 8px;
}

/* The Elevated Circle */
.bottom-nav-item.cart-item i {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(145deg, #1A7A3A 0%, #0F5D2C 100%);
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-top: -38px;
    margin-bottom: 8px;
    border: 5px solid #ffffff;
    position: relative;
    z-index: 2;

    /* Triple Shadow for Bold Effect */
    box-shadow:
        0 0 0 3px rgba(26, 122, 58, 0.15),
        0 8px 20px rgba(26, 122, 58, 0.4),
        0 12px 30px rgba(41, 182, 216, 0.25),
        inset 0 -3px 8px rgba(0, 0, 0, 0.15),
        inset 0 3px 8px rgba(255, 255, 255, 0.2);

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated Glow Ring */
.bottom-nav-item.cart-item i::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(41, 182, 216, 0.3) 0%, transparent 70%);
    opacity: 0.8;
    z-index: -1;
    animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.2;
    }
}

/* Shine Effect (Rotating) */
.bottom-nav-item.cart-item i::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: linear-gradient(135deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 45%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.3) 55%,
        transparent 70%);
    animation: rotateShine 4s linear infinite;
    pointer-events: none;
}

@keyframes rotateShine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hover & Active States */
.bottom-nav-item.cart-item:hover i,
.bottom-nav-item.cart-item.active i {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 0 0 3px rgba(26, 122, 58, 0.2),
        0 12px 28px rgba(26, 122, 58, 0.5),
        0 18px 40px rgba(41, 182, 216, 0.35),
        inset 0 -3px 8px rgba(0, 0, 0, 0.15),
        inset 0 3px 8px rgba(255, 255, 255, 0.25);
}

.bottom-nav-item.cart-item:active i {
    transform: translateY(-1px) scale(0.98);
}

/* Cart Label - Bold */
.bottom-nav-item.cart-item > span:not(.nav-badge) {
    color: #1A7A3A;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

/* Cart Badge - Bold Red */
.bottom-nav-item .nav-badge {
    position: absolute;
    top: -4px;
    right: calc(50% - 24px);
    min-width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #E63946 0%, #D62828 100%);
    color: #fff;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border: 2.5px solid #ffffff;
    box-shadow: 0 3px 10px rgba(214, 40, 40, 0.5);
    z-index: 3;
    animation: badgeBounce 2s ease-in-out infinite;
}

@keyframes badgeBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* ============================================
   MOBILE NAV NON-CART ITEMS - Hover Effect
   ============================================ */
.bottom-nav-item:not(.cart-item):hover i,
.bottom-nav-item:not(.cart-item).active i {
    filter: drop-shadow(0 3px 6px rgba(26, 122, 58, 0.3));
}

.bottom-nav-item:not(.cart-item).active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30%;
    right: 30%;
    height: 3px;
    background: linear-gradient(90deg, #1A7A3A, #29B6D8);
    border-radius: 0 0 3px 3px;
    box-shadow: 0 2px 8px rgba(26, 122, 58, 0.4);
}

/* ============================================
   SKELETON LOADER
   ============================================ */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   RTL SUPPORT
   ============================================ */
[dir="rtl"] .app-header-actions {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .app-search-btn {
    right: auto;
    left: 22px;
}

[dir="rtl"] .bottom-nav-item .nav-badge {
    right: auto;
    left: calc(50% - 18px);
}

[dir="rtl"] .fab {
    right: auto;
    left: 15px;
}

[dir="rtl"] .product-card-mobile .add-btn {
    right: auto;
    left: 10px;
}

[dir="rtl"] .product-badge {
    left: auto;
    right: 8px;
}

[dir="rtl"] .service-provider-card {
    border-left: none;
    border-right: 4px solid var(--primary);
}

[dir="rtl"] .service-provider-price {
    margin-left: 0;
    margin-right: auto;
}

/* ============================================
   MOBILE ONLY
   ============================================ */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .mobile-only {
        display: none !important;
    }

    .mobile-container {
        padding-bottom: 20px;
    }

    .bottom-nav {
        display: none;
    }
}
