

body {
    font-family: 'Poppins', sans-serif !important;
    margin: 0;
    padding: 0;
}

/* --- Navbar Core --- */
.navbar-custom {
    background-color: #000000 !important; /* Your Specific Green */
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.top-accent-bar {
    height: 4px;
    background-color: rgba(255, 255, 255, 0.25);
    position: absolute;
    top: 0;
    width: 100%;
}

.custom-container {
    max-width: 1445px !important; /* Elite Viewport Optimization */
    width: 100%;
    margin: 0 auto !important;
    padding: 0 20px;
}

/* --- Logo Styling --- */
.navbar-brand {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.5rem;
    text-decoration: none;
    letter-spacing: 1px;
    display: inline-block;
}

.navbar-brand span {
    opacity: 0.9;
}

/* --- Search Bar (The "No Ket" Version) --- */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50px !important;
    padding: 10px 55px 10px 25px !important;
    color: #ffffff !important;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.75) !important;
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.search-btn {
    position: absolute;
    right: 8px;
    background: transparent;
    border: none;
    color: #ffffff !important;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.search-btn i {
    font-size: 1.1rem;
}

/* --- Icons & Cart Badge --- */
.icon-group {
    gap: 40px !important; /* Premium spacing for desktop */
}

.nav-icon {
    color: #ffffff !important;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-icon i {
    font-size: 1.4rem;
}

.nav-icon:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.cart-container {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background-color: #ffffff;
    color: #B71C1C;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 50%;
    border: 1px solid #B71C1C;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* --- Mobile "Cikn" Responsive Logic --- */
@media (max-width: 991px) {
    .navbar-custom {
        padding: 10px 0;
    }

    .icon-group {
        gap: 25px !important; /* Balanced for tablet */
    }

    .navbar-brand {
        font-size: 1.25rem !important;
    }
}

@media (max-width: 768px) {
    .custom-container {
        padding: 0 15px !important;
    }

    .navbar-brand {
        font-size: 1.15rem !important;
    }

    .icon-group {
        gap: 20px !important; /* Clean/Cikn look for mobile */
    }

    .nav-icon i {
        font-size: 1.2rem;
    }

    /* Hide search on mobile for clean UI as discussed */
    .d-md-block {
        display: none !important;
    }
}

/* Super Small Device Fix */
@media (max-width: 400px) {
    .icon-group {
        gap: 15px !important;
    }
    
    .navbar-brand {
        font-size: 1rem !important;
    }
}




/*header page */
/* Container Alignment */
.custom-container {
    max-width: 1445px !important;
    width: 100%;
    margin: 0 auto !important;
    padding: 0 15px !important;
}

/* Hero Image Control */
.hero-img {
    height: 480px !important; /* Single slider tai height ektu barano holo */
    object-fit: cover;
    width: 100%;
    border-radius: 16px !important;
}

/* Navigation Dots Styling */
.carousel-indicators [button] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.5;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: #B71C1C; /* Primary Color match */
}

/* Navigation Icons */
.carousel-control-prev-icon, 
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 50%;
    background-size: 50%;
}

/* --- MOBILE RESPONSIVE FIXES --- */
@media (max-width: 991px) {
    .hero-img {
        height: 300px !important;
        border-radius: 12px !important;
    }
}

/* --- MOBILE RESPONSIVE FIXES (FULL WIDTH) --- */
@media (max-width: 576px) {
    /* 1. Container padding full zero kora holo */
    .custom-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
    }

    /* 2. Bootstrap row er default gap remove korar jonno */
    .custom-container .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 3. Column padding remove jate image wall to wall thake */
    .custom-container .col-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* 4. Image alignment ebong radius fix */
    .hero-img {
        height: 220px !important; /* Mobile height */
        border-radius: 0 !important; /* Full width-e radius 0 thakle elite lage */
        width: 100% !important;
        object-fit: cover;
        display: block;
    }
}















/* top ketagori */
/* Section Title */
.section-title {
    font-size: 20px;
    letter-spacing: 1px;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    color: var(--text-dark);
}

/* =========================
   Category Grid
========================= */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

/* =========================
   Category Item
========================= */
.category-item {
    text-align: center;
    width: 100%;
}

/* =========================
   Category Image Wrapper
========================= */
.category-img-wrapper {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #B71C1C;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background: #fff;
}

.category-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hover */
.category-item:hover .category-img-wrapper {
    transform: scale(1.05);
    border-color: #B71C1C;
}

.category-item p {
    font-size: 15px;
    color: #444;
    margin-top: 10px;
}

