:root {
    --gbl-primary-color: #8bc63e !important;
    --gbl-secondary-color: #7ba047 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation{
    width: 20% !important; /* Force the width with !important */
    box-sizing: border-box;
}

.woocommerce-MyAccount-content {
        width: 75% !important; /* Force the width with !important */

}

.loading-screen {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-categories .ht-category-image.ht-category-image-zoom {
    display: none
}

.menu-categories .ht-category-wrap {
    margin-bottom: 15px !important
}

.elementor-widget-ekit-nav-menu .elementskit-dropdown-menu-full_width .elementskit-megamenu-panel {
    box-shadow: 0 0 25px #00000000
}

.bidfood-menu-items ul {
    margin-bottom: 20px !important
}

.bidfood-menu-items ul li {
    margin-bottom: 7px
}

.bidfood-menu-items ul li a {
    color: #939393;
    margin-left: 0
}

.bidfood-menu-items ul li a:hover {
    color: #8bc63e;
    margin-left: 10px
}

#mini-cart-count {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    min-width: 20px;
    height: auto;
    min-height: 20px;
    padding: 2px;
    background: #8bc63e;
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    border: 1px solid #8bc63e;
    border-radius: 100%;
    position: absolute;
    top: -25px;
    left: -10px;
}

.header-alert .elementor-shortcode {
    color: #fff;
    text-align: center;
    cursor: pointer
}

.fd-alert-wrap {
    width: 100%;
    height: 100%;
    background: #00000070;
    position: fixed;
    top: 0;
    left: 0;
    visibility: hidden;
    z-index: 999
}

.fd-alert-content {
    width: 550px;
    margin: 60px auto;
    padding: 20px;
    background: #fff;
    border-radius: 30px;
    text-align: center;
    opacity: 0;
    transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in
}

@media(max-width: 768px) {
    .fd-alert-content {
        width:90% !important
    }
}

.fd-alert-body {
    margin: 10px 0;
}

.fd-alert-close {
    background: #8bc63e;
    color: #fff;
    border: 1px solid #8bc63e;
    border-radius: 30px;
    padding: 10px 30px;
    transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in
}

.fd-alert-close:hover {
    background: #fff;
    color: #8bc63e;
    border: 1px solid #8bc63e
}

.bd-term-wrap {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4,1fr);
}

@media (max-width: 768px) {
    .bd-term-wrap {
        grid-template-columns:repeat(2,1fr);
        grid-gap: 10px;
    }
}

.bd-term-items {
    margin-bottom: 10px
}

li.bd-term-item {
    margin-bottom: 5px
}

ul.bd-parent-terms li {
    font-weight: 600
}

ul.bd-child-terms {
    margin: 0;
    margin-top: 5px;
    padding: 0
}

ul.bd-child-terms li {
    font-weight: 500 !important
}

ul.bd-child-terms li a {
    color: #939393
}

li.bd-term-item a:hover {
    color: #8bc63e
}

ul.bd-child-terms li a:hover {
    margin-left: 10px
}

.bd-products-wrap {
    display: flex;
    flex-wrap: wrap;
}

.bd-product-inner {
    margin-bottom: 30px
}

.bd-product-wrap {
    position: relative;
    border: 1px solid #f1f1f1;
    cursor: pointer;
    transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    overflow: hidden;
}

.bd-product-wrap:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,.1)
}

.bd-stock-qty span {
    font-size: 13px;
    color: #f05b64 !important;
    text-transform: uppercase;
    font-weight: 800
}

.bd-product-logo-wrap {
    width: 100%;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 10px;
    cursor: default;
    z-index: 9;
}

span.on-sale-logo span {
    background: #ee1c25;
    color: #ffffff;
    font-size: 11px;
    padding: 3px 7px;
    border-radius: 3px;
}

.bd-single-product-logo-wrap {
    position: absolute;
    top: 22px;
    right: 68px;
    cursor: default;
    z-index: 999
}

.bd-product-logo img {
    width: 40px !important;
    height: 40px !important;
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
    object-position: center center
}

.bd-product-image a img {
    width: 100%;
    height: 220px;
    max-height: 220px;
    object-fit: contain;
    object-position: center top
}

