.slider_section {
    width: calc(100% - 32px);
    max-width: none;
    margin: 16px auto;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

#carouselExampleControls,
#carouselExampleControls .carousel-inner,
#carouselExampleControls .carousel-item,
#carouselExampleControls .carousel-item > a {
    width: 100%;
    overflow: hidden;
}

#carouselExampleControls .carousel-item > a {
    display: block;
}

.carousel-item img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
}

/* =========================
   PRODUCT SECTION
========================= */
.product_container {
    background: #fff7e8;
    padding: 50px 0;
}

/* Home page content uses the available desktop width instead of Bootstrap's
   fixed container widths. It still keeps safe side padding on every screen. */
.product_container > .container {
    width: min(94vw, 1800px);
    max-width: 1800px;
    padding-left: 0;
    padding-right: 0;
}

/* Responsive desktop/tablet grid. Cards are never given a fixed pixel width. */
@media (min-width: 768px) {
    .product_container .product-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: clamp(18px, 1.5vw, 30px);
        margin: 0;
    }

    .product_container .product-grid > [class*="col-"] {
        display: flex;
        width: auto;
        max-width: none;
        flex: none;
        padding: 0;
        margin: 0;
    }
}

.product-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.14);
}

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;   /* product image overflow fix */
    object-position: center center;
    padding: 10px;
}

/* right side actions */
.product-card-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 8;
}
.product-action-circle {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: #166534;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
    text-decoration: none !important;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.25s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 0;
}

.product-action-circle:hover {
    background: #166534;
    color: #ffffff;
    transform: translateY(-1px);
}


.product-info {
    padding: 18px 15px 20px;
}

.product-title_home_page {
    display: block;
    text-align: center;
    font-size: 17px;
    font-weight: 800;
    color: #166534;
    line-height: 1.35;
    text-decoration: none !important;
    min-height: 46px;
}

.price-section {
    text-align: center;
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    align-items: center;
}

.current-price {
    font-size: 25px;
    font-weight: 900;
    color: #166534;
    line-height: 1;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 15px;
    line-height: 1;
}

.discount-inline {
    display: inline-block;
    background: #214f4c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 999px;
    line-height: 1;
}

/* =========================
   STORY / ARTICLE
========================= */
.bihar-story {
    padding: 80px 0;
}

.story-heading {
    font-size: 2.4rem;
    color: #166534;
    font-weight: 800;
}

.story-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
}

.articles-section {
    background: #fff7e8;
    padding: 70px 0;
}

.article-card {
    background: #fefaf0;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.article-title {
    font-size: 1.25rem;
    color: #166534;
    font-weight: 800;
}

.article-desc {
    color: #555;
    line-height: 1.6;
}

