:root {
    --primary-bg: #15803d;
    /* dark green */
    --primary-light: #22c55e;
    --text-color: #374151;
    --discount-red: #ef4444;
    --price-purple: #8b5cf6;
    --bg-gray: #f9fafb;
}

/* Global Reset — prevents horizontal scroll */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Inter', 'Noto Sans Bengali', sans-serif;
    background-color: #ffffff;
    color: var(--text-color);
}


/* Top Bar */
.top-bar {
    background-color: var(--primary-bg);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
    margin-right: 15px;
}

.top-bar a:hover {
    color: #cbd5e1;
}

/* Header */
.header {
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-bg);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: #f59e0b;
    /* Orange/Yellow leaf icon */
}

.search-box {
    border: 2px solid var(--primary-bg);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
}

.search-box input {
    border: none;
    padding: 10px 15px;
    width: 100%;
    outline: none;
}

.search-box button {
    background-color: var(--primary-bg);
    color: #fff;
    border: none;
    padding: 0 20px;
}

/* Minimize search box height on mobile */
@media (max-width: 991.98px) {
    .search-box input {
        padding: 6px 15px;
        font-size: 14px;
    }

    .search-box button {
        padding: 0 15px;
    }
}

.header-icons .icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-bg);
    font-size: 18px;
    text-decoration: none;
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--discount-red);
    color: white;
    font-size: 11px;
    padding: 2px 5px;
    border-radius: 10px;
}

/* Nav Bar */
.main-nav {
    background-color: var(--primary-bg);
    border-top: 1px solid #166534;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    padding: 12px 16px;
    font-weight: 500;
    font-size: 14px;
    display: inline-block;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: #166534;
    /* darker green */
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown>a {
    display: flex;
    align-items: center;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 0 0 4px 4px;
    border: 1px solid #e5e7eb;
    border-top: 3px solid var(--primary-bg);
}

.nav-dropdown-content a {
    color: #374151 !important;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid #f3f4f6;
}

.nav-dropdown-content a:last-child {
    border-bottom: none;
}

.nav-dropdown-content a:hover {
    background-color: #f9fafb !important;
    color: var(--primary-bg) !important;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

.nav-dropdown:hover>a {
    background-color: #166534;
    /* darker green */
}

/* Hero Slider Responsive Height */
.hero-slide-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .hero-slide-img {
        height: 350px;
    }
}

@media (max-width: 767.98px) {
    .hero-slide-img {
        height: 250px;
    }
}

@media (max-width: 575.98px) {
    .hero-slide-img {
        height: 180px;
    }

    /* Make slider arrows a bit smaller on mobile */
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2rem !important;
        height: 2rem !important;
    }
}

/* Section Titles */
.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 20px;
}

/* Categories */
.category-item {
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #166534;
    /* Green border */
    padding: 3px;
    background: transparent;
    transition: 0.3s;
    margin-bottom: 15px;
}

.category-item:hover .category-circle {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.category-title {
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
}

/* ====================================================
   Swiper – prevent slides from causing horizontal scroll
   ==================================================== */
.swiper {
    overflow: hidden !important;
    width: 100%;
}

/* container-fluid padding fix */
.container-fluid {
    padding-right: 0;
    padding-left: 0;
}

.container-fluid>.swiper {
    width: 100%;
}

/* Product Card */
.product-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 0;
    text-align: center;
    position: relative;
    transition: all 0.3s;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    overflow: hidden;
}

.product-card a {
    text-decoration: none;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff0033;
    /* bright red */
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.1;
    z-index: 2;
    text-align: center;
}

.product-img {
    max-width: 100%;
    height: 160px;
    object-fit: contain;
    margin: 10px auto;
    padding: 0 10px;
}

.product-title {
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 8px;
    line-height: 1.4;
    padding: 0 10px;
    min-height: 38px;
}

.product-price {
    margin-bottom: 15px;
    padding: 0 10px;
}

.old-price {
    color: #4f46e5;
    /* indigo blue */
    text-decoration: line-through;
    font-size: 13px;
    margin-right: 6px;
    font-weight: 500;
}

