/* ----TODAY----- - List View Styling */
.list-view .product-item {
    display: flex;
    margin-bottom: 1.5rem;
}
.list-view .product-item img {
    max-width: 150px;
    margin-right: 15px;
}
.list-view .product-item .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* General card hover effect */
.hover-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.hover-card:hover {
    transform: translateY(-10px); /* Lift the card */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2); /* Add shadow */
}

/* Image container for overlay */
.image-container {
    position: relative;
}

.image-container img {
    width: 100%;
    transition: transform 0.3s ease-in-out;
}

/* Card hover zoom effect on image */
.hover-card:hover img {
    transform: scale(1.1);
}

/* Overlay for the buttons */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hover-card:hover .overlay {
    opacity: 1;
}

/* Button styles for Buy Now and View Product */
.icon-btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    background-color: #fff;
    color: #333;
    border-radius: 30px;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
    text-align: center;
    width: 70%;
}

.icon-btn i {
    margin-right: 10px; /* Space between icon and text */
}

/* Buy Now and View Product button hover effect */
.icon-btn:hover {
    background-color: #007bff; /* Primary color on hover */
    color: #fff;
    transform: translateY(-5px); /* Slight lift effect */
}

/* Specific colors for each button */
.btn-buy:hover {
    background-color: #28a745; /* Green for Buy Now */
}

.btn-view:hover {
    background-color: #17a2b8; /* Blue for View Product */
}

 /* General Button Styling */
 .btn {
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Buy Now Button */
.buy-now {
    background-color: #28a745;
    color: white;
    margin-right: 10px;
}

.buy-now:hover {
    background-color: #218838;
    transform: scale(1.05);
}

/* Add to Cart Button */
.add-to-cart {
    background-color: #007bff;
    color: white;
}

.add-to-cart:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Button container for side-by-side layout */
.button-container {
    display: flex;
    justify-content: space-between;
}

/* Icon styling */
.btn i {
    margin-right: 8px;
    font-size: 18px;
}

/* Ensure the container div looks nice */
.bg-primary {
    background-color: #f8f9fa; /* Light gray background */
}

.rounded {
    border-radius: 8px;
}

.p-4 {
    padding: 16px;
}

/* Today = 05/10/2024 */

.list-view .product-item {
    display: flex;
    width: 100%;
}
.list-view .card {
    width: 100%;
    display: flex;
    flex-direction: row;
}
.list-view .card-body {
    flex: 1;
}
.list-view .card-img-top {
    width: 200px;
    height: auto;
}

/* Card styling */
.payment-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    max-width: 400px;
    margin: auto;
    background-color: #fff;
}

.payment-card .card-header {
    padding: 20px;
    background: #007bff; /* Primary Bootstrap color */
    color: white;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.payment-card .card-body {
    padding: 20px;
}

.payment-card .card-body p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

/* Button styling */
.payment-card .btn-success {
    font-size: 1.2rem;
    padding: 10px 20px;
    border-radius: 5px;
    background: linear-gradient(90deg, #28a745, #218838);
    border: none;
    color: white;
    transition: background-color 0.3s ease;
}

.payment-card .btn-success:hover {
    background-color: #218838;
}

.payment-card .btn-lg {
    width: 100%;
}

