:root{
    --green:#006838;
    --dark-green:#00512c;
    --red:#d71920;
    --yellow:#ffc928;
    --light:#f7f8f5;
    --dark:#0f172a;
}

body{
    font-family:Arial,"Noto Sans Bengali",sans-serif;
    background:var(--light);
    color:#111;
    margin:0;
}

.topbar{
    background:#fff;
    border-bottom:1px solid #ddd;
    padding:10px 0;
}

.logo{
    width:62px;
    height:62px;
    border-radius:50%;
    object-fit:cover;
}

.logo-placeholder{
    width:62px;
    height:62px;
    border-radius:50%;
    background:var(--green);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
}

.brand-title{
    font-size:18px;
    font-weight:800;
    color:#064b2b;
}

.brand-sub{
    font-size:14px;
}

.info-item{
    display:flex;
    gap:10px;
    align-items:center;
    font-weight:600;
    color:#064b2b;
}

.info-item i{
    font-size:28px;
    color:var(--green);
}

.helpline{
    font-size:24px;
    font-weight:900;
}

.header{
    background:#fff;
    padding:15px 0;
    border-bottom:1px solid #e5e5e5;
}

.shop-name{
    font-size:36px;
    font-weight:900;
    color:var(--green);
}

.shop-name span{
    color:var(--red);
}

.search-box input{
    height:55px;
    border-radius:8px 0 0 8px;
}

.search-box button{
    height:55px;
    background:var(--green);
    color:#fff;
    border:none;
    width:70px;
    border-radius:0 8px 8px 0;
}


.navbar-custom{
    background:var(--dark-green);
}

.navbar-custom a{
    color:#fff!important;
    font-weight:700;
}

.cat-btn{
    background:var(--yellow);
    color:#111;
    border-radius:8px;
    padding:12px 22px;
    font-weight:800;
}

.offer-btn{
    background:var(--red);
    color:#fff;
    border-radius:8px;
    padding:12px 22px;
    font-weight:800;
}

.hero{
    background:#fff;
    border-radius:0 0 14px 14px;
    overflow:hidden;
}

.hero-left{
    padding:35px;
}

.badge-red{
    background:var(--red);
    color:#fff;
    border-radius:8px;
    padding:8px 15px;
    font-weight:800;
}

.hero-title{
    font-size:54px;
    font-weight:900;
    color:var(--green);
}

.hero-title span{
    color:var(--red);
}

.feature-box{
    background:#fff;
    border:1px solid #ddd;
    border-radius:10px;
    padding:18px;
    text-align:center;
    height:100%;
}

.feature-box i{
    font-size:32px;
    color:var(--green);
}

.hero-img{
    width:100%;
    height:360px;
    object-fit:cover;
}

.partner-card{
    background:#fff;
    border:1px solid #ddd;
    border-radius:12px;
    padding:22px;
}

.partner-card h3{
    background:var(--green);
    color:#fff;
    margin:-22px -22px 18px;
    padding:16px;
    border-radius:12px 12px 0 0;
    font-size:24px;
    font-weight:800;
}

.btn-red{
    background:var(--red);
    color:#fff;
    border:none;
    border-radius:8px;
    padding:12px 24px;
    font-weight:800;
}

.btn-red:hover{
    background:#b9151b;
    color:#fff;
}

.card-soft{
    background:#fff;
    border:1px solid #e2e2e2;
    border-radius:12px;
    padding:18px;
}

.cat-card{
    text-align:center;
    background:#fff;
    border:1px solid #e4e4e4;
    border-radius:12px;
    padding:18px;
    height:100%;
    transition:.3s;
    font-weight:700;
}

.cat-card:hover{
    border-color:var(--green);
    transform:translateY(-4px);
}

.cat-card i{
    font-size:38px;
    color:var(--green);
}

.cat-icon-img{
    width:42px;
    height:42px;
    object-fit:contain;
}

.promo{
    border-radius:12px;
    padding:18px;
    height:100%;
    background:#fff4df;
    border:1px solid #ecd9b5;
}

.promo.red{
    background:#fff0f0;
}

.promo.blue{
    background:#eef8ff;
}

.promo.green{
    background:#eef9f0;
}

.bottom-feature{
    background:#fff;
    border-top:1px solid #eee;
    padding:18px;
    text-align:center;
}

.bottom-feature i{
    font-size:32px;
    color:var(--green);
}

.section-title{
    font-size:28px;
    font-weight:900;
    color:var(--green);
}

.section-title span{
    color:var(--red);
}

.view-all{
    color:var(--green);
    font-weight:700;
    text-decoration:none;
}

.view-all:hover{
    color:var(--red);
}

.product-card,
.shop-card{
    background:#fff;
    border:1px solid #e8efe9;
    border-radius:16px;
    box-shadow:0 8px 24px rgba(0,104,56,.08);
    transition:.3s;
    overflow:hidden;
}

.product-card:hover,
.shop-card:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 35px rgba(0,104,56,.18);
}

.product-img{
    height:160px;
    object-fit:contain;
    padding:18px;
}