.new-price {
    color: #16a34a;
    /* green */
    font-weight: 600;
    font-size: 14px;
}

.btn-order {
    background-color: #3f8615;
    /* specific green from screenshot */
    color: #fff;
    border: none;
    width: 100%;
    padding: 8px;
    border-radius: 0 0 4px 4px;
    font-weight: 500;
    font-size: 15px;
    transition: 0.2s;
    letter-spacing: 0.5px;
}

.btn-order:hover {
    background-color: #2b610c;
}

/* Banner section */
.banner-img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Promotional Banner */
.promo-banner-link {
    text-decoration: none;
}

.promo-banner {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .promo-banner {
        height: 160px;
    }
}

.promo-banner-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* filter: brightness(0.75); */
}

.promo-banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
}

/* Left discount side */
.promo-left {
    color: #ffffff;
    text-align: left;
    text-transform: uppercase;
    line-height: 1;
}

.promo-upto {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #f1f5f9;
}

.promo-percent {
    font-size: 52px;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    line-height: 1;
}

.promo-discount {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

/* Right brand side */
.promo-right {
    text-align: right;
}

.promo-brand-en {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.promo-brand-en span {
    color: #86efac;
    /* light green leaf color */
}

.promo-brand-bn {
    font-size: 18px;
    font-weight: 700;
    color: #f97316;
    /* orange like in the screenshot */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    font-family: 'Noto Sans Bengali', sans-serif;
}

@media (max-width: 576px) {
    .promo-percent {
        font-size: 32px;
    }

    .promo-discount {
        font-size: 12px;
    }

    .promo-brand-en {
        font-size: 18px;
    }

    .promo-brand-bn {
        font-size: 13px;
    }
}

/* ===========================
   Testimonial Section
   =========================== */
.testimonial-section {
    background-color: #f9fafb;
}

.testimonial-underline {
    display: inline-block;
    width: 60px;
    height: 3px;
    background-color: #15803d;
    border-radius: 3px;
}

.testimonialSwiper {
    padding-bottom: 10px !important;
}

.testimonial-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 14px;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-size: 13px;
    color: #374151;
    line-height: 1.5;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 10px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #15803d;
}

.testimonial-fb {
    width: 22px;
    height: 22px;
    object-fit: contain;
    margin-left: auto;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 700;
    font-size: 13px;
    color: #111827;
}

.testimonial-stars {
    font-size: 11px;
    line-height: 1;
    margin-top: 2px;
}

.testimonial-text {
    flex: 1;
    font-size: 12px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 8px;
}

.testimonial-footer {
    font-size: 12px;
    font-weight: 600;
    color: #1f2937;
    border-top: 1px solid #f3f4f6;
    padding-top: 8px;
    margin-bottom: 0;
}

/* Section Backgrounds */
.bg-gray-section {
    background-color: #f9fafb;
    padding: 40px 0;
}

/* View More Button */
.view-more {
    background-color: var(--primary-bg);
    color: white;
    padding: 8px 30px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.view-more:hover {
    background-color: #166534;
    color: white;
}

/* Footer */
.footer-top {
    background-color: #e9fff1;
    padding: 60px 0 30px;
}

.footer-logo {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-bg);
    margin-bottom: 15px;
}

.footer-col h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111827;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 5px;
}

.footer-links a {
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--primary-bg);
}

.social-icons a {
    display: inline-flex;
    width: 37px;
    height: 37px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff !important;
    margin-right: -3px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 19px;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px) scale(1.05);
}

.social-icons a.bg-fb {
    background-color: #1877F2;
}

.social-icons a.bg-tw {
    background-color: #1DA1F2;
}

.social-icons a.bg-yt {
    background-color: #FF0000;
}

