.books-sheet-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.book-product {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}






.stock-status {
   
    font-size: 13px;
    font-weight: 500;
    padding-bottom: 6px;
}

.stock-status.instock, .stock-status.outofstock {
    color: #9d0202;
    display: block;
    text-align: center;
    border-bottom: 1px solid #000;
}



span.price {
    font-weight: bold;
    /* color: #005a3d; */
    display: block;
    text-align: center;
    border-bottom: 1px solid #000;
    margin-bottom: 10px;
    padding-bottom: 6px;
}

.book-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.add-to-cart, .buy-now, .login-buy-now  {
    display: inline-block;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s;
    text-align: center;
    flex: 1;
}
.login-buy-now a{
    color: #fff;
    
}

.add-to-cart {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.add-to-cart:hover {
    background-color: #e0e0e0;
}

.buy-now, .login-buy-now  {
    background-color: #005a3d;
    color: #fff;
    border: 1px solid #005a3d;
    cursor: pointer;
}
.buy-now:hover {
   background-color: #005a3d;
    color: #fff;
    border: 1px solid #005a3d;
}

.out-of-stock {
    color: #9d0202;
    font-size: 14px;
    padding: 8px 0;
    display: block;
    text-align: center;
}

@media (max-width: 600px) {
    .books-sheet-products {
        grid-template-columns: 1fr;
    }
}


.books-sheet-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.book-image {
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px 8px 0 0;
}

.book-image img {
    width: 100%;
    height: 100% !important;
    object-fit: fill;
    /* padding: 7px; */
    transition: transform 0.3s ease;
}

.book-product:hover .book-image img {
    transform: scale(1.05);
}

.book-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.book-info h3 {
    font-size: 16px;
    color: #333;
    line-height: 1.3;
    text-align: center;
    border-bottom: 1px solid #000;
    padding-bottom: 6px;
}

@media (max-width: 600px) {
    .books-sheet-products {
        grid-template-columns: 1fr;
    }
    
    .book-image {
        height: 150px;
    }
}


 .toggle-switch-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }
        
        .payment-method-title {
            flex-grow: 1;
            margin-right: 15px;
        }
        
        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 24px;
            margin: 0 10px;
        }
        
        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        
        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 24px;
        }
        
        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 16px;
            width: 16px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        
        input:checked + .toggle-slider {
            background-color: #005a3d;
        }
        
        input:checked + .toggle-slider:before {
            transform: translateX(26px);
        }
        
        /* Existing styles with adjustments */
       .payment-method-toggles {
            max-width: 800px;
            margin: 20px auto;        
              
        }
        
        .payment-method-list {
            list-style: none;
            padding: 0;
            margin: 20px 0;
        }
        
        .payment-method-item {
            padding: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .payment-method-item:last-child {
            border-bottom: none;
        }
        
        .payment-method-status {
            padding: 5px 10px;
            border-radius: 3px;
            font-size: 13px;
            font-weight: 500;
            min-width: 70px;
            text-align: center;
        }
        
        .payment-method-status.enabled {
            background-color: #d4edda;
            color: #155724;
        }
        
        .payment-method-status.disabled {
            background-color: #f8d7da;
            color: #721c24;
        }
        
        .save-payment-methods {
            background-color: #005a3d;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            margin-top: 15px;
        }
        
        .save-payment-methods:hover {
            background-color: #005a3d;
        }
        
        #payment-method-response {
            margin-top: 15px;
            padding: 10px;
            border-radius: 4px;
        }


       