* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* @font-face {
    font-family: 'MyCustomFont';
    src: url('../../font/SutonnyOMJ.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-size: 17px !important;
} */
/* General Body Styles - Apply Hind Siliguri to all text */
body {
    font-family: 'Hind Siliguri', sans-serif;
    /* font-family: 'MyCustomFont'; */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;

}

/* Carousel Specific Styles */
.index_slider_conteinar {
    position: relative;
    width: 100%;
    max-width: 100%;
    /* Adjust as needed */
    margin: 0px auto;
    overflow: hidden;
    background-color: #fff;
}


/* Products Card Start */
/* --- CSS Reset & Variables --- */
:root {
    --products-card-primary: #7B0000;
    /* Requested Color */
    --products-card-dark: #222;
    --products-card-light: #666;
    --products-card-white: #ffffff;
    --products-card-bg: #f8f9fa;
}

/* --- Section Container --- */
.products-card-section {
    max-width: 95%;
    margin: 40px auto;
    padding: 0 15px;
}

/* --- Header Section --- */
.products-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
}

.products-card-header-left h2 {
    font-size: 25px;
    font-weight: 700;
    color: var(--products-card-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.products-card-header-left p {
    font-size: 18px;
    color: var(--products-card-light);
    margin-top: 5px;
}

.products-card-see-all {
    text-decoration: none;
    color: #ff6b00;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}

.products-card-see-all:hover {
    color: var(--products-card-primary);
}

/* --- Grid System --- */
.products-card-grid {
    display: grid;
    /* 5 Cards per row on Desktop */
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* --- Product Card Design --- */
.products-card-item {
    background-color: var(--products-card-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease-in-out;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Hover Animation: Lift Up */
.products-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Image Wrapper */
.products-card-img-wrapper {
    position: relative;
    height: 180px;
    width: 100%;
    background: #f0f0f0;
    overflow: hidden;
}

.products-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

/* Badge */
.products-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--products-card-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 3px;
    z-index: 2;
}

/* Eye Button (Hidden default, visible hover) */
.products-card-eye-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--products-card-primary);
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);

    /* Animation properties */
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 3;
    border: none;
}

.products-card-eye-btn:hover {
    background-color: var(--products-card-primary);
    color: white;
}

/* Show eye on card hover */
.products-card-item:hover .products-card-eye-btn {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 768px) {
    .products-card-eye-btn {
        opacity: 1;
        transform: scale(1);
    }
}

/* Card Body */
.products-card-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Title: Max 2 lines with ellipsis */
.products-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--products-card-dark);
    /* margin-bottom: 8px; */
    line-height: 1.4em;
    height: 2.8em;
    /* 1.4em * 2 lines */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.products-card-price {
    font-size: 19px;
    font-weight: 700;
    color: #7B0000;
    margin-bottom: 5px;
}

.products-card-rating {
    color: #ffc107;
    font-size: 12px;
    margin-bottom: 12px;
}

/* Buttons */
.products-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    /* Push to bottom */
}

