body{
    font-family: 'SolaimanLipi', sans-serif;
}
/* এটি সব কনফ্লিক্ট দূর করবে */
.navbar {
    position: fixed !important; /* স্ক্রিনের উপরে আটকে রাখার জন্য */
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background-color: #ffffff !important;
}

/* নেববারটি কন্টেন্টের ওপর যেন না বসে, সেজন্য বডিতে প্যাডিং দিন */
body {
    padding-top: 70px; /* আপনার নেববারের উচ্চতা অনুযায়ী এটি অ্যাডজাস্ট করুন */
}


/* Optional: ছোট স্ক্রিনে navbar shadow এবং padding adjust */
@media (max-width: 991px) {
    nav.navbar {
        padding: 0.5rem 1rem;
    }
}

.navbar .nav-link {
    color: #333;
    margin-left: 10px;
}

.navbar .nav-link:hover {
    color: #198754;
}

/* ===============================
    HERO / SLIDER UPDATED
=============================== */
/* Hero Container Fix */
.mi-hero {
    overflow: visible !important;
    margin-bottom: 80px;
}

.hero-img {
    height: 70vh; 
    object-fit: cover; /* ডেস্কটপে ফুল কভার করা ভালো দেখায় */
    width: 100%;
    border-radius: 0 0 12px 12px;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.2);
     border-radius: 0 0 12px 12px;
    z-index: 1;
}

/* টেক্সট ও বাটন সেন্টারিং */
.mi-hero-content-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* একদম মাঝখানে পজিশন */
    width: 100%;
    z-index: 5;
}

.hero-title { font-size: 3.5rem; text-shadow: 2px 2px 10px rgba(0,0,0,0.3); }
.mi-btn-primary { background: #198754; color: #fff; padding: 10px 25px; border-radius: 5px; border:none; }
.mi-btn-white { background: #fff; color: #333; padding: 10px 25px; border-radius: 5px; border:none; }

/* ফ্লোটিং কারোসল ডিজাইন */
.floating-product-scroller {
    position: absolute;
    bottom: -120px;
    left: 0; right: 0;
    z-index: 99;
}

.scroller-card {
    border-radius: 15px;
    border: 1px solid #eee;
}

.scrollbar-hidden::-webkit-scrollbar { display: none; }
.scrollbar-hidden { -ms-overflow-style: none; scrollbar-width: none; }
.fp-card {
    flex: 0 0 auto;
    width: 115px;
    border: 1px solid #fba75d;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    will-change: transform;
     
}

.fp-card:hover {
    transform: scale(1.05) translateY(-4px);
}

.fp-img-container {
    width: 75px; height: 75px;
    margin: 0 auto 8px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #eee;
}
.fp-img-container img { width: 100%; height: 100%; object-fit: cover; }
.fp-title { font-size: 13px; font-weight: 600; }

/* Navigation Buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px; height: 35px;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #eee;
    z-index: 10;
    cursor: pointer;
}
.prev-btn { left: 10px; }
.next-btn { right: 10px; }
.nav-btn:hover { background: #198754; color: #fff; }


@media (max-width: 768px) {

    .hero-img {

        height: 35vh !important; /* মোবাইলে উচ্চতা কিছুটা বাড়িয়ে দিন যেন দেখতে ভালো লাগে */

        object-fit: cover !important; /* গ্যাপ দূর করার জন্য এটি অবশ্যই cover হতে হবে */

        object-position: center; /* ইমেজ মাঝখানে থাকবে */

        border-radius: 0; /* মোবাইলে ফুল উইডথ লুক দিতে চাইলে */

    }

    .hero-title {

        font-size: 1.8rem !important; /* ছোট স্ক্রিনে টাইটেল সাইজ কমানো */

    }


    .hero-subtitle {

        font-size: 14px !important;

    }


    .mi-hero {

        margin-bottom: 40px; /* নিচের গ্যাপ মোবাইলে কমানো */

    }

}
/* ===============================
   PRODUCT CARDS
=============================== */
.mi-products .product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.mi-products .product-card:hover {
    transform: translateY(-5px);
}

.mi-products .product-img-wrapper {
    position: relative;
}

.mi-products .product-img-wrapper img {
    width: 100%;
    height: 340px; /* 4-column perfect size */
    object-fit: cover;
}

/* Buttons on Image */
.mi-products .product-actions {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
}

.mi-products .product-actions .btn {
    flex: 1;
    border-radius: 20px;
    font-size: 13px;
    padding: 6px 0;
}

/* Product Info */
.mi-products .product-info {
    text-align: center;
    padding: 15px;
}

.mi-products .product-title {
    font-weight: 600;
}

/* ===============================
   CONTENT SECTION
=============================== */
.mi-content {
    background: #fff;
}

/* Card */
.content-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.content-card:hover {
    transform: translateY(-6px);
}

/* IMAGE HEIGHT CONTROL */
.content-img {
    width: 100%;
    height: 260px;        /* ЁЯФе ржПржЦрж╛ржирзЗржЗ height ржмрж╛рзЬрж╛ржмрзЗржи */
    object-fit: cover;   /* crop ржарж┐ржХ ржерж╛ржХржмрзЗ */
}

/* Text Area */
.content-body {
    padding: 18px;
}

.content-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.content-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* ===============================
   RESPONSIVE IMAGE HEIGHT