@media (max-width: 767px) {
    .bd-product-image a img{
        height: auto;
        max-height: 100%;
        object-fit: cover;
    }
}

.bd-product-content {
    padding: 15px
}

.bd-product-category:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 20px;
    height: 1px;
    background-color: #949494
}

.bd-product-category {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px
}

.bd-product-category a {
    color: #444;
    text-decoration: none
}

.bd-product-category a:hover {
    color: #8bc63e
}

.bd-product-title {
    height: 52px;
    min-height: 52px;
    max-height: 52px;
    margin-bottom: 10px;
    font-size: 17px;
    overflow: hidden;
}

.bd-product-title a {
    color: #444;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600
}

.bd-product-title a:hover {
    color: #8bc63e
}

.bd-product-price {
    font-size: 16px;
    font-weight: 500
}

span.bd-regular-price {
    color: #444;
    margin-right: 8px;
    text-decoration: line-through
}

span.bd-sale-price {
    color: green
}

ul.bd-product-action-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
    justify-content: space-evenly;
    align-items: center
}

.bd-product-action {
    visibility: hidden;
    display: flex !important;
    justify-content: space-between;
    gap: 10px;
    width: 90%;
    margin-top: 5px;
    margin-bottom: 15px;
    padding: 15px 0;
    background: #fff;
    position: absolute;
    bottom: 0;
    transition: all 300ms ease-in;
    transform: translateY(100px);
    opacity: 0;
}

.bd-product-wrap:hover .bd-product-action {
    visibility: visible;
    transform: translateY(0px);
    opacity: 1;
}

.bd-product-action .add_to_cart_button {
    transition: all 200ms ease-in;
    transition-delay: 200ms;
    opacity: 0;
    transform: translateX(-100px);
}

.bd-product-wrap:hover .add_to_cart_button{
    opacity: 1;
    transform: translateX(0px);
    animation: blink 500ms ease-in-out 200ms;
}

@keyframes blink{
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}

.bd-stock-qty {
    height: 35px;
    min-height: 35px;
}

/* a.added_to_cart.wc-forward {
    position: absolute;
    left: 0;
    background: #fff;
    padding-right: 20px
} */

.bd-product-extra-action {
    display: flex;
    gap: 20px
}

span.tinvwl-product-stats {
    right: -.5em !important
}

a.button.add_to_cart_button:hover {
    color: #8bc63e
}

.transition {
    transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in
}


button#select_location {
    width: auto;
    background: #ffffff00;
    color: #ffffff;
    font-size: 14px;
}

@media (max-width: 767px) {
    button#select_location{
        width: 100%;
    }
}

.bf-location-selector-wrap {
    width: 100%;
    height: 100%;
    background-color: #0000003d;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    opacity: 0;
    display: none;
}

.bf-location-selector {
    width: 500px;
    height: 250px;
    background-color: #f2f2f2;
    padding: 40px;
    position: relative;
    top: 10%;
    box-sizing: border-box;
    box-shadow: 0 0 25px #00000000;
    border-radius: 5px;
    transform: translateY(-300px)
}

.bf-location-selector-close {
    position: absolute;
    top: 1em;
    right: 1em
}

.location-selector-close-btn {
    border: none;
    padding: 2px 5px 0;
    font-size: 35px;
    line-height: 1;
    color: #000;
    background: #ffffff00
}

.location-selector-close-btn:hover {
    background-color: #000;
    color: #fff
}

.location-selector-heading h3 {
    margin-bottom: 20px
}

.bf-location-selector select {
    width: 100%;
    height: 50px;
    padding: 10px;
    background-color: #ffffff00;
    font-size: 16px
}

#selectLocation {
    text-align: center;
}

input.submit-location {
    width: 150px;
    margin-top: 30px;
    color: #ffffff;
    font-size: 15px;
}

.home ul.woolentor-action-btn-area.woolentor-btn-text-cart li:first-child {
    display: none
}

#carousel{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 1rem;
}
a.product-cat-wrap {
    display: block;
    text-decoration: none;
    border: 1.5px solid #8BC63E;
    border-radius: 1rem;
}

.product-cat-inner-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 2rem 3rem 2rem 3rem;
    transform: scale(1);
    transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in
}
.product-cat-inner-wrap:hover {
    transform: scale(1.05)
}