.product-card h6,
.shop-card h6{
    font-weight:800;
    color:#111;
}

.price{
    font-size:18px;
    font-weight:900;
    color:#111;
}

.old-price{
    color:#999;
    text-decoration:line-through;
    font-size:13px;
}

.discount{
    color:var(--green);
    font-size:12px;
    font-weight:800;
    background:#e8f8ef;
    padding:5px 10px;
    border-radius:20px;
}

.btn-order{
    background:transparent;
    border:1px solid var(--green);
    color:var(--green);
    font-weight:800;
    border-radius:8px;
}

.btn-order:hover{
    background:var(--green);
    color:#fff;
}

.shop-img{
    height:120px;
    object-fit:cover;
    border-radius:12px;
}

.shop-card h6{
    color:var(--green);
}

.app-section{
    background:linear-gradient(135deg,var(--green),var(--dark-green));
    color:#fff;
    border-radius:18px;
    overflow:hidden;
}

.store-btn{
    background:#111;
    color:#fff;
    padding:10px 18px;
    border-radius:8px;
    display:inline-block;
    font-weight:700;
    font-size:14px;
    margin-right:8px;
}

.phone{
    width:150px;
    height:230px;
    background:#fff;
    border-radius:22px;
    margin:auto;
    border:8px solid #111;
}

.qr{
    width:90px;
    height:90px;
    background:
    linear-gradient(90deg,#000 10px,transparent 10px) 0 0/20px 20px,
    linear-gradient(#000 10px,transparent 10px) 0 0/20px 20px;
    opacity:.8;
}

.footer{
    background:#073b24;
    color:#fff;
}

.footer-logo{
    width:50px;
    height:50px;
    border-radius:50%;
    background:var(--red);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:26px;
}

.footer h5,
.footer h6{
    color:#fff;
    font-weight:800;
}

.footer p,
.footer small{
    color:rgba(255,255,255,.75);
}

.footer-links li{
    margin-bottom:10px;
}

.footer-links a{
    color:rgba(255,255,255,.78);
    text-decoration:none;
    transition:.3s;
}

.footer-links a:hover{
    color:var(--yellow);
    padding-left:5px;
}

.social-icons a{
    width:42px;
    height:42px;
    background:rgba(255,255,255,.12);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    color:#fff;
    text-decoration:none;
    margin-right:10px;
    transition:.3s;
}

.social-icons a:hover{
    background:var(--red);
    transform:translateY(-3px);
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.15);
}

@media(max-width:768px){
    .shop-name{
        font-size:28px;
    }

    .hero-title{
        font-size:38px;
    }

    .hero-left{
        padding:22px;
    }

    .hero-img{
        height:260px;
    }

    .top-info{
        display:none!important;
    }

    .section-title{
        font-size:23px;
    }

    .header-icon{
        font-size:12px;
    }
}

.product-details-image{
    background:#fff;
    border:1px solid #e8efe9;
    border-radius:16px;
    padding:25px;
    text-align:center;
}

.product-details-image img{
    max-height:420px;
    object-fit:contain;
}

.gallery-thumb{
    width:100%;
    height:90px;
    object-fit:contain;
    border:1px solid #ddd;
    border-radius:10px;
    padding:8px;
    background:#fff;
}

.shop-details-banner{
    min-height:260px;
    background-size:cover;
    background-position:center;
    border-radius:18px;
    overflow:hidden;
    position:relative;
}

.shop-details-overlay{
    min-height:260px;
    background:linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.35));
    color:#fff;
    padding:35px;
    display:flex;
    align-items:center;
}

.shop-details-logo{
    width:120px;
    height:120px;
    border-radius:16px;
    object-fit:cover;
    border:4px solid #fff;
    background:#fff;
}

@media(max-width:768px){
    .shop-details-overlay{
        padding:22px;
        text-align:center;
    }

    .shop-details-logo{
        margin-bottom:15px;
    }
}

.cart-img{
    width:70px;
    height:70px;
    object-fit:contain;
    border:1px solid #eee;
    border-radius:10px;
    padding:6px;
    background:#fff;
}

.table th{
    font-weight:800;
    color:var(--green);
}

.payment-box{
    display:block;
    border:1px solid #ddd;
    border-radius:12px;
    padding:15px;
    cursor:pointer;
    background:#fff;
    height:100%;
}

.payment-box:hover{
    border-color:var(--green);
}

.payment-box input{
    margin-right:8px;
}

.sticky-summary{
    position:sticky;
    top:20px;
}

.payment-qr-img{
    max-width:180px;
    border:1px solid #ddd;
    padding:10px;
    border-radius:10px;
    background:#fff;
}

.cart-icon-wrap{
    position:relative;
    display:inline-block;
}

.cart-count{
    position:absolute;
    top:-8px;
    right:-12px;
    background:#d71920;
    color:#fff;
    width:22px;
    height:22px;
    border-radius:50%;
    font-size:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
}

.header-actions{
    gap:18px;
}

