/* Product Carousel Styles */
.product-carousel {
    margin: 2rem 0;
}

.splide__slide {
    padding: 0.5rem;
}

.modern-product-card {
    height: 100%;
    margin: 0;
}

.splide__track {
    padding: 1rem 0;
}

.product-details {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-title {
    flex-grow: 1;
}

/* Shipping Rates Selection Styles */
.shipping-rates-selection {
    margin: 1rem 0;
    padding: 15px;
}

.shipping-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.shipping-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shipping-method-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    margin-bottom: 8px;
    border: 2px solid #ddd;
    border-radius: 10rem;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.shipping-method-label:hover,
.shipping-method-label.selected {
    border-color: #94BE5B;
    background: #e9f6ec;
}

.shipping-method-label input {
    display: none;
}

.shipping-method-text {
    font-weight: 500;
    font-size: 16px;
    color: #555;
}

.shipping-method-price {
    font-weight: bold;
    color: #333;
}

/* Product Card Styles */
.sale-badge {
    position: absolute;
    top: 1rem;
    background: #ff0000;
    color: white;
    padding: 3px 8px;
    border-radius: 0 5px 5px 0;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

/* List View Styles */
.modern-product-card.list-view {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
}

.list-card-container {
    display: flex;
    position: relative;
    width: 100%;
}

.list-image-column {
    width: 220px;
    position: relative;
    padding: 10px;
    background: #f9f9f9;
}

.list-content-column {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.list-action-column {
    width: 220px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
    border-left: 1px solid #eee;
}

.product-image-container.list-image {
    height: 180px;
    padding: 0;
}

.product-excerpt {
    margin: 10px 0;
    color: #666;
    line-height: 1.5;
}

.product-categories {
    font-size: 0.9em;
    color: #888;
    margin-top: 10px;
}

.product-categories a {
    color: #666;
    text-decoration: none;
}

.product-categories a:hover {
    color: #8bc63e;
}

.product-price.list-price {
    text-align: center;
    margin-bottom: 15px;
}

.sale-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.regular-price-only {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.stock-info {
    text-align: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.in-stock {
    color: #8bc63e;
    font-weight: 600;
}

.out-of-stock {
    color: #ff4444;
    font-weight: 600;
}

.list-add-to-cart-button {
    background-color: #8bc63e;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.list-add-to-cart-button:hover {
    background-color: #6fa130;
    transform: translateY(-2px);
}

.list-add-to-cart-button.disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.list-product-action-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.quantity-selector.list-quantity {
    margin-top: 10px;
    width: 100%;
    justify-content: center;
}

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

/* Delivery Date Picker Styles */
@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.delivery-date-wrapper {
    position: relative;
}

.flatpickr-calendar {
    z-index: 999999 !important;
}

/* Admin Area Styles */
ul.wc-radios {
    margin-top: 25px !important;
}

ul.wc-radios li {
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .list-card-container {
        flex-direction: column;
    }

    .list-image-column,
    .list-content-column,
    .list-action-column {
        width: 100%;
        border-left: none;
    }

    .list-action-column {
        border-top: 1px solid #eee;
        padding-top: 15px;
    }
}

.woocommerce-account .woocommerce-MyAccount-content .invite-card .referral-buttons {
    display: flex !important;
    gap: 10px !important;
    justify-content: flex-end !important;
}

a            /* Create a flex container for price and action */
            .modern-product-card {
                position: relative;
                display: flex;
                flex-direction: column;
            }

            /* Make the price and action wrapper elements display in a row */
            .modern-product-card .product-price {
                position: absolute;
                bottom: 15px;
                left: 15px;
                margin: 0;
                z-index: 1;
            }

            .modern-product-card .product-action-wrapper {
                position: absolute;
                bottom: 15px;
                right: 15px;
                margin: 0;
                padding: 0;
            }

            /* Add some bottom padding to the card for the absolute positioned elements */
            .modern-product-card {
                padding-bottom: 50px;
            }

            .product-title {
                font-size: 16px;
                font-weight: 600;
                margin: 0;
            }
        