/* Custom Layout Styles for Redesign */

/* Top Bar */
.top-bar {
    background-color: #730018;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left i {
    color: #f4c430;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right a {
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s;
}

.top-bar-right a:hover {
    opacity: 0.8;
}

/* Main Header */
.main-header-new {
    background-color: #480110;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo-new img {
    height: 100px;
    object-fit: contain;
}

/* Search Box */
.search-wrapper-new {
    flex: 1;
    max-width: 700px;
    display: flex;
    border: 2px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    height: 44px;
}

.search-category-dropdown {
    background-color: #f8f8f8;
    border: none;
    border-right: 1px solid #ddd;
    padding: 0 15px;
    color: #333;
    outline: none;
    font-size: 14px;
    cursor: pointer;
}

.search-input-new {
    flex: 1;
    padding: 0 15px;
    border: none;
    outline: none;
    font-size: 14px;
}

.search-btn-new {
    background-color: #730018;
    color: white;
    padding: 0 25px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}

.search-btn-new:hover {
    background-color: #5B0013;
}

/* Header Right Icons */
.header-right-new {
    display: flex;
    align-items: center;
    gap: 25px;
}

.health-plans-section {
    padding: 0px 40px;
}

.icon-link-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    position: relative;
    transition: color 0.2s, transform 0.2s;
}

.icon-link-new:hover {
    color: #F4C42F;
    transform: translateY(-5px);
}

.icon-link-new i {
    font-size: 22px;
}

