.products-section {
    background-color: #f1f2f4;
    padding-top: 1px;
}

.mainbody {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background-color: #e0e0e0;
}

.products {
    background: white;
    text-decoration: none;
    color: black;
    display: block;
    cursor: pointer;
}

.productcard {
    padding: 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.imagecontainer {
    text-align: center;
}

.productimage {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.product-info {
    padding-top: 10px;
}

.product-name {
    font-size: 14px;
    color: #212121;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    margin-bottom: 8px;
}

.price-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.wow-offer {
    margin-top: 6px;
    display: flex;
    align-items: center;
}

.rating-line {
    display: flex;
    align-items: center;
    margin-top: 6px;
    justify-content: space-between;
}

/* Product Card Styles */
.products-section {
    background-color: #f1f2f4;
    padding-top: 1px;
}

.mainbody {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background-color: #e0e0e0;
}

.products {
    background: white;
    text-decoration: none;
    color: black;
    display: block;
    cursor: pointer;
}

.productcard {
    padding: 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.imagecontainer {
    text-align: center;
}

.productimage {
    width: 100%;
    height: 140px;
    object-fit: contain;
}

.product-info {
    padding-top: 10px;
}

.product-name {
    font-size: 14px;
    color: #212121;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    margin-bottom: 8px;
}

.price-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.selling-price {
    font-size: 16px;
    font-weight: 500;
    color: #212121;
}

.mrp {
    text-decoration: line-through;
    color: #878787;
    font-size: 12px;
    margin: 0 8px;
}

.discount {
    font-size: 13px;
    color: #388e3c;
    font-weight: 500;
}

.wow-offer {
    margin-top: 4px;
    display: flex;
    align-items: center;
}

.wow-badge {
    height: 14px;
    margin-right: 6px;
}

.wow-price {
    font-size: 14px;
    font-weight: 500;
    color: #212121;
}

.offer-text {
    font-size: 8px;
    color: #878787;
    position: relative;
    right: -26px;
}

.rating-line {
    display: flex;
    align-items: center;
    margin-top: 6px;
}

.rating-stars {
    font-size: 14px;
    color: #26a541;
}

.rating-stars .bi-star {
    color: #e0e0e0;
}

.fassured-logo-small {
    height: 16px;
    margin-left: 10px;
}

/* Deal Banner */
.deal-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 16px;
    margin: 10px;
    border: 0.5px solid #e2e8f0;
    gap: 10px;
}

.deal-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    position: relative;
}

.deal-title {
    font-size: 16px;
    color: #1a73e8;
    font-weight: 600;
}



.sale-badge {
    background: linear-gradient(135deg, #0d6efd, #ff4081);
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: bold;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(255, 64, 129, 0.5);
    white-space: nowrap;
}

.sale-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-25deg);
    animation: shine 2.2s infinite;
}

@keyframes shine {
    from {
        left: -75%;
    }

    to {
        left: 125%;
    }
}

/* Loader */
#loader {
    display: none;
    text-align: center;
    padding: 20px;
    grid-column: 1 / -1;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.2em;
}