/* =========================
   TABLET
========================= */
@media (max-width: 992px) {
    .slider_section {
        margin: 14px;
        border-radius: 15px;
    }

    .product_container {
        padding: 40px 0;
    }

    .product-title_home_page {
        font-size: 15px;
        min-height: 42px;
    }

    .current-price {
        font-size: 21px;
    }

    .original-price {
        font-size: 13px;
    }

    .discount-inline {
        font-size: 10px;
        padding: 3px 8px;
    }

    .product-action-circle {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .story-heading {
        font-size: 2rem;
    }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 767px) {
    .slider_section {
        margin: 8px;
        border-radius: 12px;
    }

    .carousel-item img {
        height: 180px;
        object-fit: cover;
        object-position: center center;
    }

    .product_container {
        padding: 20px 0;
    }
.product_container h2
{
    font-size: 25px;
    font-weight: 800;
}
.product_container p
{
    font-size: 15px;
    font-weight: 400;
}
    /* 2 products per row */
    .product_container > .container {
        width: 100%;
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    .product_container .product-grid {
        display: flex;
        flex-wrap: wrap;
        margin-left: -6px;
        margin-right: -6px;
    }

    .product_container .product-grid > [class*="col-"] {
        width: 50%;
        max-width: 50%;
        flex: 0 0 50%;
        padding-left: 6px;
        padding-right: 6px;
        margin-bottom: 12px;
    }

    .product-card {
        border-radius: 14px;
        box-shadow: 0 5px 16px rgba(0,0,0,0.08);
    }

    .product-card:hover {
        transform: none;
    }

    .product-image {
        aspect-ratio: auto;
        height: 165px;
        padding-top: 0;
        align-items: center;
        justify-content: center;
    }

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center center;
        padding: 8px;
    }

    .product-info {
        padding: 10px 8px 12px;
    }

    .product-title_home_page {
        font-size: 12px;
        line-height: 1.3;
        min-height: 32px;
    }

    .price-section {
        margin-top: 7px;
        gap: 4px;
    }

    .current-price {
        font-size: 17px;
    }

    .original-price {
        font-size: 11px;
    }

    .discount-inline {
        font-size: 9px;
        padding: 2px 6px;
    }
.product-card-actions {
    top: 10px;
    right: 10px;
    gap: 7px;
}

.product-action-circle {
    width: 30px;
    height: 30px;
    font-size: 11px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.14);
}
    .bihar-story,
    .articles-section {
        padding: 36px 0;
    }

    .story-heading {
        font-size: 1.6rem;
    }

    .story-description {
        font-size: 0.95rem;
    }
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 480px) {
    .carousel-item img {
        height: 155px;
    }

    .product_container .product-grid > [class*="col-"] {
        width: 50%;
        max-width: 50%;
        flex: 0 0 50%;
    }

    .product-image {
        height: 150px;
    }

    .product-image img {
        padding: 6px;
    }

    .product-title_home_page {
        font-size: 11.5px;
        min-height: 30px;
    }

    .current-price {
        font-size: 16px;
    }

    .original-price {
        font-size: 10px;
    }

    .discount-inline {
        font-size: 8.5px;
        padding: 2px 5px;
    }

    .product-action-circle {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
}
.product-card .product-image {
    position: relative !important;
    overflow: hidden !important;
}

.product-card .product-card-actions {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    z-index: 50 !important;
}

.product-card .product-action-circle,
.product-card button.product-action-circle {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(22, 101, 52, 0.12) !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #166534 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 5px 14px rgba(0,0,0,0.14) !important;
    text-decoration: none !important;
    cursor: pointer !important;
    line-height: 1 !important;
    font-size: 13px !important;
    opacity: 1 !important;
    transform: none !important;
}

.product-card .product-action-circle i {
    font-size: 13px !important;
    line-height: 1 !important;
}

.product-card .product-action-circle:hover {
    background: #166534 !important;
    color: #ffffff !important;
}

.product-eye-btn,
.product-discount-corner {
    display: none !important;
}

@media (max-width: 767px) {
    .product-card .product-card-actions {
        top: 8px !important;
        right: 8px !important;
        gap: 6px !important;
    }

    .product-card .product-action-circle,
    .product-card button.product-action-circle {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        max-width: 28px !important;
        max-height: 28px !important;
        font-size: 11px !important;
    }

    .product-card .product-action-circle i {
        font-size: 11px !important;
    }
}
/* Bihar Story Section */
.bihar-story {
    position: relative;
    padding: 90px 0;
    background: linear-gradient(135deg, #fff8ec 0%, #ffffff 55%, #f4fff8 100%);
    overflow: hidden;
}

.bihar-story::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    background: rgba(255, 166, 0, 0.16);
    border-radius: 50%;
    z-index: 0;
}

.bihar-story::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -90px;
    width: 280px;
    height: 280px;
    background: rgba(27, 94, 32, 0.12);
    border-radius: 50%;
    z-index: 0;
}

.bihar-story .container {
    position: relative;
    z-index: 1;
}

.story-heading {
    max-width: 820px;
    margin: 0 0 22px;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.04em;
    color: #1f2d1f;
}

.story-description {
    max-width: 720px;
    margin: 0;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 400;
    line-height: 1.75;
    color: #4b5b4b;
}

/* Tablet */
@media (max-width: 991px) {
    .bihar-story {
        padding: 70px 0;
    }

    .story-heading {
        max-width: 100%;
        letter-spacing: -0.03em;
    }

    .story-description {
        max-width: 100%;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .bihar-story {
        padding: 55px 0;
        text-align: left;
    }

    .bihar-story::before {
        width: 170px;
        height: 170px;
        top: -55px;
        right: -65px;
    }

    .bihar-story::after {
        width: 190px;
        height: 190px;
        bottom: -75px;
        left: -70px;
    }

    .story-heading {
        font-size: 2rem;
        line-height: 1.18;
        margin-bottom: 16px;
    }

    .story-description {
        font-size: 1rem;
        line-height: 1.65;
    }
}

/* =========================
   RESPONSIVE HOME DESKTOP FINISH
========================= */
@media (min-width: 768px) {
    .product_container .product-card {
        width: 100%;
        height: 100% !important;
        min-width: 0;
    }

    .product-title_home_page {
        font-size: clamp(14px, 1.05vw, 17px);
    }

    .current-price {
        font-size: clamp(20px, 1.6vw, 25px);
    }

    .original-price {
        font-size: clamp(12px, 0.95vw, 15px);
    }

    .discount-inline {
        font-size: clamp(9px, 0.7vw, 11px);
    }

    .bihar-story > .container {
        width: min(94vw, 1800px);
        max-width: 1800px;
    }
}

/* Very wide desktop: keep the layout centered and readable. */
@media (min-width: 1600px) {
    .slider_section {
        width: calc(100% - 48px);
        margin-top: 20px;
        margin-bottom: 20px;
    }
}