.header-icon{
    min-width:95px;
    height:78px;
    padding:10px 8px;
    border:1px solid transparent;
    border-radius:10px;
    text-align:center;
    font-size:13px;
    color:#111;
    text-decoration:none;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    line-height:1.2;
}

.header-icon:hover{
    border-color:#e5e5e5;
    background:#fafafa;
    color:var(--green);
}

.header-icon i{
    font-size:28px;
    display:block;
    color:#111;
    line-height:1;
    margin-bottom:6px;
}

.cart-icon-wrap{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.cart-count{
    position:absolute;
    top:-13px;
    right:-15px;
    background:#d71920;
    color:#fff;
    min-width:22px;
    height:22px;
    padding:0 6px;
    border-radius:50%;
    font-size:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
    border:2px solid #fff;
}

.user-sidebar a{
    display:block;
    padding:13px 15px;
    margin-bottom:8px;
    border-radius:10px;
    color:#111;
    text-decoration:none;
    font-weight:700;
}

.user-sidebar a:hover,
.user-sidebar a.active{
    background:var(--green);
    color:#fff;
}

.user-sidebar a i{
    margin-right:8px;
}

.user-avatar{
    width:70px;
    height:70px;
    border-radius:50%;
    background:var(--green);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    font-weight:900;
    margin:auto;
}

.invoice-header{
    display:flex;
    justify-content:space-between;
    gap:20px;
}

.invoice-total-box{
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:18px;
}

.order-timeline{
    display:flex;
    justify-content:space-between;
    gap:15px;
    position:relative;
}

.timeline-step{
    flex:1;
    text-align:center;
    color:#999;
    position:relative;
}

.timeline-dot{
    width:36px;
    height:36px;
    border-radius:50%;
    background:#ddd;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 8px;
}

.timeline-step.active{
    color:var(--green);
    font-weight:800;
}

.timeline-step.active .timeline-dot{
    background:var(--green);
}

@media print{
    .topbar,
    .header,
    .navbar-custom,
    .footer,
    .user-sidebar,
    button,
    .btn{
        display:none!important;
    }

    .col-lg-3{
        display:none!important;
    }

    .col-lg-9{
        width:100%!important;
    }

    body{
        background:#fff!important;
    }

    .card-soft{
        border:none!important;
        box-shadow:none!important;
    }
}

/* =========================
   MOBILE HEADER FIX
========================= */
@media (max-width: 768px){

    .topbar{
        padding:6px 0;
    }

    .topbar .container-fluid,
    .header .container-fluid{
        padding-left:14px!important;
        padding-right:14px!important;
    }

    .topbar .row{
        display:flex;
        flex-wrap:nowrap;
        align-items:center!important;
    }

    .topbar .col-lg-4{
        width:68%;
        flex:0 0 68%;
        gap:8px!important;
    }

    .topbar .col-lg-3{
        width:32%;
        flex:0 0 32%;
        text-align:right!important;
    }

    .topbar .logo,
    .header .logo,
    .logo-placeholder{
        width:42px;
        height:42px;
        flex:0 0 42px;
    }

    .brand-title{
        font-size:11px;
        line-height:1.25;
        font-weight:900;
    }

    .brand-sub{
        font-size:10px;
        line-height:1.25;
    }

    .topbar b{
        font-size:10px;
    }

    .helpline{
        font-size:15px;
        line-height:1.1;
        display:block;
    }

    .topbar small{
        font-size:9px;
        line-height:1.1;
    }

    .top-info{
        display:none!important;
    }

    /* Main header mobile */
    .header{
        padding:10px 0;
    }

    .header .row{
        gap:10px;
    }

    .header .col-lg-4{
        width:100%;
    }

    .header .col-lg-4:first-child{
        display:flex;
        justify-content:flex-start;
        gap:8px!important;
    }

    .shop-name{
        font-size:28px;
        line-height:1;
    }

    .shop-tagline{
        font-size:13px;
        line-height:1.2;
    }

    .search-box input{
        height:48px;
        font-size:14px;
    }

    .search-box button{
        height:48px;
        width:58px;
    }

    .header-actions{
        justify-content:space-between!important;
        gap:8px;
    }

    .header-icon{
        min-width:auto;
        width:32%;
        height:68px;
        padding:8px 4px;
        font-size:11px;
    }

    .header-icon i{
        font-size:24px;
        margin-bottom:5px;
    }

    .cart-count{
        top:-11px;
        right:-13px;
        min-width:20px;
        height:20px;
        font-size:11px;
    }
}

/* Very small mobile */
@media (max-width: 420px){

    .brand-title{
        font-size:10px;
    }

    .brand-sub{
        font-size:9px;
    }

    .helpline{
        font-size:14px;
    }

    .topbar .logo,
    .header .logo,
    .logo-placeholder{
        width:38px;
        height:38px;
        flex:0 0 38px;
    }

    .shop-name{
        font-size:26px;
    }

    .header-icon span{
        font-size:10px;
    }
}

.header a{
    text-decoration:none;
}

.header a:hover{
    text-decoration:none;
}

.header .shop-name{
    cursor:pointer;
}