
/* product list page */
.plp-reset {

    margin-top: 8.5rem;
    max-width: 100%;
    box-sizing: border-box;
    
    padding: 0;
    font-family: Arial, sans-serif;
}

.plp-body {
    padding: 0px;
    background-color: #f3f3f3;
}

/* Layout */
.plp-page-container {
    padding: 10px;
    display: flex;
    gap: 5px;
}

/* Filter Section */
.plp-filter-section {
    width: 250px;
    background: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    height: fit-content;
}

.plp-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.plp-filter-title {
    font-size: 18px;
    color: #333;
}

.plp-filter-group {
    margin-bottom: 20px;
}

.plp-filter-subtitle {
    font-size: 16px;
    margin-bottom: 10px;
    color: #555;
}

.plp-filter-options {
    list-style: none;
}

.plp-filter-option {
    margin-bottom: 8px;
}

.plp-filter-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.plp-filter-checkbox {
    margin-right: 10px;
}

.plp-filter-toggle {
    display: none;
    background: #f0c14b;
    color: #111;
    border: none;
    padding: 10px 15px;
    border-radius: 3px;
    font-weight: bold;
    margin-bottom: 15px;
    cursor: pointer;
    width: 100%;
}

/* Product Grid */
.plp-product-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
}

.plp-product-card {
    background: white;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}

.plp-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.plp-product-image-container {
    height: 200px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
    position: relative;
}

.plp-product-image {
    background-color:white ;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.plp-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    cursor: pointer;
    color: #ccc;
    font-size: 16px;
    z-index: 2;
}

.plp-wishlist-btn-active {
    color: #ff0000;
}

.plp-discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #7b031f;
    color: white;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
}

.plp-product-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.plp-product-title {
    font-size: 14px;
    color: #020304;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.plp-price-container {
    margin-bottom: 10px;
}

.plp-current-price {
    font-size: 18px;
    font-weight: bold;
    color: #B12704;
}

.plp-original-price {
    font-size: 14px;
    color: #565959;
    text-decoration: line-through;
    margin-left: 5px;
}

.plp-product-rating {
    color: #FFA41C;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.plp-rating-count {
    color: #0066c0;
    font-size: 12px;
    margin-left: 5px;
}

.plp-product-seller {
    font-size: 12px;
    color: #555;
    margin-bottom: 5px;
}

.plp-delivery-info {
    font-size: 12px;
    color: #067D62;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.plp-delivery-icon {
    margin-right: 5px;
}

.plp-prime-badge {
    display: inline-block;
    background-color: #f30404;
    color: white;
    font-size: 12px;
    padding: 2px 5px;
    border-radius: 3px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.plp-product-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    margin-top: auto;
}

.plp-buy-now-btn, .plp-call-now-btn {
    padding: 3px 0;
    border-radius: 3px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
}

.plp-buy-now-btn {

    background: #FFD814;
    border: none;
    color: #0F1111;
}

.plp-buy-now-btn:hover {
    background: #F7CA00;
}

.plp-call-now-btn {
    background: rgb(193, 1, 1);
    border: 1px solid #D5D9D9;
    color: #ffffff;
}

.plp-call-now-btn:hover {
    background: #b70101;
}

/* Responsive Styles */
@media (max-width: 1600px) {
    .plp-product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 1024px) {
    .plp-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .plp-page-container {
        flex-direction: column;
    }

    .plp-filter-section {
        width: 100%;
        display: none;
    }

    .plp-filter-section-active {
        display: block;
    }

    .plp-filter-toggle {
        display: block;
    }

    .plp-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .plp-product-grid {
        grid-template-columns: repeat(2, 1fr);
}}

@media (max-width: 680px) {
.plp-reset {
    margin-top: 11rem;
}
}



/* wishlist */
.plp-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #ccc;  /* Default gray color */
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.plp-wishlist-btn:hover {
    color: #ff6b6b;  /* Light red on hover */
    transform: scale(1.1);
}

.plp-wishlist-btn.active {
    color: #ff0000;  /* Bright red when in wishlist */
    animation: pulse 0.5s;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}



.wishlist-animate {
    animation: bounce 0.5s;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    30% { transform: scale(1.2); }
    50% { transform: scale(0.9); }
    70% { transform: scale(1.1); }
}

    /* adding filter to the check and rdio on all categories */
    .plp-filter-options {
        margin-left: 0;
        padding-left: 0;
    }
    
    .plp-filter-option {
        margin-bottom: 8px;
        list-style-type: none;
    }
    
    .plp-filter-label {
        display: flex;
        align-items: center;
        gap: 5px; /* This adds space between the checkbox/radio and the label text */
        cursor: pointer;
    }
    
    .plp-filter-label input[type="checkbox"],
    .plp-filter-label input[type="radio"] {
        margin: 0; /* Remove default margins */
        width: 16px;
        height: 16px;
    }