/* Quick Buy Modal Base Overlay */
.asli404-qb-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.asli404-qb-modal-overlay.active {
    opacity: 1;
}

/* Modal Content Container */
.asli404-qb-modal-content {
    background: #0d0d0d;
    color: #ffffff;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    position: relative;
    padding: 32px;
    box-sizing: border-box;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.asli404-qb-modal-overlay.active .asli404-qb-modal-content {
    transform: scale(1);
}

/* Close button */
.asli404-qb-close-btn {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    left: auto !important;
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 28px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: color 0.2s ease, background-color 0.2s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.asli404-qb-close-btn:hover {
    color: #ffffff !important;
    background: transparent !important;
}

/* Grid Layout */
.asli404-qb-grid {
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr !important;
    gap: 32px !important;
    margin-top: 10px !important;
    box-sizing: border-box !important;
}

/* Left Column: Product Info */
.asli404-qb-col-product {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    box-sizing: border-box !important;
}

.asli404-qb-product-main {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.asli404-qb-image-wrapper {
    width: 90px;
    height: 110px;
    flex-shrink: 0;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative !important;
}

.asli404-qb-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.asli404-qb-product-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.asli404-qb-product-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
}

.asli404-qb-product-sku {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
}

.asli404-qb-product-price-box {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

/* Attributes Selector */
.asli404-qb-attributes-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.asli404-qb-attribute-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.asli404-qb-attribute-row label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.asli404-qb-attribute-select {
    width: 100%;
    padding: 12px 14px;
    background: #000;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0;
    font-size: 12px;
    font-family: inherit;
    outline: none;
    text-transform: uppercase;
    box-sizing: border-box;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.asli404-qb-attribute-select:focus {
    border-color: #ffffff;
}

/* Upsell List Styling */
.asli404-qb-upsells-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.asli404-qb-upsells-heading {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}

.asli404-qb-upsells-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.asli404-qb-upsell-item {
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s ease, background-color 0.2s ease;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    padding-left: 14px !important;
    box-sizing: border-box !important;
}

.asli404-qb-upsell-item:hover {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.15);
}

.asli404-qb-upsell-label {
    display: flex !important;
    align-items: center !important;
    padding: 10px 14px 10px 0 !important;
    cursor: pointer !important;
    width: auto !important;
    flex-grow: 1 !important;
    box-sizing: border-box !important;
}

.asli404-qb-upsell-checkbox {
    display: none;
}

/* Custom Checkbox Design */
.asli404-qb-upsell-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: #000;
    margin-right: 12px;
    flex-shrink: 0;
    display: inline-block;
    position: relative;
}

.asli404-qb-upsell-checkbox:checked + .asli404-qb-upsell-checkbox-custom {
    background: #ffffff;
    border-color: #ffffff;
}

.asli404-qb-upsell-checkbox:checked + .asli404-qb-upsell-checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #000000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.asli404-qb-upsell-image-container {
    width: 45px;
    height: 55px;
    margin-right: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    background: #000;
    flex-shrink: 0;
    position: relative !important;
}

.asli404-qb-upsell-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.asli404-qb-upsell-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.asli404-qb-upsell-name {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
}

.asli404-qb-upsell-price-display {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.asli404-qb-upsell-regular-price,
.asli404-qb-upsell-regular-price *,
.asli404-qb-upsell-regular-price span,
.asli404-qb-upsell-regular-price bdi,
.asli404-qb-upsell-regular-price .amount {
    color: #ffffff !important;
    opacity: 1 !important;
}

.asli404-qb-upsell-discount-tag {
    background: #ffffff;
    color: #000000;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Right Column: Checkout System */
.asli404-qb-col-checkout {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-left: 32px !important;
    box-sizing: border-box !important;
}

/* Tabs */
.asli404-qb-tabs {
    display: flex !important;
    gap: 10px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding-bottom: 10px !important;
    box-sizing: border-box !important;
}

.asli404-qb-tab-btn {
    flex: 1 !important;
    background: #e0e0e0 !important;
    border: 1px solid #e0e0e0 !important;
    color: #000000 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    padding: 10px 4px !important;
    cursor: pointer !important;
    text-align: center !important;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease !important;
    outline: none !important;
    opacity: 0.75 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    height: auto !important;
    width: auto !important;
    min-height: 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.asli404-qb-tab-btn:hover,
.asli404-qb-tab-btn:focus {
    background: #eeeeee !important;
    color: #000000 !important;
    opacity: 1 !important;
}

.asli404-qb-tab-btn.active {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #000000 !important;
    opacity: 1 !important;
}

.asli404-qb-tab-btn.active::after {
    display: none !important;
}

/* Total Price Box */
.asli404-qb-total-box {
    background: #141414;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.asli404-qb-total-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
}

#asli404-qb-total-display {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}

/* Tab Contents */
.asli404-qb-tab-content {
    display: none;
}

.asli404-qb-tab-content.active {
    display: block;
}

/* Form Styles */
#asli404-qb-checkout-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.asli404-qb-form-group input {
    width: 100% !important;
    padding: 14px 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 0 !important;
    background: #000 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-family: inherit !important;
    outline: none !important;
    box-sizing: border-box !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
    height: auto !important;
}

.asli404-qb-form-group input:focus {
    border-color: #ffffff !important;
}

.asli404-qb-promo-row {
    display: flex !important;
    gap: 8px !important;
}

.asli404-qb-promo-row input {
    flex: 1 !important;
}

#asli404-qb-apply-promo {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ffffff !important;
    border-radius: 0 !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    padding: 12px 16px !important;
    text-transform: uppercase !important;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
    height: auto !important;
    width: auto !important;
    margin: 0 !important;
    min-height: 0 !important;
    min-width: 0 !important;
    box-shadow: none !important;
}

#asli404-qb-apply-promo:hover {
    background: #eeeeee !important;
    color: #000000 !important;
    border-color: #eeeeee !important;
}

.asli404-qb-promo-status-msg {
    font-size: 11px !important;
    margin: 4px 0 8px 0 !important;
    text-align: left !important;
}

.asli404-qb-promo-status-msg.error {
    color: #ff4d4d !important;
}

.asli404-qb-promo-status-msg.success {
    color: #4dff88 !important;
}

.asli404-qb-submit-btn {
    width: 100% !important;
    padding: 16px !important;
    border: 1px solid #ffffff !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    letter-spacing: 1.5px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    margin-top: 10px !important;
    height: auto !important;
    box-sizing: border-box !important;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

.asli404-qb-submit-btn:hover {
    background: #ffffff !important;
    color: #000000 !important;
}

.asli404-qb-form-status-msg {
    font-size: 12px;
    text-align: center;
    margin-top: 10px;
}

.asli404-qb-form-status-msg.error {
    color: #ff4d4d;
}

.asli404-qb-form-status-msg.success {
    color: #4dff88;
}

/* WhatsApp Options */
.asli404-qb-whatsapp-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.asli404-qb-wa-description {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

#asli404-qb-whatsapp-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 16px !important;
    background: #25d366 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: opacity 0.2s ease !important;
}

#asli404-qb-whatsapp-btn:hover {
    opacity: 0.9 !important;
}

.asli404-qb-wa-icon {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

/* Trigger buttons styling overrides */
.asli404-buy-now-btn,
.woodmart-products-grid .asli404-buy-now-btn,
.slider-type-product .asli404-buy-now-btn,
.elementor-widget-container .asli404-buy-now-btn,
.products .asli404-buy-now-btn {
    display: block !important;
    width: 100% !important;
    padding: 14px 16px !important;
    border: 1px solid #000000 !important;
    border-radius: 0 !important;
    background: #000000 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
    margin-top: 15px !important;
    text-align: center !important;
}

.asli404-buy-now-btn:hover,
.woodmart-products-grid .asli404-buy-now-btn:hover,
.slider-type-product .asli404-buy-now-btn:hover,
.elementor-widget-container .asli404-buy-now-btn:hover,
.products .asli404-buy-now-btn:hover {
    background: #f0f0f0 !important;
    color: #000000 !important;
    border-color: #f0f0f0 !important;
}

/* Spinner and loading state */
.asli404-qb-loading-state {
    max-width: 400px !important;
}

.asli404-qb-spinner-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 250px !important;
    gap: 16px !important;
}

.asli404-qb-spinner {
    width: 40px !important;
    height: 40px !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    border-top-color: #ffffff !important;
    border-radius: 50% !important;
    animation: asli404-qb-spin 0.8s linear infinite !important;
}

.asli404-qb-loading-text {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    text-transform: uppercase !important;
    margin: 0 !important;
}

@keyframes asli404-qb-spin {
    to { transform: rotate(360deg); }
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .asli404-qb-modal-content {
        padding: 20px !important;
    }
    
    .asli404-qb-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    .asli404-qb-col-checkout {
        border-left: none !important;
        padding-left: 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding-top: 24px !important;
    }
}

/* Lightbox Zoom Feature styling */
.asli404-qb-lightbox-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.93) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 99999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    opacity: 0;
    transition: opacity 0.3s ease !important;
    cursor: zoom-out !important;
}