.badge-count-new {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: #e53935;
    color: white;
    font-size: 10px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rewards-btn {
    background-color: #F4C42F;
    color: #5B0013;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.rewards-btn:hover {
    background-color: #f6cd54;
    color: #a20829;
}

/* Nav Bar */
.nav-bar-new {
    background-color: #5B0013;
    color: white;
    display: flex;
    align-items: center;
}

.all-categories-btn {
    background-color: #f4c430;
    color: #333;
    font-weight: 700;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    cursor: pointer;
}

.all-categories-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.all-categories-dropdown.show {
    display: flex;
    flex-direction: column;
}

.all-categories-dropdown a {
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s, color 0.2s;
}

.all-categories-dropdown a:last-child {
    border-bottom: none;
}

.all-categories-dropdown a:hover {
    background-color: #fff9e6;
    color: #5B0013;
}

.nav-links-new {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-left: 30px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-links-new::-webkit-scrollbar {
    display: none;
}

.nav-links-new a {
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links-new a:hover {
    color: #f4c430;
}

/* Hero Section */
.hero-section-new {
    display: flex;
    gap: 20px;
    padding: 20px;
    max-width: 1600px;
    margin: 0 auto;
}

.hero-slider-wrap {
    flex: 3;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1099 / 330;
}

.hero-slider-wrap .slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-banners-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.banner-img {
    width: 100%;
    border-radius: 12px;
    height: auto;
    display: block;
    transition: transform 0.2s;
}

.banner-img:hover {
    transform: translateY(-5px);
}

.banner-card {
    border-radius: 12px;
    overflow: hidden;
    display: block;
    transition: transform 0.2s;
}

.banner-card:hover {
    transform: translateY(-5px);
}

/* Main Container Layout (Left + Right Sidebar) */
.container {
    display: flex;
    gap: 20px;
    margin: 0 auto;
    align-items: flex-start;
}

.container>.left {
    flex: 1;
    min-width: 0;
}

.container>.right {
    width: 200px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.container>.right .banner-img {
    width: 100%;
    border-radius: 12px;
    height: auto;
    display: block;
}

.mobile-features-bar {
    display: none;
}

.features-bar {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    max-width: 1600px;
    margin: 0;
    /* top right bottom left */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex: 1;
    cursor: pointer;
    transition: transform 0.2s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item:not(:last-child) {
    border-right: 1px solid #e0e0e0;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fdf2f2;
    color: #730018;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-title {
    font-weight: 700;
    font-size: 14px;
    color: #333;
}

.feature-desc {
    font-size: 12px;
    color: #777;
}

/* Feature Modal Styles */
.feature-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.feature-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.feature-modal {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.feature-modal-overlay.active .feature-modal {
    transform: translateY(0);
}

.feature-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.feature-modal-close:hover {
    color: #333;
}

.feature-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #730018;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-modal-body {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.feature-modal-body ul {
    padding-left: 20px;
    margin-top: 10px;
}

.feature-modal-body li {
    margin-bottom: 8px;
}

/* Modern Heading Style */
.modern-heading {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 30px;
    text-align: left;
    position: relative;
    padding-bottom: 15px;
    width: 100%;
}

.modern-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 250px;
    max-width: 80%;
    background: linear-gradient(to right, #ff6b35 0%, #ff6b35 30%, transparent 100%);
    border-radius: 2px;
}

/* Category Section */
.category-section-new {
    text-align: left;
    padding: 0px 40px;
    margin: 30px auto;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #730018;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}


.category-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0;
}

.category-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #730018;
    transition: all 0.2s ease;
    font-size: 14px;
}

.category-scroll-btn:hover {
    background: #730018;
    color: #fff;
}

.category-scroll-btn.left {
    left: -18px;
}

.category-scroll-btn.right {
    right: -18px;
}

.category-circles {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 30px 20px 30px;
    /* top right bottom left */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    scroll-behavior: smooth;
    width: 100%;
}

.category-circles::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.category-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 130px;
    max-width: 130px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    text-decoration: none;
}

.category-circle-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.category-circle-img {
    width: 100%;
    height: 114px;
    border-radius: 6px;
    object-fit: cover;
    border: none;
    padding: 0;
    background-color: #f9f9f9;
}

.category-circle-name {
    font-weight: 500;
    font-size: 13px;
    color: #333;
    text-align: center;
    padding: 0 2px 4px 2px;
}

/* Main Layout: Products + Sidebar */
.main-layout-new {
    margin: 0 auto;
    display: flex;
    gap: 30px;
    padding: 20px 40px;
}

.main-content-area {
    flex: 3;
}

.sidebar-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-banner {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
}

.sidebar-banner img {
    width: 100%;
    display: block;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 16px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    color: white;
}

.whatsapp-float i {
    font-size: 24px;
}

/* Product Card Adjustments */
.product-card {
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

.product-badge-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e53935;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

/* Responsive Overrides */
@media (max-width: 1024px) {

    .hero-section-new,
    .main-layout-new {
        flex-direction: column;
    }

    .container>.right {
        display: none;
    }

    .top-bar-right a span {
        display: none;
    }

    .search-category-dropdown {
        display: none;
    }

    .nav-bar-new {
        display: flex !important;
        background-color: #5B0013 !important;
        padding: 0 !important;
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .all-categories-btn {
        display: none !important;
    }

    .nav-links-new {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        /* Smooth scrolling on mobile Safari */
        gap: 20px !important;
        padding: 12px 16px !important;
        width: 100% !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        padding-left: 16px !important;
    }

    .nav-links-new::-webkit-scrollbar {
        display: none !important;
    }

    .nav-links-new a {
        white-space: nowrap !important;
        font-size: 13px !important;
        flex-shrink: 0 !important;
        /* Prevent text link compression so it scrolls */
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .main-header-new {
        flex-direction: column;
        gap: 15px;
    }

    .header-right-new {
        width: 100%;
        justify-content: space-around;
    }

    .rewards-btn {
        display: none;
    }
}

/* Hide mobile-only slides on desktop */
.swiper-slide.slide-mobile {
    display: none;
}

/* Prevent layout shift: give the slide a known aspect ratio */
.hero-slider-wrap .swiper-slide {
    aspect-ratio: 1099 / 330;
}

.hero-slider-wrap .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Custom Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    background-color: #fff !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    color: #333 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
    border: 2px solid #333 !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: 900 !important;
}

/* ==========================================================================
   Mobile-Only Custom Redesign Overrides
   ========================================================================== */
.mobile-header {
    display: none;
}

@media (max-width: 768px) {
    .main-header-new {
        display: none !important;
    }

    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 16px;
        background: #480110;
        /* Dark red matching desktop header */
        border-bottom: 1.5px solid #5b0013;
    }

    .mobile-header .menu-btn {
        background: none;
        border: none;
        font-size: 24px;
        color: #fff;
        /* White icon for dark background */
        cursor: pointer;
        padding: 0;
    }

    .mobile-logo img {
        height: 48px;
        object-fit: contain;
    }

    .mobile-header-right {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .mobile-header-icon-link {
        position: relative;
        color: #fff;
        /* White link icons */
        font-size: 20px;
        text-decoration: none;
    }

    .mobile-header-icon-link i {
        font-size: 20px;
        color: #fff;
    }

    .mobile-header-icon-link .badge-count-new {
        top: -6px;
        right: -8px;
        min-width: 16px;
        height: 16px;
        font-size: 9px;
        background: #f4c430;
        /* Gold badge stands out beautifully */
        color: #480110;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

    /* Hide swiper navigation arrows on mobile */
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }

    /* Search Bar Mobile */
    .header-search-mobile {
        padding: 10px 16px !important;
        background: #fff !important;
        border-bottom: 1px solid #eee !important;
    }

    .header-search-mobile .search-wrapper-new {
        max-width: 100% !important;
        border: 1px solid #ccc !important;
        border-radius: 6px !important;
        overflow: hidden !important;
        height: 42px !important;
        display: flex !important;
        align-items: center !important;
        background: #fff !important;
    }

    .header-search-mobile .search-input-new {
        font-size: 14px !important;
        padding: 0 12px !important;
        flex: 1 !important;
        border: none !important;
        outline: none !important;
    }

    .header-search-mobile .search-btn-new {
        background-color: #5b0013 !important;
        /* dark red color */
        padding: 0 16px !important;
        height: 100% !important;
        border: none !important;
        cursor: pointer !important;
        color: #fff !important;
    }

    /* Hero Section Ordering & Grid */
    .hero-section-new {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding: 12px !important;
    }

    .hero-slider-wrap {
        order: 1 !important;
        width: 100% !important;
        height: auto !important;
        position: relative !important;
    }

    .hero-slider-wrap .slider-container {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
    }

    .hero-slider-wrap .swiper {
        height: auto !important;
    }

    .hero-slider-wrap .swiper-slide {
        height: auto !important;
    }

    .hero-slider-wrap .swiper-slide img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
    }

    /* Hide desktop-only slides on mobile */
    .swiper-slide.slide-desktop {
        display: none !important;
    }

    .features-bar {
        display: none !important;
    }

    .mobile-features-bar {
        order: 2 !important;
        width: 100% !important;
        margin: 0 !important;
        box-shadow: none !important;
        border: 1px solid #eee !important;
        background-color: #fff !important;
        display: flex !important;
        justify-content: space-around !important;
        padding: 0 6px !important;
        border-radius: 12px !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 8px !important;
    }

    .hero-banners-wrap {
        order: 3 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .banner-card {
        width: 100% !important;
        border-radius: 12px !important;
        overflow: hidden !important;
    }

    .banner-img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Features Bar Items styling on Mobile */
    .mobile-features-bar::-webkit-scrollbar {
        display: none !important;
    }

    .feature-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        min-width: 60px !important;
        flex: 1 !important;
        gap: 4px !important;
        cursor: pointer !important;
    }

    .feature-item:not(:last-child) {
        border-right: none !important;
    }

    .feature-icon {
        width: 42px !important;
        height: 42px !important;
        border-radius: 50% !important;
        border: 1px solid #ccc !important;
        background-color: #fff !important;
        color: #5b0013 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 14px !important;
        margin: 0 auto !important;
    }

    .feature-text {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .feature-title {
        font-size: 10px !important;
        font-weight: 700 !important;
        color: #333 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    .feature-desc {
        font-size: 9px !important;
        color: #777 !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
    }

    /* Category Circles Horizontal List */
    .category-section-new,
    .main-layout-new {
        padding: 15px 10px !important;
    }

    .category-slider-container {
        margin: 0 !important;
    }

    .category-scroll-btn {
        display: none !important;
        /* Hide arrows on mobile touch device */
    }

    .category-circles {
        padding: 5px 5px 15px 5px !important;
        gap: 12px !important;
        justify-content: flex-start !important;
        display: flex !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
    }

    .category-circle-item {
        min-width: 110px !important;
        max-width: 110px !important;
        gap: 6px !important;
        padding: 6px !important;
        border-radius: 6px !important;
        border: 1px solid #ddd !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
        background: #fff !important;
    }

    .category-circle-img {
        width: 100% !important;
        height: 96px !important;
        object-fit: cover !important;
        border-radius: 4px !important;
        background-color: #f9f9f9 !important;
        border: none !important;
    }

    .category-circle-name {
        font-size: 11px !important;
        font-weight: 500 !important;
        color: #333 !important;
        text-align: center !important;
        padding: 0 2px 2px 2px !important;
    }

    .more-dots-circle {
        background-color: #f9f9f9 !important;
        border: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #730018 !important;
        font-size: 26px !important;
        border-radius: 10px 10px 0 0 !important;
        width: 100% !important;
        height: 120px !important;
    }

    /* Only show first 4 items from the categories loop, hide others unless .show-all is active */
    .category-circles:not(.show-all) .category-circle-item:nth-child(n+5):not(#mobileMoreCategoryBtn) {
        display: none !important;
    }

    .category-circles.show-all #mobileMoreCategoryBtn {
        display: none !important;
    }

    /* Best Selling Products Layout Override */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 10px !important;
    }

    .product-card {
        border-radius: 12px !important;
        overflow: hidden !important;
        border: 1px solid #eee !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05) !important;
        background-color: #fff !important;
    }

    .product-card-image-wrap {
        aspect-ratio: 1 / 1 !important;
    }

    .product-badge-new {
        background-color: #e53935 !important;
        border-radius: 4px !important;
        font-size: 9px !important;
        padding: 2px 6px !important;
        top: 6px !important;
        left: 6px !important;
    }

    .product-wishlist-btn {
        width: 30px !important;
        height: 30px !important;
        font-size: 12px !important;
        top: 6px !important;
        right: 6px !important;
    }

    .product-card-info {
        padding: 8px !important;
        text-align: left !important;
    }

    .product-card-title {
        font-size: 12px !important;
        line-height: 1.3 !important;
        height: 32px !important;
        overflow: hidden !important;
        margin-bottom: 6px !important;
        color: #333 !important;
        font-weight: 500 !important;
    }

    .product-card-pricing {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 6px !important;
    }

    .product-card-pricing .product-price {
        font-size: 13px !important;
        color: #730018 !important;
        font-weight: 700 !important;
    }

    .product-card-pricing .product-mrp {
        font-size: 11px !important;
        color: #999 !important;
    }

    .product-card-pricing div {
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 2px !important;
        font-size: 10px !important;
    }

    /* Bottom Navigation Styling Override */
    .mobile-bottom-nav {
        display: flex !important;
        background-color: #480110 !important;
        /* Dark maroon/black matching layout */
        border-top: 1.5px solid #5b0013 !important;
        height: 60px !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
        justify-content: space-around !important;
        align-items: center !important;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2) !important;
        padding-bottom: 2px !important;
    }

    .mobile-bottom-nav a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-decoration: none !important;
        color: #cbb4b8 !important;
        font-size: 10px !important;
        font-weight: 500 !important;
        flex: 1 !important;
        gap: 3px !important;
    }

    .mobile-bottom-nav a.active {
        color: #ffffff !important;
    }

    .mobile-bottom-nav a i {
        font-size: 18px !important;
        color: #cbb4b8 !important;
    }

    .mobile-bottom-nav a.active i {
        color: #ffffff !important;
    }

    .mobile-bottom-nav .share-circle-btn {
        background: #f4c430 !important;
        color: #480110 !important;
        width: 48px !important;
        height: 48px !important;
        border-radius: 50% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
        transform: translateY(-16px) !important;
        flex: none !important;
    }

    .mobile-bottom-nav .share-circle-btn i {
        margin: 0 !important;
        font-size: 20px !important;
        color: #480110 !important;
    }

    /* Hide title arrow graphics on mobile */
    .section-title img {
        display: none !important;
    }

    /* WhatsApp Floating Button on Mobile */
    .whatsapp-float {
        bottom: 80px !important;
        right: 20px !important;
        width: 50px !important;
        height: 50px !important;
        border-radius: 50% !important;
        padding: 0 !important;
        justify-content: center !important;
        align-items: center !important;
        font-size: 0 !important;
        /* Hides "Order on WhatsApp" text */
        box-shadow: 0 2px 10px rgba(37, 211, 102, 0.4) !important;
    }

    .whatsapp-float i {
        font-size: 28px !important;
        margin: 0 !important;
    }

    body {
        padding-bottom: 70px !important;
    }
}

/* ======= Desktop Account Dropdown & Logout Button styling ======= */
.btn-logout-account {
    display: inline-block;
    background-color: #730018;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(115, 0, 24, 0.15);
}

.btn-logout-account:hover {
    background-color: #5B0013;
    transform: translateY(-1px);
    color: white;
}

.account-dropdown {
    position: relative;
}

.account-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 10px;
    border: 1px solid #eee;
}

.account-dropdown-content::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 10px;
    height: 10px;
    background: #fff;
    transform: rotate(45deg);
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
}

.account-dropdown-content::after {
    content: '';
    position: absolute;
    top: -15px;
    /* Spans the gap up to the parent button */
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
    z-index: -1;
}

.account-dropdown:hover .account-dropdown-content {
    display: block;
}

.account-dropdown-content a {
    color: #333 !important;
    padding: 10px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.account-dropdown-content a:hover {
    background-color: #f5f5f5;
    color: #730018 !important;
}