/*.single-product .woocommerce-info,
.single-product .woocommerce-message,
.single-product .woocommerce-error {
    padding: 1rem 1.5rem;
    margin-top: 10px !important;
}

.woocommerce-info {
    background-color: #e4f3ff !important;
}

.woocommerce-info li:before {
    content: "\f05a";
    font-family: 'fontawesome';
    font-size: 25px;
    margin-right: 10px;
    color: blue;
}

.woocommerce-message {
    background-color: #e1ffed !important;
}

.woocommerce-message:before {
    content: "\f058";
    font-family: 'fontawesome';
    font-size: 25px;
    margin-right: 10px;
    color: green;
}

.woocommerce-error {
    background-color: #ffe4e4 !important;
}

.woocommerce-error li:before {
    content: "\f071";
    font-family: 'fontawesome';
    font-size: 25px;
    margin-right: 10px;
    color: red;
}*/

/*.add_to_cart_button ::before,
.single_add_to_cart_button::before {
    font-family: 'fontawesome';
    content: '\f07a\00a0\00a0' !important;
    display: contents;
}*/


#use_wallet_field input {
    border: 1px solid;
}

#use_wallet_field label {
    font-weight: normal;
    line-height: 25px;
    padding: 15px 0;
}

#egoi_newsletter_active_field {
    padding: 15px 0;
}

.onsale {
    display: none !important;
}

.sale-date-range {
    font-size: 14px;
    width: 100%;
    display: block;
}

.quantity-price-table {
    display: none;
}

.quantity-price-table thead tr,
.quantity-price-table-simple-product thead tr {
    background-color: #f5f0f2;
}

.quantity-price-table td,
.quantity-price-table-simple-product td {
    vertical-align: middle;
}

.stock.in-stock, .stock.available-on-backorder {
    color: #3fb105 !important;
}

#use_wallet_field label {
    width: 100%;
    display: block;
}

#use_wallet_field .optional {
    float: right;
}

#billing_nif_field {
    width: 100%;
    margin-bottom: 20px;
}

.progress-bar-container {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin: 10px 0;
}

.progress-bar {
    height: 20px;
    background-color: #4CAF50;
    border-radius: 5px;
    text-align: center;
    line-height: 20px;
    color: white;
    transition: width 0.5s;
}

#message_counter {
    margin-top: -15px;
    float: right;
    font-size: 14px;
}

/* Badges */
.custom-badge {
    padding: 0.2em 1.5em;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
}

.custom-badge-sale {
    background-color: #ef2e97;
    color: #fff;
}


.store-stock-container {
    padding: 15px;
    background-color: #f7f7f7; /* Light grey background */
    border: 1px solid #ddd; /* Grey border */
    border-radius: 5px; /* Rounded corners */
    margin: 20px 0; /* Spacing on the container */
    max-width: 350px;
}

.store-stock-header {
    margin-bottom: 10px;
    color: #333; /* Dark text for the header */
    font-weight: bold; /* Make the header bold */
}

.store-stock-list {
    list-style-type: none; /* Remove default list styling */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margins */
}

.woocommerce-product-stores-details .store-stock-item {
    padding: 5px 0; /* Spacing between items */
}

.store-stock-item {
    border-bottom: 1px solid #ddd; /* Separator line */
}

.store-stock-item:last-child {
    border-bottom: none; /* No separator for the last item */
}

.store-stock-quantity {
    font-weight: bold; /* Highlight the quantity */
    color: #27ae60; /* Green text for the quantity */
}

.woocommerce-variation-stores-details .store-stock-list li {
    margin: 0;
}

.no-store-stock-quantity {
    font-weight: bold; /* Highlight the warning */
    color: #dc318b; /* Pink text for the warning */
}

.purchase_gift_card {
    width: 48%;
    padding: 0 2%;
    float: left;
}

.purchase_gift_card input,
.convert_gift_card_wallet input {
    width: 100%;
}

.convert_gift_card_wallet {
    width: 48%;
    padding: 0 2%;
    float: right;
}

.slider-container {
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
}

.image-radio {
    display: none; /* Hide the radio button */
}

.slider-image {
    display: inline-block;
    vertical-align: top;
    margin: 10px;
    cursor: pointer; /* Indicates the image is selectable */
    border: 2px solid transparent; /* Default state with no border */
    max-width: 250px;
}

.slider-image img {
    width: 100%;
    height: auto;
}

/* Highlight the border of the image when its radio button is checked */
.image-radio:checked + .slider-image {
    border: 5px solid #18b123;
}

.wallet-section  {
    width: 50%;
    float: left;
}

.points-section {
    width: 48%;
    float: right;
}

.product-categories,
.woocommerce-widget-layered-nav-list {
    max-height: 350px;
    overflow-y: auto;
}

.product-categories .cat-item {
    position: relative;
}

/* Hide subcategories by default */
.product-categories .children {
    display: none;
}

.product-categories .cat-item.expanded > .children {
    display: block; /* Show direct children when expanded */
}

#filter_button {
    background-color: #dc318b;
    color: #ffffff;
}

#custom-price-inputs input {
    width: 100px;
    margin-bottom: 20px;
}