.asli404-qb-lightbox-overlay.active {
    opacity: 1 !important;
}

.asli404-qb-lightbox-img {
    max-width: 90% !important;
    max-height: 90vh !important;
    object-fit: contain !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    transform: scale(0.95) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: default !important;
    background: #000;
}

.asli404-qb-lightbox-overlay.active .asli404-qb-lightbox-img {
    transform: scale(1) !important;
}

.asli404-qb-lightbox-close {
    position: absolute !important;
    top: 24px !important;
    right: 24px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 40px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
    line-height: 1 !important;
    z-index: 100000000 !important;
}

.asli404-qb-lightbox-close:hover {
    color: #ffffff !important;
}

/* Make product images clickable hover indicator */
#asli404-qb-main-image,
.asli404-qb-upsell-image {
    cursor: zoom-in !important;
    transition: opacity 0.2s ease !important;
}

#asli404-qb-main-image:hover,
.asli404-qb-upsell-image:hover {
    opacity: 0.85 !important;
}

/* Image zoom hover cue & icons */
.asli404-qb-image-hover-cue {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity 0.2s ease !important;
    pointer-events: none !important;
    z-index: 5 !important;
}

.asli404-qb-zoom-icon {
    width: 24px !important;
    height: 24px !important;
    fill: #ffffff !important;
}