.product-cat-image {
    border: 1px dashed #D7EBBD;
    border-radius: 50%;   
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 8rem;
    height: 8rem;
    margin: 0 auto;
    padding: 0.2rem;
}

/* make image border do animation move on hover */
.product-cat-inner-wrap:hover .product-cat-image {
    border: 1px dashed #8BC63E;
}

.product-cat-image img {
    border-radius: 50%;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.product-cat-title {
    color: #000;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 5px;
}

.product-cat-count {
    color: #595959;
    font-size: 9px;
    font-weight: 400;
    text-align: center;
}

.bd-flash-sales-heading {
    margin-top: 60px
}

.bd-flash-sales-heading h2 {
    text-align: center
}

.bd-flash-sales-heading p {
    text-align: center
}

.bd-products {
    min-height: 520px;
    margin-top: 40px;
    margin-bottom: 80px
}

.empty-alert {
    padding: 10px 25px;
    border-top: 3px solid #8bc63e;
    background: #f2f2f2
}

.wishsuite-btn.wishsuite-button.wishsuite-shop-after_cart_btn.wishsuite-product-after_cart_btn.wishlist,a.wishsuite-btn-exist.wishsuite-button.wishsuite-shop-after_cart_btn.wishsuite-product-after_cart_btn.wishlist,a.wishsuite-button.wishsuite-shop-after_cart_btn.wishsuite-product-after_cart_btn.wishlist.added {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 21px !important;
    height: 30px !important
}

.ht-products .ht-product .ht-product-inner .ht-product-action ul li a.wishsuite-button svg {
    width: 21px !important;
    height: 21px !important
}

.summary.entry-summary a.wishsuite-btn.wishsuite-button.wishsuite-shop-after_cart_btn.wishsuite-product-after_cart_btn {
    margin-right: 15px !important
}

.tinv-wishlist.tinvwl-after-add-to-cart .tinvwl_add_to_wishlist_button {
    margin-top: 0 !important
}

span.tinvwl_add_to_wishlist-text {
    font-size: 18px !important
}

.tnp.tnp-subscription form {
    display: flex;
    align-items: flex-start;
    width: 100%
}

input#tnp-1 {
    background: #fff;
    border-radius: 50px 0 0 50px;
    padding: 15px
}

input.tnp-submit {
    padding: 15px 20px !important;
    border-radius: 10rem !important;
}

.tnp-field.tnp-field-email label {
    display: none
}

.tnp-field.tnp-field-email {
    width: 100%
}

input.tnp-submit {
    transition: all .3s ease-in
}

input.tnp-submit:hover {
    color: #444;
    background: #fff
}

.product.type-product {
    margin-top: 40px;
    margin-bottom: 40px
}

span.evercompare-btn-text {
    color: #fff !important
}

.htcompare-btn svg {
    fill: #fff !important
}

.single-product .wishsuite-btn.wishsuite-button.wishsuite-shop-after_cart_btn.wishsuite-product-after_cart_btn.wishlist,a.wishsuite-btn-exist.wishsuite-button.wishsuite-shop-after_cart_btn.wishsuite-product-after_cart_btn.wishlist,a.wishsuite-button.wishsuite-shop-after_cart_btn.wishsuite-product-after_cart_btn.wishlist.added {
    width: inherit !important;
    height: inherit !important
}

.woocommerce div.product form.cart {
    margin-bottom: 0 !important
}

.wl-addto-cart.simple.wl-style-4 {
    margin-top: 20px
}

button.single_add_to_cart_button.button.alt.wp-element-button:hover {
    background: #8bc63e !important
}

span.product-brand a {
    color: #686868
}

span.product-brand a:hover {
    color: #8bc63e
}

p.woocommerce-result-count {
    margin-top: 0 !important
}

li.woolentor-cart {
    display: flex;
    align-items: center;
    flex-basis: 100%
}

li.woolentor-cart a {
    font-size: 15px !important;
    font-weight: 400 !important
}

li.woolentor-cart .quantity {
    display: none;
    position: absolute;
    width: 100%;
    z-index: 99;
}

li.woolentor-cart .quantity input {
    width: auto;
    margin: 0 !important;
    float: left;
    border-radius: 0;
}