/* =========================
   Tablet
========================= */
@media (max-width: 991px) {

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .category-img-wrapper {
        width: 110px;
        height: 110px;
    }
}

/* =========================
   Mobile
========================= */
@media (max-width: 767px) {

    .category-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px;
    }

    .category-img-wrapper {
        width: 80px;
        height: 80px;
    }

    .category-item p {
        font-size: 12px;
        line-height: 1.3;
    }
}

/* =========================
   Small Mobile
========================= */
@media (max-width: 480px) {

    .category-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px;
    }

    .category-img-wrapper {
        width: 70px;
        height: 70px;
    }

    .category-item p {
        font-size: 11px;
    }
}














/* --- Section Specific Styling --- */
.section-title {
    font-size: 1.3rem;
    color: #B71C1C;
    border-left: 5px solid #B71C1C; /* Deep Maroon Border */
    padding-left: 15px;
}

/* --- Product Card Styling --- */
.product-card {
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background: #fff;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.product-card img {
    height: 220px;
    object-fit: cover;
}



/* --- Buttons & Badges --- */
.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    color: #B71C1C;
    transition: 0.3s;
}

.wishlist-btn:hover {
    background: #B71C1C; /* Maroon on hover */
    color: white;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    height: 40px; 
    overflow: hidden;
    color: #444;
}

.discount-badge {
    background-color: #B71C1C; /* Maroon Theme */
    color: white;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
}

.btn-buy {
    background-color: #B71C1C;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-buy:hover {
    background-color: #993a3a;
}

.btn-cart-icon {
    background-color: #B71C1C; /* Golden/Mustard for Cart icon */
    color: white;
    border-radius: 8px;
    border: none;
    padding: 5px 12px;
    display: flex;
    align-items: center;
}

/* --- MOBILE RESPONSIVENESS (Exact as requested) --- */
@media (max-width: 767px) {
    .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: flex;
        flex-wrap: wrap;
    }
    
    .col {
        padding-left: 3px !important;
        padding-right: 3px !important;
        width: 50% !important;
        flex: 0 0 50%;
    }

    .product-card {
        margin-bottom: 8px;
        padding: 5px !important; 
        border-radius: 5px;
    }

    .product-card img {
        height: 130px; 
    }

    .product-name {
        font-size: 11px;
        line-height: 1.2;
        height: 28px;
    }
    
    .current-price {
        font-size: 13px;
    }

    .old-price {
        font-size: 10px;
    }
    
    .btn-buy {
        padding: 6px;
        font-size: 10px;
    }
    
    .btn-cart-icon {
        padding: 5px 8px;
    }
}









/* Circular Container */
.circular-brand-card {
    width: 100px;
    height: 100px;
    background: #ffffff;
    border-radius: 50%; /* Perfect Circle */
    border: 1.5px solid #f0f0f0; /* Halka border jate edges sharp thake */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    padding: 12px; /* Logo jate container er sathe chepe na jay */
    box-shadow: 0 2px 8px rgba(0,0,0,0.04); /* Halka depth */
}

/* Image styling - FULL CLEAR VERSION */
.brand-img-circle {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* --- SHARPNESS BOOST --- */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* --- NO GREYSCALE (Shora-shori Clear) --- */
    filter: none !important; 
    opacity: 1 !important; /* Puro clear thakbe */
    transition: transform 0.3s ease;
}

/* Hover Effect */
.circular-brand-card:hover {
    border-color: #B71C1C; /* Mushroom Green */
    box-shadow: 0 8px 20px rgba(26, 83, 25, 0.1);
    transform: translateY(-5px);
}

.circular-brand-card:hover .brand-img-circle {
    transform: scale(1.08); /* Halka zoom */
}

/* Mobile Perfect Adjustment */
@media (max-width: 767px) {
    .circular-brand-card {
        width: 85px; /* Mobile e size optimize */
        height: 85px;
        padding: 10px;
        border: 1px solid #eeeeee;
    }
    
    /* Mobile e jate gola na lage tar jonno fix */
    .brand-img-circle {
        image-rendering: auto;
    }
}







/* --- Footer Core Section --- */
.footer-section {
    background-color: #000000 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    padding: 70px 0 0px; /* Bottom padding adjusted for copyright bar */
    overflow: hidden;
}

.footer-heading {
    font-size: 17px;
    font-weight: 700 !important;
    letter-spacing: 1px;
    color: #ffffff !important;
    margin-bottom: 25px;
    text-transform: uppercase;
    position: relative;
}

