:root {
    --primary-brand: #2EB14B; /* Brand Green */
    --black-btn: #000000;
    --text-dark: #191919;
    --text-light: #757575;
    --bg-gray: #f2f2f2;
    --pill-radius: 50px;
    --header-max-width: 1400px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #f5f5f5;
    padding-bottom: 60px; /* For mobile nav */
}
@media(min-width: 769px) { body { padding-bottom: 0; } }

.header-container a { text-decoration: none; color: inherit; }
.header-container ul { list-style: none; }
.header-container img { max-width: 100%; display: block; }

/* Utility */
.hidden-mobile { display: flex !important; }
.hidden-desktop { display: none !important; }

/* =========================================
    DESKTOP HEADER STYLES
    ========================================= */
.header-container {
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    width: 100%;
}

.header-inner {
    max-width: var(--header-max-width);
    margin: 0 auto;
    width: 95%;
}

/* --- TOP ROW --- */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px 10px 20px;
    gap: 30px;
    height: 70px;
}

.logo img{
    width: 120px;
}
.logo-check {
    color: #fcb800;
    margin-right: -4px;
    font-size: 24px;
    position: relative;
    top: 1px;
}

.search-wrapper {
    flex: 1;
    max-width: 680px;
    position: relative;
}

.search-box {
    display: flex;
    border: 2px solid #eeeeee;
    border-radius: var(--pill-radius);
    height: 40px;
    background: white;
    overflow: hidden;
    position: relative;
}

.search-box input {
    flex: 1;
    border: none;
    padding: 0 45px 0 20px;
    outline: none;
    font-size: 14px;
    color: #333;
}

.camera-icon {
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    font-size: 16px;
    cursor: pointer;
}

.search-btn {
    background-color: #2EB14B;
    border: none;
    color: white;
    width: 55px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 25px 25px 0;
}