.bd-product-action .quantity {
    display: none;
    position: absolute;
    top: 8px;
    z-index: 99;
}

.quantity {
    display: flex;
}

.bd-product-action .quantity input {
    margin: 0 !important;
    float: left;
    border-radius: 0;
}

.bd-product-action input.input-text.qty.text {
    width: 33%;
}

input.qty_button.minus {
    background-color: #f2f2f2;
    padding: 0 10px;
    color: #333;
    border-radius: 50% !important;
}

input.qty_button.plus {
    background-color: #f2f2f2;
    padding: 0 10px;
    color: #333;
    border-radius: 50% !important;
}

.woolentor-product-quantity input.qty_button.minus, .wl-quantity-cal input.qty_button.minus {
    display: none;
}

.woolentor-product-quantity input.qty_button.plus, .wl-quantity-cal input.qty_button.plus {
    display: none;
}

.wl-quantity-cal input.input-text.qty.text {
    margin: 2px 0;
}

.price ins span {
    color: green !important
}

.ht-product-action {
    position: absolute !important;
    top: 80px !important;
    width: 100% !important;
    padding: 25px 0;
    background: #ffffff;
    visibility: hidden !important;
    transition: all 300ms ease-in !important;
    transform: translateY(100px) !important;
    opacity: 0;
}

.ht-product-inner:hover .ht-product-action {
    visibility: visible !important;
    transform: translateY(0px) !important;
    opacity: 1;
}

a.page-numbers {
    text-align: center
}

.wlpf-group-content {
    margin: 0 !important
}

.wlpf-group-header {
    display: none !important
}

.wlpf-group-wrap .wlpf-group-filters-list {
    overflow: unset!important
}

h2.wlpf-filter-label-text {
    font-size: 20px !important
}

.ht-product-image a img {
    width: 100%;
    height: 220px;
    max-height: 220px !important;
    object-fit: contain;
    object-position: center top;
}

@media (max-width: 767px) {
    .ht-product-image a img{
        height: auto;
        max-height: 100%;
        object-fit: cover;
    }
}

figure.woocommerce-product-gallery__wrapper img {
    max-height: 550px !important;
    object-fit: contain;
    object-position: center center
}

.bd-social-share ul.ekit_social_media li a {
    border: 1px solid #000
}

.bd-social-share ul.ekit_social_media li a:hover {
    border: 1px solid #ffffff00
}

.ht-products .ht-product .ht-product-inner .ht-product-image-wrap .ht-product-label.ht-product-label-right {
    left: 20px !important;
    right: inherit !important
}

.add_to_cart_button.ajax_add_to_cart.loading {
    position: relative;
    padding-right: 2.618em !important;
    opacity: .25
}

.add_to_cart_button.ajax_add_to_cart.loading:after {
    font-family: WooCommerce;
    content: "\e01c";
    vertical-align: top;
    font-weight: 400;
    position: absolute;
    top: 0;
    right: 1em;
    animation: spin 2s linear infinite
}

.woolentor-cart .add_to_cart_button.ajax_add_to_cart.loading:after {
    top: 0 !important
}

ul.woolentor-action-btn-area {
    flex-direction: row-reverse !important;
    flex: 0 0 100%;
    gap: 5px;
}

ul#thmaf-th-list {
    display: flex !important
}

.woocommerce-orders-table__cell a {
    margin-right: 5px !important
}

.address_book.billing_address_book {
    background: #f2f2f2;
    padding: 25px;
    padding-top: 35px;
    border-radius: 10px
}

.woocommerce-cart #primary .site-main .cart-collaterals table tbody .order-total .woocommerce-Price-amount.amount {
    font-weight: 800 !important
}

.button[name=update_cart] {
    display: none !important
}

tr.order-total small.includes_tax {
    display: none !important
}

.flatpickr-month {
    padding-bottom: 40px !important
}

tr.coupon-form {
    border: none !important
}

.coupon-form .woocommerce-form-coupon-toggle {
    display: block !important
}

.woocommerce-form-coupon-toggle {
    display: none
}

.woocommerce-error li {
    margin-left: 35px !important
}

.tnp-subscription-container{
    border: 1px solid #333 !important;
    border-radius: 50px 0 0 50px !important;
}