.products-card-btn {
    flex: 1;
    padding: 8px 10px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.products-card-btn-cart {
    background-color: #e9ecef;
    color: var(--products-card-dark);
}

.products-card-btn-cart:hover {
    background-color: #dde0e3;
}

.products-card-btn-buy {
    background-color: #7B0000;
    /* Blue as per image */
    color: white;
}

.products-card-btn-buy:hover {
    background-color: #7B0000;
}

/* --- Modal / Popup Styles --- */
.products-card-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.products-card-modal-overlay.open {
    display: flex;
    opacity: 1;
}

.products-card-modal-box {
    background: white;
    width: 800px;
    max-width: 90%;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.products-card-modal-overlay.open .products-card-modal-box {
    transform: translateY(0);
}

.products-card-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #aaa;
    cursor: pointer;
    z-index: 10;
}

.products-card-modal-left {
    width: 50%;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 80vh;
}

.products-card-modal-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-card-modal-right {
    width: 50%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.products-card-modal-badge {
    display: inline-block;
    background: var(--products-card-primary);
    color: white;
    padding: 4px 8px;
    font-size: 10px;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 10px;
}

.products-card-modal-title {
    font-size: 22px;
    color: var(--products-card-dark);
    margin-bottom: 10px;
}

.products-card-modal-price {
    font-size: 24px;
    color: var(--products-card-primary);
    font-weight: bold;
    margin-bottom: 15px;
}

.products-card-modal-desc {
    font-size: 14px;
    color: var(--products-card-light);
    line-height: 1.6;
    margin-bottom: 25px;
}

.products-card-modal-btns {
    display: flex;
    gap: 15px;
}

.products-card-modal-btns .products-card-btn {
    padding: 12px 5px;
    font-size: 14px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .products-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    /* Mobile: 2 Cards in one line */
    .products-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .products-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .products-card-header-left h2 {
        font-size: 20px;
    }

    /* Adjust card height for mobile */
    .products-card-img-wrapper {
        height: 140px;
    }

    .products-card-details {
        padding: 10px;
    }

    .products-card-title {
        font-size: 14px;
        line-height: 1.3em;
        height: 2.6em;
    }

    .products-card-price {
        font-size: 15px;
    }

    .products-card-btn {
        font-size: 11px;
        padding: 8px 6px;
    }

    /* Modal Mobile */
    .products-card-modal-box {
        flex-direction: column;
        max-height: 90vh;
        overflow-y: auto;
    }

    .products-card-modal-left,
    .products-card-modal-right {
        width: 100%;
    }

    .products-card-modal-left {
        height: 250px;
    }

    .products-card-modal-right {
        padding: 20px;
    }
}

/* Products Card End */
/* আমের টক ঝাল মিষ্টি আচার */

.index_products_section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    max-width: 90%;
    margin: auto;
}

.index_products_image-container {
    flex: 1 1 400px;
    text-align: center;
}

.index_products_image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.index_products_details {
    flex: 1 1 400px;
    padding: 20px;
}

.index_products_title {
    font-size: 35px;
    color: #7B0000;
    font-weight: bold;
    line-height: 1.5;
}

.index_products_rating {
    margin: 15px 0;
    font-size: 18px;
    color: #ff9900;
}

.index_products_rating span {
    font-size: 16px;
    color: #555;
    margin-left: 5px;
}

.index_products_description {
    font-size: 18px;
    margin-bottom: 20px;
    color: #444;
    line-height: 1.6;
}

.index_products_benefits {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.index_products_benefits li {
    margin-bottom: 10px;
    font-size: 18px;
    display: flex;
    align-items: center;
    color: #333;
}

.index_products_benefits li i {
    color: #7B0000;
    margin-right: 10px;
    font-size: 20px;
}

.index_products_button {
    background-color: #7B0000;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.index_products_button:hover {
    background-color: #bf5c00;
}

@media screen and (max-width: 768px) {
    .index_products_section {
        flex-direction: column;
        text-align: center;
    }

    .index_products_details {
        padding-top: 30px;
    }
}


/* ==========================================================================
   Benefits Section Styles
   ========================================================================== */
.benefits-section {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    min-height: 400px;
}

.benefits-img-container {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: 35%;
}

.benefits-img-container img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.3));
}

.benefits-content {
    width: 85%;
    background-color: #c2185b;
    padding: 40px 30px 40px 25%;
    border-radius: 20px;
    color: white;
    position: relative;
    z-index: 1;
}

.benefits-title {
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 2px solid white;
    display: inline-block;
    padding-bottom: 10px;
    line-height: 1.2;
}

.benefits-list {
    list-style: none;
    padding: 0;
    font-size: 16px;
    line-height: 1.8;
}

/* Responsive Benefits */
@media (max-width: 900px) {
    .benefits-section {
        flex-direction: column;
        justify-content: center;
        min-height: auto;
    }
    .process-img2 {
        margin: 0 auto;
        width: 100% !important;
        display: block;
    }

    .benefits-img-container {
        position: relative;
        width: 65%;
        margin: 0 auto -40px auto;
        /* Overlap effect */
    }

    .benefits-content {
        width: 95%;
        padding: 60px 20px 30px 20px;
    }

    .benefits-title {
        font-size: 36px;
    }
}

/* ==========================================================================
   Process Section Styles
   ========================================================================== */
