.xoo-wsc-markup *::-webkit-scrollbar {
    width: 8px;
}

.xoo-wsc-markup *::-webkit-scrollbar-track {
    border-radius: 10px;
    background: #f0f0f0;
}

.xoo-wsc-markup *::-webkit-scrollbar-thumb {
    border-radius: 50px;
     background: #d1d1d1
}


.xoo-wsc-container, .xoo-wsc-slider {
    position: fixed;
    background-color: #fff;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    width: 95%;
    transition: 0.5s ease-out;
}

.xoo-wsc-modal * {
    box-sizing: border-box;
}

.xoo-wsc-markup a{
    text-decoration: none;
}


.xoo-wsc-opac {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    z-index: 999996;
    opacity: 0;
    height: 0;
    transition: height 0s 0.4s, opacity 0.4s 0s;
}

.xoo-wsc-cart-active .xoo-wsc-opac {
    opacity: 0.8;
    height: 100%;
    transition: height 0s 0s, opacity 0.4s;
}

.xoo-wsc-body {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.xoo-wsc-loading .xoo-wsc-loader {
    display: block;
}

span.xoo-wsc-loader {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 10;
    transition: opacity 0.2s ease;
}

/* Thin top progress bar — replaces the circular spinner */
.xoo-wsc-loader-bar {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 12;
    overflow: hidden;
    background: transparent;
}

.xoo-wsc-loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 60%;
    height: 100%;
    background: #1a1a1a;
    animation: xoo-wsc-bar 1.1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.xoo-wsc-loading .xoo-wsc-loader-bar {
    display: block;
}

@keyframes xoo-wsc-bar {
    0%   { left: -60%; }
    100% { left: 110%; }
}

/* Keep old spin keyframes in case referenced elsewhere but no longer used */
@keyframes xoo-wsc-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Old spinner icon — hidden permanently */
.xoo-wsc-loader-icon {
    display: none !important;
}



body.xoo-wsc-cart-active, html.xoo-wsc-cart-active{
    overflow: hidden!important;
}

.xoo-wsc-basket {
    margin: 10px;
    z-index: 9999997;
    cursor: pointer;
    position: fixed;
    transition: 0.5s ease-out;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.xoo-wsc-basket[style*='block'] {
    display: flex!important;
}
.xoo-wsc-items-count{
    border-radius: 50%;
    position: absolute;
    font-size: 13px;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    overflow: hidden;
}

.xoo-wsc-fly-animating{
    opacity: 1;
    position: absolute!important;
    height: 150px;
    width: 150px;
    z-index: 100;
}

.xoo-wsc-sc-bkcont {
    position: relative;
}


.xoo-wsc-sc-cont .xoo-wsc-cart-trigger {
    display: flex;
    position: relative;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}


span.xoo-wsc-sc-count, span.xoo-wsch-items-count{
    border-radius: 50%;
    height: 18px;
    line-height: 18px;
    width: 18px;
    display: inline-block;
    text-align: center;
    font-size: 13px;
    right: -7px;
    position: absolute;
    top: -4px;
}

.xoo-wsc-sc-cont .xoo-wsc-cart-trigger > * {
    margin-right: 3px;
}


/* Notices */
.xoo-wsc-notice-container {
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: none;
}

ul.xoo-wsc-notices {
    margin: 0;
    list-style-type: none;
    padding: 0;
}

.xoo-wsc-notice-success {
    background-color: #DFF0D8;
    color: #3C763D;
}
.xoo-wsc-notice-error {
    color: #a94442;
    background-color: #f2dede;
}

ul.xoo-wsc-notices li {
    padding: 15px 20px;
    list-style-type: none;
}

ul.xoo-wsc-notices li span {
    margin-right: 6px;
}

span.xoo-wsc-undo-item {
    float: right;
    text-decoration: underline;
    cursor: pointer;
}


.xoo-wsc-notices a.button.wc-forward {
    display: none;
}

/* Basket */
.xoo-wscb-icon {
    font-size: 37px;
}

.xoo-wscb-count {
    position: absolute;
    z-index: 1;
    background-color: transparent;
    font-size: 15px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    left: 0;
    right: 0;
}

/* Header */
.xoo-wsc-header {
    padding: 15px;
    color: #000;
}

span.xoo-wsch-close {
    position: absolute;
    cursor: pointer;
}


span.xoo-wsch-text {
    margin-left: 8px;
}


.xoo-wsch-top .xoo-wsch-basket {
    display: table;
    position: relative;
}

.xoo-wsch-top {
    display: flex;
    margin: 0 auto;
    align-items: center;
}


/****** BODY ***********/

/*** Product ***/
.xoo-wsc-product {
    display: flex;
    border-bottom: 1px solid #eee;
}

.xoo-wsc-img-col {
    align-self: center;
}

.xoo-wsc-sum-col {
    flex-grow: 1;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
}

.xoo-wsc-img-col img {
    width: 100%;
    height: auto;
}

.xoo-wsc-sm-left {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    min-width: 0;
    row-gap: 4px;
}

.xoo-wsc-sm-right {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 4px;
}


span.xoo-wsc-smr-del+.xoo-wsc-smr-ptotal {
    margin-top: auto;
}


span.xoo-wsc-pname, span.xoo-wsc-pname a {
    font-weight: 600;
}

span.xoo-wsc-smr-del {
    cursor: pointer;
    margin: 5px 0;
}

.xoo-wsc-img-col span.xoo-wsc-smr-del {
    margin: 5px auto;
    display: table;
}

.xoo-wsc-sm-info {
    display: flex;
    min-width: 0;
    gap: 10px;
}


.xoo-wsc-sm-left > *:not(:last-child) {
    
}

/* Qty Box */
.xoo-wsc-qty-price span {
    display: inline-block;
}

/* Variation */
.xoo-wsc-product dl.variation dd, .xoo-wsc-product dl.variation dt {
    margin: 0 4px 0 0;
    display: inline-block;
    float: left;
    font-style: italic;
}

.xoo-wsc-product dl.variation dt {
    clear: left;
}

.xoo-wsc-product dl.variation, .xoo-wsc-product dl.variation p {
    margin: 0;
    font-size: 13px;
}


/** Footer */
.xoo-wsc-ft-buttons-cont {
    display: grid;
    text-align: center;
    grid-column-gap: 5px;
    grid-row-gap: 5px;
}

a.xoo-wsc-ft-btn, .xoo-wsc-container .xoo-wsc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

a.xoo-wsc-ft-btn, a.xoo-wsc-ft-btn:hover, .xoo-wsc-container .xoo-wsc-btn, .xoo-wsc-container .xoo-wsc-btn:hover{
    text-decoration: none;
}


.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn:only-child {
    grid-column: 1/-1;
}


/** FOOTER Totals **/
.xoo-wsc-ft-totals {
    width: 100%;
    padding: 5px 0 10px 0;
}

.xoo-wsc-ft-amt {
    padding: 3px;
    display: flex;
    justify-content: space-between;
}

.xoo-wsc-ft-amt-value .xoo-wsc-toggle-slider {
    cursor: pointer;
    margin-left: 5px;
}

span.xoo-wsc-ft-amt-label {
    font-weight: 600;
}

.xoo-wsc-toggle-slider {
    cursor: pointer;
}

.xoo-wsc-ft-amt-shipping .xoo-wsc-toggle-slider span {
    margin-left: 5px;
}

.xoo-wsc-ft-amt-label {
    flex-grow: 1;
    padding-right: 10px;
}

.xoo-wsc-ft-amt-value {
    text-align: right;
}

.xoo-wsc-ft-amt.xoo-wsc-less, .xoo-wsc-psavings, .xoo-wsc-psavings * {
    color: #4CAF50;
}

.xoo-wsc-ft-amt-total {
    border-top: 1px dashed #9E9E9E;
    margin-top: 5px;
    padding-top: 5px;
}


/* Bundled product */

.xoo-wsc-product.xoo-wsc-is-parent {
    border-bottom: 0;
    padding-bottom: 0;
}

.xoo-wsc-product.xoo-wsc-is-child img {
    max-width: 50px;
    margin-left: auto;
    float: right;
}

.xoo-wsc-product.xoo-wsc-is-child {
    padding-top: 5px;
}

.xoo-wsc-empty-cart {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.xoo-wsc-empty-cart > * {
    margin-bottom: 20px;
}

/** Free **/
span.xoo-wsc-ft-amt-label:after {
    content: ":";
}



.xoo-wsc-ft-amt-savings + .xoo-wsc-ft-amt-subtotal {
    display: flex;
}

.xoo-wsc-ft-amt-subtotal {
    display: table;
    margin: 0 auto;
    font-weight: 600;
}

span.xoo-wsc-ft-amt-label {
    padding-right: 5px;
}

span.xoo-wsc-footer-txt {
    text-align: center;
    margin: -8px auto 10px;
    display: block;
    font-size: 90%;
}

span.xoo-wsc-del-txt {
    text-align: center;
    display: block;
    font-size: 11px;
    text-transform: uppercase;
}

a.xoo-wsc-ft-btn-checkout .amount {
    font-style: italic;
}

a.xoo-wsc-ft-btn-checkout .amount:before {
    content: "-";
    margin: 0 8px;
    font-weight: bold;
}


/*Child selector except last */
.xoo-wsc-is-child:has( +.xoo-wsc-is-child ), .xoo-wsc-is-parent + .xoo-wsc-is-child{
    padding-bottom: 5px;
    padding-top: 10px;
    margin-top: 0;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: 0 0;
    border-bottom: 0;
}
.xoo-wsc-product.xoo-wsc-is-parent{
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Only last child */
.xoo-wsc-product.xoo-wsc-is-child:not(:has( + *)), .xoo-wsc-is-child:has( + .xoo-wsc-product:not(.xoo-wsc-is-child) ){
    margin-top: 0;
    padding-top: 5px;
}

.xoo-wsc-product dl.variation {
    flex-wrap: wrap;
}


.xoo-wsc-product del {
    opacity: 0.5;
    text-decoration: line-through;
    display: inline-flex;
}

.xoo-wsc-product del+ins {
    font-weight: 600;
}

.xoo-wsc-product del .amount {
    font-size: 95%;
}


.xoo-wsc-pattern-row .xoo-wsc-qty-box {
    margin-top: 4px;
}

.xoo-wsc-priceBox {
    display: flex;
    flex-wrap: wrap;
    row-gap: 4px;
    column-gap: 9px;
}


span.xoo-wsc-psavlabel {
    text-transform: uppercase;
}


.xoo-wsc-psavings {
    padding: 2px 6px;
    border: 1px solid #4CAF50;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    width: max-content;
    margin-top: auto;
}

.xoo-wsc-psavings {
    font-size: 80%;
}

.xoo-wsc-body .xoo-wsc-products .xoo-wsc-psavings span.amount {
    font-size: inherit;
}


.xoo-wsc-sm-right-tools {
    display: flex;
    gap: 5px;
}

.xoo-wsc-xoo_wsc_gift .xoo-wsc-sm-left {
    justify-content: center;
}

.xoo-wsc-ft-amt-savings .xoo-wsc-ft-amt-label {
    font-weight: normal;
}

.xoo-wsc-ft-amt-savings {
    font-size: 95%;
}

.xoo-wsc-footer .xoo-wsc-ft-amt-savings .amount {
    font-size: inherit;
}


body.rtl .xoo-wsc-sum-col {
    padding-right: 15px;
    padding-left: 0;
}

body.rtl span.xoo-wsch-text {
    margin-right: 8px;
    margin-left: 0;
}

body.rtl span.xoo-wsc-ft-amt-label {
    padding-left: 5px;
    padding-right: 0;
}

body.rtl .xoo-wsc-product dl.variation dd, body.rtl .xoo-wsc-product dl.variation dt {
    float: right;
}

body.rtl xoo-wsc-qty-price > span{
    margin-left: 4px;
    margin-right: 0;
}

.xoo-wsc-markup-notices {
    top: 20%;
    right: -100%;
    left: auto;
    position: fixed;
    box-shadow: 2px 2px 9px 3px #eee;
    transition: all 0.5s;
    z-index: 999997;
    width: 0;
    max-width: 400px;
}

.xoo-wsc-markup-notices ul.xoo-wsc-notices li {
    padding: 25px;
}

.xoo-wsc-markup-notices.xoo-wsc-active {
    right: 0;
    width: 100%;
}

.xoo-wsc-markup-notices .xoo-wsc-notice-container {
    position: relative;
    display: block;
}
.xoo-wsc-qty-price > span {
    display: inline-block;
    margin-right: 4px;
}
.xoo-wsc-sml-qty span {
    display: inline-block;
}

.xoo-wsc-markup[data-wpr-lazyrender] {
    content-visibility: visible!important;
}

.xoo-wsc-qty-price {
    display: flex;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
}



/* Pattern Card */
.xoo-wsc-pattern-card {
    
margin: 10px 20px;
    
padding: 0;
}

.xoo-wsc-pattern-card .xoo-wsc-psavings {
    margin-top: 2px;
}



.xoo-wsc-pattern-card .xoo-wsc-product dl.variation {
    display: flex;
}


.xoo-wsc-pattern-card .xoo-wsc-product {
    flex-direction: column;
    position: relative;
    border-bottom: 0;
    padding: 0;
    height: 100%;
    margin: 0;
}

.xoo-wsc-pattern-card span.xoo-wsc-smr-del {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 5;
    padding: 10px;
    margin-top: 0;
}

.xoo-wsc-pattern-card .variation {
    justify-content: center;
}


.xoo-wsc-sm-back, .xoo-wsc-sm-front {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.xoo-wsc-sm-back-cont {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    overflow: auto;
}

.xoo-wsc-pattern-card .xoo-wsc-img-col.xoo-wsc-caniming {
    z-index: 10;
}

.xoo-wsc-sm-front {
    z-index: 1;
    height: 100%;
}

.xoo-wsc-sm-front:has(.xoo-wsc-sm-emp+*) {
    padding: 7px 10px;
}

.xoo-wsc-card-cont {
    position: relative;
}

.xoo-wsc-sm-back {
    padding: 10px;
    min-height: 100%;
}

a.xoo-wsc-smr-link i {
    margin-right: 3px;
}

a.xoo-wsc-smr-link {
    opacity: 0.7;
    font-size: 14px;
}

.xoo-wsc-sm-front:has(.xoo-wsc-sm-emp+*) .xoo-wsc-sm-emp {
    display: none;
}

.xoo-wsc-pattern-card .xoo-wsc-qty-price {
    justify-content: center;
    padding: 0;
}

.xoo-wsc-qty-price:has(.xoo-wsc-card-ptotal) {
    justify-content: space-between;
}


.xoo-wsc-pattern-card .xoo-wsc-img-col {
    align-self: center;
    z-index: 2;
    position: relative;
    margin: -1px -1px 0 -1px;
}
.xoo-wsc-pattern-card .xoo-wsc-img-col img{
    display: table;
    margin: 0 auto;
}



.xoo-wsc-qty-box-cont {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 4px;
    column-gap: 10px;
}




/* Header layout */
.xoo-wsch-new .xoo-wsch-basket, .xoo-wsch-new .xoo-wsch-close, .xoo-wsch-new .xoo-wsch-text {
    position: relative;
    margin: 0 4px;
}

.xoo-wsch-new .xoo-wsch-basket {
    margin: 0 8px;
}

.xoo-wsch-new .xoo-wsch-close{
    cursor: pointer;
}

.xoo-wsch-new .xoo-wsch-section{
    display: flex;
    align-items: center;
}

.xoo-wsch-new.xoo-wsch-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
}


.xoo-wsch-new .xoo-wsch-sec-right {
    grid-column: 3; /* right column */
    justify-self: end;
}

.xoo-wsch-new .xoo-wsch-sec-left {
    grid-column: 1;
    justify-self: start;
}

.xoo-wsch-new .xoo-wsch-sec-center {
    grid-column: 2; /* middle column */
    justify-self: center;
}
/* ===== Quantity +/- Controls — Fashion Style ===== */

/* Hide the "Qty:" label */
.xoo-wsc-qty-label {
    display: none !important;
}

/* Row wrapper */
.xoo-wsc-sml-qty {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    flex-wrap: nowrap !important;
    margin-top: 6px !important;
}

/* Square stepper container — transparent background, sharp corners */
.xoo-wsc-qty-control {
    display: inline-flex !important;
    align-items: stretch !important;
    border: 1px solid rgba(0, 0, 0, 0.18) !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease !important;
    height: 28px !important;
}

.xoo-wsc-qty-control:focus-within {
    border-color: rgba(0, 0, 0, 0.5) !important;
    box-shadow: none !important;
}

/* +/- buttons — square, transparent, minimal */
.xoo-wsc-qty-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 100% !important;
    min-width: 26px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    color: #1a1a1a !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    letter-spacing: 0 !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    text-decoration: none !important;
}

.xoo-wsc-qty-btn:hover {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #000 !important;
}

.xoo-wsc-qty-btn:active {
    background: rgba(0, 0, 0, 0.1) !important;
    color: #000 !important;
}

.xoo-wsc-qty-btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Quantity value — transparent, clean number in centre */
.xoo-wsc-qty-val {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 28px !important;
    text-align: center !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.06em !important;
    color: #1a1a1a !important;
    padding: 0 4px !important;
    background: transparent !important;
    border-left: 1px solid rgba(0, 0, 0, 0.18) !important;
    border-right: 1px solid rgba(0, 0, 0, 0.18) !important;
    pointer-events: none !important;
    user-select: none !important;
}

/* RTL support */
body.rtl .xoo-wsc-qty-control {
    flex-direction: row-reverse !important;
}

/* Loading state — whole modal blocked */
.xoo-wsc-loading .xoo-wsc-qty-btn {
    pointer-events: none !important;
    opacity: 0.3 !important;
}

/* Per-product loading state (qty AJAX in progress for this row) */
.xoo-wsc-item-loading {
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

/* Pending state: debounce timer running, not yet sent */
.xoo-wsc-qty-btn.xoo-wsc-qty-pending {
    opacity: 0.4 !important;
    cursor: wait !important;
}

/* At-max / at-min: muted and non-interactive */
.xoo-wsc-qty-btn.xoo-wsc-qty-at-max,
.xoo-wsc-qty-btn.xoo-wsc-qty-at-min {
    opacity: 0.2 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* ===== End Quantity Controls ===== */