.tnp-container {
    padding: 0.5rem;
    background-color: #f9f9f9;
    border-radius: 10rem;
    border: 1px solid #333;
}

.tnp-email {
    background: #ffffff00 !important;
    padding: 15px !important
}

.tnp-field input[type=submit] {
    line-height: 20px !important
}

.woocommerce form .form-row .required {
    visibility: hidden !important
}

.woocommerce form .form-row .optional {
    visibility: hidden !important
}

.woocommerce-account .wc-address-book-add-new-address {
    margin-top: -10px !important
}

.woocommerce form .form-row label {
    font-size: .833em
}

.woocommerce form .form-row.woocommerce-invalid label {
    color: #000 !important
}

.woolentor-products.woolentor-products- {
    display: block;
    max-height: 265px;
    overflow-y: scroll;
    overflow-x: hidden
}

.woolentor-review-order-1 .remove_from_cart_button {
    left: 0 !important
}

span.woocommerce-Price-currencySymbol {
    font-weight: 400 !important
}

span.woocommerce-Price-amount.amount {
    font-weight: 400 !important
}

.woolentor-product-content-bottom {
    padding-right: 10px
}

.woolentor-payment-method-1 .wc_payment_method input[type=radio] {
    visibility: visible !important;
    height: auto !important;
    opacity: 1 !important;
}

.card-frame {
    width: 100% !important;
}

#delivery_date_field{
    transition: all 200ms ease-in;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -ms-transition: all 200ms ease-in;
}

.cart-alert-wrap {
    width: 100%;
    height: 100%;
    background: #00000070;
    position: fixed;
    top: 0;
    left: 0;
    visibility: hidden;
    z-index: 999;
}

.cart-alert-content {
    width: 550px;
    margin: 60px auto;
    padding: 20px;
    background: #fff;
    border-radius: 30px;
    text-align: center;
    opacity: 0;
    transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
}

tr.order-total th {
    width: 30%;
}

@media (max-width: 767px) {
   .bidfood-checkout-fields {
        width: 100% !important;
    }

   .bidfood-checkout-order-review {
        width: 100% !important;
    }
}


.woocommerce-checkout .woocommerce-info {
    margin: 0;
    border: 1px solid #8bc63e !important;
    border-radius: 5px;
}

.woocommerce-checkout .form-row.place-order {
    display: none !important;
    visibility: hidden;
}

#customPlaceorder{
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: #8bc63e;
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 50rem;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

#customPlaceorder:hover{
    background: #6fa130;
    transform: scale(1.05);

}

.backtotop:hover {
    opacity: 1;
}
/* Loader Overlay */
#loader-overlay {
    pointer-events: all; /* Blocks interactions */
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    z-index: 9999; /* Above everything */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Loader Spinner */
#loader-spinner {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #0071a1; /* Blue */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 0.8s linear infinite;
}

/* Spinner Animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Modern Product Card Styling */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.modern-product-card {
    position: relative;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 280px;
}

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

.product-action-wrapper {
    display: flex;
    gap: 8px;
}

.square-add-to-cart-button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.regular-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
    margin-left: 5px;
}

.out-of-stock-label {
    position: absolute;
    top: 1rem;
    background: #ff4444;
    color: white;
    padding: 3px 8px;
    border-radius: 0 5px 5px 0;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ee1c25;
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 2;
}

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

.product-image-container img {
    max-height: 180px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.modern-product-card:hover .product-image-container img {
    transform: scale(1.05);
}

.wishlist-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    cursor: pointer;
}

.wishlist-button i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
    color: #ccc;
}

.wishlist-button i.fas {
    color: #ee1c25;
}

.wishlist-button:hover i.far {
    color: #ff8c8c;
}

.product-rating {
    padding: 5px 15px;
    color: #ffc107;
    font-size: 14px;
}

.product-details {
    padding: 10px 15px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
    height: 42px;
    overflow: hidden;
}

.product-title a {
    color: #333;
    text-decoration: none;
}

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