/* Search Dropdown */
.search-popup {
    position: absolute;
    top: 105%;
    left: 15px;
    width: calc(100% - 30px);
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    display: none;
    z-index: 1100;
}
.search-popup.active { display: block; }
.history-tag { display: inline-block; background: #f5f5f5; padding: 5px 12px; border-radius: 20px; font-size: 12px; margin-right: 10px; color: #333; cursor: pointer; }

/* --- USER ACTIONS --- */
.user-actions { display: flex; align-items: center; gap: 25px; }
.action-item { display: flex; align-items: center; gap: 8px; cursor: pointer; position: relative; color: var(--text-dark); }
.action-item i{
    color: #2EB14B;
}
.action-text { display: flex; flex-direction: column; line-height: 1.3; font-size: 12px; }
.action-text span:first-child { color: var(--text-light); font-size: 11px; }
.action-text span:last-child { font-weight: 700; font-size: 12px; color: var(--text-dark); }
.action-text.single-line { line-height: 1; justify-content: center; font-weight: 500; font-size: 13px;}
.app-icon-stack { font-size: 24px; color: #2EB14B; }
.cart-container { position: relative; }
.cart-icon-img { font-size: 26px; color: #2EB14B;}
.cart-badge { position: absolute; top: -5px; right: -8px; background: white; border: 1px solid var(--text-dark); color: var(--text-dark); font-size: 10px; border-radius: 10px; padding: 1px 5px; font-weight: bold; }

/* Hover Dropdowns Base */
.hover-dropdown { 
    position: absolute; top: 50px; right: 0; 
    background: white; box-shadow: 0 4px 16px rgba(0,0,0,0.15); 
    border-radius: 12px; padding: 20px; z-index: 1200; 
    opacity: 0; visibility: hidden; 
    transform: translateY(10px); transition: all 0.2s ease; 
    border: 1px solid #eee; cursor: default; 
}
.hover-dropdown::before { content: ""; position: absolute; top: -20px; left: 0; width: 100%; height: 20px; }
.action-item:hover .hover-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.hover-dropdown h3 { font-size: 14px; font-weight: 700; margin-bottom: 10px; color: #333; }

/* App Dropdown */
.app-dropdown { 
    width: 380px; 
    padding: 15px; 
    right: -100px; 
    text-align: left;
}
.app-drop-content { display: flex; align-items: center; gap: 15px; }
.app-qr-side img { width: 100px; height: 100px; border: 1px solid #e0e0e0; padding: 5px; border-radius: 8px; display: block; }
.app-info-side { flex: 1; }
.app-drop-title { font-size: 15px; font-weight: 800; color: #2EB14B; margin-bottom: 5px; line-height: 1.2; }
.app-drop-subtitle { font-size: 12px; color: #757575; margin-bottom: 12px; }
.app-store-btns { display: flex; gap: 8px; }
.store-badge { background: #2EB14B; color: #fff; display: flex; align-items: center; padding: 6px 10px; border-radius: 20px; text-decoration: none; gap: 6px; flex: 1; justify-content: center; }
.store-badge i { font-size: 18px; }
.store-text { display: flex; flex-direction: column; line-height: 1; text-align: left; }
.store-text span { font-size: 9px; font-weight: 400; opacity: 0.9; }
.store-text b { font-size: 11px; font-weight: 600; margin-top: 1px; }

/* Region Dropdown */
.region-dropdown { width: 260px; text-align: left; background-color: #ffffff;}
.region-dropdown select { border: 1px solid #ccc; border-radius: 6px; font-size: 13px; background-color: #fff;}
.save-btn { width: 100%; background: #2EB14B; color: white; padding: 8px; border-radius: 20px; border:none; margin-top:10px; cursor:pointer;}

/* --- NAV BAR --- */
.nav-bar {
    padding: 5px 20px 15px 20px;
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
}

.category-pill {
    background: #f2f2f2;
    color: var(--text-dark);
    padding: 0 20px;
    height: 40px;
    border-radius: var(--pill-radius);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
    min-width: 160px;
    z-index: 1002;
}
.category-pill:hover, .category-pill.active { background: #e0e0e0; }

.nav-links { display: flex; align-items: center; gap: 25px; font-size: 14px; }
.nav-link { cursor: pointer; position: relative; font-weight: 400; color: #333; }
.nav-link.bold-highlight { color: var(--primary-brand); font-weight: 700; }
.nav-link:hover { color: var(--primary-brand); }

/* --- MORE DROPDOWN --- */
.more-wrapper {
    position: relative;
}

.more-btn {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    color: var(--text-dark);
}

.more-dropdown {
    position: absolute;
    top: 35px; /* Directly below text */
    right: 0;
    width: 220px;
    background: white;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    border: 1px solid #eee;
}

/* Bridge to prevent flickering */
.more-dropdown::before { content: ""; position: absolute; top: -20px; left: 0; width: 100%; height: 20px; }

/* Hover State */
.more-wrapper:hover .more-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

/* List Items */
.more-item {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: #333;
    transition: 0.2s;
}
.more-item:hover {
    background: #f9f9f9;
    color: var(--primary-brand);
    padding-left: 25px; /* Subtle movement */
}

/* --- DESKTOP MEGA MENU --- */
.cat-mega-menu {
    position: absolute;
    top: 45px;
    left: 0;
    width: 800px;
    height: 480px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 12px;
    display: none;
    z-index: 1001;
    border: 1px solid #eee;
    overflow: hidden;
}
.cat-mega-menu.show { display: flex; }

.cat-sidebar { width: 240px; background: #f9f9f9; height: 100%; border-right: 1px solid #eee; padding-top: 10px; overflow-y: auto;}
.cat-side-item { padding: 12px 20px; font-size: 13px; color: #333; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: 0.1s; }
.cat-side-item:hover, .cat-side-item.active { background: white; color: var(--primary-brand); font-weight: 700; box-shadow: -3px 0 0 var(--primary-brand) inset; }

.cat-content-area { flex: 1; padding: 25px; overflow-y: auto; background: white; }
.cat-pane { display: none; animation: fadeIn 0.2s; }
.cat-pane.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.sub-cat-layout { display: flex; gap: 30px; }
.sub-links-col { flex: 2; }
.sub-links-col h3 { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: #000; }
.sub-link { display: block; font-size: 13px; color: #666; margin-bottom: 8px; }
.sub-link:hover { color: var(--primary-brand); text-decoration: underline; }

.prod-showcase-col { flex: 1; border-left: 1px solid #eee; padding-left: 20px; }
.prod-showcase-col h3 { font-size: 13px; font-weight: 700; margin-bottom: 15px; }
.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.prod-item { text-align: center; cursor: pointer; }
.prod-img { width: 100%; aspect-ratio: 1; background: #f5f5f5; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 5px; color:#ccc;}
.prod-item:hover span { color: var(--primary-brand); }
.prod-item span { font-size: 11px; color: #555; }

/* SuperDeals Dropdown */
.sd-mega-menu { position: absolute; top: 45px; left: 0; width: 800px; background: white; box-shadow: 0 5px 20px rgba(0,0,0,0.1); padding: 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; z-index: 1100; opacity: 0; visibility: hidden; transform: translateY(10px); transition: 0.2s; border-radius: 8px; border: 1px solid #eee; }
.sd-mega-menu::before { content: ""; position: absolute; top: -20px; left: 0; width: 100%; height: 20px; }
.nav-link-wrapper { position: relative; padding: 10px 0; }
.nav-link-wrapper:hover .sd-mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.Sub-categories-menu h4 { font-size: 14px; font-weight: 700; margin-bottom: 10px; color: #333; }

/* =========================================
    MOBILE STYLES
    ========================================= */
@media (max-width: 768px) {
    .hidden-mobile { display: none !important; }
    .hidden-desktop { display: flex !important; }
    
    .mobile-header {
        height: 56px; background: white; padding: 0 15px;
        display: flex; align-items: center; justify-content: space-between;
        position: sticky; top: 0; z-index: 1000;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }
    .mobile-search { flex: 1; margin: 0 15px; position: relative; }
    .mobile-search input { width: 100%; background: #f1f1f1; border: none; border-radius: 20px; padding: 8px 15px 8px 35px; outline: none; }
    .mobile-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #888; font-size: 14px; }
    
    .bottom-nav {
        position: fixed; bottom: 0; left: 0; width: 100%; height: 60px;
        background: white; display: flex; justify-content: space-around; align-items: center;
        border-top: 1px solid #eee; z-index: 2000;
    }
    .b-nav-item { display: flex; flex-direction: column; align-items: center; font-size: 10px; color: #555; gap: 4px; }
    .b-nav-item i { font-size: 20px; }

    .m-drawer { position: fixed; top: 0; right: -100%; width: 85%; height: 100%; background: white; z-index: 2200; transition: 0.3s; display: flex; flex-direction: column; }
    .m-drawer.active { right: 0; }
    .m-tabs { display: flex; border-bottom: 1px solid #eee; }
    .m-tab { flex: 1; padding: 15px; text-align: center; font-weight: bold; background: #fafafa; cursor: pointer; }
    .m-tab.active { background: white; color: var(--primary-brand); border-bottom: 2px solid var(--primary-brand); }
    .m-content { padding: 0; flex: 1; overflow-y: auto; }
    .m-item { padding: 15px; border-bottom: 1px solid #f5f5f5; font-size: 14px; color: #333; }

    .m-cat-item { border-bottom: 1px solid #f5f5f5; }
    .m-cat-header { padding: 15px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 500; cursor: pointer; background: #fff; }
    .m-cat-header i { font-size: 12px; color: #999; transition: 0.3s; }
    .m-cat-header.active i { transform: rotate(180deg); color: var(--primary-brand); }
    .m-cat-header.active { color: var(--primary-brand); }
    .m-sub-list { display: none; background: #f9f9f9; padding: 10px 20px; }
    .m-sub-list a { display: block; padding: 8px 0; font-size: 13px; color: #555; border-bottom: 1px solid #eee; }
    .m-sub-list a:last-child { border-bottom: none; }
}

/* =========================================
    RIGHT DRAWER & CART
    ========================================= */
.overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 1900;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
.overlay.open { opacity: 1; visibility: visible; }

.r-drawer {
    position: fixed; top: 0; right: -400px; width: 360px; height: 100%;
    background: white; z-index: 2100; transition: 0.3s; padding: 20px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    display: flex; flex-direction: column;
}
.r-drawer.open { right: 0; }
@media (max-width: 450px) { .r-drawer { width: 90%; } }

/* Cart Specific Styles */
.cart-items-container { flex: 1; overflow-y: auto; margin: 15px 0; padding-right: 5px; }
.cart-item { display: flex; gap: 12px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #f0f0f0; }
.cart-item-img { width: 70px; height: 70px; background: #f5f5f5; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #ccc; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-title { font-size: 13px; font-weight: 500; color: #333; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item-price { font-weight: 700; color: #000; font-size: 14px; }

.cart-footer { border-top: 1px solid #eee; padding-top: 20px; background: white; }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.cart-total-label { font-size: 16px; color: #666; }
.cart-total-price { font-size: 20px; font-weight: 800; color: var(--text-dark); }
.checkout-btn { width: 100%; background: var(--primary-brand); color: white; border: none; padding: 14px; border-radius: var(--pill-radius); font-size: 16px; font-weight: 700; cursor: pointer; transition: 0.2s; }
.checkout-btn:hover { opacity: 0.9; }

/* Animated Sliding Text CSS (Updated) */
.animated-text-wrap {
    display: inline-block;
    overflow: hidden;
    height: 1.2em; 
    vertical-align: bottom;
}

.animated-text {
    display: inline-block;
    color: #2EB14B; /* টেক্সট কালার গ্রিন করা হলো */
    font-weight: 800;
    transition: transform 0.5s ease, opacity 0.5s ease;
    background: transparent; /* ব্যাকগ্রাউন্ড বাদ দেওয়া হলো */
    padding: 0 5px;
    box-shadow: none; /* শ্যাডো বাদ দেওয়া হলো */
}

/* Search Form Structure */
.hero-search-form {
    display: flex;
    gap: 15px;
    align-items: center;
    width: 100%;
}

.search-input-group {
    display: flex;
    align-items: center;
    border-radius: 8px;
    height: 60px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.location-group {
    flex: 0 0 35%;
    background: #f1f3f4; 
    padding: 0 15px;
    border: 1px solid #dcdcdc;
    position: relative; /* ড্রপডাউন আইকনের জন্য */
}

/* Dropdown Select CSS */
.location-dropdown {
    border: none;
    outline: none;
    background: transparent;
    padding: 0 10px;
    width: 100%;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    appearance: none; /* ডিফল্ট অ্যারো হাইড করা হলো */
    -webkit-appearance: none;
    -moz-appearance: none;
}

.dropdown-icon {
    color: #888;
    font-size: 14px;
    position: absolute;
    right: 15px;
    pointer-events: none; /* আইকনের উপর ক্লিক করলেও ড্রপডাউন কাজ করবে */
}

.keyword-group {
    flex: 1;
    background: #fff;
    padding-left: 20px;
    padding-right: 8px;
    border: 1px solid #dcdcdc;
}

.search-input-group i.fa-location-dot {
    color: #888;
    font-size: 20px;
}

.search-input-group input {
    border: none;
    outline: none;
    background: transparent;
    padding: 0 15px;
    width: 100%;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}
.hero-search-section {
    position: relative;
    width: 100%;
    height: 55vh; /* স্ক্রিনের ৫৫% হাইট নিবে */
    min-height: 450px;
    /* একটি প্রিমিয়াম বিজনেস/শপিং ব্যাকগ্রাউন্ড ইমেজ */
    background-image: url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* প্যারালাক্স ইফেক্ট */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65); /* ব্যাকগ্রাউন্ড ডার্ক করবে যাতে সার্চ বক্স ফুটে ওঠে */
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 95%;
    max-width: 950px;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 16px;
    backdrop-filter: blur(10px); /* গ্লাস ইফেক্ট */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Search Form Structure */
.hero-search-form {
    display: flex;
    gap: 15px;
    align-items: center;
    width: 100%;
}

.search-input-group {
    display: flex;
    align-items: center;
    border-radius: 8px;
    height: 60px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.location-group {
    flex: 0 0 35%;
    background: #f1f3f4; /* ইমেজের মতো হালকা গ্রে ব্যাকগ্রাউন্ড */
    padding: 0 15px;
    border: 1px solid #dcdcdc;
}

.keyword-group {
    flex: 1;
    background: #fff;
    padding-left: 20px;
    padding-right: 8px;
    border: 1px solid #dcdcdc;
}

.search-input-group i.fa-location-dot {
    color: #888;
    font-size: 20px;
}

.search-input-group input {
    border: none;
    outline: none;
    background: transparent;
    padding: 0 15px;
    width: 100%;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* Mic Icon */
.mic-icon {
    color: #1a73e8; /* গুগল মাইকের মতো ব্লু */
    font-size: 22px;
    cursor: pointer;
    padding: 0 15px;
    transition: 0.3s;
}

.mic-icon:hover {
    transform: scale(1.1);
}

/* Search Button */
.hero-search-btn {
    background: #ff5722; /* ইমেজের মতো অরেঞ্জ বাটন */
    color: white;
    border: none;
    height: 44px;
    width: 50px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hero-search-btn:hover {
    background: #e64a19;
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.4);
    transform: translateY(-2px);
}

/* =========================================
   Mobile Responsive Setup for Search
========================================= */
@media (max-width: 992px) {
    .hero-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 25px 20px;
    }
    
    .hero-title {
        font-size: 22px;
        justify-content: center;
        text-align: center;
    }

    .hero-search-form {
        flex-direction: column;
        gap: 12px;
    }

    .location-group, .keyword-group {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-search-section {
        height: auto;
        padding: 60px 0;
    }

    .hero-title {
        font-size: 18px;
    }

    .search-input-group {
        height: 50px;
    }

    .search-input-group input {
        font-size: 14px;
    }

    .hero-search-btn {
        height: 38px;
        width: 45px;
    }
}

/* =========================================
   Global Shared Header with Controls
========================================= */
.section-header-with-controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
    width: 100%;
}

.header-titles h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--products-card-dark, #222);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-titles p {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.carousel-controls {
    display: flex;
    gap: 10px;
}

.carousel-btn {
    background-color: #2EB14B;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    outline: none;
}

.carousel-btn:hover {
    background-color: #1f8a37;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .section-header-with-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .carousel-controls {
        align-self: flex-end; 
    }
}

/* =========================================
   Beautiful Area Location Cards (6 per row)
========================================= */
.area-location-section, .ads-section, .testimonial-section {
    width: 95%;
    max-width: 1400px;
    margin: 40px auto;
    padding: 20px 0;
}

.area-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.area-header p {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); 
    gap: 20px;
}
/* =========================================
   Ultra Professional Area Location Cards
========================================= */
.area-location-section {
    width: 95%;
    max-width: 1400px;
    margin: 40px auto;
    padding: 20px 0;
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* এক লাইনে ৬টি কার্ড */
    gap: 20px;
}

/* Premium Card Design */
.premium-area-card {
    position: relative;
    height: 240px; /* কার্ডের হাইট */
    border-radius: 16px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #000;
}

.premium-area-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    opacity: 0.85; /* ইমেজ কিছুটা ডার্ক রাখার জন্য */
}

/* Gradient Overlay for Text Readability */
.premium-area-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
    transition: opacity 0.4s ease;
}

/* Content Styling */
.premium-area-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: #fff;
    z-index: 2;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.premium-area-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.premium-area-content p {
    font-size: 13px;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
}

.premium-area-content p i {
    color: #2EB14B; /* থিম কালার আইকন */
}

/* Hover Effects */
.premium-area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(46, 177, 75, 0.2);
}

.premium-area-card:hover img {
    transform: scale(1.12); /* ইমেজ জুম ইন হবে */
    opacity: 0.7;
}

.premium-area-card:hover .premium-area-overlay {
    background: linear-gradient(to top, rgba(46, 177, 75, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
}

.premium-area-card:hover .premium-area-content {
    transform: translateY(0); /* টেক্সট কিছুটা উপরে উঠবে */
}

.premium-area-card:hover .premium-area-content p i {
    color: #fff;
}

/* Responsive Design for Area Cards */
@media (max-width: 1200px) {
    .area-grid { grid-template-columns: repeat(4, 1fr); }
    .premium-area-card { height: 220px; }
}

@media (max-width: 992px) {
    .area-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .area-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .premium-area-card { height: 200px; border-radius: 12px; }
    .premium-area-content { bottom: 15px; left: 15px; right: 15px; }
    .premium-area-content h4 { font-size: 16px; }
    .premium-area-content p { font-size: 12px; }
}

@media (max-width: 480px) {
    .area-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .premium-area-card { height: 160px; }
    .premium-area-content h4 { font-size: 14px; }
    .premium-area-content p { font-size: 11px; gap: 4px; }
}
/* =========================================
   Ads Banner CSS (With Overlay, Text & Timer)
========================================= */
.ads-section {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.ad-card {
    width: 50%;
    height: 220px; /* হাইট একটু বাড়ানো হয়েছে কন্টেন্ট সুন্দরভাবে দেখানোর জন্য */
    border-radius: 12px;
    overflow: hidden;
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative; /* কন্টেন্ট ওভারলে করার জন্য */
    text-decoration: none;
}

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

.ad-card:hover img {
    transform: scale(1.08);
}

/* Overlay & Content */
.ad-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 100%);
    display: flex;
    align-items: center;
    padding: 0 30px;
    box-sizing: border-box;
}

.ad-content {
    color: #fff;
    max-width: 80%;
}

.ad-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.ad-subtitle {
    font-size: 14px;
    margin-bottom: 15px;
    color: #e0e0e0;
}

/* Timer Styling */
.ad-timer {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.timer-box {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 8px;
    border-radius: 6px;
    text-align: center;
    min-width: 50px;
}

.timer-box span {
    display: block;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
}

.timer-box small {
    font-size: 10px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Shop Now Button */
.ad-btn {
    background: #2EB14B;
    color: #fff;
    border: none;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ad-card:hover .ad-btn {
    background: #ff6b00;
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .ads-section { flex-direction: column; }
    .ad-card { width: 100%; height: 200px; }
    .ad-overlay { padding: 0 20px; }
    .ad-title { font-size: 20px; }
    .timer-box { min-width: 45px; padding: 4px 6px; }
    .timer-box span { font-size: 14px; }
}

@media (max-width: 480px) {
    .ad-card { height: 180px; }
    .ad-title { font-size: 18px; }
    .ad-subtitle { font-size: 12px; margin-bottom: 10px; }
    .ad-timer { gap: 5px; margin-bottom: 10px; }
    .timer-box { min-width: 40px; }
    .ad-btn { padding: 6px 15px; font-size: 12px; }
}
@media (max-width: 1200px) {
    .area-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .area-grid { grid-template-columns: repeat(3, 1fr); gap: 15px;}
    .ads-section { flex-direction: column; }
    .ad-card { width: 100%; height: 150px; }
}

@media (max-width: 480px) {
    .area-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .area-card { padding: 15px 10px; }
    .area-icon { font-size: 22px; width: 50px; height: 50px; line-height: 50px; margin-bottom: 10px;}
    .area-info h4 { font-size: 14px; }
}

/* =========================================
   TOP SERVICES SECTION (HEADER + GRID)
========================================= */

/* Main Container */
.top-services-section {
    width: 95%;
    max-width: 1400px;
    margin: 40px auto;
    padding: 20px 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Header Alignment */
.section-header-with-controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    width: 100%;
}

.header-titles h2 {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.header-titles p {
    font-size: 14px;
    color: #666;
}

/* View All Button */
.view-all-btn {
    width: auto !important;
    padding: 10px 24px !important;
    border-radius: 25px !important;
    text-decoration: none;
    font-weight: 600;
    background: #2EB14B;
    color: #fff;
    display: inline-block;
    transition: 0.3s ease;
}

.view-all-btn:hover {
    background: #1e8a37;
    color: #fff;
    box-shadow: 0 4px 12px rgba(46, 177, 75, 0.3);
}

/* Grid Layout */
.top-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
/* =========================================
   TOP SERVICES SECTION (HEADER + GRID)
========================================= */

/* Main Container */
.top-services-section {
    width: 95%;
    max-width: 1400px;
    margin: 40px auto;
    padding: 20px 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Header Alignment */
.section-header-with-controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    width: 100%;
}

.header-titles h2 {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.header-titles p {
    font-size: 14px;
    color: #666;
}

/* View All Button */
.view-all-btn {
    width: auto !important;
    padding: 10px 24px !important;
    border-radius: 25px !important;
    text-decoration: none;
    font-weight: 600;
    background: #2EB14B;
    color: #fff;
    display: inline-block;
    transition: 0.3s ease;
}

.view-all-btn:hover {
    background: #1e8a37;
    color: #fff;
    box-shadow: 0 4px 12px rgba(46, 177, 75, 0.3);
}

/* Grid Layout (Desktop: 5 Cards per row) */
.top-services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* =========================================
   ULTRA PREMIUM SERVICE CARD DESIGN
========================================= */
.ultra-service-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid #f4f4f4;
}

.ultra-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(46, 177, 75, 0.15);
}

/* Image */
.ultra-service-img {
    width: 100%;
    height: 180px; /* একটু ছোট করা হয়েছে যেন ১০টি কার্ড সুন্দর দেখায় */
    overflow: hidden;
    background: #e9ecef;
}

.ultra-service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ultra-service-card:hover .ultra-service-img a img {
    transform: scale(1.1);
}

/* Card Content Area */
.ultra-service-content {
    padding: 0 20px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Floating Badge */
.ultra-floating-badge {
    display: flex;
    align-items: center;
    align-self: center;
    background: #ffffff;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    margin-top: -20px;
    margin-bottom: 15px;
    border: 4px solid #ffffff;
    z-index: 10;
}

.badge-number {
    font-size: 13px;
    font-weight: 700;
    color: #444;
    padding: 0 12px 0 15px;
}

.badge-icon {
    background: #2EB14B;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(46, 177, 75, 0.3);
    transition: transform 0.4s ease;
}

.ultra-service-card:hover .badge-icon {
    transform: rotateY(180deg);
}

/* Text Links */
.ultra-service-content a {
    text-decoration: none;
}

/* Card Title (Size Reduced) */
.ultra-service-content h3 {
    font-size: 18px; /* সাইজ ছোট করা হয়েছে (আগে 20px ছিল) */
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.ultra-service-card:hover .ultra-service-content h3 {
    color: #2EB14B;
}

/* Card Subtitle (2 Lines with Ellipsis) */
.ultra-service-content p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
    
    /* ২ লাইনের পর ডট ডট (...) দেখানোর কোড */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* More Info Button */
.ultra-service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    background: #f8f9fa;
    color: #222;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    margin-top: auto; /* কন্টেন্ট যাই থাকুক, বাটনটি একদম নিচে থাকবে */
}

.ultra-service-btn i {
    color: #2EB14B;
    transition: transform 0.3s ease;
}

.ultra-service-card:hover .ultra-service-btn {
    background: #2EB14B;
    color: #ffffff;
    border-color: #2EB14B;
}

.ultra-service-card:hover .ultra-service-btn i {
    color: #ffffff;
    transform: translateX(5px);
}

/* =========================================
   RESPONSIVE MEDIA QUERIES
========================================= */
@media (max-width: 1200px) {
    .top-services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .top-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .section-header-with-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .carousel-controls {
        align-self: flex-start;
    }
    
    .top-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .ultra-service-img {
        height: 160px;
    }
}

/* Mobile View (2 Cards per line) */
@media (max-width: 480px) {
    .top-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .ultra-service-card {
        border-radius: 12px;
    }
    
    .ultra-service-img {
        height: 110px;
    }
    
    .ultra-floating-badge {
        margin-top: -15px;
        margin-bottom: 12px;
        border-width: 2px;
    }
    
    .badge-number {
        font-size: 10px;
        padding: 0 6px 0 10px;
    }
    
    .badge-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .ultra-service-content {
        padding: 0 10px 15px;
    }
    
    .ultra-service-content h3 {
        font-size: 14px; /* মোবাইলে আরও ছোট */
        margin-bottom: 6px;
    }
    
    .ultra-service-content p {
        font-size: 11px; 
        margin-bottom: 12px;
        line-height: 1.4;
        -webkit-line-clamp: 2; /* মোবাইলেও ২ লাইন থাকবে */
    }
    
    .ultra-service-btn {
        padding: 8px 10px;
        font-size: 11px;
    }
}

/* =========================================
   Step-by-Step Native Auto Carousel
========================================= */
.top-visit-carousel-wrapper, .testimonial-carousel-wrapper {
    width: 100%;
    overflow: hidden; 
    padding: 10px 0;
}

.custom-auto-carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth; 
    scroll-snap-type: x mandatory; 
    -ms-overflow-style: none;  
    scrollbar-width: none; 
    padding-bottom: 10px;
}

.custom-auto-carousel-track::-webkit-scrollbar {
    display: none;
}

.custom-carousel-item {
    scroll-snap-align: start; 
    flex-shrink: 0;
}

.top-visit-item-width {
    width: calc((100% / 5) - 16px);
}

.testimonial-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    width: 320px;
}

.testi-rating {
    color: #ffc107;
    font-size: 12px;
    margin-bottom: 15px;
}

.testi-text {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testi-user {
    display: flex;
    align-items: center;
}

.user-img {
    font-size: 30px;
    color: #ddd;
    margin-right: 10px;
}

.user-info h4 {
    font-size: 14px;
    color: #222;
}

.user-info span {
    font-size: 11px;
    color: #2EB14B;
}

@media (max-width: 1024px) {
    .top-visit-item-width { width: calc((100% / 3) - 13px); }
}

@media (max-width: 768px) {
    .top-visit-item-width { width: calc((100% / 2) - 10px); }
    .testimonial-card { width: 280px; padding: 15px; }
}

@media (max-width: 480px) {
    .top-visit-item-width { width: 200px; } 
}

/* =========================================
   Products Section Basic Setup
========================================= */
:root {
    --products-card-primary: #2EB14B; 
    --products-card-dark: #222;
    --products-card-light: #666;
    --products-card-white: #ffffff;
    --products-card-bg: #f8f9fa;
}

.products-card-section { width: 95%; max-width: 1400px; margin: 40px auto;  }

.products-card-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 25px; }
.products-card-header-left h2 { font-size: 20px; font-weight: 600; color: var(--products-card-dark); text-transform: uppercase; letter-spacing: 0.5px; }
.products-card-header-left p { font-size: 14px; color: var(--products-card-light); margin-top: 5px; }
.products-card-see-all { text-decoration: none; color: #ff6b00; font-weight: 600; font-size: 14px; transition: 0.3s; }
.products-card-see-all:hover { color: var(--products-card-primary); }

.products-card-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

.products-card-item { background-color: var(--products-card-white); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.3s ease-in-out; position: relative; display: flex; flex-direction: column; }
.products-card-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

.products-card-img-wrapper { position: relative; height: 180px; width: 100%; background: #f0f0f0; overflow: hidden; }
.products-card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }

.products-card-badge { position: absolute; top: 10px; left: 10px; background-color: var(--products-card-primary); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 3px; z-index: 2; }
.products-card-eye-btn { position: absolute; top: 10px; right: 10px; width: 35px; height: 35px; background-color: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: var(--products-card-primary); cursor: pointer; box-shadow: 0 3px 6px rgba(0,0,0,0.15); opacity: 0; transform: scale(0.8); transition: all 0.3s ease; z-index: 3; border: none; }
.products-card-eye-btn:hover { background-color: var(--products-card-primary); color: white; }
.products-card-item:hover .products-card-eye-btn { opacity: 1; transform: scale(1); }

.products-card-details { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; }
.products-card-title { font-size: 14px; font-weight: 600; color: var(--products-card-dark); margin-bottom: 8px; line-height: 1.4em; height: 2.8em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.products-card-price { font-size: 16px; font-weight: 700; color: #007bff; margin-bottom: 5px; }
.products-card-rating { color: #ffc107; font-size: 12px; margin-bottom: 12px; }
.products-card-actions { display: flex; gap: 8px; margin-top: auto; }
.products-card-btn { flex: 1; padding: 8px 12px; border: none; border-radius: 4px; font-size: 12px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.products-card-btn-cart { background-color: #e9ecef; color: var(--products-card-dark); }
.products-card-btn-cart:hover { background-color: #dde0e3; }
.products-card-btn-buy { background-color: #007bff; color: white; }
.products-card-btn-buy:hover { background-color: #0069d9; }
/* =========================================
   Products Section Basic Setup
========================================= */
/* Shop Name in Card CSS */
.products-card-shop-name {
    font-size: 12px;
    color: #777;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}
.products-card-shop-name i {
    color: var(--products-card-primary);
}

/* Modal Shop Name CSS */
.products-card-modal-shop-name {
    font-size: 14px;
    color: #777;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.products-card-modal-shop-name i {
    color: var(--products-card-primary);
}

/* Adjustments for Title to look better with the Shop Name */
.products-card-title { 
    font-size: 14px; 
    font-weight: 600; 
    color: var(--products-card-dark); 
    margin-bottom: 4px; /* Reduced from 8px */
    line-height: 1.4em; 
    height: 2.8em; 
    overflow: hidden; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
}

@media (max-width: 1024px) { .products-card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
    .products-card-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .products-card-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .products-card-img-wrapper { height: 140px; }
}

/* =========================================
   Best Categories Section Styles
========================================= */
.index_main_best_categories_section { width: 95%; max-width: 1400px; margin: 40px auto; padding: 20px 0; }
.index_main_best_categories_carousel_wrapper { width: 100%; margin: 0 auto; overflow: hidden; position: relative; padding: 15px clamp(15px, 5vw, 60px); box-sizing: border-box; }
.index_main_best_categories_container { display: flex; flex-wrap: nowrap; gap: 15px; transition: transform 0.5s ease-in-out; will-change: transform; }
.index_main_best_categories_card { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; width: 130px; cursor: pointer; text-decoration: none; color: inherit; transition: transform 0.3s ease; outline: none; }
.index_main_best_categories_img_wrapper { width: 110px; height: 110px; border-radius: 8px; overflow: hidden; border: 3px solid transparent; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); background-color: #fff; position: relative; display: flex; align-items: center; justify-content: center; }
.index_main_best_categories_img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.index_main_best_categories_title { margin-top: 18px; font-size: 16px; font-weight: 700; color: #444; text-align: center; transition: color 0.3s ease; line-height: 1.3; }

.index_main_best_categories_card:hover .index_main_best_categories_img_wrapper { transform: translateY(-12px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25); border-color: #ff6b6b; }
.index_main_best_categories_card:hover .index_main_best_categories_img { transform: scale(1.15); }
.index_main_best_categories_card:hover .index_main_best_categories_title { color: #ff6b6b; }

@media (max-width: 768px) {
    .index_main_best_categories_card { width: 110px; }
    .index_main_best_categories_img_wrapper { width: 90px; height: 90px; }
}

/* =========================================
   Popular Shop Section
========================================= */
:root { --shop_card_primary: #2EB14B; --shop_card_dark: #222; --shop_card_light: #666; --shop_card_white: #ffffff; --shop_card_bg: #f8f9fa; }
.shop_card_section { width: 95%; max-width: 1400px; margin: 40px auto;}
.shop_card_header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 25px; }
.shop_card_header-left h2 { font-size: 20px; font-weight: 600; color: var(--shop_card_dark); text-transform: uppercase; }
.shop_card_header-left p { font-size: 14px; color: var(--shop_card_light); margin-top: 5px; }
.shop_card_see-all { text-decoration: none; color: #ff6b00; font-weight: 600; font-size: 14px; transition: 0.3s; }
.shop_card_see-all:hover { color: var(--shop_card_primary); }
.shop_card_grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.shop_card_item { background-color: var(--shop_card_white); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.3s; display: flex; flex-direction: column; position: relative; }
.shop_card_item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.shop_card_img-wrapper { position: relative; height: 180px; width: 100%; background: #f0f0f0; overflow: hidden; }
.shop_card_img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.shop_card_eye-btn { position: absolute; top: 10px; right: 10px; width: 35px; height: 35px; background: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: var(--shop_card_primary); opacity: 0; transform: scale(0.8); transition: 0.3s; border: none; z-index: 3; cursor: pointer; }
.shop_card_eye-btn:hover { background: var(--shop_card_primary); color: white; }
.shop_card_item:hover .shop_card_eye-btn { opacity: 1; transform: scale(1); }
.shop_card_details { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; }
.shop_card_title { font-size: 14px; font-weight: 600; color: var(--shop_card_dark); margin-bottom: 8px; }
.shop_address, .shop_card_contact { font-size: 12px; color: var(--shop_card_light); margin-bottom: 5px; }
.shop_card_rating { color: #ffc107; font-size: 12px; margin-bottom: 12px; }
.shop_card_actions { display: flex; gap: 8px; margin-top: auto; }
.shop_card_btn { flex: 1; padding: 8px 0; border: none; border-radius: 4px; font-size: 12px; font-weight: 600; cursor: pointer; transition: 0.3s; text-align: center; text-decoration: none; display: inline-block;}
.shop_card_btn-cart { background-color: #e9ecef; color: var(--shop_card_dark); }
.shop_card_btn-buy { background-color: #007bff; color: white; }

@media (max-width: 1024px) { .shop_card_grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .shop_card_grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* =========================================
   Delivery Process Section
========================================= */
:root { --delivery-primary: #2EB14B; --delivery-dark: #222; --delivery-text: #666; --delivery-bg: #f9f9f9; --delivery-white: #ffffff; }
.delivery-process-section { width: 100%; background-color: var(--delivery-white); overflow: hidden; padding: 20px 0px; }
.delivery-process-container { width: 95%; margin: 0 auto; }
.delivery-process-header { text-align: center; margin-bottom: 10px; position: relative; }
.delivery-process-header h2 { font-size: 25px; font-weight: 600; color: var(--delivery-dark); text-transform: uppercase; margin-bottom: 10px; }
.delivery-process-header p { color: var(--delivery-text); font-size: 16px; }
.delivery-process-wrapper { display: flex; justify-content: space-between; align-items: flex-start; position: relative; gap: 20px; }
.delivery-process-card { flex: 1; background: var(--delivery-bg); padding: 30px 20px; border-radius: 12px; text-align: center; position: relative; transition: all 0.4s ease; border: 1px solid transparent; z-index: 2; opacity: 0; animation: deliveryFadeInUp 0.8s forwards; }
.delivery-process-card:hover { transform: translateY(-10px); background: var(--delivery-white); border-color: var(--delivery-primary); box-shadow: 0 15px 30px rgba(46, 177, 75, 0.15); }
.delivery-process-icon-box { width: 80px; height: 80px; background-color: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; margin: 0 auto 20px auto; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: all 0.4s ease; position: relative; z-index: 3; }
.delivery-process-icon-box i { font-size: 32px; color: var(--delivery-primary); transition: all 0.4s ease; }
.delivery-process-card:hover .delivery-process-icon-box { background-color: var(--delivery-primary); transform: scale(1.1) rotate(5deg); }
.delivery-process-card:hover .delivery-process-icon-box i { color: white; }
.delivery-process-step-num { position: absolute; top: -10px; right: 20px; font-size: 40px; font-weight: 900; color: rgba(0,0,0,0.03); transition: 0.3s; }
.delivery-process-card:hover .delivery-process-step-num { color: rgba(46, 177, 75, 0.1); transform: scale(1.2); }
.delivery-process-title { font-size: 18px; font-weight: 700; color: var(--delivery-dark); margin-bottom: 10px; }
.delivery-process-desc { font-size: 14px; color: var(--delivery-text); line-height: 1.6; }
.delivery-process-card:not(:last-child)::after { content: ''; position: absolute; top: 70px; right: -50%; width: 100%; height: 2px; background-image: linear-gradient(to right, #ccc 33%, rgba(255,255,255,0) 0%); background-position: bottom; background-size: 10px 1px; background-repeat: repeat-x; z-index: 1; }

.delivery-process-card:nth-child(1) { animation-delay: 0.1s; }
.delivery-process-card:nth-child(2) { animation-delay: 0.3s; }
.delivery-process-card:nth-child(3) { animation-delay: 0.5s; }
.delivery-process-card:nth-child(4) { animation-delay: 0.7s; }

@keyframes deliveryFadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 992px) { .delivery-process-card:not(:last-child)::after { display: none; } }
@media (max-width: 768px) {
    .delivery-process-wrapper { flex-direction: column; gap: 30px; }
    .delivery-process-card { width: 100%; display: flex; flex-direction: row; align-items: center; text-align: left; padding: 20px; }
    .delivery-process-icon-box { margin: 0 20px 0 0; width: 60px; height: 60px; flex-shrink: 0; }
    .delivery-process-step-num { top: 50%; transform: translateY(-50%); right: 15px; }
}

/* Modal Style */
.products-card-modal-overlay, .shop_card_modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 9999; display: none; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; }
.products-card-modal-overlay.open, .shop_card_modal-overlay.open { display: flex; opacity: 1; }
.products-card-modal-box, .shop_card_modal-box { background: white; width: 800px; max-width: 90%; border-radius: 10px; overflow: hidden; display: flex; position: relative; transform: translateY(20px); transition: transform 0.3s ease; }
.products-card-modal-overlay.open .products-card-modal-box, .shop_card_modal-overlay.open .shop_card_modal-box { transform: translateY(0); }
.products-card-modal-close, .shop_card_modal-close { position: absolute; top: 15px; right: 15px; background: transparent; border: none; font-size: 24px; color: #aaa; cursor: pointer; z-index: 10; }
.products-card-modal-left, .shop_card_modal-left { width: 50%; background: #f8f8f8; display: flex; align-items: center; justify-content: center; max-height: 80vh; }
.products-card-modal-left img, .shop_card_modal-left img { width: 100%; height: 100%; object-fit: cover; }
.products-card-modal-right, .shop_card_modal-right { width: 50%; padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.products-card-modal-badge, .shop_card_modal-badge { display: inline-block; background: var(--products-card-primary); color: white; padding: 4px 8px; font-size: 10px; border-radius: 4px; width: fit-content; margin-bottom: 10px; }
.products-card-modal-title, .shop_card_modal-title { font-size: 22px; color: var(--products-card-dark); margin-bottom: 10px; }
.products-card-modal-price { font-size: 24px; color: var(--products-card-primary); font-weight: bold; margin-bottom: 15px; }
.products-card-modal-desc, .shop_card_modal-desc { font-size: 14px; color: var(--products-card-light); line-height: 1.6; margin-bottom: 25px; }
.products-card-modal-btns, .shop_card_modal-btns { display: flex; gap: 15px; }

@media (max-width: 768px) {
    .products-card-modal-box { flex-direction: column; max-height: 90vh; overflow-y: auto; }
    .products-card-modal-left, .products-card-modal-right { width: 100%; }
    .products-card-modal-left { height: 250px; }
    .products-card-modal-right { padding: 20px; }
}