.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: none;
    /* Hidden initially */
    justify-content: center;
    align-items: center;
    z-index: 10;
    /* Ensure it overlays other elements within the container */
}

/* Loader animation (simple spinner) */
.loader2 {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--e-global-color-primary);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Position the product container relative to contain the overlay */
.xoo-wsc-sp-product {
    position: relative;
}

.xoo-wsc-sp-atc {
    width: 100%;
}

.xoo-wsc-sp-atc a {
    width: 100%;
    text-align: center;
    padding: 10px;
}

.xoo-wsc-sp-product {
    margin-bottom: 1px !important;
    border-right: 1px solid #eee;
}

.xoo-wsc-sp-atc a:not(.amq_cross_sell_add_to_cart) {
    cursor: not-allowed;
    opacity: .5;
    pointer-events: none;
}

.xoo-wsc-sp-right-col select {
    margin-bottom: 5px;
    color: #2E2D2C;
    border-color: #d0d0d0 !important;
}


.amq-collapsible-button {
    color: var(--e-global-color-primary);
    cursor: pointer;
    background-color: transparent;
    padding: 0;
    width: 100%;
    border: none;
    text-align: left;
    font-weight: bold;
    transition: color 0.3s ease;
    font-size: 13px;
}

.amq-collapsible-button:hover {
    color: var(--e-global-color-primary);
    background-color: transparent;
    text-decoration: underline;
}

.amq-collapsible-button:focus {
    color: var(--e-global-color-primary);
    background-color: transparent;

}


.amq-collapsible-content {
    display: none;
    /* Hide by default */
    overflow: hidden;
    margin-top: 5px;
}

/* Variation */
dl.amq-variation dd,
dl.amq-variation dt {
    margin: 0 4px 0 0;
    display: inline-block;
    float: left;
}

dl.amq-variation dt {
    clear: left;
}

dl.amq-variation,
dl.amq-variation p {
    margin: 0;
    font-size: 13px;
}




.amq-floating-label {
    position: relative;
    margin-top: 10px;
}

.amq-floating-label select {
    width: 100%;
    font-size: 16px;
}

.amq-floating-label label {
    position: absolute;
    left: 10px;
    transform: translateY(-50%);
    pointer-events: none;
    /* Prevents label from capturing clicks */
}

.amq-floating-label label {
    display: none;
}

.amq-floating-label.amq-active label {
    display: block;
    color: #333;
    background-color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 0 4px;
}



.amq-collapsible-button svg {
    height: 14px;
    fill: var(--e-global-color-primary);
}

.xoo-wsc-sp-price {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: bold;
}

.xoo-wsc-sp-price del {
    font-weight: normal;
}

.discounted span.woocommerce-Price-amount.amount,
span.starts_at.discounted {
    color: #B80028;
}

.amq-discount-message,
.amq-discount-message span.woocommerce-Price-amount.amount {
    color: #24ae4e;
    font-size: 13px;
}


.amq-product-discount-message {
    margin-top: 8px;
    margin-bottom: 5px;
    padding: 6px;
    border-radius: 5px;
    display: inline;
    background-color: #24ae4e;
    color: white;
    font-size: 12px;
    display: block;
}

.cart-total-discount-message {
    margin-bottom: 0;
    text-align: right;
    color: #24ae4e;
    font-weight: bold;
}

.xoo-wsc-pprice .discounted bdi {
    color: #B80028;
    font-weight: bold;
}

.xoo-wsc-container .xoo-wsc-sm-left dl.variation,
dl.amq-variation {
    display: grid;
    grid-template-columns: max-content auto;
    column-gap: 0.5em;
    line-height: 18px;
    font-style: normal;
    margin-bottom: 8px;
}

.xoo-wsc-product .xoo-wsc-sm-left dl.variation dt,
.xoo-wsc-product .xoo-wsc-sm-left dl.variation dd {
    font-style: normal;
}

.xoo-wsc-img-col img {
    border-radius: 5px;
}

.amq-variation {
    margin-top: 4px;
    margin-bottom: 5px;
    color: #2E2D2C;
}

span.xoo-wsc-pname,
.xoo-wsc-sp-rc-top {
    line-height: 20px;
    margin-bottom: 5px;
    padding-bottom: 4px;
}

.xoo-wsc-sp-rc-top a {
    color: #2E2D2C;
}

tr.discount-checkout td {
    padding-top: 10px !important;
    padding-bottom: 0px !important;
}


.party-horn-svg {
    fill: #24ae4e;
    height: 18px;
    position: relative;
    bottom: -2px;
    right: 2px;
}

.discount-checkout span.discount-message-checkout {
    color: #24ae4e;
    font-size: 16px;
    text-transform: none;

}

/*Cross selling on product page*/
.amq-cross-sell-products ul {
    list-style: none;
    margin-left: 0;
    border-bottom: 1px solid white;
    padding-bottom: 5px;
}

.amq-cross-sell-products ul .amq-cross-selling-product {
    display: grid;
    grid-template-columns: 80px auto 110px;
    column-gap: 10px;
    margin-bottom: 10px;
    background-color: white;
    border-radius: 10px;
    align-items: center;
}

.amq-cross-sell-products ul li img{
    max-height: 70px;
    width: auto;
    border-radius: 5px;
}

.amq-cross-selling-product .attributes {
    display: flex;
    flex-direction: column;
    font-size: 10px;
}

.amq-cross-selling-product .img-container {
    margin: auto;
    padding: 5px;
}

.amq-cross-selling-product  .title {
    font-size: 13px;
    line-height: 17px;
    padding: 10px 0;
    font-weight: bold;
}

.amq-cross-selling-product .woocommerce-Price-amount bdi {
    font-size: 13px;
}

.amq-cross-selling-product .woocommerce-Price-amount bdi {
    font-size: 13px;
}

.amq-cross-selling-product .add_to_cart_button {
    background-color: transparent;
    color: black;
    font-size: 12px;
    padding: 8px 5px;
    margin: 0;
    margin-right: 10px;
    border: 1px solid black;
    border-radius: 5px;
}

.amq-cross-selling-product .add_to_cart_button svg {
    width: 20px;
}