.hpb2b-favorites-icon {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.hpb2b-add-to-favorites {
    background-color: transparent;
    font-size: 16px;
}

.favorites-tooltip {
    visibility: hidden;
    width: 220px;
    background-color: #d74195;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 10px;
    position: absolute;
    z-index: 1;
    top: 125%;
    left: 50%;
    margin-left: -110px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
    z-index: 2;
}

.hpb2b-favorites-icon:hover .favorites-tooltip {
    visibility: visible;
    opacity: 1;
}

.favorites-count {
    position: absolute;
    top: -8px;
    right: -15px;
    background-color: #d74195;
    color: white;
    border-radius: 50%;
    padding: 1px 7px;
    font-size: 12px;
}

.favorites-products {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (1fr)[5];
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 20px;
    margin-top: 200px;
}

.favorites-products li {
    list-style-type: none;
}

.favorites-products .product {
    text-align: center;
    padding: 15px;
    display: block;
    position: relative;
}

.favorites-products .woocommerce-loop-product__title {
    font-size: 14px;
    margin: 10px 0;
}

.favorites-products .add_to_cart_button {
    font-size: 16px;
    line-height: 1 !important;
    font-weight: 400;
    font-style: normal;
    text-transform: none;
    letter-spacing: 0em;
    border-radius: 0.3em;
    padding: 1.0em 2.0em;
    background: #ef2e97;
    border-color: transparent;
    color: #ffffff !important;
    width: 100%;
}

.favorites-products .add_to_cart_button:hover {
    background-color: #f50a8d;
}

.remove-from-favorites {
    top: 20px;
    right: 20px;
    background-color: #fff;
    color: #000;
    border: 1px solid #ccc;
    border-radius: 50%;
    padding: 3px 8px 4px;
    font-size: 20px;
    line-height: 18px;
    cursor: pointer;
    text-decoration: none;
    z-index: 99;
    position: absolute;
}

.quantity.buttons_added {
    display: flex;
    align-items: center;
}

.quantity.buttons_added .minus,
.quantity.buttons_added .plus {
    display: inline-block;
    margin: 5px;
    padding: 5px 10px;
    height: 30px;
    line-height: 22px;
    text-align: center;
    border: none;
    cursor: pointer;
    background-color: #f5f0f2;
    font-size: 18px;
    color: #000;
}

.quantity.buttons_added .minus:hover,
.quantity.buttons_added .plus:hover {
    background-color: #eae1e3;
}

.quantity.buttons_added .qty {
    text-align: center;
}

/*.single-product .cart .single_add_to_cart_button.button.alt {
    margin-right: -4px;
    background-color: #F7CA00;
}

.single-product .cart .single_add_to_cart_button.button.alt:hover {
    background-color: #e9c007;
}

.single-product .cart .single_add_to_cart_button.button.alt,
.product-layout .product_type_simple.button.add_to_cart_button {
    border-radius: 4px 0 0 4px !important;
}

.single-product .cart .button.btn-right,
.product-layout .button.btn-right {
    border-radius: 0 4px 4px 0;
    line-height: inherit;
}

.w-grid-item .button.btn-right {
    width: 100%;
}

.btn-product-buy-now {
    line-height: 1.4 !important;
}

.product-layout .button.btn-right::before {
    border-style: inherit;
}

.single-product .cart .button.btn-right,
.checkout-button,
.place-order .button {
    background-color: #00BF42 !important;
    color: white !important;
}

.single-product .cart .button.btn-right:hover,
.checkout-button:hover,
.place-order .button:hover {
    background-color: #07af41 !important;
}*/



@media only screen and (min-width: 768px) {
    .toggle-account-menu {
        display: none; /* Hide by default */
    }
}

@media only screen and (max-width: 767px) {
    .woocommerce-MyAccount-navigation {
        display: none; /* Hide by default */
        width: 100% !important; /* Full width */
        position: static; /* Reset positioning */
        transition: max-height 0.5s ease-out; /* Smooth transition for max-height */
    }

    .toggle-account-menu { /* Button to toggle the menu */
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px;
        background-color: #dc318b;
        color: white;
        border: none;
        cursor: pointer;
        margin-bottom: 25px;
    }
    
    .woocommerce-MyAccount-navigation {
        border-radius: 5px; /* Smaller border-radius for mobile */
        padding: 10px; /* Smaller padding for mobile */
    }
    
    .responsive-table {
        overflow-x: auto; /* Enable horizontal scrolling */
        display: block; /* Block display to enable scrolling */
        white-space: nowrap; /* Keep the table on one line */
    }
    
    .purchase_gift_card,
    .convert_gift_card_wallet,
    .wallet-section,
    .points-section {
        width: 100% !important;
        padding: 0 !important;
    }
    
    .convert_gift_card_wallet,
    .points-section {
        margin-top: 20px;
    }
    
    .favorites-products {
        -ms-grid-columns: (1fr)[2];
        grid-template-columns: repeat(2, 1fr);
    }
    
    .favorites-products .woocommerce-loop-product__title {
        font-size: 14px; /* Adjust font size for mobile */
    }
}

@media only screen and (max-width: 600px) {
    .filters-results-mobile {
        display: none; /* Hide by default */
        width: 100% !important; /* Full width */
        position: static; /* Reset positioning */
        transition: max-height 0.5s ease-out; /* Smooth transition for max-height */
    }
    
    .single-product .add_to_cart .cart .button {
    width: 110px;
    padding: 13px 0px;
}
}