=============================== */
@media (max-width: 768px) {
    .content-img {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .content-img {
        height: 280px;
    }
}


/* ===============================
   FOOTER
=============================== */
.footer {
    background: #fff;
    color: #ccc;
    font-size: 14px;
}

.footer a {
    color: #ccc;
    text-decoration: none;
}

.footer a:hover {
    color: #0d6efd;
}

.social-icons a {
    margin-right: 12px;
    font-size: 16px;
    transition: 0.3s;
   color: #fff !important;
    background: #333;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-icons a:hover {
    transform: scale(1.15);
    background: #ffc107;
}

.badge-custom { 
    position: absolute; 
    top: 10px; 
    left: 10px; 
    z-index: 6; 
    background: #dc3545; 
    color: #fff; 
    padding: 4px 10px; 
    font-size: 11px; 
    font-weight: bold; 
    border-radius: 4px; 
    pointer-events: none; 
    text-transform: uppercase; 
}

/* ===============================
   RESPONSIVE
=============================== */
@media(max-width: 991px) {
    .navbar.sticky-top {
        top: 0;
    }

    .site-box {
        max-width: 100%;
        box-shadow: none;
    }

    .mi-products .product-img-wrapper img {
        height: 250px; /* Mobile-friendly height */
    }

    .category-item img {
        height: 180px;
    }
}

@media(max-width: 576px) {
    .mi-products .product-img-wrapper img {
        height: 200px;
    }

    .category-item img {
        height: 140px;
    }
}
.mi-reviews .card {
        border-radius: 20px;
        background: #fff;
        border-bottom: 4px solid #ffc107 !important; /* নিচের হলুদ বর্ডারটি লুক আরও উন্নত করবে */
    }
    .carousel-control-prev, .carousel-control-next {
        width: 5%;
    }
    .carousel-control-prev-icon, .carousel-control-next-icon {
        width: 35px;
        height: 35px;
    }
    /* ছোট ডিভাইসে স্লাইডার বাটন হাইড করতে চাইলে */
    @media (max-width: 768px) {
        .carousel-control-prev, .carousel-control-next {
            display: none;
        }
    }
/* সেকশন ব্যাকগ্রাউন্ড - ছবির মতো হালকা গ্রে */
    .stat-section {
        background-color: #f8fbfb; 
    }

    /* কার্ডের ডিজাইন স্টাইল */
    .stat-card {
        background: #ffffff;
        padding: 35px 15px;
        border-radius: 18px; /* ছবির মতো রাউন্ডেড শেপ */
        text-align: center;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04); /* হালকা শ্যাডো */
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border: 1px solid #f1f1f1; /* খুব হালকা বর্ডার */
        transition: all 0.3s ease;
    }

    /* হোভার করলে কার্ডে হালকা ইফেক্ট হবে */
    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

    /* বড় সংখ্যাগুলোর কালার ও ফন্ট */
    .stat-number {
        color: #3e5a53; /* ছবির সাথে মিল রেখে গাঢ় গ্রিনিশ কালার */
        font-weight: 800;
        font-size: 28px;
        margin-bottom: 5px;
        letter-spacing: -0.5px;
    }

    /* নিচের ছোট টেক্সটগুলোর স্টাইল */
    .stat-label {
        color: #7a7a7a;
        font-size: 14px;
        margin-bottom: 0;
        font-weight: 500;
        line-height: 1.2;
    }

    /* মোবাইল ডিভাইসের জন্য ছোটখাটো সমন্বয় */
    @media (max-width: 767.98px) {
        .stat-number {
            font-size: 22px;
        }
        .stat-label {
            font-size: 12px;
        }
        .stat-card {
            padding: 25px 10px;
        }
    }
    /* লোগো এবং ট্যাগলাইন স্টাইল */
.brand-wrapper {
    display: flex;
    flex-direction: column; 
    align-items: flex-start;
    line-height: 1.1;
}

.site-logo {
    display: block;
    object-fit: contain;
}

.site-tagline {
    font-size: 12px;
    color: #2d3840;
    font-weight: 200;
    margin-top: 1px;
    letter-spacing: 0.5px;
    
}

#cart-count {
    font-size: 10px;
    padding: 3px 6px;
    border: 1px solid #fff;
}
/* মোবাইল ডিভাইসে Offcanvas-এর প্রস্থ কমানোর জন্য */
@media (max-width: 767.98px) {
    .offcanvas-end {
        width: 75% !important; /* আপনি আপনার প্রয়োজনমতো এটি ৫০% থেকে ৮০% পর্যন্ত রাখতে পারেন */
    }
}

.custom-review-wrapper {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
}
.review-flex-row {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.review-item {
    flex: 0 0 33.33%; /* ডেস্কটপে ৩টি */
}


@media (max-width: 767px) {
    /* বাটনগুলো যেন কন্টেইনারের ওপরে থাকে এবং কাজ করে */
    .carousel-control-prev, 
    .carousel-control-next {
        width: 35px !important;
        height: 35px !important;
        top: 40% !important; /* সেন্টার ঠিক করতে */
        z-index: 1000 !important; /* এটি অবশ্যই যোগ করবেন */
        background-color: rgba(0,0,0,0.5) !important;
        border-radius: 50%;
        display: flex !important; /* বাটন আইকন সেন্টারে আনার জন্য */
        align-items: center;
        justify-content: center;
    }

    .carousel-control-prev { left: 5px !important; }
    .carousel-control-next { right: 5px !important; }
}

/* মোবাইলের জন্য কাস্টম লজিক */
@media (max-width: 767px) {
    .review-item {
        flex: 0 0 100%; /* মোবাইলে ১টি */
    }
    /* স্লাইডারে মোবাইলে শুধু ১টি দেখানোর জন্য বাকিগুলোকে হাইড করছি */
    .review-flex-row .review-item:nth-child(2),
    .review-flex-row .review-item:nth-child(3) {
        display: none !important;
    }