.social-icons a.bg-ig {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icons a.bg-in {
    background-color: #0077b5;
}

.social-icons a.bg-tk {
    background-color: #000000;
}

.social-icons a.bg-tk i {
    position: relative;
    color: #ffffff;
    text-shadow: -1px -1px 0 #25f4ee, 1px 1px 0 #fe2c55;
}

.social-icons a.bg-pin {
    background-color: #BD081C;
}

.social-icons a.bg-gb {
    background-color: #000000;
}

.social-icons a.bg-gb i {
    background: conic-gradient(from 15deg, #EA4335, #4285F4, #34A853, #FBBC05, #EA4335);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.footer-bottom {
    background-color: var(--primary-bg);
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
}

.footer-bottom a {
    color: #b00c00;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
}

@media (max-width: 991px) {
    .category-circle {
        width: 80px;
        height: 80px;
    }

    .main-nav {
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* ===========================
   Category Page – Filter Bar Header
   =========================== */
.filter-bar-header {
    background-color: #2d7a16;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    cursor: pointer;
}

.filter-bar-header span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-bar-header i {
    font-size: 13px;
}

/* ===========================
   Subcategory Filter Tree
   =========================== */
.cat-filter-list {
    padding-bottom: 6px;
}

.cat-main-item {
    border-bottom: 1px solid #f3f4f6;
}

.cat-main-item:last-child {
    border-bottom: none;
}

.cat-main-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    font-size: 13.5px;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    user-select: none;
}

.cat-main-toggle:hover {
    color: #15803d;
}

/* Rotate arrow when expanded */
.cat-main-toggle:not(.collapsed) .cat-arrow {
    transform: rotate(90deg);
}

.cat-arrow {
    font-size: 11px;
    transition: transform 0.2s ease;
    color: #6b7280;
}

.cat-sub-list {
    padding-left: 18px;
    margin-bottom: 6px;
}

.cat-sub-list li {
    padding: 4px 0;
    border-left: 2px solid #e5e7eb;
    padding-left: 8px;
    margin-left: 4px;
}

.cat-sub-list a {
    font-size: 13px;
    color: #4b5563;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transition: color 0.2s;
}

.cat-sub-list a:hover {
    color: #15803d;
}

.cat-sub-list a:hover .cat-sub-count {
    background: #dcfce7;
    color: #15803d;
}

.cat-sub-list a.active {
    color: #15803d;
    font-weight: 600;
}


.cat-sub-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 5px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
    flex-shrink: 0;
}

/* ============================================================
   Product Image Magnify Zoom
   ============================================================ */
.img-zoom-container {
    position: relative;
    display: inline-block;
    width: 100%;
    cursor: crosshair;
}

.zoom-lens {
    position: absolute;
    display: none;
    border: 2px solid #15803d;
    background: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    z-index: 9;
    border-radius: 2px;
}

.zoom-result {
    display: none;
    position: absolute;
    top: 0;
    left: calc(100% + 12px);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    overflow: hidden;
    z-index: 100;
    background-color: #fff;
    pointer-events: none;
}

/* On smaller screens, show result below instead of beside */
@media (max-width: 991px) {
    .zoom-result {
        left: 0;
        top: calc(100% + 10px);
        width: 100% !important;
    }
}

/* ============================================================
   Product Page Styles
   ============================================================ */

.product-detail-img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.product-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    transition: border-color 0.2s;
}

.product-thumb.active,
.product-thumb:hover {
    border-color: #15803d;
}

.product-badge-hot {
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    display: inline-block;
}

.product-detail-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    line-height: 1.4;
}

.product-old-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 15px;
}

.product-new-price {
    font-size: 26px;
    font-weight: 800;
    color: #111827;
}

.rating-stars {
    color: #f59e0b;
    font-size: 14px;
}

/* Quantity box */
.qty-box {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    overflow: hidden;
    width: fit-content;
}

.qty-box button {
    background: #f3f4f6;
    border: none;
    width: 36px;
    height: 36px;
    font-size: 16px;
    font-weight: 700;
    color: #374151;
    cursor: pointer;
    transition: background 0.2s;
}

.qty-box button:hover {
    background: #e5e7eb;
}

.qty-box input {
    width: 48px;
    text-align: center;
    border: none;
    border-left: 1px solid #d1d5db;
    border-right: 1px solid #d1d5db;
    height: 36px;
    font-weight: 600;
    font-size: 15px;
    outline: none;
}

/* Action buttons */
.btn-order-now {
    background: #15803d;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-order-now:hover {
    background: #166534;
}