.asli404-qb-upsell-image-container .asli404-qb-zoom-icon {
    width: 18px !important;
    height: 18px !important;
}

/* Hover trigger actions */
.asli404-qb-image-wrapper:hover .asli404-qb-image-hover-cue,
.asli404-qb-upsell-image-container:hover .asli404-qb-image-hover-cue {
    opacity: 1 !important;
}

/* Exit-Intent FOMO Popup Overlay */
.asli404-ei-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 9999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    opacity: 0;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.asli404-ei-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.asli404-ei-content {
    background: #0d0d0d !important;
    color: #ffffff !important;
    width: 100% !important;
    max-width: 480px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 0 !important;
    position: relative !important;
    padding: 40px 32px !important;
    box-sizing: border-box !important;
    transform: scale(0.95) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
    text-align: center !important;
}

.asli404-ei-overlay.active .asli404-ei-content {
    transform: scale(1) !important;
}

.asli404-ei-close-btn {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 28px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
}

.asli404-ei-close-btn:hover {
    color: #ffffff !important;
}

.asli404-ei-title {
    font-size: 24px !important;
    font-weight: 900 !important;
    margin: 0 0 16px 0 !important;
    letter-spacing: 1px !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
}

.asli404-ei-message {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 0 0 24px 0 !important;
}

.asli404-ei-timer-box {
    background: #141414 !important;
    border: 1px dashed rgba(255, 255, 255, 0.2) !important;
    padding: 16px !important;
    margin-bottom: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    align-items: center !important;
}

.asli404-ei-timer-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    text-transform: uppercase !important;
}

.asli404-ei-timer {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: 1px !important;
}

.asli404-ei-claim-btn {
    width: 100% !important;
    padding: 16px !important;
    border: 1px solid #ffffff !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

.asli404-ei-claim-btn:hover {
    background: transparent !important;
    color: #ffffff !important;
}

.asli404-ei-claim-btn:disabled {
    background: #222222 !important;
    color: rgba(255, 255, 255, 0.3) !important;
    border-color: #222222 !important;
    cursor: not-allowed !important;
}

/* Modern Swatches UI Styling */
.asli404-qb-swatch-input,
.asli404-qb-single-swatch-input,
.asli404-qb-upsell-swatch-input {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
}

.asli404-qb-swatches-container,
.asli404-qb-single-swatches-container,
.asli404-qb-upsell-swatches {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 6px !important;
}

.asli404-qb-swatch {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #e0e0e0 !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    min-width: 44px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    user-select: none !important;
}

.asli404-qb-modal-content .asli404-qb-swatch {
    padding: 6px 12px !important;
    font-size: 11px !important;
    min-width: 36px !important;
}

.asli404-qb-swatch:hover {
    background: #eeeeee !important;
    border-color: #eeeeee !important;
    color: #000000 !important;
}

.asli404-qb-swatch.active {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

.asli404-qb-modal-content .asli404-qb-swatch.active {
    border-color: #ffffff !important;
}

.asli404-qb-selected-value-label,
.asli404-qb-upsell-selected-value-label {
    color: #ffffff !important;
    font-weight: 700 !important;
    margin-left: 4px !important;
    text-transform: uppercase !important;
}

/* Upsell Attributes Container */
.asli404-qb-upsell-attributes {
    margin-top: 12px !important;
    margin-left: -14px !important;
    padding: 12px 14px 14px 14px !important;
    border-top: 1px dashed rgba(255, 255, 255, 0.15) !important;
    width: calc(100% + 14px) !important;
    box-sizing: border-box !important;
    background: #0d0d0d !important;
}

.asli404-qb-upsell-attribute-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
    text-align: left !important;
}

.asli404-qb-upsell-attribute-row:last-child {
    margin-bottom: 0 !important;
}

.asli404-qb-upsell-attribute-label {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.5) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Forcefully strip any colons appended by theme CSS using pseudo-elements on swatches */
.asli404-qb-swatch::after,
.asli404-qb-swatch::before,
.asli404-qb-single-swatches-container label::after,
.asli404-qb-single-swatches-container label::before,
.asli404-qb-swatches-container label::after,
.asli404-qb-swatches-container label::before,
.asli404-qb-upsell-swatches label::after,
.asli404-qb-upsell-swatches label::before {
    content: none !important;
    display: none !important;
}

/* Hide Actions (Pay / Cancel) row on the thank you page */
.woocommerce-order-received tr:has(.pay),
.woocommerce-order-received tr:has(.cancel),
.woocommerce-order-received tr.order-actions,
.woocommerce-order-received tr.actions {
    display: none !important;
}

/* Size & Fit Guide Trigger Link */
.asli404-qb-size-guide-wrapper {
    margin-bottom: 12px !important;
    display: flex !important;
    justify-content: flex-end !important;
    width: 100% !important;
}

.asli404-qb-size-guide-trigger {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: opacity 0.2s ease !important;
    display: inline-block !important;
}

.asli404-qb-size-guide-trigger:hover {
    opacity: 0.6 !important;
}

/* Size Guide Modal Overlay & Transitions */
#asli404-size-guide-modal {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
    z-index: 99999999 !important;
}