/* --- Contact Info --- */
.footer-contact-info p {
    font-size: 14px;
    color: #ffffff !important;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
}

.footer-contact-info i {
    width: 20px;
    text-align: center;
    opacity: 0.9;
}

/* --- Links Styling --- */
.footer-links {
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 12px;
    list-style: none;
}

.footer-links li a {
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
}

.footer-links li a:hover {
    color: #ffffff !important;
    transform: translateX(8px);
}

/* --- Social Icons (#B71C1C) --- */
.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: #B71C1C !important;
    color: #ffffff !important;
    font-size: 18px;
    text-decoration: none !important;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.social-icon:hover {
    transform: translateY(-5px);
    background-color: #ffffff !important;
    color: #B71C1C !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* --- Delivery Partners Icons --- */
.delivery-partners img {
    transition: transform 0.3s ease;
}

.delivery-partners img:hover {
    transform: scale(1.05);
}

/* --- Campaignsquat Agency Credit (#F7A400) --- */
.agency-link {
    color: #F7A400 !important; /* Specific brand color requested */
    font-weight: 700;
    text-decoration: none !important;
    position: relative;
    padding-bottom: 2px;
    transition: 0.3s;
}

.agency-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #F7A400;
    transition: width 0.3s ease;
}

.agency-link:hover::after {
    width: 100%;
}

.agency-link:hover {
    text-shadow: 0 0 10px rgba(247, 164, 0, 0.3);
}

/* --- Animation --- */
.fa-heart {
    animation: heartBeat 1.5s infinite;
}



@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* --- Responsive & Mobile "Cikn" Optimization --- */

/* Tablet & Smaller Desktop */
@media (max-width: 991px) {
    .footer-section {
        padding: 50px 0 0;
    }
    .footer-heading {
        margin-bottom: 18px;
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    .footer-section {
        text-align: left !important; /* Agency standard: left-aligned mobile UI */
        padding-top: 40px;
    }

    .footer-heading {
        margin-top: 20px;
        font-size: 15px;
        letter-spacing: 0.5px;
    }

    .footer-contact-info p, .footer-links li a {
        font-size: 13px;
    }

    .social-icons, .delivery-partners {
        justify-content: flex-start !important; /* Left alignment for mobile symmetry */
        gap: 12px !important;
    }

    .footer-bottom {
        text-align: left !important;
        margin-top: 30px;
        padding: 20px 0;
    }

    .footer-bottom .text-md-end {
        text-align: left !important;
        margin-top: 10px;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .footer-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}













/* MOBILE BUTTON */
.mobile-menu-btn{
    background:#000;
    color:#fff;
    border:none;
    padding:8px 14px;
    font-size:22px;
    border-radius:5px;
}

/* OVERLAY */
.sidebar-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.4);
    opacity:0;
    visibility:hidden;
    transition:0.3s;
    z-index:9998;
}

.sidebar-overlay.active{
    opacity:1;
    visibility:visible;
}

.mobile-sidebar{
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    max-width: 85%;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    transition: left 0.4s ease;
    box-shadow: 2px 0 15px rgba(0,0,0,0.2);
}

/* smoother scrolling */
.mobile-sidebar::-webkit-scrollbar{
    width: 4px;
}

.mobile-sidebar::-webkit-scrollbar-thumb{
    background: #ccc;
    border-radius: 10px;
}

.mobile-sidebar.active{
    left:0;
}

/* HEADER */
.sidebar-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 20px;
    border-bottom:1px solid #ddd;
    background-color:#B71C1C;
}

.sidebar-header img{
    max-width:140px;
}

.close-btn{
    border:none;
    background:none;
    font-size:28px;
    cursor:pointer;
    color:#111;
}

/* CATEGORY */
.sidebar-category{
    list-style:none;
    margin:0;
    padding:10px 0;
}

.sidebar-category li{
    margin:0;
}

.sidebar-category li a{
    display:flex;
    align-items:center;
    gap:14px;
    padding:14px 20px;
    text-decoration:none;
    color:#111;
    font-size:12px;
    font-weight:350;
    transition:0.2s;
}

.sidebar-category li a:hover{
    background:#f5f5f5;
}

/* IMAGE */
.sidebar-category img{
    width:25px;
    height:25px;
    border-radius:50%;
    object-fit:cover;
    border:1px solid #ddd;
}

/* DESKTOP HIDE */
@media(min-width:768px){

    .mobile-sidebar,
    .sidebar-overlay,
    .mobile-menu-btn{
        display:none;
    }
    
    
   

}