.btn-add-cart {
    background: #fbbf24;
    color: #111;
    border: none;
    border-radius: 6px;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-add-cart:hover {
    background: #f59e0b;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 9px 0;
    font-size: 13px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
}

.btn-call {
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 9px 0;
    font-size: 13px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
}

/* Round discount badge on image */
.product-disc-badge {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    text-align: center;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

/* Green product code badge */
.product-code-badge {
    display: inline-block;
    background: #15803d;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px 4px 10px;
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
    border-radius: 2px;
    letter-spacing: 0.3px;
}

/* Delivery table */
.delivery-table-wrap {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
}

.delivery-table {
    border-collapse: collapse;
    table-layout: fixed;
}

.delivery-table-header {
    background: #f9fafb;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    padding: 10px 12px !important;
    border-bottom: 1px solid #d1d5db;
    text-decoration: none !important;
}

.delivery-table thead th {
    text-decoration: none;
}

.delivery-label {
    font-size: 13px;
    color: #374151;
    padding: 9px 12px;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
}

.delivery-amount {
    font-size: 13px;
    font-weight: 700;
    color: #15803d;
    text-align: right;
    padding: 9px 12px;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.delivery-table tbody tr:last-child .delivery-label,
.delivery-table tbody tr:last-child .delivery-amount {
    border-bottom: none;
}

/* Product Tabs */
.product-tabs .nav-link {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 20px;
    background: none;
}

.product-tabs .nav-link.active {
    color: #15803d;
    border-bottom: 2px solid #15803d;
    font-weight: 700;
}

.product-tabs .nav-link:hover {
    color: #15803d;
}

.tab-content-area {
    border: 1px solid #e5e7eb;
    border-radius: 0 8px 8px 8px;
    padding: 24px;
}

.order-highlight {
    background: #fef9c3;
    border-left: 4px solid #eab308;
    padding: 10px 14px;
    font-size: 13px;
    color: #374151;
    border-radius: 0 6px 6px 0;
    margin-bottom: 12px;
}

.order-policy-list li {
    font-size: 13.5px;
    color: #374151;
    margin-bottom: 8px;
    padding-left: 8px;
}

/* Related Products */
.related-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    border-left: 4px solid #15803d;
    padding-left: 10px;
    margin-bottom: 20px;
}

.review-empty {
    font-size: 13px;
    color: #9ca3af;
}

.btn-write-review {
    background: #15803d;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
}

/* Related Products Swiper nav buttons */
.swiper-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    line-height: 1;
}

.swiper-nav-btn:hover {
    background: #15803d;
    border-color: #15803d;
    color: #fff;
}

/* ============================================================
   Cart / Checkout Page Styles
   ============================================================ */

/* ---- Form Box (left column) ---- */
.cart-form-box {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 16px 18px 20px;
    background: #fff;
}

.cart-notice {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    padding: 12px 14px;
    font-size: 13px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 16px;
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
    font-weight: 600;
}

.cart-notice-link {
    color: #ef4444;
    font-weight: 700;
}

.cart-notice-phone {
    color: #ef4444;
    font-weight: 700;
    text-decoration: none;
}

.cart-notice-phone:hover {
    text-decoration: underline;
}

.cart-field-group {
    margin-bottom: 14px;
}

.cart-label {
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 5px;
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
}

.cart-input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    padding: 9px 12px;
    font-size: 13.5px;
    color: #111827;
    outline: none;
    background: #fff;
    transition: border-color 0.2s;
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
}

.cart-input:focus {
    border-color: #15803d;
    box-shadow: 0 0 0 2px rgba(21, 128, 61, 0.12);
}

.cart-textarea {
    resize: vertical;
    min-height: 60px;
}

.cart-select {
    appearance: auto;
    cursor: pointer;
}

.cart-payment-options {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 6px 0;
}

.cart-radio-label {
    font-size: 13.5px;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
}

.cart-radio-label input[type="radio"] {
    accent-color: #15803d;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.cart-submit-btn {
    width: 100%;
    background: #3f8615;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.2s;
    margin-top: 6px;
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
}