#asli404-size-guide-modal.active {
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
}

.asli404-qb-modal-content .asli404-qb-size-guide-trigger {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 11px !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    display: inline-block !important;
    margin-top: -12px !important;
    margin-bottom: -6px !important;
}

.asli404-qb-modal-content .asli404-qb-size-guide-trigger:hover {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Size Guide Content Box */
.asli404-size-guide-content {
    background: #ffffff !important;
    color: #000000 !important;
    max-width: 650px !important;
    border: 1px solid #000000 !important;
    border-radius: 0 !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4) !important;
}

.asli404-size-guide-close-btn {
    color: #000000 !important;
}

.asli404-size-guide-close-btn:hover {
    color: #666666 !important;
}

.asli404-size-guide-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #000000 !important;
    letter-spacing: 1.5px !important;
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    text-transform: uppercase !important;
    text-align: center !important;
    border-bottom: 2px solid #000000 !important;
    padding-bottom: 12px !important;
}

/* Sizing Table Styling */
.asli404-size-guide-table-wrapper {
    overflow-x: auto !important;
    width: 100% !important;
}

.asli404-size-guide-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 10px !important;
    color: #000000 !important;
    background: #ffffff !important;
    font-size: 12px !important;
}

.asli404-size-guide-table th,
.asli404-size-guide-table td {
    border: 1px solid #e0e0e0 !important;
    padding: 12px 14px !important;
    text-align: center !important;
    vertical-align: middle !important;
}

.asli404-size-guide-table th {
    background-color: #f5f5f5 !important;
    color: #000000 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.asli404-size-guide-table td.asli404-sg-weight-row {
    font-weight: 700 !important;
    background-color: #fafafa !important;
}

.asli404-size-guide-table td.asli404-sg-empty {
    color: #cccccc !important;
}

/* Payment Methods Selector B&W styling with high-specificity overrides */
#asli404-qb-checkout-form .asli404-qb-payment-methods {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin: 20px 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    box-sizing: border-box !important;
}

#asli404-qb-checkout-form .asli404-qb-pay-option {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    padding: 12px 16px !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
    box-sizing: border-box !important;
    color: #ffffff !important;
    opacity: 0.55 !important;
}

#asli404-qb-checkout-form .asli404-qb-pay-option:hover {
    border-color: rgba(255, 255, 255, 0.4) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    opacity: 0.8 !important;
}

#asli404-qb-checkout-form .asli404-qb-pay-option.active {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Force radio buttons visibility, sizing and alignment */
#asli404-qb-checkout-form .asli404-qb-pay-option input[type="radio"] {
    appearance: radio !important;
    -webkit-appearance: radio !important;
    -moz-appearance: radio !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    pointer-events: auto !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    margin: 0 12px 0 0 !important;
    padding: 0 !important;
    accent-color: #ffffff !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

#asli404-qb-checkout-form .asli404-qb-pay-option.active input[type="radio"] {
    accent-color: #ffffff !important;
}

/* Force label text color to be high contrast */
#asli404-qb-checkout-form .asli404-qb-pay-option span {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline !important;
    background: none !important;
}

#asli404-qb-checkout-form .asli404-qb-pay-option.active span {
    color: #ffffff !important;
}

/* Align WooCommerce PayPal / Credit Card buttons on single product pages */
.single-product div.ppcp-gateway-button-container,
.single-product .woocommerce-payment-gateway-buttons {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
    max-width: 100% !important;
}



