/* --- Font Setup --- */
@font-face { font-family: 'Google Sans'; src: url('Fonts/Google Sans.ttf') format('truetype'); font-weight: 400; }
@font-face { font-family: 'Google Sans'; src: url('Fonts/Google Sans Medium.ttf') format('truetype'); font-weight: 500; }
@font-face { font-family: 'Google Sans'; src: url('Fonts/Google Sans Bold.ttf') format('truetype'); font-weight: 700; }

:root {
    --brand-color: #159759;
    --yellow-color: #fdd835;
    --text-dark: #333;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Google Sans', sans-serif; }
body { background-color: #fff; font-size: 16px; }

/* Utilities */
.container { max-width: 1600px; margin: 0 auto; padding: 0 20px; }
.desktop-only { display: block; }
.mobile-only { display: none; } /* ডিফল্টভাবে মোবাইল এলিমেন্ট হাইড থাকবে */

/* --- Top Bar --- */
.top-bar-bg { background-color: var(--brand-color); }
.top-bar {
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; 
}
.top-bar-right span { margin-left: 10px; cursor: pointer; }


.main-header { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; flex-wrap: wrap; }

/* Logo */
.logo-area { display: flex; align-items: center; gap: 15px; }
.logo-text { font-size: 32px; font-weight: 700; line-height: 1; }
.logo-jago { color: var(--yellow-color); text-shadow: 1px 1px 1px #333; }
.logo-krishi { color: var(--brand-color); }
.nav-links a { text-decoration: none; color: #444; font-weight: 600; margin-left: 20px; text-transform: uppercase; font-size: 15px; }



/* Desktop User Actions */
.user-actions { display: flex; align-items: center; gap: 25px; }
.user-actions i { font-size: 24px; color: #555; cursor: pointer; }
.cart-icon { position: relative; display: flex; align-items: center; gap: 5px; }
.badge { position: absolute; top: -8px; right: 15px; background-color: var(--brand-color); color: #fff; font-size: 12px; padding: 3px 6px; border-radius: 50%; }
.price { font-weight: 700; font-size: 16px; }

/* --- Category Nav (Desktop) --- */
.category-nav-bg { background: #fdfdfd; border-bottom: 2px solid var(--yellow-color); }
.category-nav { padding: 12px 0; display: flex; align-items: center; position: relative; }
.scroll-arrow { font-size: 20px; color: #555; cursor: pointer; background: none; border: none; font-weight: bold; padding: 0 10px; z-index: 2; }
.cat-list-wrapper { overflow-x: auto; white-space: nowrap; width: 100%; scrollbar-width: none; }
.cat-list-wrapper::-webkit-scrollbar { display: none; }
.cat-list { display: inline-flex; list-style: none; gap: 35px; padding: 0 10px; }
.cat-list li a { text-decoration: none; color: #333; font-size: 16px; font-weight: 500; }
.cat-list li a:hover { color: var(--brand-color); }




/* --- Default Hide for Mobile Elements --- */
.bottom-nav { display: none; } /* Desktop e hide thakbe */
.mobile-sidebar { display: none; } /* Desktop e hide thakbe */

/* --- Responsive Media Queries (Mobile Logic) --- */
@media (max-width: 900px) {
    /* Show mobile elements */
    .mobile-only { display: block; }
    /* Hide desktop elements */
    .desktop-only { display: none !important; }

    /* Top Bar Adjustment */
    .top-bar {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    .top-bar-left { display: block; font-size: 13px; } 

    /* Header */
    .main-header { padding: 10px 0; }
    .logo-text { font-size: 26px; }
    .menu-icon { font-size: 24px; color: #333; cursor: pointer; }

    /* Search Box Logic */
    .search-box { display: none; width: 100%; margin: 10px 0 0 0; max-width: 100%; order: 3; }
    .search-box.active { display: flex; animation: slideDown 0.3s ease forwards; }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* --- Mobile Sidebar Styles --- */
    .mobile-sidebar {
        display: block; /* Ensure it's block so transform works */
        position: fixed; top: 0; left: 0; width: 280px; height: 100%; background: #fff; z-index: 1001; 
        box-shadow: 2px 0 5px rgba(0,0,0,0.2); 
        transform: translateX(-100%); transition: transform 0.3s ease; 
        overflow-y: auto; padding-bottom: 20px; 
    }
    .mobile-sidebar.active { transform: translateX(0); }
    
    .overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; display: none; }
    .overlay.active { display: block; }

    .sidebar-header { background: var(--brand-color); padding: 20px; display: flex; justify-content: space-between; align-items: center; color: #fff; }
    .sidebar-header .logo-jago { color: var(--yellow-color); }
    .sidebar-header .logo-krishi { color: #fff; }
    .close-btn { font-size: 24px; cursor: pointer; color: #fff; }
    .sidebar-menu { padding: 20px; }
    .sidebar-menu h4 { color: #888; text-transform: uppercase; font-size: 12px; margin-bottom: 10px; letter-spacing: 1px; }
    .sidebar-menu a { display: block; text-decoration: none; color: #333; font-size: 16px; padding: 10px 0; border-bottom: 1px solid #f1f1f1; }
    .sidebar-menu a:hover { color: var(--brand-color); padding-left: 5px; transition: 0.2s; }
    .sidebar-divider { border: none; border-top: 1px solid #eee; margin: 0; }

    /* --- Bottom Navigation Styles --- */
    .bottom-nav {
        display: flex; /* Mobile e show hobe */
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        justify-content: space-around;
        align-items: center;
        flex-wrap: nowrap;
        height: 70px;
        z-index: 999;
        padding-bottom: 5px;
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #888;
        font-size: 12px;
        cursor: pointer;
        flex: 1;
    }

    .nav-item i { font-size: 20px; margin-bottom: 4px; }
    .nav-item.active { color: var(--brand-color); }

    /* Center Floating Icon */
    .center-fab { position: relative; top: -20px; }
    .fab-icon { width: 50px; height: 50px; background-color: var(--brand-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(21, 151, 89, 0.4); border: 4px solid #fff; }
    .fab-icon i { color: #fff; font-size: 20px; margin: 0; }

    .cart-badge-wrap { position: relative; display: inline-block; }
    .nav-badge { position: absolute; top: -8px; right: -8px; background: #ff523b; color: #fff; font-size: 10px; padding: 2px 5px; border-radius: 50%; }
}


/* --- Hero Slider Section --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 780px; /* আগে 500px ছিল, এখন বাড়িয়ে 650px করা হলো */
    overflow: hidden;
    background: #f4f4f4;
}

/* বাকি কোড আগের মতোই থাকবে */
.slider-wrapper {
    position: relative;
    height: 100%;
}

/* Slide Styles */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Slide Image */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay Removed */
.slide::after {
    display: none; 
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: #333;
    border: none;
    width: 50px; /* বাটন একটু বড় করা হলো */
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    transition: 0.3s;
}

.slider-btn:hover {
    background: var(--brand-color);
    color: #fff;
}

.prev-slide { left: 25px; }
.next-slide { right: 25px; }

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 25px; /* ডটগুলো একটু উপরে তোলা হলো */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--brand-color);
    transform: scale(1.3);
}

/* Responsive Slider (Mobile) */
@media (max-width: 900px) {
    /* মোবাইলে হাইট আগের মতোই ছোট রাখা হয়েছে */
    .hero-slider { height: 200px; } 
    
    .slider-btn { width: 35px; height: 35px; font-size: 14px; }
    .prev-slide { left: 10px; }
    .next-slide { right: 10px; }
    .slider-dots { bottom: 10px; }
}

/* --- Product Section Container --- */
.product-section {
    padding: 40px 0;
    background-color: #fff;
    border-bottom: 10px solid #f9f9f9;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: var(--brand-color);
}

.section-title { font-size: 24px; font-weight: 700; color: #333; }
.view-all-btn { text-decoration: none; color: var(--brand-color); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 5px; }

/* --- Product Grid --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

/* --- Product Card --- */
.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: #dbeedd;
    transform: translateY(-5px);
}

/* --- Product Image Area Fix --- */
.product-img {
    position: relative;
    height: 200px; /* হাইট কিছুটা কমানো হলো */
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0; 
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ইমেজ যাতে বক্সের পুরোটা জুড়ে থাকে */
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

/* --- Badge Style --- */
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    color: #fff;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.product-badge.discount { background: #ff523b; }
.product-badge.new { background: var(--brand-color); }
.product-badge.hot { background: #ffbc00; color: #333; }
.product-badge.stock-out { background: #333; }

.product-info {
    padding: 12px; /* প্যাডিং কিছুটা কমানো হলো */
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px; /* গ্যাপ কমানো হলো (আগে ৮ বা ১০ ছিল) */
    height: 40px;
    overflow: hidden;
    line-height: 1.3;
}

/* --- Product Name Link Fix --- */
.product-name a {
    text-decoration: none; /* আন্ডারলাইন রিমুভ */
    color: #333; /* টেক্সট কালার কালো/ডার্ক রাখা */
    transition: 0.3s;
}

/* মাউস নিলে কালার চেঞ্জ হবে */
.product-name a:hover {
    color: var(--brand-color); 
}

.product-card:hover .product-name { color: var(--brand-color); }

.product-price {
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.current-price { font-size: 18px; font-weight: 700; color: var(--brand-color); }
.old-price { font-size: 13px; color: #999; text-decoration: line-through; }

/* Stock Progress Bar */
.stock-area { margin-bottom: 15px; }

.progress-bar { height: 100%; background: linear-gradient(90deg, var(--brand-color), #4caf50); border-radius: 10px; }
.stock-label { font-size: 11px; color: #666; text-align: right; margin-top: 4px; font-weight: 500; }

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.btn-cart, .btn-order {
    width: 100%;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid transparent;
    text-align: center;
}

.btn-order { background: var(--brand-color); color: #fff; box-shadow: 0 4px 10px rgba(21, 151, 89, 0.2); }
.btn-order:hover { background: #0e6b3e; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(21, 151, 89, 0.3); }

.btn-cart { background: #fff; border-color: var(--brand-color); color: var(--brand-color); }
.btn-cart:hover { background: var(--brand-color); color: #fff; }

.btn-cart:disabled, .btn-order:disabled {
    cursor: not-allowed; opacity: 0.6; background: #eee !important; border-color: #ddd !important; color: #999 !important; box-shadow: none !important; transform: none !important;
}

/* Responsive */
@media (max-width: 1200px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .section-title { font-size: 18px; }
    .product-img { height: 160px; }
    .product-info { padding: 10px; }
    .product-name { font-size: 14px; height: 38px; }
    .current-price { font-size: 16px; }
    .btn-cart, .btn-order { padding: 8px 0; font-size: 12px; }
}



/* --- FAQ Section --- */
.faq-section {
    padding: 15px 0;
    background: #fff;
    border-bottom: 10px solid #f9f9f9;
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ Content */
.faq-content {
    width: 100%;
}

/* --- Centered Section Header for FAQ --- */
.faq-section .section-header {
    justify-content: center; /* ফ্লেক্স আইটেম মাঝখানে আনবে */
    text-align: center;      /* টেক্সট মাঝখানে */
}

/* সবুজ দাগটি মাঝখানে আনার জন্য */
.faq-section .section-header::after {
    left: 50%;
    transform: translateX(-50%);
}

.faq-container {
    margin-top: 30px; /* টাইটেল থেকে একটু গ্যাপ */
}

/* FAQ Item Style */
.faq-item {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: 0.3s;
    background: #fff;
}

.faq-item:hover {
    border-color: #dbeedd;
}

/* Question Header */
.faq-question {
    background: #fdfdfd;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 600;
    color: #444;
    margin: 0;
}

.faq-question i {
    color: var(--brand-color);
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* Active State */
.faq-item.active {
    border-color: var(--brand-color);
    box-shadow: 0 5px 15px rgba(21, 151, 89, 0.1);
}

.faq-item.active .faq-question {
    background: var(--brand-color);
}

.faq-item.active .faq-question h3 {
    color: #fff;
}

.faq-item.active .faq-question i {
    color: #fff;
    transform: rotate(45deg);
}

/* Answer Body */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #fff;
}

.faq-answer p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    text-align: left; /* উত্তরগুলো বাম পাশেই সুন্দর লাগে */
}

/* Responsive */
@media (max-width: 600px) {
    .faq-question h3 { font-size: 15px; }
    .faq-question { padding: 15px; }
    .faq-answer p { padding: 15px; }
}


/* --- Video Section --- */
.video-section {
    padding: 10px 0;
    background: #fff;
    border-bottom: 10px solid #f9f9f9;
}

.video-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.video-nav-buttons { display: flex; gap: 10px; }
.v-btn {
    width: 35px; height: 35px; border-radius: 50%; border: 1px solid #ddd; background: #fff; color: #555; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center;
}
.v-btn:hover { background: var(--brand-color); color: #fff; border-color: var(--brand-color); }

/* Slider Layout */
.video-slider-viewport { overflow: hidden; width: 100%; padding: 10px 0; }
.video-track { display: flex; gap: 15px; transition: transform 0.5s ease-in-out; }

/* =========================================
   Video Review Section (Updated)
   ========================================= */

/* Video Card (5 Items per Row) */
.video-card {
    /* 5 items per row calculation */
    flex: 0 0 calc(20% - 12px); 
    min-width: calc(20% - 12px);
    
    /* Design */
    background: #000; /* ইমেজের নিচে কালো ব্যাকগ্রাউন্ড */
    border-radius: 12px;
    overflow: hidden;
    position: relative; /* প্লে বাটন পজিশন করার জন্য জরুরি */
    height: 250px; /* কার্ডের ফিক্সড হাইট (প্রয়োজনে বাড়াতে/কমাতে পারেন) */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s ease;
    border: 1px solid #eee;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    border-color: var(--brand-color);
}

/* Thumbnail (Full Card Cover) */
.video-thumb { 
    width: 100%; 
    height: 100%; 
    position: relative;
}

.video-thumb img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* ছবি চ্যাপ্টা না হয়ে পুরো কার্ড জুড়ে থাকবে */
    transition: 0.5s;
    display: block;
}

/* Hover Effect: Image Zoom & Darken */
.video-card:hover .video-thumb img { 
    transform: scale(1.1); 
    filter: brightness(60%); /* হোভার করলে ছবি একটু কালো হবে */
}

/* Play Button (Centered) */
.play-btn {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); /* একদম মাঝখানে আনার জন্য */
    width: 50px; 
    height: 50px; 
    background: rgba(255, 255, 255, 0.9); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--brand-color); 
    font-size: 20px; 
    animation: pulse-white 2s infinite; 
    transition: 0.3s;
    z-index: 2; /* ইমেজের উপরে থাকবে */
}

.play-btn:hover { 
    background: var(--brand-color); 
    color: #fff; 
    transform: translate(-50%, -50%) scale(1.1); 
}

/* Pulse Animation */
@keyframes pulse-white { 
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); } 
    70% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); } 
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } 
}

/* Responsive Breakpoints */
@media (max-width: 1100px) { 
    .video-card { flex: 0 0 calc(25% - 12px); min-width: calc(25% - 12px); } /* 4 Items */
} 
@media (max-width: 900px) { 
    .video-card { flex: 0 0 calc(33.33% - 12px); min-width: calc(33.33% - 12px); } /* 3 Items */
} 
@media (max-width: 600px) { 
    .video-card { 
        flex: 0 0 calc(50% - 10px); 
        min-width: calc(50% - 10px); 
        height: 200px; /* মোবাইলে হাইট একটু কমানো হলো */
    } 
} /* 2 Items */
@media (max-width: 400px) { 
    .video-card { flex: 0 0 100%; min-width: 100%; } /* 1 Item */
}





/* --- Footer Section (Updated Base Styles) --- */
.footer-section {
    background-color: var(--brand-color); /* আপনার ব্র্যান্ডের সবুজ কালার */
    color: #fff;
    padding-top: 15px;
    font-family: 'Google Sans', sans-serif; /* আপনার দেওয়া ফন্ট ফ্যামিলি */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

/* Titles */
.footer-title {
    font-size: 22px; /* সাইজ একটু বাড়ানো হয়েছে */
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
    display: inline-block;
}

/* --- Left Column: Contact --- */
.contact-info .c-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.c-item i {
    font-size: 20px; /* আইকন সাইজ */
    margin-top: 5px;
    width: 25px;
}

.c-item div span {
    display: block;
    font-size: 14px; /* 13px -> 14px */
    opacity: 0.9;
    margin-bottom: 3px;
    font-weight: 500;
}

.c-item div strong {
    font-size: 17px; /* 15px -> 17px (মোবাইল নাম্বার হাইলাইট) */
    font-weight: 700;
    display: block;
}

.c-item div small {
    display: block;
    font-size: 13px;
    margin-top: 3px;
    opacity: 0.8;
}

.c-item div p {
    font-size: 15px; /* 14px -> 15px */
    margin: 0;
    line-height: 1.6;
}

/* --- Middle Column: Brand --- */
.brand-col {
    text-align: center;
}

.footer-logo img {
    height: 70px; /* লোগো একটু বড় করা হয়েছে */
    margin-bottom: 15px;
    background: #fff;
    padding: 8px;
    border-radius: 5px;
}

.brand-desc {
    font-size: 15px; /* 14px -> 15px */
    line-height: 1.7;
    margin-bottom: 25px;
    opacity: 0.95;
    font-weight: 500;
}

.social-area span {
    display: block;
    font-size: 15px;
    margin-bottom: 10px;
    font-weight: 600;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.sc-icon {
    width: 40px; /* আইকন বক্স বড় করা হয়েছে */
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

/* Social Icon Colors */
.sc-icon.yt { color: #ff0000; }
.sc-icon.fb { color: #1877f2; }
.sc-icon.tk { color: #000; }
.sc-icon.in { color: #e1306c; }

.sc-icon:hover {
    transform: translateY(-3px);
    background: #f1f1f1;
}

/* --- Right Column: Links --- */
.links-col ul {
    list-style: none;
    padding: 0;
}

.links-col ul li {
    margin-bottom: 12px;
}

.links-col ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px; /* 15px -> 16px */
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.links-col ul li a i {
    font-size: 13px;
    opacity: 0.7;
}

.links-col ul li a:hover {
    padding-left: 5px;
    opacity: 1;
    font-weight: 700;
}

/* --- Footer Bottom --- */
.footer-bottom {
    background: rgba(0, 0, 0, 0.15);
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 15px; /* 13px -> 15px */
    opacity: 1;
    font-weight: 600;
}

/* =========================================
   MOBILE RESPONSIVE DESIGN (Grid Layout Preserved)
   ========================================= */
@media (max-width: 768px) {
    .footer-content {
        display: grid;
        /* দুটি কলাম পাশাপাশি (55% এবং 45% জায়গা) */
        grid-template-columns: 1.2fr 0.8fr; 
        gap: 8px;
        padding-bottom: 10px;
    }

    /* 1. Brand/Logo Section (সবার উপরে থাকবে) */
    .brand-col {
        grid-column: 1 / -1; /* পুরো উইডথ নিবে */
        order: 1; 
        text-align: center;
        margin-bottom: 20px;
        border-bottom: 1px dashed rgba(255,255,255,0.1);
        padding-bottom: 20px;
    }
    
    .brand-desc {
        font-size: 14px;
        padding: 0 10px;
    }

    /* 2. Contact Info (বামে থাকবে) */
    .contact-col {
        order: 2;
        border-right: 1px solid rgba(255,255,255,0.1); /* মাঝখানে দাগ */
        padding-right: 5px;
        min-width: auto; /* ফ্লেক্সের ডিফল্ট উইডথ রিসেট */
    }

    /* 3. Quick Links (ডানে থাকবে) */
    .links-col {
        order: 3;
        padding-left: 10px;
        min-width: auto;
    }

    /* --- Mobile Specific Styles --- */
    
    .footer-title {
        font-size: 16px;
        margin-bottom: 15px;
        border-bottom: none;
        padding-bottom: 0;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    /* Compact Contact Info */
    .contact-info .c-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        margin-bottom: 15px;
    }

    .c-item i {
        font-size: 18px;
        color: #ffbc00; /* আইকন হাইলাইট */
        margin-top: 0;
        margin-bottom: 2px;
    }

    .c-item div span {
        display: none; /* লেবেল হাইড করে জায়গা বাঁচানো হলো */
    }
    
    .c-item div strong {
        font-size: 14px;
        font-weight: 600;
    }
    
    .c-item div p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .c-item div small {
        font-size: 11px;
    }

    /* Compact Quick Links */
    .links-col ul li {
        margin-bottom: 10px;
    }
    
    .links-col ul li a {
        font-size: 13px;
        gap: 5px;
    }
}

/* --- Mobile Footer Fix (Copyright Text Visibility) --- */
@media (max-width: 768px) {
    .footer-bottom {
        /* বটম মেনুর হাইট (70-80px) অনুযায়ী প্যাডিং দেওয়া হলো */
        padding-bottom: 90px !important; 
    }
}



/* --- Sticky Wrapper (Holds Top Bar + Main Header) --- */
.header-sticky-wrapper {
    position: sticky;       /* স্ক্রল করলে আটকে থাকবে */
    top: 0;                 /* পেজের একদম উপরে */
    z-index: 9999;          /* অন্য সব কন্টেন্টের উপরে */
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* শ্যাডো */
}

/* --- Top Bar Styling (Fixed Brand Color) --- */
.top-bar-bg {
    background-color: var(--brand-color); /* আপনার ব্র্যান্ড কালার (সবুজ) */
    color: #fff;            /* লেখা সাদা */
    padding: 8px 0;
    font-size: 13px;
    font-weight: 500;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Top Bar Links/Icons Color */
.top-bar-right, .top-bar-right span, .top-bar-right i {
    color: #fff; /* আইকন এবং টেক্সট সাদা */
    cursor: pointer;
}

.top-bar-right span:hover {
    text-decoration: underline;
}

/* --- Main Header Background Fix --- */
.main-header-bg {
    background: #fff;
    border-bottom: 1px solid #f1f1f1;
    position: -webkit-sticky; /* Safari browser support er jonno */
    z-index: 99;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sticky hole shadow dorkar */
    width: 100%;
}


/* --- Shop By Category Section (Full Image Cover) --- */
.category-section {
    padding: 40px 0;
    background: #fff;
    border-bottom: 10px solid #f9f9f9;
}

.category-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Navigation Buttons */
.cat-nav-buttons { display: flex; gap: 10px; }
.c-btn {
    width: 35px; height: 35px;
    border-radius: 50%;
    border: 1px solid #eee;
    background: #fff;
    color: #555;
    cursor: pointer;
    transition: 0.3s;
    display: flex; align-items: center; justify-content: center;
}
.c-btn:hover { background: var(--brand-color); color: #fff; border-color: var(--brand-color); }

/* Slider Layout */
.category-slider-viewport {
    overflow: hidden;
    padding: 10px; /* শ্যাডোর জন্য স্পেস */
}

.category-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease-in-out;
}

/* --- Category Card Design (Updated for Full Cover) --- */
.category-card {
    display: block;
    text-decoration: none;
    position: relative; /* For Overlay positioning */
    
    /* Grid Size (Desktop: 6 items) */
    flex: 0 0 calc(16.66% - 17px);
    min-width: calc(16.66% - 17px);
    
    height: 220px; /* ফিক্সড হাইট যাতে সব কার্ড সমান হয় */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
    border: none; /* বর্ডার রিমুভ করা হলো */
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Image Area (Full Cover) */
.cat-img {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    background: #000; /* লোড না হলে কালো ব্যাকগ্রাউন্ড */
}

.cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ইমেজ পুরো কার্ড কাভার করবে */
    transition: 0.5s ease;
    opacity: 0.85; /* টেক্সট পড়ার জন্য ইমেজ একটু ডার্ক করা */
}

.category-card:hover .cat-img img {
    transform: scale(1.1); /* জুম ইফেক্ট */
    opacity: 1;
}

/* Info Area (Overlay Text) */
.cat-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 10px;
    
    /* টেক্সটের নিচে কালো শেড দেওয়া যাতে পড়া যায় */
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    
    text-align: center;
    z-index: 2;
}

.cat-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff; /* সাদা টেক্সট */
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.cat-info span {
    font-size: 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.2); /* গ্লাস ইফেক্ট */
    padding: 3px 10px;
    border-radius: 15px;
    backdrop-filter: blur(4px);
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1100px) {
    .category-card { flex: 0 0 calc(20% - 16px); min-width: calc(20% - 16px); } /* 5 items */
}
@media (max-width: 900px) {
    .category-card { flex: 0 0 calc(25% - 15px); min-width: calc(25% - 15px); } /* 4 items */
}
@media (max-width: 600px) {
    .category-card { 
        flex: 0 0 calc(33.33% - 14px); 
        min-width: calc(33.33% - 14px); 
        height: 180px; /* মোবাইলে হাইট একটু কমানো */
    } 
    .cat-info h4 { font-size: 13px; }
}
@media (max-width: 400px) {
    .category-card { flex: 0 0 calc(50% - 10px); min-width: calc(50% - 10px); } /* 2 items */
}


/* --- Single Product Page Styles --- */
.product-details-section {
    padding: 30px 0 60px;
    background: #fff;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 14px;
    color: #777;
    margin-bottom: 25px;
}
.breadcrumb a { text-decoration: none; color: #555; }
.breadcrumb a:hover { color: var(--brand-color); }

/* Layout Grid */
.product-details-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* বামে একটু বড় ইমেজ এরিয়া, ডানে ইনফো */
    gap: 40px;
}

/* --- Gallery Styles --- */
.main-image {
    width: 100%;
    height: 550px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}
.main-image img { width: 100%; height: 100%; object-fit: cover; }

.thumbnail-list {
    display: flex;
    gap: 10px;
}

.thumb {
    width: 80px;
    height: 80px;
    border: 1px solid #eee;
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.7;
    transition: 0.3s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover, .thumb.active { opacity: 1; border-color: var(--brand-color); }

/* Video Thumbnail Style */
.video-thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    color: #555;
    font-size: 12px;
}
.video-thumb i { font-size: 20px; margin-bottom: 5px; color: red; }

/* --- Product Info Styles --- */
.p-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.p-price {
    font-size: 22px;
    margin-bottom: 20px;
}
.new-price { color: var(--brand-color); font-weight: 700; margin-right: 10px; }
.old-price { color: #999; text-decoration: line-through; font-size: 18px; }

.p-short-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 15px;
}

/* Form Elements */
.p-variation { margin-bottom: 20px; }
.p-variation label { font-weight: 600; margin-right: 10px; color: #444; }
.custom-select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #555;
    outline: none;
}

.p-stock {
    color: var(--brand-color);
    margin-bottom: 25px;
    font-size: 15px;
}

/* Action Wrapper */
.action-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.qty-counter {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.qty-btn {
    width: 35px;
    height: 40px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}
.qty-btn:hover { background: #eee; }
#qtyInput {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-weight: 600;
    outline: none;
}

.main-btns {
    display: flex;
    gap: 15px;
}
.btn-add-order {
    background: #1a4d2e; /* Dark Green */
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.btn-add-cart {
    background: transparent; /* ব্যাকগ্রাউন্ড ট্রান্সপ্যারেন্ট */
    color: var(--brand-color); /* টেক্সট কালার ব্র্যান্ড কালার */
    padding: 10px 25px;
    border: 1px solid var(--brand-color); /* সলিড বর্ডার */
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}


/* Contact Buttons */
.contact-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}
.btn-call, .btn-whatsapp {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-call { background: var(--brand-color); }
.btn-whatsapp { background: #25d366; }

/* Meta Info */
.p-meta p { margin-bottom: 8px; font-size: 14px; color: #555; }
.p-meta strong { color: #333; margin-right: 5px; }

.share-area {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
}
.share-area a { color: #777; font-size: 16px; transition: 0.3s; }
.share-area a:hover { color: var(--brand-color); }

/* Responsive */
@media (max-width: 900px) {
    .product-details-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .main-image { height: 300px; }
    .action-wrapper { flex-direction: column; align-items: stretch; }
    .main-btns { flex: 1; display: flex; }
    .main-btns button { flex: 1; }
}


/* --- Mobile Responsive Fixes --- */
@media (max-width: 768px) {
    
html, body {
        /* overflow-x: hidden;  <-- এই লাইনটি কেটে দিন বা কমেন্ট করে দিন */
        width: 100%;
        overflow-x: visible; /* অথবা এটি ব্যবহার করুন */
    }

    /* 2. Make Thumbnails Scrollable (Left to Right) */
    .thumbnail-list {
        display: flex;
        gap: 10px;
        overflow-x: auto;      /* হরিজন্টাল স্ক্রল অন করা হলো */
        flex-wrap: nowrap;     /* নিচে নামবে না, এক লাইনে থাকবে */
        -webkit-overflow-scrolling: touch; /* মোবাইলে স্মুথ স্ক্রলিং এর জন্য */
        padding-bottom: 5px;   /* নিচে একটু জায়গা */
        
        /* স্ক্রলবার লুকানোর জন্য (অপশনাল) */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }

    /* Hide Scrollbar for Chrome/Safari */
    .thumbnail-list::-webkit-scrollbar {
        display: none;
    }

    /* 3. Fix Thumbnail Size on Mobile */
    .thumb {
        flex: 0 0 70px; /* ফিক্সড উইডথ যাতে ছোট না হয়ে যায় */
        width: 70px;    
        height: 70px;   
    }

    /* 4. Layout Adjustments */
    .product-details-wrapper {
        display: flex;
        flex-direction: column; /* উপরে ইমেজ, নিচে ডিটেইলস */
        gap: 20px;
    }

    .main-image {
        height: 300px; /* মোবাইলে মেইন ইমেজের হাইট কমানো হলো */
    }

    /* 5. Buttons Fixed at Bottom (Optional: Like App) or Stacked */
    .action-wrapper {
        flex-direction: column;
        width: 100%;
    }
    
    .qty-counter {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }

    .qty-counter input {
        width: 100px;
    }

    .main-btns {
        width: 100%;
    }

    .btn-add-order, .btn-pay-now {
        flex: 1; /* বাটনগুলো সমান বড় হবে */
        padding: 12px 0;
    }
    
    .contact-btns {
        flex-direction: column;
    }
}


.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px; /* রেটিং এবং প্রাইসের মাঝখানের গ্যাপ */
    font-size: 11px;
    color: #ffbc00;
}

.product-rating span {
    color: #888;
    margin-left: 2px;
}


/* =========================================
   Product Tabs Section (Full Styles)
   ========================================= */
.product-tabs-section {
    padding: 40px 0 60px;
    background: #fdfdfd;
    border-top: 1px solid #eee;
    margin-top: 30px;
}

/* --- Tab Navigation --- */
.tab-nav-wrapper {
    display: flex;
    border-bottom: 2px solid #e5e5e5;
    margin-bottom: 30px;
    gap: 30px;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #555;
    padding: 15px 0;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
    white-space: nowrap; /* টেক্সট যাতে ভেঙে না যায় */
}

.tab-btn:hover {
    color: var(--brand-color);
}

/* Active Tab Button Style */
.tab-btn.active {
    color: var(--brand-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand-color);
}

/* --- Tab Content Wrapper --- */
.tab-content-wrapper {
    background: #fff;
    padding: 30px;
    border: 1px solid #f1f1f1;
    border-radius: 8px;
    min-height: 300px;
}

/* Tab Pane Animation */
.tab-pane {
    display: none; /* ডিফল্ট হাইড */
    animation: fadeIn 0.5s;
}

.tab-pane.active {
    display: block; /* একটিভ হলে শো করবে */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Tab 1: Description Styles --- */
.tab-pane h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 20px;
    font-weight: 700;
}

.tab-pane p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 15px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.feature-list li {
    margin-bottom: 10px;
    color: #555;
    font-size: 15px;
}

/* --- Tab 2: FAQ (Accordion Style) --- */
.p-faq-item {
    border: 1px solid #eee;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: 0.3s;
}

.p-faq-item:hover {
    border-color: #dbeedd;
}

/* Question Header */
.p-faq-question {
    background: #fdfdfd;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    color: #333;
    transition: 0.3s;
}

.p-faq-question i {
    color: var(--brand-color);
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* FAQ Active State */
.p-faq-item.active {
    border-color: var(--brand-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.p-faq-item.active .p-faq-question {
    background: var(--brand-color);
    color: #fff;
}

.p-faq-item.active .p-faq-question i {
    color: #fff;
    transform: rotate(45deg); /* Plus icon turns into Cross */
}

/* Answer Body */
.p-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #fff;
}

.p-faq-answer p {
    padding: 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    border-top: 1px solid #f1f1f1;
}

/* --- Tab 3: Reviews Styles --- */
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.write-review-btn {
    background: transparent;
    border: 1px solid var(--brand-color);
    color: var(--brand-color);
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.write-review-btn:hover {
    background: var(--brand-color);
    color: #fff;
}

.review-item {
    border-bottom: 1px solid #f9f9f9;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.review-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.reviewer-info {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 10px;
}

.reviewer-info img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info h4 {
    font-size: 15px;
    margin: 0 0 5px;
    color: #333;
}

.r-stars {
    font-size: 12px;
    color: #ffc107;
}

.r-comment {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-left: 60px; /* ইমেজের নিচ থেকে সরাবে */
}

/* --- Mobile Responsive --- */
@media (max-width: 600px) {
    /* Tab Nav Scrollable on Mobile */
    .tab-nav-wrapper {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
        gap: 20px;
    }
    
    /* Hide Scrollbar */
    .tab-nav-wrapper::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        padding: 10px 0;
        font-size: 14px;
    }

    .tab-content-wrapper {
        padding: 20px 15px;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .r-comment {
        margin-left: 0; /* মোবাইলে কমেন্ট নিচে সোজা থাকবে */
    }
}


/* --- 4. Cart Items Styles (Inside Sidebar) --- */
.checkout-cart-list {
    max-height: 250px; /* বেশি আইটেম হলে স্ক্রল হবে */
    overflow-y: auto;
    padding-right: 5px;
}
.checkout-cart-list::-webkit-scrollbar { width: 4px; }
.checkout-cart-list::-webkit-scrollbar-thumb { background: #eee; }

.checkout-item {
    display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed #f1f1f1;
}
.checkout-item:last-child { border-bottom: none; }

/* Image Box */
.ci-img-box {
    position: relative; width: 55px; height: 55px; border-radius: 6px; border: 1px solid #eee; background: #fff; flex-shrink: 0;
}
.ci-img-box img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.ci-count-badge {
    position: absolute; top: -6px; right: -6px; background: #666; color: #fff; width: 18px; height: 18px; border-radius: 50%; font-size: 10px; display: flex; align-items: center; justify-content: center; font-weight: bold; border: 2px solid #fff;
}

/* Content */
.ci-content { flex: 1; }
.ci-name { font-size: 13px; font-weight: 600; color: #333; margin: 0 0 8px; line-height: 1.3; }
.ci-row-bottom { display: flex; justify-content: space-between; align-items: center; }

/* Mini Quantity Buttons */
.mini-qty-control {
    display: flex; align-items: center; border: 1px solid #ddd; border-radius: 4px; background: #fff;
}
.mini-qty-control button {
    width: 22px; height: 22px; border: none; background: transparent; cursor: pointer; font-size: 9px; color: #555; display: flex; align-items: center; justify-content: center;
}
.mini-qty-control button:hover { background: #eee; color: var(--brand-color); }
.qty-val {
    width: 20px; text-align: center; border: none; font-size: 11px; font-weight: 700; color: #333; background: transparent; padding: 0; outline: none;
}

/* Item Price */
.ci-price .item-total { font-size: 13px; font-weight: 700; color: var(--brand-color); }

/* --- 5. Form Elements --- */
.cs-form .form-group { margin-bottom: 12px; }

.cs-form .form-control {
    width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 5px; font-size: 13px; color: #333; transition: 0.3s; background: #fdfdfd;
}
.cs-form .form-control:focus {
    border-color: var(--brand-color); background: #fff; outline: none; box-shadow: 0 0 0 2px rgba(21, 151, 89, 0.1);
}
.cs-form textarea { resize: none; }

.custom-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23555' viewBox='0 0 24 24'%3e%3cpath stroke-width='2' d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: right 10px center; background-size: 14px;
}

/* --- 6. Payment Methods --- */
.pm-option.compact { display: block; margin-bottom: 8px; cursor: pointer; }
.pm-option.compact input { display: none; } /* Hide Radio */

.pm-box {
    display: flex; align-items: center; padding: 10px; border: 1px solid #ddd; border-radius: 6px; transition: 0.3s; position: relative;
}
.pm-name { font-size: 13px; font-weight: 600; color: #333; display: flex; align-items: center; }
/* Custom Radio Circle */
.pm-name::before {
    content: ''; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #ccc; margin-right: 10px; transition: 0.3s; flex-shrink: 0;
}

/* Active Payment State */
.pm-option.compact input:checked + .pm-box {
    border-color: var(--brand-color); background: rgba(21, 151, 89, 0.05);
}
.pm-option.compact input:checked + .pm-box .pm-name::before {
    border-color: var(--brand-color); background: var(--brand-color); box-shadow: inset 0 0 0 3px #fff;
}

/* --- 7. Footer (Totals & Button) --- */
.cs-footer {
    padding: 20px;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.03);
    flex-shrink: 0;
}

.cs-cal-row { display: flex; justify-content: space-between; font-size: 13px; color: #666; margin-bottom: 6px; }
.cs-total-row {
    display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; color: #333; margin-top: 10px; margin-bottom: 15px; border-top: 1px solid #eee; padding-top: 10px;
}
#sideGrandTotal { color: var(--brand-color); font-size: 18px; }

.place-order-btn {
    width: 100%; padding: 12px; background: var(--brand-color); color: #fff; border: none; border-radius: 6px; font-size: 15px; font-weight: 700; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.place-order-btn:hover { background: #117a47; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.15); }

/* --- 8. Mobile Responsive --- */
@media (max-width: 480px) {
    .checkout-sidebar { width: 100%; right: -100%; } /* ফুল স্ক্রিন মোবাইলে */
    .cs-header { padding: 12px 15px; }
    .cs-body { padding: 15px; }
    .cs-footer { padding: 15px; }
}


/* =========================================
   Image-Like Cart Sidebar Styles
   ========================================= */

/* Sidebar Container */
.cart-sidebar {
    position: fixed; top: 0; right: -420px;
    width: 400px; height: 100%;
    background: #f8f9fa; /* হালকা ধূসর ব্যাকগ্রাউন্ড */
    z-index: 10001;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; flex-direction: column;
    font-family: 'Hind Siliguri', sans-serif;
}
.cart-sidebar.active { right: 0; }

/* Header */
.cs-header {
    padding: 20px; background: #fff;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid #eee;
}
.cs-header h3 { margin: 0; font-size: 20px; color: #333; font-weight: 700; }
.cart-count { color: #777; font-size: 16px; font-weight: 400; background: #eee; padding: 2px 8px; border-radius: 20px; }

/* Body (Items List) */
.cs-body {
    flex: 1; overflow-y: auto; padding: 15px;
}

/* --- Cart Item Card Design --- */
.side-cart-item {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    border: 1px solid #f1f1f1;
    position: relative;
}

.sci-img {
    width: 70px; height: 70px; border-radius: 8px; overflow: hidden;
    border: 1px solid #eee; flex-shrink: 0;
}
.sci-img img { width: 100%; height: 100%; object-fit: cover; }

.sci-content { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }

.sci-top { display: flex; justify-content: space-between; margin-bottom: 10px; }
.sci-name { font-size: 15px; font-weight: 600; color: #333; margin: 0 0 4px; line-height: 1.3; }
.sci-variant { font-size: 12px; color: #888; margin-bottom: 4px; }
.sci-unit-price { font-size: 14px; color: var(--brand-color); font-weight: 600; }

/* Delete Button (Red Circle) */
.sci-remove {
    width: 30px; height: 30px;
    background: #fff5f5; border: 1px solid #ffecec;
    border-radius: 50%; color: #ff4d4f;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.3s;
    font-size: 14px; position: absolute; top: 10px; right: 10px;
}
.sci-remove:hover { background: #ff4d4f; color: #fff; border-color: #ff4d4f; }

/* Bottom Row (Qty & Total) */
.sci-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 5px; }

/* Pill Shape Qty Control */
.sci-qty-control {
    display: flex; align-items: center;
    border: 1px solid #ddd; border-radius: 50px;
    background: #fff; padding: 2px;
}
.sci-qty-control button {
    width: 28px; height: 28px; border-radius: 50%;
    border: none; background: transparent; cursor: pointer;
    font-size: 14px; color: #555; display: flex; align-items: center; justify-content: center;
}
.sci-qty-control button:hover { background: #f1f1f1; }
.sci-qty-control input {
    width: 30px; text-align: center; border: none; font-weight: 600;
    font-size: 14px; color: #333; outline: none;
}

.sci-total-price { font-size: 16px; font-weight: 700; color: var(--brand-color); }


/* --- Footer (Order Summary) --- */
.cs-footer {
    background: #fff; padding: 25px 20px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
}

.cs-summary-row {
    display: flex; justify-content: space-between;
    font-size: 15px; color: #555; margin-bottom: 8px; font-weight: 500;
}

.cs-divider {
    height: 1px; background: #ddd;
    border-top: 2px dashed #ccc; /* ড্যাশড লাইন */
    background: none; height: 2px;
    margin: 15px 0;
}

.cs-summary-row.total { font-size: 18px; color: #333; font-weight: 700; }
.cs-summary-row.total .amount { color: var(--brand-color); font-size: 22px; }

.vat-text { font-size: 12px; color: #999; text-align: right; margin-bottom: 15px; font-style: italic; }

/* Checkout Button (Green Full Width) */
.btn-checkout-pro {
    width: 100%; padding: 14px;
    background: #E67E22 !important; 
    color: #fff;
    border: none; border-radius: 8px;
    font-size: 17px; font-weight: 700;
    cursor: pointer; transition: 0.3s;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 5px 15px rgba(21, 151, 89, 0.3);
}
.btn-checkout-pro:hover { background: #117a47; transform: translateY(-2px); }

.security-badge {
    text-align: center; margin-top: 15px;
    font-size: 13px; color: #777; background: #f9f9f9;
    padding: 8px; border-radius: 6px; display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* Mobile */
@media (max-width: 480px) {
    .cart-sidebar { width: 100%; right: -100%; }
}

/* --- Sidebar Container --- */
.cart-sidebar {
    position: fixed;
    top: 0; right: -400px; /* Hidden */
    width: 380px;
    height: 100%;
    background: #fff;
    z-index: 10001;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.cart-sidebar.active { right: 0; }

/* --- Header --- */
.cs-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}
.cs-header h3 { margin: 0; font-size: 18px; color: #333; font-weight: 700; }
.cart-count { color: var(--brand-color); font-size: 16px; }

/* --- Body (Cart List) --- */
.cs-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.side-cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}
.side-cart-item:last-child { border-bottom: none; }

.sci-img {
    width: 60px; height: 60px;
    border-radius: 6px;
    border: 1px solid #eee;
    flex-shrink: 0;
}
.sci-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }

.sci-info { flex: 1; }
.sci-info h4 {
    font-size: 14px; color: #333; margin: 0 0 5px; font-weight: 600; line-height: 1.3;
}
.sci-meta { font-size: 13px; color: #666; }
.sci-qty { font-weight: 600; color: #333; }
.sci-price { color: var(--brand-color); font-weight: 700; margin-left: 5px; }

.sci-remove {
    background: none; border: none; color: #999; cursor: pointer; transition: 0.3s;
}
.sci-remove:hover { color: #ff5252; transform: scale(1.1); }

/* --- Footer --- */
.cs-footer {
    padding: 20px;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.03);
}

.cs-total-row {
    display: flex; justify-content: space-between;
    font-size: 16px; font-weight: 700; color: #333;
    margin-bottom: 20px;
}
.cs-total-row .amount { color: var(--brand-color); font-size: 18px; }

.cs-btn-group { display: flex; gap: 10px; }
.cs-btn-group a {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-view-cart {
    background: #f1f1f1; color: #333;
}
.btn-view-cart:hover { background: #e0e0e0; }

.btn-checkout-now {
    background: var(--brand-color); color: #fff;
}
.btn-checkout-now:hover { background: #117a47; }

/* --- Mobile Responsive --- */
@media (max-width: 480px) {
    .cart-sidebar { width: 100%; right: -100%; }
    .side-cart-item { margin-bottom: 15px; }
}


/* =========================================
   Modern Cart Page Styles
   ========================================= */
.cart-section {
    padding: 40px 0 80px;
    background-color: #f4f6f8; /* সফট গ্রে ব্যাকগ্রাউন্ড */
    min-height: 90vh;
    font-family: 'Google Sans', sans-serif;
}

/* Breadcrumb */
.cart-breadcrumb {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
}
.cart-breadcrumb a { text-decoration: none; color: #6c757d; transition: 0.3s; }
.cart-breadcrumb a:hover { color: var(--brand-color); }
.cart-breadcrumb .separator { font-size: 10px; margin: 0 8px; opacity: 0.5; }

/* Title */
.cart-page-title { margin-bottom: 30px; }
.cart-page-title h2 { font-size: 24px; font-weight: 700; color: #333; }
.cart-page-title .count { font-size: 16px; color: #777; font-weight: 400; margin-left: 5px; }

/* Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px; /* আইটেম লিস্ট বড়, সামারি বক্স ফিক্সড */
    gap: 30px;
}

/* --- Left Side: Items --- */
.cart-left {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    padding: 25px;
}

/* Header */
.cart-table-header {
    display: flex;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f1f1;
    margin-bottom: 20px;
    font-weight: 600;
    color: #888;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.th-product { flex: 4; }
.th-price, .th-qty, .th-total, .th-action { flex: 1; text-align: center; }

/* Item Row */
.cart-item-row {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #f1f1f1;
    transition: 0.3s;
}
.cart-item-row:last-of-type { border-bottom: none; }
.cart-item-row:hover { background-color: #fafafa; }

/* Product Info */
.ci-product {
    flex: 4;
    display: flex;
    align-items: center;
    gap: 20px;
}
.ci-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    flex-shrink: 0;
}
.ci-img img { width: 100%; height: 100%; object-fit: cover; }

.ci-details h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px;
    line-height: 1.4;
}
.ci-meta { font-size: 13px; color: #999; margin: 0; }
.mobile-price-tag { display: none; }

/* Price & Total */
.ci-price, .ci-total {
    flex: 1;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #555;
}
.ci-total { color: var(--brand-color); font-weight: 700; }

/* Quantity Selector (Modern Pill Shape) */
.ci-qty { flex: 1; display: flex; justify-content: center; }

.modern-qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 50px; /* পিল শেপ */
    padding: 2px;
    width: 110px;
    justify-content: space-between;
}
.modern-qty-selector button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #555;
    cursor: pointer;
    font-size: 10px;
    display: flex; align-items: center; justify-content: center;
    transition: 0.2s;
}
.modern-qty-selector button:hover { background: #eee; color: var(--brand-color); }
.qty-inp {
    width: 30px;
    text-align: center;
    border: none;
    font-weight: 700;
    color: #333;
    background: transparent;
    outline: none;
}

/* Actions */
.ci-action { flex: 1; text-align: center; }
.remove-btn {
    width: 35px; height: 35px;
    border-radius: 50%;
    border: 1px solid #fdeaea;
    background: #fff5f5;
    color: #ff4d4f;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex; align-items: center; justify-content: center;
}
.remove-btn:hover { background: #ff4d4f; color: #fff; border-color: #ff4d4f; transform: scale(1.1); }

/* Continue Shop Link */
.continue-shop-link {
    display: inline-block;
    margin-top: 30px;
    text-decoration: none;
    color: #666;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}
.continue-shop-link:hover { color: var(--brand-color); padding-left: 5px; }


/* --- Right Side: Order Summary --- */
.order-summary-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    position: sticky;
    top: 100px;
}

.os-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f1f1;
}

.os-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 15px;
    color: #555;
}
.os-row .amount { font-weight: 600; color: #333; }

.os-divider {
    height: 1px;
    background: #eee;
    margin: 20px 0;
    border-style: dashed;
}

.os-row.total {
    font-size: 18px;
    color: #333;
    margin-top: 5px;
}
.os-row.total .amount.final {
    color: var(--brand-color);
    font-size: 22px;
    font-weight: 800;
}

.os-note {
    font-size: 12px;
    color: #999;
    font-style: italic;
    margin-top: 15px;
    text-align: right;
}

.btn-checkout-pro {
    width: 100%;
    padding: 15px;
    margin-top: 25px;
    background: var(--brand-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(21, 151, 89, 0.3); /* ব্র্যান্ড কালারের শ্যাডো */
    transition: 0.3s;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-checkout-pro:hover {
    background: #117a47;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(21, 151, 89, 0.4);
}

.security-badges {
    margin-top: 20px;
    text-align: center;
    color: #888;
    font-size: 13px;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 6px;
}
.security-badges i { color: #666; margin-right: 5px; }


/* --- Mobile Responsive --- */
@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr; /* স্ট্যাক লেআউট */
    }
    
    .desktop-only { display: none !important; }

    .cart-item-row {
        flex-wrap: wrap;
        position: relative;
        padding: 20px 0;
        align-items: flex-start;
    }

    .ci-product {
        flex: 0 0 100%;
        margin-bottom: 15px;
    }
    
    /* মোবাইলে ইমেজের সাইজ */
    .ci-img { width: 70px; height: 70px; }
    
    .mobile-price-tag {
        display: block;
        font-size: 15px;
        color: var(--brand-color);
        font-weight: 700;
        margin-top: 5px;
    }

    .ci-qty {
        flex: 0 0 auto;
        justify-content: flex-start;
    }

    .ci-total {
        flex: 1;
        text-align: right;
        font-size: 16px;
        align-self: center;
    }

    .ci-action {
        position: absolute;
        top: 20px;
        right: 0;
    }

    .btn-checkout-pro {
        position: sticky;
        bottom: 10px;
        z-index: 100;
    }
}


/* --- Desktop Grid Layout (Default) --- */
.product-grid {
    display: grid;
    /* ডেস্কটপে এক লাইনে ৫টা */
    grid-template-columns: repeat(5, 1fr); 
    gap: 15px;
}

/* Desktop: Hide the 6th Product to keep 1 row clean */
.product-grid .product-card:nth-child(6) {
    display: none; 
}

/* --- Mobile Responsive Layout --- */
@media (max-width: 768px) {
    .product-section {
        padding: 15px 0;
    }
    
    .product-grid {
        /* মোবাইলে এক লাইনে ২টা */
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px;
    }

    /* Mobile: Show the 6th Product again */
    .product-grid .product-card:nth-child(6) {
        display: block; 
    }

    /* Mobile Card Styles */
    .product-info { padding: 10px; }
    .product-name { font-size: 13px; margin-bottom: 5px; }
    .current-price { font-size: 15px; }
    .action-buttons button { font-size: 11px; padding: 6px 0; }
}



/* =========================================
   SHOP PAGE SPECIFIC STYLES
   ========================================= */

/* --- 1. Breadcrumb --- */
.shop-breadcrumb {
    background: #f4f6f8;
    padding: 15px 0;
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}
.shop-breadcrumb a {
    color: var(--brand-color);
    text-decoration: none;
    font-weight: 600;
}

/* --- 2. Shop Layout (Sidebar + Grid) --- */
.shop-layout {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

/* --- 3. Sidebar (Filters) --- */
.shop-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #fff;
    border-right: 1px solid #f1f1f1; /* Optional separation */
}

.filter-widget {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}
.filter-widget:last-child {
    border-bottom: none;
}

.widget-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    padding-left: 12px;
}
/* Green bar beside title */
.widget-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 3px;
    height: 14px;
    background: var(--brand-color);
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-list li {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #555;
}

.filter-list label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}
.filter-list label:hover { color: var(--brand-color); }

.filter-list input[type="checkbox"] {
    accent-color: var(--brand-color);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.count {
    font-size: 12px;
    color: #999;
    background: #f1f1f1;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Rating Stars Color */
.text-warning { color: #ffc107; margin-right: 3px; }

/* Price Filter Inputs */
.price-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}
.price-inputs input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    outline: none;
}
.price-inputs input:focus { border-color: var(--brand-color); }

.btn-filter-apply {
    width: 100%;
    background: var(--brand-color);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: 0.3s;
}
.btn-filter-apply:hover { background: #117a47; }

/* --- 4. Main Content Area --- */
.shop-main {
    flex: 1;
}

.shop-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 12px 15px;
    background: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #eee;
}
.shop-top-bar p { margin: 0; font-size: 14px; color: #555; }

.sort-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    font-size: 14px;
    cursor: pointer;
    background: #fff;
}

/* --- 5. Shop Grid Layout (4 Columns) --- */
.shop-main .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 items per row */
    gap: 20px;
}

/* --- 6. Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}
.pagination a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 4px;
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: 0.3s;
}
.pagination a.active,
.pagination a:hover {
    background: var(--brand-color);
    color: #fff;
    border-color: var(--brand-color);
}

/* =========================================
   MOBILE RESPONSIVE (Shop Specific)
   ========================================= */

/* Hide mobile elements on desktop */
.mobile-filter-btn { display: none; }
.sidebar-close-header { display: none; }

/* Medium Screens (Tablet/Small Laptop) */
@media (max-width: 1200px) {
    .shop-main .product-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 items */
    }
}

/* Mobile & Tablet Portrait */
@media (max-width: 900px) {
    /* Layout Stack */
    .shop-layout {
        flex-direction: column;
    }

    /* Sidebar Drawer Style */
    .shop-sidebar {
        position: fixed;
        top: 0;
        left: -300px; /* Hidden initially */
        width: 280px;
        height: 100%;
        background: #fff;
        z-index: 10005; /* High z-index */
        padding: 20px;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }
    .shop-sidebar.active {
        left: 0; /* Open */
    }

    /* Mobile Filter Button */
    .mobile-filter-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 12px;
        background: #fff;
        border: 1px solid #ddd;
        margin-bottom: 20px;
        font-weight: 600;
        cursor: pointer;
        border-radius: 5px;
        color: #333;
        font-size: 14px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

    /* Drawer Header */
    .sidebar-close-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
    }
    .sidebar-close-header h4 { margin: 0; font-size: 18px; font-weight: 700; }
    .sidebar-close-header i { font-size: 20px; cursor: pointer; padding: 5px; color: #777; }
}

/* Small Mobile Screens */
@media (max-width: 768px) {
    /* Grid 2 Columns */
    .shop-main .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Top Bar Stack */
    .shop-top-bar {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .sort-select {
        width: 100%;
    }
}




/* =========================================
   TODAY ORDERS PAGE SPECIFIC STYLING
   ========================================= */

/* Utilities for Table */
.text-center { text-align: center; }
.font-bold { font-weight: 700; color: #333; }
.text-small { font-size: 12px; color: #666; }

/* Status Badges (Reused/Ensured) */
.badge-blue-pill { background: #e3f2fd; color: #1976d2; padding: 3px 10px; border-radius: 15px; font-weight: 500; font-size: 11px; }
.badge-green-pill { background: #e8f5e9; color: #2e7d32; padding: 3px 10px; border-radius: 15px; font-weight: 500; font-size: 11px; }

/* Action Icons in Table */
.action-icons i { cursor: pointer; font-size: 14px; transition: 0.2s; padding: 5px; }
.action-icons i:hover { transform: scale(1.1); }
.text-blue { color: #2979ff; }
.text-green { color: #00c853; }
.text-red { color: #d50000; }

/* Container Spacing */
.bg-white { background: #fff; }
.rounded { border-radius: 8px; }
.shadow-sm { box-shadow: 0 2px 5px rgba(0,0,0,0.02); }

/* =========================================
   Center Modal Checkout (Image Replica Style)
   ========================================= */

/* Overlay */
.checkout-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); z-index: 9998;
    display: none; backdrop-filter: blur(2px);
}
.checkout-overlay.active { display: block; }

/* Main Modal Container */
.checkout-sidebar {
    position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 95%; max-width: 450px; /* ইমেজের মতো ন্যারো উইডথ */
    height: auto; max-height: 90vh;
    background: #fff; z-index: 9999;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex; flex-direction: column;
    opacity: 0; visibility: hidden;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Hind Siliguri', sans-serif; /* বাংলা ফন্ট */
}
.checkout-sidebar.active { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }

/* Header */
.cs-header {
    padding: 15px 20px; border-bottom: 1px solid #ddd;
    display: flex; justify-content: space-between; align-items: center;
    background: #fff; border-radius: 8px 8px 0 0;
}
.cs-header h3 { margin: 0; font-size: 20px; color: #444; font-weight: 700; }
.close-cs-btn { background: none; border: none; font-size: 20px; color: #666; cursor: pointer; }

/* Body */
.cs-body { flex: 1; overflow-y: auto; padding: 20px; background: #fff; }
.cs-body::-webkit-scrollbar { width: 5px; }
.cs-body::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }

/* Form Fields (Icon + Input) */
.input-with-icon {
    display: flex; align-items: center;
    border: 1px solid #ddd; border-radius: 5px;
    overflow: hidden; margin-bottom: 12px;
}
.icon-box {
    width: 45px; height: 42px; background: #eee;
    display: flex; align-items: center; justify-content: center;
    color: #555; border-right: 1px solid #ddd; flex-shrink: 0;
}
.cs-form .form-control {
    width: 100%; border: none; padding: 10px; font-size: 15px; outline: none; color: #333; font-family: inherit; background: #fff;
}
select.form-control { cursor: pointer; }

/* Delivery Options */
.cs-section-title { font-weight: 600; margin: 10px 0 8px; color: #555; font-size: 16px; }
.delivery-options { border: 1px solid #ddd; border-radius: 5px; overflow: hidden; margin-bottom: 15px; }
.d-option {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 15px; border-bottom: 1px solid #eee; cursor: pointer; transition: 0.2s;
}
.d-option:last-child { border-bottom: none; }
.d-option:hover { background: #f9f9f9; }
.d-left { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #444; }
.d-left input { accent-color: #444; width: 16px; height: 16px; }
.d-price { font-weight: 700; color: #444; font-size: 15px; }

/* Coupon Area */
.coupon-area { display: flex; gap: 10px; margin-bottom: 20px; }
.coupon-area input {
    flex: 1; border: 1px solid #ddd; padding: 10px; border-radius: 4px; outline: none;
}
.btn-apply {
    background: #f39c12; color: #fff; border: none; padding: 0 25px; border-radius: 4px; font-weight: 600; cursor: pointer;
}
.btn-apply:hover { background: #e67e22; }

/* Mini Cart List */
.checkout-cart-list { background: #f4f4f4; border-radius: 5px; padding: 10px; margin-bottom: 15px; }
.mini-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 0; border-bottom: 1px dashed #ccc;
}
.mini-item:last-child { border-bottom: none; }

.mi-img { position: relative; width: 45px; height: 45px; margin-right: 10px; }
.mi-img img { width: 100%; height: 100%; border-radius: 4px; object-fit: cover; border: 1px solid #fff; }
.mi-qty {
    position: absolute; top: -5px; right: -5px; background: #666; color: #fff;
    width: 18px; height: 18px; border-radius: 50%; font-size: 10px;
    display: flex; align-items: center; justify-content: center; border: 1px solid #fff;
}
.mi-info h4 { font-size: 14px; font-weight: 500; color: #333; margin: 0; line-height: 1.3; }
.mi-price { font-weight: 700; color: #333; font-size: 14px; white-space: nowrap; }

/* Totals */
.cs-summary { background: #e8e8e8; padding: 15px; border-radius: 5px; margin-bottom: 15px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; color: #444; margin-bottom: 5px; }
.sum-row.grand {
    border-top: 1px solid #ccc; padding-top: 8px; margin-top: 8px;
    font-weight: 700; font-size: 16px; color: #000;
}

/* Note */
.order-note-area { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 5px; overflow: hidden; }
.order-note-area label {
    background: #fff; padding: 10px; font-size: 13px; font-weight: 700; color: #333; border-right: 1px solid #ddd; white-space: nowrap;
}
.order-note-area textarea { border: none; height: 45px; padding: 12px; resize: none; width: 100%; font-size: 13px; }

/* Footer Button */
.cs-footer { padding: 15px 20px; background: #fff; border-top: 1px solid #eee; border-radius: 0 0 8px 8px; }
.btn-confirm-order {
    width: 100%; background: #f39c12; color: #000; border: none;
    padding: 12px; font-size: 18px; font-weight: 700; border-radius: 5px; cursor: pointer;
    transition: 0.3s;
}
.btn-confirm-order:hover { background: #e67e22; color: #fff; }

/* Mobile */
@media (max-width: 480px) {
    .checkout-sidebar { width: 100%; height: 100%; max-height: 100vh; border-radius: 0; max-width: 100%; }
    .cs-header { border-radius: 0; }
    .cs-footer { border-radius: 0; }
}

/* =========================================
   PAYMENT MODAL & INPUT DESIGN
   ========================================= */

/* 1. Overlay (Background Dim) */
.payment-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); /* কালো আভা */
    z-index: 10005; /* সবার উপরে থাকবে */
    display: none; /* ডিফল্ট হাইড */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px); /* ব্লার ইফেক্ট */
    transition: opacity 0.3s ease;
}

/* Active Class to Show Modal */
.payment-modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s;
}

/* 2. Modal Box Main Structure */
.payment-modal-box {
    background: #fff;
    width: 95%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    font-family: 'Hind Siliguri', sans-serif;
}

/* Header */
.pm-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}
.pm-header h3 { margin: 0; font-size: 18px; color: #333; font-weight: 700; }
.close-pm-btn {
    background: #f1f1f1; border: none; color: #555;
    width: 30px; height: 30px; border-radius: 50%;
    cursor: pointer; transition: 0.3s;
    display: flex; align-items: center; justify-content: center;
}
.close-pm-btn:hover { background: #ffdede; color: #d32f2f; }

/* Body */
.pm-body {
    padding: 20px;
    overflow-y: auto;
    background: #fff;
}

/* 3. Payment Methods Grid (Bkash, Nagad, Rocket...) */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* এক লাইনে ৫টা */
    gap: 10px;
    margin-bottom: 25px;
}

.p-method {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    background: #fdfdfd;
    height: 75px;
}

.p-method img { width: 30px; height: 30px; object-fit: contain; margin-bottom: 5px; }
.p-method span { font-size: 11px; font-weight: 600; color: #555; }
.check-icon {
    position: absolute; top: -6px; right: -6px;
    font-size: 16px; display: none; background: #fff; border-radius: 50%;
}

/* Hover Effect */
.p-method:hover { transform: translateY(-3px); box-shadow: 0 5px 10px rgba(0,0,0,0.05); }

/* --- Active States Colors (Brand Colors) --- */
.p-method.active .check-icon { display: block; }

/* Bkash (Pink) */
.p-method.active#method-bkash { border-color: #e2136e; background: #fff0f6; }
.p-method.active#method-bkash .check-icon { color: #e2136e; }

/* Nagad (Orange) */
.p-method.active#method-nagad { border-color: #f6921e; background: #fff8ee; }
.p-method.active#method-nagad .check-icon { color: #f6921e; }

/* Rocket (Purple) */
.p-method.active#method-rocket { border-color: #8c3494; background: #fceeff; }
.p-method.active#method-rocket .check-icon { color: #8c3494; }

/* Islami Bank (Green) */
.p-method.active#method-islami { border-color: #007038; background: #eafff3; }
.p-method.active#method-islami .check-icon { color: #007038; }

/* Dhaka Bank (Blue) */
.p-method.active#method-dhaka { border-color: #0056b3; background: #eef7ff; }
.p-method.active#method-dhaka .check-icon { color: #0056b3; }


/* 4. Payment Info Box */
.payment-info-box {
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
}

/* Number Copy Area */
.number-display {
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    border: 1px dashed #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.num-left { display: flex; flex-direction: column; }
.num-label { font-size: 12px; color: #888; }
.num-left strong { font-size: 18px; color: #333; letter-spacing: 1px; }
.acc-type {
    font-size: 10px; background: #666; color: #fff;
    padding: 2px 6px; border-radius: 4px; display: inline-block; width: max-content;
}

.btn-copy {
    background: #eef2f7; border: none; color: #555;
    padding: 6px 12px; border-radius: 20px; font-size: 12px; cursor: pointer;
    transition: 0.2s; display: flex; align-items: center; gap: 5px;
}
.btn-copy:hover { background: #dce4f0; color: #000; }

/* Instructions */
.payment-instructions {
    background: #fff; padding: 15px; border-radius: 6px; margin-bottom: 20px;
    font-size: 13px; color: #555; line-height: 1.6; border: 1px solid #eee;
}
.payment-instructions ul { padding-left: 0; list-style: none; margin: 0; }
.payment-instructions li { margin-bottom: 6px; border-bottom: 1px dashed #eee; padding-bottom: 4px; }
.payment-instructions li:last-child { border-bottom: none; margin-bottom: 0; }


/* 5. Input Fields Design (New Request) */
.payment-inputs-area {
    margin-top: 10px;
}
.pi-header {
    font-size: 14px; font-weight: 700; color: var(--brand-color, #159759);
    margin-bottom: 12px; text-transform: uppercase;
    border-left: 3px solid var(--brand-color, #159759); padding-left: 10px;
}

.styled-input-group { margin-bottom: 15px; }
.styled-input-group label {
    display: block; font-size: 13px; font-weight: 600; color: #444; margin-bottom: 6px;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-wrapper i {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    pointer-events: none; /* আইকনে ক্লিক করলে যাতে ইনপুটে কাজ করে */
}

.styled-input {
    width: 100%;
    padding: 12px 12px 12px 40px; /* আইকনের জন্য জায়গা */
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
}

.styled-input:focus {
    border-color: var(--brand-color, #159759);
    box-shadow: 0 0 0 3px rgba(21, 151, 89, 0.1);
    outline: none;
}

.styled-input::placeholder { color: #bbb; font-size: 13px; }


/* 6. Footer Button */
.pm-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    background: #fff;
}
.btn-verify-payment {
    width: 100%;
    background: #f39c12; /* কমলা রঙ */
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    transition: 0.3s;
}
.btn-verify-payment:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Mobile Responsive */
@media (max-width: 480px) {
    .payment-methods { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .p-method { height: 65px; }
    .number-display { flex-direction: column; align-items: flex-start; gap: 10px; }
    .btn-copy { align-self: flex-end; width: 100%; justify-content: center; }
}


/* =========================================
   Mobile Category Grid Layout (New Update)
   ========================================= */

/* 768px বা তার ছোট স্ক্রিনের জন্য (মোবাইল ও ট্যাবলেট) */
@media (max-width: 768px) {

    /* 1. স্লাইডার নেভিগেশন বাটন লুকানো */
    .category-section .section-header .cat-nav-buttons {
        display: none;
    }

    /* 2. স্লাইডার ভিউপোর্টকে সাধারণ কন্টেইনার বানানো */
    .category-slider-viewport {
        overflow: visible !important; /* স্ক্রল বন্ধ করা */
        padding: 10px 0;
    }

    /* 3. ট্র্যাককে গ্রিডে রূপান্তর করা */
    .category-track {
        display: grid !important;
        /* ৩টি সমান কলাম */
        grid-template-columns: repeat(3, 1fr); 
        /* কার্ডগুলোর মাঝখানে গ্যাপ */
        gap: 6px; 
        
        /* স্লাইডারের ডিফল্ট স্টাইল ওভাররাইড করা */
        width: 100% !important;
        transform: none !important;
        transition: none !important;
    }

    /* 4. শুধুমাত্র প্রথম ৬টি ক্যাটাগরি দেখানো (২ সারি x ৩ কলাম = ৬টি) */
    /* ৭ নম্বর আইটেম থেকে বাকিগুলো লুকানো থাকবে */
    .category-track .category-card:nth-child(n+7) {
        display: none;
    }

    /* 5. ক্যাটাগরি কার্ডের ডিজাইন (ছবির মতো) */
    .category-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        background: #ffffff;
        border-radius: 15px; /* গোল কর্নার */
        padding: 2px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* হালকা শ্যাডো */
        text-decoration: none;
        color: inherit;
        height: 100%;
        border: 1px solid #f0f0f0;
        transition: transform 0.3s ease;
    }

    /* কার্ডে টাচ করলে একটু ইফেক্ট */
    .category-card:active {
        transform: scale(0.98);
    }

    /* 6. ক্যাটাগরি ইমেজের কন্টেইনার */
    .cat-img {
        width: 100%;
        /* 1:1 অ্যাসপেক্ট রেশিও (বর্গাকার ছবি রাখার জন্য) */
        aspect-ratio: 1 / 1; 
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 10px;
        background: #f8f9fa; /* ছবি লোড না হলে ব্যাকগ্রাউন্ড কালার */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* ছবির স্টাইল */
    .cat-img img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* বক্স পূর্ণ করে ছবি বসবে */
    }

    /* 7. টেক্সট ইনফো স্টাইল */
    .cat-info h4 {
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 4px;
        color: #ffffff;
    }

    .cat-info span {
        font-size: 11px;
        color: #159759; /* ব্র্যান্ড কালার */
        font-weight: 600;
        background: #e8f5e9;
        padding: 3px 8px;
        border-radius: 10px;
    }
}

/* খুব ছোট মোবাইলের জন্য একটু এডজাস্টমেন্ট (অপশনাল) */
@media (max-width: 380px) {
    .category-track {
        gap: 10px; /* গ্যাপ কমানো */
    }
    .category-card {
        padding: 8px; /* প্যাডিং কমানো */
    }
    .cat-info h4 {
        font-size: 13px; /* ফন্ট সাইজ কমানো */
    }
}


/* --- Stock Progress Bar Styles --- */
.stock-area {
    margin-bottom: 15px;
}

/* Stock Background (Yellow) */
.progress-bg {
    width: 100%;
    height: 5px;
    background-color: #e7c500; /* স্টক কালার (Background) */
    border-radius: 5px;
    overflow: hidden;
}

/* Sold Fill Bar (Green) */
.progress-bar {
    height: 100%;
    background-color: #159759; /* বিক্রি কালার (Fill) */
    border-radius: 5px;
    transition: width 0.4s ease;
}

/* Label Area */
.stock-label {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 13px;
    font-weight: 700;
}

/* Text Colors */
.text-sold {
    color: #159759; /* বিক্রি টেক্সট কালার */
}

.text-stock {
    color: #F9A825; /* স্টক টেক্সট কালার (একটু গাঢ় হলুদ দেওয়া হলো যাতে সাদা ব্যাকগ্রাউন্ডে পড়া যায়) */
}


/* --- FAB Contact Menu Styles --- */

/* Main FAB Container */
.center-fab {
    position: relative;
    top: -20px; /* আগের মতোই উপরে থাকবে */
    cursor: pointer;
    z-index: 1005;
}

/* FAB Icon Switch Animation */
.fab-icon {
    transition: all 0.3s ease;
}

/* Active State (যখন মেনু ওপেন থাকবে) */
.center-fab.active .fab-icon {
    background-color: #333; /* কালার চেঞ্জ (অপশনাল) */
    border-color: #333;
    transform: rotate(90deg); /* ঘুরবে */
}

.center-fab .close-icon { display: none; } /* ক্রস আইকন লুকানো থাকবে */
.center-fab.active .main-icon { display: none; } /* ওপেন হলে মেসেজ আইকন হাইড হবে */
.center-fab.active .close-icon { display: block; color: #fff; font-size: 22px; } /* ক্রস আইকন শো করবে */

/* --- The Popup Menu --- */
.fab-menu {
    position: absolute;
    bottom: 60px; /* মেইন বাটনের উপরে */
    left: 50%;
    transform: translateX(-50%) scale(0); /* শুরুতে ছোট হয়ে থাকবে */
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* বাউন্স এফেক্ট */
    transform-origin: bottom center;
    padding-bottom: 10px;
}

/* মেনু ওপেন হলে */
.center-fab.active .fab-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

/* Individual Buttons (Messenger & WhatsApp) */
.fab-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.fab-btn:hover { transform: scale(1.1); }

/* Brand Colors */
.fab-btn.messenger { background: #0084ff; } /* Messenger Blue */
.fab-btn.whatsapp { background: #25d366; }  /* WhatsApp Green */
.fab-btn.call { background: #009688; }      /* Call Button (Teal) */


/* --- Mobile Responsive Section --- */
@media (max-width: 900px) {

    /* মোবাইলে শো হবে */
    .bottom-nav {
        display: flex; /* Flexbox অন করা হলো */
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 999;
        height: 70px;
        
        /* 6 Items Layout */
        justify-content: space-between;
        align-items: center;
        padding: 8px 5px;
    }

    /* আইকন স্টাইল */
    .nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #888;
        cursor: pointer;
        min-width: auto;
    }

    .nav-item.active { color: var(--brand-color); }

    .nav-item i {
        font-size: 18px;
        margin-bottom: 3px;
    }

    .nav-item span {
        font-size: 10px;
        font-weight: 500;
    }

    /* --- Message Popup Menu (Right Aligned) --- */
    .message-item { position: relative; }

    .fab-menu-right {
        position: absolute;
        bottom: 55px;
        right: 5px; /* একটু মার্জিন রাখা হলো */
        display: flex;
        flex-direction: column;
        gap: 10px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        z-index: 2000;
        padding-bottom: 5px;
        align-items: flex-end; /* ডান দিকে এলাইন */
    }

    .message-item.active .fab-menu-right {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Popup Buttons */
    .fab-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 20px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        text-decoration: none;
        transition: 0.3s;
    }
    
    .fab-btn.messenger { background: #0084ff; }
    .fab-btn.whatsapp { background: #25d366; }
    .fab-btn.call { background: #009688; }
}



/* --- Product Gallery Arrows (Mobile) --- */
.thumbnail-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.thumb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex; /* মোবাইলে ডিসপ্লে ফ্লেক্স হবে */
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 10;
    color: var(--brand-color);
}

.left-arrow { left: -5px; }
.right-arrow { right: -5px; }

.thumbnail-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox Hide Scrollbar */
    padding: 5px 0;
    width: 100%;
}

.thumbnail-list::-webkit-scrollbar { 
    display: none; /* Chrome Hide Scrollbar */
}

/* ডেস্কটপে অ্যারো হাইড থাকবে */
@media (min-width: 900px) {
    .thumb-arrow {
        display: none !important;
    }
}


/* Quantity Input Styling */
.qty-counter input {
    width: 50px;
    text-align: center;
    border: none;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    outline: none;
    -moz-appearance: textfield; /* Firefox */
}



/* Payment Proof Upload Styling */
.payment-proof-upload {
    width: 100%;
    margin-top: 5px;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    cursor: pointer;
    background: #fdfdfd;
    transition: 0.3s;
}

.upload-label:hover {
    border-color: var(--brand-color);
    background: #f0f9f4;
}

.upload-label i {
    font-size: 24px;
    color: var(--brand-color);
    margin-bottom: 8px;
}

.upload-label span {
    font-size: 13px;
    color: #666;
    text-align: center;
}


/* =========================================
   BLOG PAGE STYLES
   ========================================= */

.blog-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.blog-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* --- Main Content Area --- */
.blog-main-content {
    flex: 3; /* 75% width */
}



/* --- Blog Card Design --- */
.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid #eee;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.blog-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.1);
}

.blog-cat {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--brand-color);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.blog-content {
    padding: 20px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}

.blog-meta i {
    color: var(--brand-color);
    margin-right: 5px;
}

.blog-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-title a {
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

.blog-title a:hover {
    color: var(--brand-color);
}

.blog-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-btn {
    text-decoration: none;
    color: var(--brand-color);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.read-more-btn:hover {
    gap: 8px;
    color: #0e6b3e;
}

/* --- Blog Sidebar --- */
.blog-sidebar {
    flex: 1; /* 25% width */
    position: sticky;
    top: 100px;
}

.b-widget {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #eee;
    margin-bottom: 25px;
}

.b-widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f1f1;
    position: relative;
}

.b-widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--brand-color);
}

/* Search Widget */
.search-widget {
    display: flex;
    background: #fff;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 50px;
}

.search-widget input {
    border: none;
    outline: none;
    padding: 10px 15px;
    width: 100%;
    border-radius: 50px;
}

.search-widget button {
    background: var(--brand-color);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

/* Category List */
.b-cat-list {
    list-style: none;
    padding: 0;
}

.b-cat-list li {
    margin-bottom: 12px;
}

.b-cat-list a {
    text-decoration: none;
    color: #555;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    transition: 0.3s;
    background: #fdfdfd;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #f9f9f9;
}

.b-cat-list a:hover {
    background: var(--brand-color);
    color: #fff;
    padding-left: 15px;
}

/* Recent Posts Widget */
.recent-posts-list .rp-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}

.rp-item img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
}

.rp-item a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    display: block;
    margin-bottom: 5px;
}

.rp-item a:hover { color: var(--brand-color); }

.rp-item span {
    font-size: 12px;
    color: #999;
}

/* Responsive */
@media (max-width: 900px) {
    .blog-layout {
        flex-direction: column;
    }
    .blog-sidebar {
        width: 100%;
        order: 2; /* Sidebar নিচে চলে যাবে */
    }
    .blog-main-content {
        width: 100%;
    }
}


/* --- Blog Grid System (Updated for 3 Columns) --- */
.blog-grid {
    display: grid;
    /* এখানে 3 ব্যবহার করা হয়েছে যাতে প্রতি রো-তে ৩টি কার্ড থাকে */
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px;
    margin-bottom: 30px;
}

/* --- Responsive Adjustments --- */

/* ল্যাপটপ বা ছোট স্ক্রিনে ২টা করে দেখাবে */
@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* মোবাইল স্ক্রিনে ১টা করে দেখাবে */
@media (max-width: 768px) {
    .blog-layout {
        flex-direction: column; /* সাইডবার নিচে চলে যাবে */
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        width: 100%;
        order: 2;
    }
}


/* =========================================
   SINGLE BLOG PAGE STYLES
   ========================================= */

.single-blog-post {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #eee;
    margin-bottom: 40px;
}

.sb-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.sb-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f1f1;
}

.sb-meta i {
    color: var(--brand-color);
    margin-right: 6px;
}

.sb-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
}

.sb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Typography inside blog text */
.sb-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.sb-text h3 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #222;
}

.sb-text blockquote {
    background: #f0f9f4;
    border-left: 5px solid var(--brand-color);
    padding: 20px;
    font-style: italic;
    font-size: 18px;
    color: #555;
    margin: 30px 0;
    border-radius: 5px;
}

/* Share Section */
.sb-share {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
}

.sb-share span {
    font-weight: 600;
    color: #333;
}

.sb-share a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.sb-share a:hover { transform: translateY(-3px); }
.sb-share a.fb { background: #3b5998; }
.sb-share a.tw { background: #1da1f2; }
.sb-share a.wa { background: #25d366; }

/* Related Posts Title */
.related-posts-area .section-title {
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
    .sb-title { font-size: 22px; }
    .sb-image { height: 250px; }
    .single-blog-post { padding: 20px; }
}


/* --- Blog Category Page specific fixes --- */
.category-header-card {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Ensure 3 columns layout logic is present */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 1200px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
}


/* =========================================
   LANDING PAGE STYLES (Clean Green Background)
   ========================================= */

/* Body Reset */
.landing-page-body {
    margin: 0;
    padding: 0;
    font-family: 'Google Sans', 'Hind Siliguri', sans-serif;
    background-color: #fff;
}

/* Hero Section (Brand Color Background) */
.lp-hero-section {
    width: 100%;
    min-height: 100vh; /* Full Screen */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px; /* Padding adjusted as shape is removed */
    background-color: var(--brand-color); 
    /* Gradient Effect (Optional) */
    background-image: linear-gradient(160deg, var(--brand-color) 40%, #0a5230 100%);
}

/* Container */
.lp-container {
    width: 100%;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

/* 1. Title (White) */
.lp-main-title {
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* 2. Image Wrapper (White Border) */
.lp-image-wrapper {
    display: inline-block;
    border: 3px solid #ffffff;
    padding: 5px;
    border-radius: 8px;
    margin-bottom: 35px;
    width: 100%;
    max-width: 750px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.lp-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

/* 3. Timer (White Box, Green Text) */
.lp-timer-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
}

.lp-time-box {
    background-color: #ffffff;
    color: var(--brand-color);
    width: 85px;
    height: 85px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.lp-number {
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    font-family: 'Google Sans', sans-serif;
}

.lp-label {
    font-size: 12px;
    margin-top: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

/* 4. Price Section (White Text) */
.lp-price-section {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.lp-regular-price { margin: 0; }

/* Red Strike Line */
.lp-strike {
    text-decoration: line-through;
    text-decoration-color: #ff3333;
    text-decoration-thickness: 3px;
    color: #e0e0e0;
    margin-left: 8px;
}

/* Red Circle Price */
.lp-discount-price {
    color: #ffffff;
    margin: 0;
}

.lp-circle-price {
    border: 3px solid #ff3333;
    background: #fff;
    border-radius: 50px;
    padding: 8px 25px;
    color: #ff3333;
    display: inline-block;
    transform: rotate(-3deg);
    margin-left: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 5. Order Button (Red) */
.lp-order-btn {
    background: linear-gradient(to right, #ff3333, #d50000);
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    border: none;
    padding: 18px 60px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(213, 0, 0, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Hind Siliguri', sans-serif;
}

.lp-order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(213, 0, 0, 0.5);
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .lp-hero-section { padding: 40px 15px; }
    .lp-main-title { font-size: 30px; }
    .lp-time-box { width: 70px; height: 70px; }
    .lp-number { font-size: 24px; }
    .lp-price-section { flex-direction: column; gap: 15px; font-size: 20px; }
    .lp-order-btn { width: 100%; justify-content: center; font-size: 20px; padding: 15px; }
}


/* =========================================
   FEATURE SECTION (LIST STYLE - LEFT ALIGN FIXED)
   ========================================= */

.lp-feature-list-section {
    padding: 60px 20px;
    background-color: #fff;
}

/* সেকশন হেডার (সেন্টার থাকবে) */
.lp-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.lp-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.lp-section-title .highlight {
    color: var(--brand-color); /* #159759 */
}

.lp-header-line {
    width: 60px;
    height: 3px;
    background: var(--brand-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* লিস্ট র‍্যাপার */
.lp-feature-list-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

/* প্রতিটি লিস্ট আইটেম */
.lp-list-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px dashed #ddd;
    transition: all 0.3s ease;
}

.lp-list-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.lp-list-item:hover {
    transform: translateX(10px);
}

/* আইকন */
.lp-list-icon {
    width: 50px;
    height: 50px;
    background: var(--brand-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(21, 151, 89, 0.3);
}

/* [UPDATED] কন্টেন্ট এরিয়া (বাম দিকে এলাইনমেন্ট) */
.lp-list-content {
    text-align: left !important; /* জোর করে লেফট এলাইন করা হলো */
    flex: 1;
}

/* [UPDATED] টাইটেল (h3) */
.lp-list-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0; /* মার্জিন ঠিক করা হলো */
}

/* প্যারাগ্রাফ */
.lp-list-content p {
    font-size: 15px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* মোবাইল রেস্পন্সিভ */
@media (max-width: 600px) {
    .lp-section-title { font-size: 26px; }
    .lp-feature-list-wrapper { padding: 20px 15px; }
    .lp-list-item { gap: 15px; }
    .lp-list-icon { width: 40px; height: 40px; font-size: 16px; }
    .lp-list-content h3 { font-size: 18px; }
    .lp-list-content p { font-size: 14px; }
}


/* =========================================
   FULL WIDTH SLIM CTA STYLES
   ========================================= */
.lp-cta-slim-full {
    background-color: var(--brand-color); /* পুরো স্ক্রিন জুড়ে আপনার ব্র্যান্ড কালার */
    width: 100%;
    padding: 30px 0;
    color: #fff;
    text-align: center;
    margin: 30px 0; /* উপরে নিচে গ্যাপ */
}

/* ভেতরের কন্টেন্ট কন্টেইনার */
.lp-cta-slim-full .lp-container {
    max-width: 900px; /* কন্টেন্ট নির্দিষ্ট উইডথ-এ থাকবে */
    margin: 0 auto;
    padding: 0 20px;
}

.lp-cta-slim-full p {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.lp-cta-slim-full a {
    color: #fff;
    text-decoration: none;
    margin-left: 8px;
    font-weight: 700;
    font-family: 'Google Sans', sans-serif;
    border-bottom: 2px solid rgba(255,255,255,0.4);
    padding-bottom: 2px;
    transition: 0.3s;
}

.lp-cta-slim-full a:hover {
    border-bottom-color: #fff;
}

/* মোবাইল রেস্পন্সিভ */
@media (max-width: 600px) {
    .lp-cta-slim-full p {
        font-size: 16px;
        line-height: 1.4;
    }
}



/* =========================================
   REVIEW SLIDER STYLES (COMPACT & 2 CARDS)
   ========================================= */

.lp-review-section {
    padding: 60px 20px;
    background-color: #fcfcfc;
}

.lp-slider-container {
    position: relative;
    max-width: 850px;
    margin: 30px auto 0;
    padding: 0 10px; /* সাইডের প্যাডিং কমানো হয়েছে যাতে জায়গা বেশি পায় */
    overflow: hidden; /* বাইরে চলে যাওয়া অংশ হাইড করবে */
}

/* স্লাইডার ট্র্যাক */
.lp-slider-track {
    display: flex;
    gap: 15px; /* গ্যাপ ২০px থেকে কমিয়ে ১৫px করা হলো */
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 10px 0;
}

/* রিভিউ কার্ড - ২টা করে দেখানোর জন্য */
.lp-review-card {
    /* ৫০% এর চেয়ে একটু কম নেওয়া হলো যাতে গ্যাপ সহ ২টা পারফেক্ট বসে */
    min-width: calc(50% - 8px); 
    width: calc(50% - 8px);
    height: 300px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    flex-shrink: 0;
}

/* ইমেজ স্টাইল */
.lp-review-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #fdfdfd;
}

/* নেভিগেশন বাটন */
.lp-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    color: var(--brand-color);
    cursor: pointer;
    z-index: 5;
    transition: 0.3s;
}

.lp-slider-nav:hover {
    background: var(--brand-color);
    color: #fff;
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

/* --- Mobile Responsive (মোবাইল ও ট্যাবলেটেও ২টা দেখাবে) --- */
@media (max-width: 650px) {
    .lp-review-card {
        /* মোবাইলেও ২টা দেখাতে চাইলে এটা ব্যবহার করো */
        min-width: calc(50% - 8px);
        width: calc(50% - 8px);
        height: 180px; /* মোবাইলে হাইট একটু কমানো হলো */
    }
    
    .lp-slider-container {
        padding: 0 5px;
    }
}

/* খুব ছোট মোবাইলের জন্য (যেমন iPhone SE) ১টা দেখাতে চাইলে */
@media (max-width: 350px) {
    .lp-review-card {
        min-width: 100%;
        height: 250px;
    }
}


/* =========================================
   CHECKOUT FORM STYLES
   ========================================= */
.lp-checkout-section {
    padding: 70px 20px;
    background-color: #f4f6f8;
}

.lp-checkout-wrapper {
    max-width: 900px;
    margin: 40px auto 0;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.lp-form-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* ফর্ম বড়, সামারি ছোট */
    gap: 30px;
}

/* ইনপুট গ্রুপ স্টাইল */
.lp-input-group {
    margin-bottom: 20px;
    text-align: left;
}

.lp-input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.lp-input-group label i {
    color: var(--brand-color);
    margin-right: 5px;
}

.lp-input-group input, 
.lp-input-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Google Sans', 'Hind Siliguri', sans-serif;
    transition: 0.3s;
}

.lp-input-group input:focus, 
.lp-input-group textarea:focus {
    border-color: var(--brand-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(21, 151, 89, 0.1);
}

.lp-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* অর্ডার সামারি বক্স */
.lp-order-summary {
    background: #fdfdfd;
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 12px;
    height: fit-content;
}

.lp-order-summary h3 {
    font-size: 20px;
    border-bottom: 2px solid var(--brand-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #333;
}

.lp-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
    color: #555;
}

.lp-summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-color);
}

.lp-payment-note {
    background: #e8f5e9;
    padding: 10px;
    border-radius: 6px;
    margin: 20px 0;
    font-size: 13px;
    color: #2e7d32;
    border-left: 4px solid var(--brand-color);
}

/* কনফার্ম বাটন */
.lp-place-order-btn {
    width: 100%;
    background: var(--brand-color);
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.lp-place-order-btn:hover {
    background: #0e6b3e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(21, 151, 89, 0.3);
}

/* মোবাইল রেস্পন্সিভ */
@media (max-width: 768px) {
    .lp-form-grid {
        grid-template-columns: 1fr; /* মোবাইলে একটির নিচে একটি */
    }
    .lp-checkout-wrapper {
        padding: 20px 15px;
    }
    .lp-input-row {
        grid-template-columns: 1fr;
    }
}

.lp-delivery-options {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.delivery-radio {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #eee;
    cursor: pointer;
    transition: 0.3s;
}

.delivery-radio:hover {
    background: #f1f1f1;
}

.delivery-radio input {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    accent-color: var(--brand-color);
}

.delivery-radio span {
    font-size: 15px;
    font-weight: 500;
    color: #444;
}

/* Selected State */
.delivery-radio input:checked + span {
    color: var(--brand-color);
    font-weight: 700;
}




/* =========================================
   AUTH MODAL STYLES (Image Replica)
   ========================================= */
.auth-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}
.auth-overlay.active { opacity: 1; visibility: visible; }

.auth-box {
    background: #fff; width: 400px; max-width: 90%;
    border-radius: 20px; padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateY(20px); transition: all 0.3s ease;
    position: relative; overflow: hidden;
    font-family: 'Google Sans', sans-serif;
}
.auth-overlay.active .auth-box { transform: translateY(0); }

/* Header Area */
.auth-header-top { position: relative; text-align: center; margin-bottom: 25px; }
.auth-back-btn {
    position: absolute; left: 0; top: 5px; font-size: 18px; color: #777;
    cursor: pointer; transition: 0.3s;
}
.auth-back-btn:hover { color: #333; }
.auth-titles h3 { margin: 0; font-size: 22px; font-weight: 700; color: #333; }
.auth-titles p { margin: 5px 0 0; font-size: 13px; color: #888; }

/* Tabs */
.auth-tabs-wrapper {
    display: flex; background: #f5f5f5; border-radius: 50px;
    padding: 4px; margin-bottom: 25px;
}
.auth-tab {
    flex: 1; border: none; background: transparent; padding: 10px;
    border-radius: 50px; font-weight: 600; font-size: 14px;
    color: #777; cursor: pointer; transition: 0.3s;
}
.auth-tab.active {
    background: #fff; color: #ff9800; /* ইমেজের অরেঞ্জ কালার */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Form Styles */
.auth-form { display: none; animation: fadeIn 0.4s; }
.auth-form.active { display: block; }

.auth-input-group { position: relative; margin-bottom: 15px; }
.auth-input-group input {
    width: 100%; padding: 12px 40px 12px 40px; /* Icons padding */
    border: 1px solid #eee; border-radius: 8px;
    font-size: 14px; outline: none; background: #fdfdfd;
    transition: 0.3s;
}
.auth-input-group input:focus { border-color: #ff9800; background: #fff; }

.auth-icon {
    position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
    color: #aaa; font-size: 14px;
}
.auth-eye {
    position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
    color: #aaa; cursor: pointer; font-size: 14px;
}

/* Actions */
.auth-forgot { text-align: right; margin-bottom: 20px; }
.auth-forgot a { font-size: 12px; color: #777; text-decoration: none; }

.btn-auth-action {
    width: 100%; padding: 12px; border: none; border-radius: 8px;
    background: #ff9800; /* ইমেজের অরেঞ্জ বাটন */
    color: #fff; font-size: 16px; font-weight: 700;
    cursor: pointer; box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3);
    transition: 0.3s; margin-bottom: 15px;
}
.btn-auth-action:hover { background: #e68900; transform: translateY(-2px); }

.auth-divider { text-align: center; font-size: 13px; color: #666; margin-bottom: 15px; }
.auth-divider a { color: #ff9800; font-weight: 600; text-decoration: none; }

.btn-auth-google {
    width: 100%; padding: 12px; border: none; border-radius: 8px;
    background: #fff; color: #333; font-size: 14px; font-weight: 600;
    cursor: pointer; border: 1px solid #ddd;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: 0.3s;
}
.btn-auth-google i { color: #ea4335; }
.btn-auth-google:hover { background: #f7f7f7; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* Mobile Adjustment */
@media (max-width: 480px) {
    .auth-box { padding: 20px; width: 95%; }
}


/* OTP Button Style */
.btn-send-otp {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #444;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    z-index: 5;
}
.btn-send-otp:hover {
    background: #000;
}
.btn-send-otp:disabled {
    background: #ccc;
    cursor: not-allowed;
}


/* =========================================
   HEADER USER PROFILE STYLES
   ========================================= */
.header-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f1f8e9; /* Light Green Background */
    padding: 5px 12px;
    border-radius: 50px;
    transition: 0.3s;
    border: 1px solid #c8e6c9;
}
.header-user-info:hover {
    background: #e0f2f1;
    text-decoration: none;
}
.user-details {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.2;
}
.u-name {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}
.u-phone {
    font-size: 11px;
    color: #666;
    font-family: 'Arial', sans-serif; /* For better number readability */
}
.user-avatar-circle {
    width: 32px;
    height: 32px;
    background: var(--brand-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}


/* =========================================
   STANDARD RECTANGULAR SEARCH BAR (Sharp Edge)
   ========================================= */
.search-box {
    flex-grow: 1;
    max-width: 600px;
    margin: 0 30px;
}

.search-input-group {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

/* Rectangular Input Field (No Radius) */
#ajaxSearchInput {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-right: none; /* Connect to button */
    border-radius: 0; /* ফোকাস করলে রাউন্ড হবে না */
    outline: none; /* ব্রাউজারের ডিফল্ট আউটলাইন রিমুভ */
    height: 45px;
    font-size: 15px;
    transition: 0.3s;
    box-shadow: none !important; /* ফোকাস শ্যাডো রিমুভ */
}

#ajaxSearchInput:focus {
    border-color: var(--brand-color);
}

/* Designed Search Button (No Radius) */
.search-btn {
    background: var(--brand-color);
    color: #fff;
    border: 2px solid var(--brand-color);
    padding: 0 25px;
    border-radius: 0; /* ফোকাস বা হোভারে রাউন্ড হবে না */
    cursor: pointer;
    height: 45px;
    font-size: 18px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: #0e6b3e; 
    border-color: #0e6b3e;
}

/* Search Dropdown */
.search-results-dropdown {
    position: absolute; 
    top: 100%; 
    left: 0; 
    width: 100%; 
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    border-radius: 0; /* ড্রপডাউনও রাউন্ড হবে না */
    z-index: 1000; 
    display: none; 
    max-height: 400px; 
    overflow-y: auto; 
    border: 1px solid #eee;
    border-top: none;
}


/* =========================================
   WHY CHOOSE US SECTION
   ========================================= */
.why-choose-us-section {
    padding: 20px 0 40px;
    background-color: #fff;
}

.wcu-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: #222;
    margin-bottom: 25px;
}

.wcu-banner {
    background-color: var(--brand-color); /* আপনার ওয়েবসাইটের ডিফল্ট সবুজ কালার */
    padding: 25px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: center;
}

.wcu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    padding: 0 10px;
}

.wcu-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.wcu-text {
    display: flex;
    flex-direction: column;
}

.wcu-text h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.2;
    color: #fff;
}

.wcu-text p {
    font-size: 12px;
    margin: 0;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1100px) {
    .wcu-banner {
        grid-template-columns: repeat(2, 1fr); /* ট্যাবলেটে ২ কলাম */
        gap: 30px;
        padding: 30px;
    }
}

@media (max-width: 600px) {
    .wcu-title { 
        font-size: 26px; 
    }
    .wcu-banner { 
        grid-template-columns: 1fr; /* মোবাইলে ১ কলাম */
        padding: 20px; 
        gap: 25px; 
    }
    .wcu-item { 
        align-items: flex-start; 
    }
    .wcu-icon { 
        font-size: 32px; 
    }
    .wcu-text h4 {
        font-size: 15px;
    }
}


/* =========================================
   FAQ SECTION STYLES WITH TOGGLE
   ========================================= */
.faq-section {
    padding: 40px 0;
    background-color: #f8fafc;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Ekhane 12px theke komiye 8px ba 5px kore din */
    margin-top: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 0 !important; /* Ei line ta add korle kono extra gap thakbe na */
}

.faq-item.active {
    border-color: var(--brand-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
    transition: background 0.3s ease;
    user-select: none;
}

.faq-item:hover .faq-question {
    background: #fdfdfd;
}

.faq-item.active .faq-question {
    background: var(--brand-color);
    color: #fff;
}

.faq-question h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.faq-question i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #fff;
}

.faq-answer-inner {
    padding: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
    border-top: 1px solid #eee;
}

.faq-answer-inner p {
    margin-bottom: 10px;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-answer-inner a {
    color: var(--brand-color);
    text-decoration: underline;
}

/* FAQ Table Styling */
.faq-table-wrapper {
    overflow-x: auto;
    margin: 15px 0;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.faq-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.faq-table th, 
.faq-table td {
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    padding: 10px 15px;
    text-align: left;
    font-size: 14px;
}

.faq-table tr:last-child td {
    border-bottom: none;
}
.faq-table th:last-child,
.faq-table td:last-child {
    border-right: none;
}

.faq-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #1a202c;
}

@media (max-width: 600px) {
    .faq-question h3 { font-size: 15px; }
    .faq-answer-inner { font-size: 14px; padding: 15px; }
}



/* =========================================
   VIDEO TESTIMONIAL SLIDER SECTION
   ========================================= */
.video-testimonial-section {
    padding: 40px 0;
    background-color: #f4f6f9;
}

.video-testimonial-section .section-header {
    text-align: center;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video-testimonial-section .section-title {
    text-align: center;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: #555;
    font-size: 16px;
    padding: 0 15px;
    margin: 0;
}

/* Slider Wrapper */
.vt-slider-wrapper {
    position: relative;
    width: 100%;
}

/* Float Navigation Buttons */
.vt-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* একদম মাঝ বরাবর রাখার জন্য */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--brand-color, #159759);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* বাটনের নিচে শ্যাডো */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 10; /* ভিডিও কার্ডের উপরে দেখানোর জন্য */
    transition: all 0.3s ease;
}

.vt-btn:hover {
    background: var(--brand-color, #159759);
    color: #fff;
}

/* বাটনগুলোর পজিশন */
.vt-prev {
    left: -15px; /* একদম বাম দিকে */
}

.vt-next {
    right: -15px; /* একদম ডান দিকে */
}

/* Slider Track & Viewport */
.vt-slider-viewport {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.vt-slider-viewport::-webkit-scrollbar {
    display: none;
}

.vt-track {
    display: flex;
    gap: 15px;
}

/* Individual Video Cards */
.vt-card {
    flex: 0 0 calc(20% - 12px);
    scroll-snap-align: start;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vt-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.vt-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 65%;
    background-color: #000;
}

.vt-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.vt-card:hover .vt-thumbnail img {
    opacity: 1;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background: var(--brand-color, #159759); 
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding-left: 4px; 
    box-shadow: 0 0 0 0 rgba(21, 151, 89, 0.7);
    animation: pulse-play 1.5s infinite;
}

@keyframes pulse-play {
    0% { box-shadow: 0 0 0 0 rgba(21, 151, 89, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(21, 151, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(21, 151, 89, 0); }
}

/* Responsive Setup */
@media (max-width: 1100px) {
    .vt-card { flex: 0 0 calc(33.333% - 10px); }
}
@media (max-width: 768px) {
    .vt-card { flex: 0 0 calc(50% - 7.5px); }
    /* ট্যাবলেটে বাটনগুলো একটু ভেতরের দিকে আনা হলো */
    .vt-prev { left: -5px; }
    .vt-next { right: -5px; }
}
@media (max-width: 480px) {
    .vt-card { flex: 0 0 calc(85%); }
    .play-btn { width: 55px; height: 55px; font-size: 20px; }
    .section-subtitle { font-size: 14px; margin-bottom: 10px; }
    /* মোবাইলে বাটনগুলো একদম স্ক্রিনের ভেতরে আনা হলো */
    .vt-prev { left: 5px; }
    .vt-next { right: 5px; }
}

/* =========================================
   VIDEO MODAL (POPUP) STYLES
   ========================================= */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 95%;
    max-width: 800px;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.close-video-btn {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-video-btn:hover {
    color: var(--brand-color, #159759);
}

.iframe-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

@media (max-width: 480px) {
    .close-video-btn { right: 5px; top: -40px; }
}


/* =========================================
   Sticky Bottom Product Bar
   ========================================= */
.sticky-product-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #f9f9f9; /* হালকা গ্রে ব্যাকগ্রাউন্ড */
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
    padding: 10px 0;
    z-index: 998; /* bottom-nav এর নিচে রাখার জন্য */
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    visibility: hidden;
}

.sticky-product-bar.visible {
    transform: translateY(0);
    visibility: visible;
}

.sticky-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sticky-left img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: #fff;
}

.sticky-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.sticky-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sticky-price-variant select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    background: #fff;
    font-size: 14px;
    color: #333;
}

.sticky-qty-counter {
    height: 42px;
    background: #fff;
}

.sticky-qty-counter .qty-btn {
    height: 100%;
    padding: 0 12px;
}

.sticky-qty-counter input {
    height: 100%;
}

.sticky-actions {
    display: flex;
    gap: 10px;
}

.sticky-actions .btn-add-cart {
    background: #159759; /* Solid Green as per image */
    color: #fff !important;
    border: none !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.sticky-actions .btn-add-cart:hover {
    background: #0e6b3e;
}

.sticky-actions .btn-add-order {
    background: #1a4d2e; /* Darker Green as per image */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.sticky-actions .btn-add-order:hover {
    background: #113620;
}

/* Mobile Responsive Adjustments */
@media (max-width: 900px) {
    .sticky-left { 
        display: none; /* মোবাইলে জায়গা বাঁচানোর জন্য ইমেজ ও টাইটেল হাইড */
    } 
    .sticky-right { 
        width: 100%; 
        justify-content: space-between; 
        gap: 8px;
    }
    .sticky-price-variant { 
        display: none; 
    }
    .sticky-qty-counter input {
        width: 40px;
    }

    .sticky-qty-counter{
        margin-top: 10px;
    }
    .sticky-actions { 
        flex: 1; 
        display: flex; 
        gap: 8px;
    }
    .sticky-actions button { 
        flex: 1; 
        padding: 10px 5px; 
        font-size: 13px; 
        white-space: nowrap;
    }
    /* আপনার মোবাইল bottom-nav এর কারণে এটি একটু উপরে বসানো হলো */
    .sticky-product-bar { 
        bottom: 75px; 
    } 
}

/* Quantity Input er width baranor jonno */
.qty-counter input, 
.sticky-qty-counter input {
    width: 70px !important; /* Boro sonkhyar jonno width barano holo */
    min-width: 60px;
    text-align: center;
    font-weight: bold;
}

/* Mobile device eo jeno sonkhya kete na jay */
@media (max-width: 900px) {
    .qty-counter input,
    .sticky-qty-counter input {
        width: 65px !important; 
    }
}

/* স্টিকি বারের কন্টেন্ট সেন্টারে আনার জন্য আপডেট কোড */
.sticky-bar-inner {
    display: flex;
    justify-content: center !important; /* একদম সেন্টারে নিয়ে আসবে */
    align-items: center;
    gap: 80px; /* বাম এবং ডান পাশের অংশের মাঝখানে স্পেস/গ্যাপ */
}

/* মোবাইলের জন্য গ্যাপ কমানো হলো যাতে ভেঙে না যায় */
@media (max-width: 900px) {
    .sticky-bar-inner {
        gap: 15px; 
    }
}


/* Main Image Left-Right Arrows */
.product-gallery .main-image {
    position: relative; /* Arrow guloke image er vetor rakhar jonno */
}

.main-img-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #eee;
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    outline: none;
}

.main-img-arrow:hover {
    background: #159759;
    color: #fff;
    border-color: #159759;
}

.main-img-arrow.prev-arrow {
    left: 15px;
}

.main-img-arrow.next-arrow {
    right: 15px;
}

/* Jodi 1tar besi image na thake tahole arrow hide thakbe */
.main-img-arrow.hidden {
    display: none;
}


/* =========================================
   Category Section - Desktop Carousel, Mobile Grid
   ========================================= */

/* --- Desktop Layout (Carousel - 6 Items per view) --- */
.category-slider-viewport {
    overflow-x: auto !important;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0 !important; 
}

.category-slider-viewport::-webkit-scrollbar {
    display: none;
}

.category-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 15px !important;
    width: 100% !important; 
}

.category-card {
    display: flex !important;
    flex: 0 0 calc((100% - 75px) / 6) !important; 
    max-width: calc((100% - 75px) / 6) !important;
    height: 220px !important;
    min-width: auto !important;
}

.category-track .category-card:nth-child(n+7) {
    display: flex !important; /* ডেস্কটপে সবগুলো শো করবে যাতে স্লাইড করা যায় */
}

.category-section .section-header .cat-nav-buttons {
    display: flex !important; /* ডেস্কটপে স্লাইড বাটন শো করবে */
}

/* --- Tablet Responsive --- */
@media (max-width: 1100px) {
    .category-card {
        flex: 0 0 calc((100% - 45px) / 4) !important;
        max-width: calc((100% - 45px) / 4) !important;
    }
}

/* --- Mobile Layout (Grid - 3 Items per row, Max 6 items) --- */
@media (max-width: 768px) {
    .category-slider-viewport {
        overflow-x: visible !important; /* স্ক্রল বন্ধ করে দেওয়া হলো */
        padding: 10px 0 !important; 
    }

    .category-track {
        display: grid !important; /* ফ্লেক্সের বদলে গ্রিড করা হলো */
        grid-template-columns: repeat(3, 1fr) !important; /* এক লাইনে ৩টি কলাম */
        gap: 10px !important; /* কার্ডগুলোর মাঝখানে গ্যাপ */
        width: 100% !important;
        transform: none !important;
    }

    .category-card {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important; /* গ্রিডের সাইজ অনুযায়ী অটো সেট হবে */
        max-width: 100% !important;
        height: 155px !important; /* মোবাইলের জন্য হাইট কমানো হলো */
        border-radius: 12px !important;
    }

    /* মোবাইলে শুধুমাত্র প্রথম ৬টি কার্ড (২ সারি x ৩ কলাম) দেখাবে, বাকিগুলো হাইড থাকবে */
    .category-track .category-card:nth-child(n+7) {
        display: none !important;
    }

    /* মোবাইলে স্লাইড করার দরকার নেই, তাই বাটন হাইড করা হলো */
    .category-section .section-header .cat-nav-buttons {
        display: none !important;
    }

    .cat-info h4 { font-size: 13px; margin-bottom: 2px; }
    .cat-info span { font-size: 10px; padding: 2px 6px; }
}

/* খুব ছোট স্ক্রিনের জন্য (যেমন আইফোন SE) */
@media (max-width: 380px) {
    .category-track { gap: 6px !important; }
    .category-card { height: 140px !important; }
    .cat-info h4 { font-size: 12px; }
}