.cart-submit-btn:hover {
    background: #2b610c;
}

/* ---- Order Box (right column) ---- */
.cart-order-box {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 16px 18px 16px;
    background: #fff;
}

.cart-order-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
}

/* ---- Cart Table ---- */
.cart-table {
    border-collapse: collapse;
}

.cart-th {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    padding: 8px 10px;
    border-bottom: 1px solid #d1d5db;
    border-top: 1px solid #d1d5db;
    background: #f9fafb;
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
    white-space: nowrap;
}

.cart-td {
    font-size: 13px;
    color: #374151;
    padding: 10px 10px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.cart-tf {
    font-size: 13px;
    color: #374151;
    padding: 8px 10px;
    border-bottom: 1px solid #e5e7eb;
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
}

.cart-total-row .cart-tf {
    font-size: 14px;
    color: #111827;
    border-bottom: none;
}

/* Delete button */
.cart-delete-btn {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: background 0.2s;
    line-height: 1;
}

.cart-delete-btn:hover {
    background: #fee2e2;
}

/* Product image */
.cart-item-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.cart-item-name {
    font-size: 13px;
    color: #374151;
    line-height: 1.4;
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
}

/* Qty box inside cart table */
.cart-qty-box {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    overflow: hidden;
}

.cart-qty-box button {
    background: #f3f4f6;
    border: none;
    width: 28px;
    height: 28px;
    font-size: 14px;
    font-weight: 700;
    color: #374151;
    cursor: pointer;
    transition: background 0.2s;
    line-height: 1;
}

.cart-qty-box button:hover {
    background: #e5e7eb;
}

.cart-qty-box input {
    width: 36px;
    text-align: center;
    border: none;
    border-left: 1px solid #d1d5db;
    border-right: 1px solid #d1d5db;
    height: 28px;
    font-weight: 600;
    font-size: 13px;
    outline: none;
    color: #111827;
}

/* Price cell – green */
.cart-price-cell {
    color: #15803d;
    font-weight: 600;
}

/* Bottom note */
.cart-bottom-note {
    border: 1px solid #fca5a5;
    border-radius: 5px;
    padding: 12px 14px;
    margin-top: 14px;
    background: #fff;
}

.cart-note-text {
    font-size: 12.5px;
    color: #ef4444;
    line-height: 1.65;
    margin-bottom: 8px;
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
}

.cart-more-link {
    font-size: 13px;
    color: #374151;
    text-decoration: none;
    display: block;
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
}

.cart-more-link strong {
    color: #15803d;
    text-decoration: underline;
}

.cart-more-link:hover strong {
    color: #166534;
}

/* ============================================================
   Signup / Registration Page Styles
   ============================================================ */

.signup-section {
    background-color: #f3f4f6;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.signup-wrapper {
    width: 100%;
    max-width: 530px;
}

.signup-card {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 28px 28px 24px;
}

.signup-title {
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
    margin-bottom: 0;
    line-height: 1.3;
}

.signup-divider {
    border: none;
    border-top: 1px solid #d1d5db;
    margin: 14px 0 20px;
}

.signup-field-group {
    margin-bottom: 18px;
}

.signup-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
}

.signup-input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 11px 14px;
    font-size: 14px;
    color: #374151;
    outline: none;
    background: #fff;
    transition: border-color 0.2s;
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
}

.signup-input:focus {
    border-color: #15803d;
    box-shadow: 0 0 0 2px rgba(21, 128, 61, 0.12);
}

.signup-input::placeholder {
    color: #9ca3af;
    font-size: 14px;
}

/* Password wrapper with eye toggle */
.signup-password-wrap {
    position: relative;
}

.signup-password-wrap .signup-input {
    padding-right: 48px;
}

