*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* General Body Styles - Apply Hind Siliguri to all text */
body {
    font-family: 'Hind Siliguri', sans-serif; /* Applied Hind Siliguri */
    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;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}


/* Products Card Start */
/* --- CSS Reset & Variables --- */
:root {
    --products-card-primary: #2EB14B; /* 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: 20px;
    font-weight: 600;
    color: var(--products-card-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.products-card-header-left p {
    font-size: 14px;
    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);
}

/* 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: 14px;
    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: 16px;
    font-weight: 700;
    color: #007bff; 
    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: #007bff; /* Blue as per image */
    color: white;
}
.products-card-btn-buy:hover {
    background-color: #0069d9;
}

/* --- 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-btn {
        font-size: 10px;
        padding: 6px 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 */