.product-price {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.original-price {
    text-decoration: line-through;
    font-weight: normal;
    color: #999;
    font-size: 14px;
    margin-left: 8px;
}

.add-to-cart-button {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #8bc63e;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}

.add-to-cart-button:hover {
    background-color: #6fa130;
    transform: scale(1.05);
}

.add-to-cart-button a {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.add-to-cart-button.loading {
    opacity: 0.7;
}

.add-to-cart-button.loading a:after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    position: absolute;
}

/* Adjust the owl carousel for the new design */
.owl-carousel .modern-product-card {
    margin: 10px 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modern-product-card {
        max-width: 100%;
    }
}

/* Product action wrapper styling */
.product-action-wrapper {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
}

/* Square add to cart button styling */
.square-add-to-cart-button {
    width: 2rem;
    height: 2rem;
    color: #fff; /* Bold blue */
    border-radius: 0.5rem; /* Square with border radius */
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
}

.square-add-to-cart-button:hover {
    background-color: #6fa130; /* Darker green */
    transform: scale(1.05);

}

.square-add-to-cart-button i {
    font-size: 1rem;
    font-weight: bold;
}

/* Quantity selector styling */
.quantity-selector {
    display: flex;
    align-items: center;
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background-color: #ededed;
}

.qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background-color: #6fa130;
}

.qty-btn.minus {
    color: #fff;
}

.qty-btn.plus {
    color: #fff;
}


.qty-input {
    width: 4rem;
    text-align: center;
    border: none;
    background: #fff;
    font-weight: bold;
    margin: 0 4px;
    padding: 0;
}

.apply-qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #8bc63e;
    color: white;
    border: none;
    border-radius: 4px;
    margin-left: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.apply-qty-btn:hover {
    background-color: #6fa130;
}

.apply-qty-btn.loading {
    opacity: 0.7;
}

.apply-qty-btn.loading:after {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    position: absolute;
}


.iti__selected-flag {
    border-radius: 50px 0 0 50px !important;
}

/* Nuclear option - guaranteed to work */
body .select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none !important;
}

body .select2-container--default .select2-selection--single .select2-selection__arrow::after {
    content: "⌄" !important;
    position: absolute !important;
    top: 40% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scaleX(1.5) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #2D2A6E !important;
    line-height: 1 !important;
}

/* Center align products in related products section */
.bidfood-related-products {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 15px; /* Add padding for mobile */
}

.bidfood-related-products .product-grid {
    display: grid; /* Use grid instead of flex for better control */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 1rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .bidfood-related-products {
        padding: 0 10px; /* Reduce padding on mobile */
    }

    .bidfood-related-products .product-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
        gap: 0.75rem; /* Smaller gap on mobile */
    }

    /* Ensure product cards don't overflow */
    .bidfood-related-products .modern-product-card {
        min-width: 0; /* Allow cards to shrink */
        max-width: 100%; /* Prevent overflow */
    }
}

@media (max-width: 480px) {
    .bidfood-related-products {
        padding: 0 5px; /* Minimal padding on small screens */
    }

    .bidfood-related-products .product-grid {
        grid-template-columns: repeat(2, 1fr); /* Keep 2 columns even on small screens */
        gap: 0.5rem; /* Even smaller gap */
    }

    /* Adjust product card content for small screens */
    .bidfood-related-products .modern-product-card {
        font-size: 0.9rem; /* Smaller font */
    }

    .bidfood-related-products .product-title {
        font-size: 0.85rem; /* Smaller title */
        line-height: 1.2;
    }

    .bidfood-related-products .product-price {
        font-size: 0.9rem; /* Smaller price */
    }
}

@media (max-width: 360px) {
    .bidfood-related-products .product-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
    }
}

/* Row 22 — Footer font consistency: align footer typography with the rest of the site */
.site-footer,
.site-footer p,
.site-footer a,
.site-footer span,
.site-footer li,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
.site-footer .widget,
.site-footer .widget-title,
.site-footer .footer-bottom .container,
.site-footer .footer-bottom .container .site-info,
.site-footer .footer-bottom .container .footer-bottom-menu ul,
.site-footer .footer-bottom .container .footer-bottom-menu ul li a,
.site-footer .footer-bottom-links,
.site-footer .footer-bottom-links li a,
.site-footer .footer-info,
.site-footer .footer-newsletter-section,
.site-footer .footer-newsletter-section * {
    font-family: var(--gbl-primary-font) !important;
}