.signup-eye-btn {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.signup-eye-btn:hover {
    color: #15803d;
}

/* Register / Submit button */
.signup-submit-btn {
    width: 100%;
    background: #3f8615;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 13px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.2s;
    margin-top: 6px;
    margin-bottom: 14px;
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
}

.signup-submit-btn:hover {
    background: #2b610c;
}

/* Already registered hint line */
.signup-login-hint {
    text-align: center;
    font-size: 13.5px;
    color: #374151;
    margin-bottom: 10px;
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
}

.signup-login-hint i {
    color: #374151;
}

/* Login button (outlined) */
.signup-login-btn {
    display: block;
    width: 100%;
    text-align: center;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    background: #fff;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
}

.signup-login-btn:hover {
    border-color: #15803d;
    color: #15803d;
    background: #f0fdf4;
}

/* ============================================================
   Page / Policy Section Styles
   ============================================================ */

/* ---- Policy Tab Navigation Bar ---- */
.policy-nav {
    background-color: #f3f4f6;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.policy-nav-inner {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0 16px;
    min-height: 42px;
}

.policy-nav-link {
    display: inline-block;
    font-size: 13.5px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    padding: 10px 14px;
    white-space: nowrap;
    transition: color 0.2s;
    font-family: 'Inter', 'Noto Sans Bengali', sans-serif;
}

.policy-nav-link:hover {
    color: #15803d;
}

.policy-nav-link.active {
    color: #15803d;
    font-weight: 700;
}

.policy-nav-sep {
    color: #9ca3af;
    font-size: 13px;
    user-select: none;
    flex-shrink: 0;
}

/* ---- Policy Content Area ---- */
.policy-content-area {
    padding: 24px 20px 40px;
    max-width: 900px;
}

/* ---- Policy Article ---- */
.policy-page {
    animation: policyFadeIn 0.18s ease;
}

@keyframes policyFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.policy-page-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
    font-family: 'Inter', 'Noto Sans Bengali', sans-serif;
}

.policy-intro {
    font-size: 13.5px;
    color: #374151;
    margin-bottom: 18px;
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
    line-height: 1.6;
}

.policy-section-title {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 6px;
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
    line-height: 1.3;
}

.policy-sub-intro {
    font-size: 13.5px;
    color: #374151;
    margin-bottom: 12px;
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
    line-height: 1.6;
}

.policy-list {
    list-style: disc;
    padding-left: 22px;
    margin: 0;
}

.policy-list li {
    font-size: 13.5px;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 6px;
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
}

.policy-list li strong {
    color: #111827;
}


/* ============================================================
   New Header Layout – Dual-mode (Mobile vs Desktop)
   ============================================================ */

/* === Main flex row: hamburger | logo | [desktop-search] | icons === */
.header-main-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 8px;
}

/* Logo: on mobile takes the remaining space between hamburger and icons */
.header-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    /* centered between hamburger and cart on mobile */
    font-size: 26px;
}

/* Desktop search slot: hidden on mobile, takes up middle flex space on desktop */
.header-search-desktop {
    flex: 1;
    display: flex;
    /* always flex when visible */
}

.header-search-desktop .search-box {
    width: 100%;
}

/* Mobile-only search row below the main row */
.header-search-mobile {
    padding-bottom: 10px;
}

.header-search-mobile .search-box {
    width: 100%;
}

/* Hamburger button */
.header-hamburger {
    background: none;
    border: none;
    padding: 4px 4px;
    font-size: 28px;
    color: #1f2937;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.header-hamburger:focus {
    outline: none;
}

/* Icon group always on right */
.header-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* === Desktop (>= 992px) overrides === */
@media (min-width: 992px) {
    .header-main-row {
        padding: 16px 0;
        gap: 20px;
    }

    /* Logo: back to natural left-aligned, no centering */
    .header-logo {
        flex: 0 0 auto;
        justify-content: flex-start;
        font-size: 28px;
    }

    /* Desktop search takes up all middle space */
    .header-search-desktop {
        flex: 1;
    }
}

/* ===========================
   Mobile Offcanvas Menu
   =========================== */
.custom-mobile-offcanvas {
    width: 320px !important;
}

.custom-mobile-menu-wrapper {
    background-color: #3e811e;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list li {
    border-bottom: 1px solid #7cb75f;
}

.mobile-menu-list li a {
    color: #fff;
    text-decoration: none;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.3px;
}

.mobile-menu-list li a:active,
.mobile-menu-list li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.mobile-menu-plus {
    width: 26px;
    height: 26px;
    background-color: #488d29;
    border: 1px solid #2f5f14;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.3s ease;
}