.process-section {
    width: 100%;
    /* margin: 20px 0;
    padding: 20px 0; */
    background-image: url('../../image/backlayer.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-title-wrapper {
    width: 90%;
    max-width: 1200px;
}

.process-title {
    color: #881c3c;
    font-weight: bold;
    font-size: 24px;
    margin: 0;
    line-height: 1.2;
}

.process-img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 0;
}

@media (max-width: 768px) {
    .process-img {
        margin: 0 auto;
        width: 95%;
    }
    .process-img2 {
        margin: 0 auto;
        width: 100%;
        display: block;
    }
}

.process-img2 {
    margin: 0 auto;
    width: 80%;
    display: block;
}

/* ==========================================================================
   Reviews Section
   ========================================================================== */
.reviews-section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    overflow: hidden;
}

.reviews-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 15px;
}

.reviews-title {
    color: #881c3c;
    font-weight: bold;
    font-size: 24px;
    margin: 0;
    line-height: 1.2;
}

.reviews-dashed-line {
    flex-grow: 1;
    border-bottom: 2px dashed #cca5b1;
    margin-bottom: 8px;
    margin-left: -100px;
}

.process-img-text {
    max-height: 80px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

.review-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.review-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.review-card {
    flex: 0 0 calc(50% - 10px);
    display: flex;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.review-card-left {
    flex: 0 0 35%;
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
}

.review-card-left img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.review-card-left h4 {
    margin: 0;
    font-size: 15px;
    color: #333;
}

.review-card-left p {
    color: #888;
    font-size: 12px;
    margin: 5px 0 0 0;
}

.review-card-right {
    flex: 1;
    background: #fdf5d3;
    padding: 30px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.review-quote-icon {
    font-size: 60px;
    color: #fbd38d;
    line-height: 1;
    font-family: Georgia, serif;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.8;
}

.review-text {
    color: #555;
    font-size: 14px;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
    margin-top: 15px;
}

.review-rating {
    color: #f59e0b;
    margin-top: 15px;
    font-size: 14px;
}

.review-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 100% !important;
        flex-direction: column !important;
    }

    .review-card-left {
        flex: 1 1 auto !important;
        border-bottom: 1px solid #f0f0f0;
        padding: 20px !important;
    }
    

    .reviews-header {
        justify-content: center;
        align-items: center;
    }

    .reviews-dashed-line {
        display: none;
    }

    
}

/* ==========================================================================
   Service Badges Section
   ========================================================================== */
.service-badges {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 15px;
    border: 2px solid #7B0000;
    border-radius: 12px;
}

.service-badge-icon {
    font-size: 45px;
    color: #881c3c;
}

.service-badge-text h4 {
    margin: 0;
    color: #881c3c;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

.service-badge-text p {
    margin: 0;
    font-size: 14px;
    color: #aaa;
}

@media (max-width: 768px) {
    .service-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .service-badge-item {
        padding: 15px 10px;
    }

    .service-badge-text h4 {
        font-size: 14px;
    }

    .service-badge-icon {
        font-size: 35px;
    }
}

/* ==========================================================================
   Desktop Cart Dropdown styling overrides
   ========================================================================== */
@media (min-width: 992px) {

    /* Set the header-actions relatively so we can position the dropdown relative to it */
    .header-actions {
        position: relative;
    }

    .process-img2 {
        /* margin-left: -40px; */
    }


    .cart-drawer {
        position: absolute;
        top: 100%;
        right: 0 !important;
        /* Force override of any inline JS 'right: -100%' */
        width: 350px;
        max-width: 350px;
        height: auto;
        max-height: 80vh;
        border-radius: 10px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        border: 1px solid #eee;

        /* Dropdown transition behavior */
        display: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    }

    /* When open class is added by JS, animate it in */
    .cart-drawer.open {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: translateY(5px);
        top: 80px;
    }

    /* We can hide the close button on desktop since clicking outside usually closes it, or keep it. Let's keep it. */

    /* Fix form height logic to fit the dropdown gracefully */
    #drawer-checkout-form {
        height: auto;
    }

    .cart-drawer-content {
        max-height: 400px;
    }
}