/* Submenu Styles */
.mobile-submenu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #2b610c;
    /* Darker green for open submenu */
}

.mobile-submenu-list li {
    border-bottom: 1px solid #3e811e;
}

.mobile-submenu-list li:last-child {
    border-bottom: none;
}

.mobile-submenu-list li a {
    padding: 10px 20px 10px 30px;
    /* Indent sub items */
    font-size: 14px;
    font-weight: 500;
    color: #e5e7eb;
}

/* Animate plus icon when accordion is expanded */
.mobile-menu-list li a:not(.collapsed) .mobile-menu-plus {
    background-color: #2f5f14;
}

.mobile-menu-list li a:not(.collapsed) .mobile-menu-plus i::before {
    content: "\f28e";
    /* bi-dash icon unicode */
}

/* FAQ Page Styles */
.faq-page-wrapper {
    background-color: #f8f9fa;
    /* Light grey background behind the white card */
}

/* Hero Section (Blue Background) */
.faq-hero-section {
    background-color: #05ac43;
    /* Exact blue color from image */
    padding: 60px 20px 100px 20px;
    text-align: center;
    color: #ffffff;
}

.faq-hero-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.faq-hero-content p {
    font-size: 14px;
    max-width: 500px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
    line-height: 1.5;
}

.faq-search-box {
    position: relative;
    max-width: 450px;
    margin: 0 auto;
}

.faq-search-box input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 4px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #555;
}

.faq-search-box input::placeholder {
    color: #aaa;
}

.faq-search-box button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #1aabf2;
    font-size: 16px;
    padding: 0;
    cursor: pointer;
}

/* White Card Section */
.faq-body-section {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    background: transparent;
    margin-top: -60px;
    /* Pull it up into the blue section */
    margin-bottom: 60px;
}

.faq-card-container {
    background-color: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    padding: 50px 60px;
    text-align: center;
}

.faq-card-container h2 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 40px;
}

/* Accordion Styles */
.faq-accordion {
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid #e9ecef;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 16px;
    color: #555;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    outline: none;
}

.faq-chevron {
    font-size: 14px;
    color: #000;
    transition: transform 0.3s ease;
    font-weight: bold;
}

.faq-question-btn.expanded .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-panel p {
    padding-bottom: 20px;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .faq-hero-section {
        padding: 40px 15px 80px 15px;
    }

    .faq-card-container {
        padding: 30px 20px;
    }

    .faq-hero-content h1 {
        font-size: 28px;
    }
}

.contact-section-container {
    background: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    margin: 40px auto;
    border: 1px solid #b4b4b4;
}

/* Contact Form Styling */
.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form .form-label {
    color: #343592;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    font-size: 18px;
}

.contact-form .form-control {
    background-color: #eefcf3;
    border: none;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 14px;
    color: #555;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background-color: #fff;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
    outline: none;
}

.contact-form textarea.form-control {
    min-height: 120px;
    resize: none;
}

.btn-submit-contact {
    background-color: #15803d;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
}

.btn-submit-contact:hover {
    background-color: #2e963c;
    color: #fff;
    transform: translateY(-2px);
}

/* Contact Info Styling */
.contact-info-side {
    padding-left: 30px;
    text-align: center;
}

.contact-info-title {
    font-size: 36px;
    font-weight: 800;
    color: #15803d;
    margin-bottom: 20px;
}

.contact-info-subtitle {
    color: #777;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.info-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-card {
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: 15px;
    padding: 25px 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.info-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: #38b449;
    text-decoration: none;
}

.info-card i {
    font-size: 32px;
    color: #343592;
    margin-bottom: 15px;
}

.info-card .info-text {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    word-break: break-all;
}

@media (max-width: 991px) {
    .contact-info-side {
        padding-left: 0;
        margin-top: 50px;
    }
}

@media (max-width: 767px) {
    .info-cards-container {
        grid-template-columns: 1fr;
    }

    .contact-section-container {
        padding: 30px 20px;
    }

    .contact-info-title {
        font-size: 28px;
    }
}
