
/* Save Quote Popup Modal Styles */
.wliq-quote-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.wliq-quote-popup.show {
    display: flex;
    animation: wliq-fadeIn 0.3s ease-out;
}

.wliq-quote-popup-content {
    background: #fff;
    width: 90%;
    top: 10%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: wliq-slideIn 0.3s ease-out;
    margin: 0 auto;
}

.wliq-quote-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
}

.wliq-quote-popup-close:hover {
    color: #333;
    background: rgba(0, 0, 0, 0.2);
}

/* Gravity Form Styles within Popup */
.wliq-quote-popup .gform_wrapper {
    padding: 30px;
    margin: 0;
}

.wliq-quote-popup .gform_wrapper .gform_title {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.wliq-quote-popup .gform_wrapper .gform_description {
    margin-bottom: 25px;
    color: #666;
    font-size: 14px;
}

.wliq-quote-popup .gform_wrapper .gfield {
    margin-bottom: 20px;
}

.wliq-quote-popup .gform_wrapper .gfield_label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.wliq-quote-popup .gform_wrapper .gfield_required {
    color: #e74c3c;
}

.wliq-quote-popup .gform_wrapper input[type="text"],
.wliq-quote-popup .gform_wrapper input[type="email"],
.wliq-quote-popup .gform_wrapper input[type="tel"],
.wliq-quote-popup .gform_wrapper input[type="date"],
.wliq-quote-popup .gform_wrapper textarea,
.wliq-quote-popup .gform_wrapper select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.wliq-quote-popup .gform_wrapper input[type="text"]:focus,
.wliq-quote-popup .gform_wrapper input[type="email"]:focus,
.wliq-quote-popup .gform_wrapper input[type="tel"]:focus,
.wliq-quote-popup .gform_wrapper input[type="date"]:focus,
.wliq-quote-popup .gform_wrapper textarea:focus,
.wliq-quote-popup .gform_wrapper select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.wliq-quote-popup .gform_wrapper textarea {
    min-height: 100px;
    resize: vertical;
}

.wliq-quote-popup .gform_wrapper .gform_footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.wliq-quote-popup .gform_wrapper .gform_button {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 150px;
}

.wliq-quote-popup .gform_wrapper .gform_button:hover {
    background: linear-gradient(45deg, #5a67d8, #6b46c1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.wliq-quote-popup .gform_wrapper .gform_button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Custom Form Styles within Popup */
.wliq-quote-popup .wliq-quote-form {
    padding: 30px;
}

.wliq-quote-popup .wliq-quote-form h3 {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.wliq-quote-popup .wliq-quote-form p {
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.wliq-quote-popup .wliq-quote-form .form-row {
    margin-bottom: 20px;
}

.wliq-quote-popup .wliq-quote-form .form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.wliq-quote-popup .wliq-quote-form .form-row input,
.wliq-quote-popup .wliq-quote-form .form-row textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.wliq-quote-popup .wliq-quote-form .form-row input:focus,
.wliq-quote-popup .wliq-quote-form .form-row textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.wliq-quote-popup .wliq-quote-form .form-row textarea {
    min-height: 100px;
    resize: vertical;
}

.wliq-quote-popup .wliq-quote-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.wliq-quote-popup .wliq-quote-actions .button {
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 120px;
}

.wliq-quote-popup .wliq-quote-actions .wliq-quote-popup-cancel {
    background: #f8f9fa;
    color: #6c757d;
    border: 2px solid #e1e5e9;
}

.wliq-quote-popup .wliq-quote-actions .wliq-quote-popup-cancel:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.wliq-quote-popup .wliq-quote-actions .wliq-save-quote-submit {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
}

.wliq-quote-popup .wliq-quote-actions .wliq-save-quote-submit:hover {
    background: linear-gradient(45deg, #5a67d8, #6b46c1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.wliq-quote-popup .wliq-quote-feedback {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
}

.wliq-quote-popup .wliq-quote-feedback p {
    margin: 0;
}

.wliq-quote-popup .wliq-quote-feedback p[style*="color: green"] {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.wliq-quote-popup .wliq-quote-feedback p[style*="color: red"] {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wliq-quote-popup-content {
        width: 95%;
        margin: 10px;
        max-height: 95vh;
    }
    
    .wliq-quote-popup .gform_wrapper,
    .wliq-quote-popup .wliq-quote-form {
        padding: 20px;
    }
    
    .wliq-quote-popup .wliq-quote-actions {
        flex-direction: column;
    }
    
    .wliq-quote-popup .wliq-quote-actions .button {
        width: 100%;
    }
}

/* Animations */
@keyframes wliq-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes wliq-slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Body scroll lock when popup is open */
body.wliq-popup-open {
    overflow: hidden;
}

/* Remove button enhancements */
.wliq-btn-remove {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #6c757d;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    line-height: 1;
    min-width: 60px;
    text-align: center;
}

.wliq-btn-remove:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

.wliq-btn-remove:before {
    content: "×";
    font-size: 14px;
    font-weight: bold;
}

.wliq-btn-remove.loading,
.wliq-btn-remove.wliq-removing {
    background: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
    cursor: not-allowed;
    opacity: 0.8;
}

.wliq-btn-remove.loading:before,
.wliq-btn-remove.wliq-removing:before {
    content: "";
}

.wliq-btn-remove.wliq-removed {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    cursor: default;
}

.wliq-btn-remove.wliq-removed:before {
    content: "";
}

/* WordPress-style spinner */
.wliq-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007cba;
    border-radius: 50%;
    animation: wliq-spin 1s linear infinite;
}

@keyframes wliq-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* WordPress-style notices */
.wliq-notice {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    margin: 5px 15px 2px;
    padding: 1px 12px;
}

.wliq-notice.notice-error {
    border-left-color: #dc3232;
    background: #fef7f7;
}

.wliq-notice.notice-warning {
    border-left-color: #ffb900;
    background: #fffbf0;
}

.wliq-notice.notice-success {
    border-left-color: #46b450;
    background: #f7fff7;
}

.wliq-notice.notice-info {
    border-left-color: #00a0d2;
    background: #f7fcfe;
}

.wliq-notice p {
    margin: 0.5em 0;
    padding: 2px;
    font-size: 13px;
    line-height: 1.5;
}

.wliq-notice .notice-dismiss {
    text-decoration: none;
    font-size: 13px;
    line-height: 1.23076923;
}

.wliq-notice .notice-dismiss:before {
    content: '\f153';
    font: normal 16px/20px dashicons;
    speak: none;
    display: block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wliq-notice .notice-dismiss:hover:before,
.wliq-notice .notice-dismiss:active:before,
.wliq-notice .notice-dismiss:focus:before {
    color: #c00;
}

/* Loading state for table */
.wliq_table_loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.wliq_table_loading:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007cba;
    border-radius: 50%;
    animation: wliq-spin 1s linear infinite;
    z-index: 10;
}

/* Fade out animation for removed items */
.wliq-product.removing {
    opacity: 0.5;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wliq-btn-remove {
        padding: 6px 10px;
        font-size: 11px;
        min-width: 50px;
    }
    
    .wliq-spinner {
        width: 14px;
        height: 14px;
    }
    
    .wliq-notice {
        margin: 5px 10px 2px;
        padding: 1px 8px;
    }
}

/* Quote Table Styles */
.wliq-quote-table-wrapper {
    margin: 20px 0;
    font-family: Arial, sans-serif;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.wliq-quote-table-wrapper h3 {
    margin: 0;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.wliq-quote-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 14px;
}

.wliq-quote-table th,
.wliq-quote-table td {
    border: 1px solid #dee2e6;
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.wliq-quote-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.wliq-quote-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.wliq-quote-table tbody tr:hover {
    background-color: #f1f3f4;
}

.wliq-quote-table tfoot tr {
    background-color: #e9ecef;
    font-weight: bold;
    border-top: 2px solid #dee2e6;
}

.wliq-quote-table tfoot td {
    font-size: 16px;
    color: #333;
}

/* Responsive quote table */
@media (max-width: 768px) {
    .wliq-quote-table-wrapper {
        margin: 10px 0;
        border-radius: 4px;
    }
    
    .wliq-quote-table-wrapper h3 {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .wliq-quote-table {
        font-size: 12px;
    }
    
    .wliq-quote-table th,
    .wliq-quote-table td {
        padding: 8px 6px;
    }
    
    .wliq-quote-table th {
        font-size: 11px;
    }
    
    /* Stack table on very small screens */
    @media (max-width: 480px) {
        .wliq-quote-table,
        .wliq-quote-table thead,
        .wliq-quote-table tbody,
        .wliq-quote-table th,
        .wliq-quote-table td,
        .wliq-quote-table tr {
            display: block;
        }
        
        .wliq-quote-table thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }
        
        .wliq-quote-table tr {
            border: 1px solid #ccc;
            margin-bottom: 10px;
            padding: 10px;
            border-radius: 4px;
            background: #fff;
        }
        
        .wliq-quote-table td {
            border: none;
            border-bottom: 1px solid #eee;
            position: relative;
            padding-left: 50% !important;
            padding-top: 8px;
            padding-bottom: 8px;
        }
        
        .wliq-quote-table td:before {
            content: attr(data-label) ": ";
            position: absolute;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
            font-weight: bold;
            color: #333;
        }
        
        .wliq-quote-table tfoot tr {
            background: #f8f9fa;
            border: 2px solid #007cba;
        }
    }
}

/* Gravity Forms integration styles */
.gform_wrapper .wliq-quote-table-wrapper {
    margin: 15px 0;
}

.gform_wrapper .gfield.wliq-quote-table .ginput_container {
    margin-top: 0;
}

.gform_wrapper .gfield.wliq-quote-table .gfield_label {
    display: none;
}

/* Email styles for quote table */
@media only screen and (max-width: 600px) {
    .wliq-quote-table {
        font-size: 12px !important;
    }
    
    .wliq-quote-table th,
    .wliq-quote-table td {
        padding: 8px 4px !important;
    }
}


span.wliq-spinner.req_quote_spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #ffcd00;
    border-radius: 50%;
    animation: wliq-spin 1s linear infinite;
}

.wliq-quote-actions-info > p > strong {
    font-size: 20px;
}

/* Custom Success Popup Modal Styles */
.wliq-success-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.wliq-success-popup.show {
    display: flex;
    animation: wliq-fadeIn 0.3s ease-out;
}

.wliq-success-popup-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: wliq-slideIn 0.3s ease-out;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

.wliq-success-popup-header {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 25px 30px;
    text-align: center;
    position: relative;
}

.wliq-success-popup-header .wliq-success-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.wliq-success-popup-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.wliq-success-popup-body {
    padding: 30px;
    text-align: center;
}

.wliq-success-popup-body p {
    margin: 0 0 25px 0;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.wliq-success-popup-footer {
    padding: 0 30px 30px 30px;
    text-align: center;
}

.wliq-success-popup-footer .button {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 150px;
}

.wliq-success-popup-footer .button:hover {
    background: linear-gradient(45deg, #218838, #1ea085);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.wliq-success-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.wliq-success-popup-close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive Design for Success Popup */
@media (max-width: 768px) {
    .wliq-success-popup-content {
        width: 95%;
        margin: 10px;
    }
    
    .wliq-success-popup-header {
        padding: 20px 25px;
    }
    
    .wliq-success-popup-header .wliq-success-icon {
        font-size: 40px;
        margin-bottom: 12px;
    }
    
    .wliq-success-popup-header h3 {
        font-size: 20px;
    }
    
    .wliq-success-popup-body {
        padding: 25px;
    }
    
    .wliq-success-popup-body p {
        font-size: 15px;
    }
    
    .wliq-success-popup-footer {
        padding: 0 25px 25px 25px;
    }
    
    .wliq-success-popup-footer .button {
        padding: 12px 30px;
        font-size: 14px;
        min-width: 120px;
    }
}

/* Custom Confirmation Popup Modal Styles */
.wliq-confirm-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.wliq-confirm-popup.show {
    display: flex;
    animation: wliq-fadeIn 0.3s ease-out;
}

.wliq-confirm-popup-content {
    background: #fff;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: wliq-slideIn 0.3s ease-out;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    top: 33%;
}

.wliq-confirm-popup-header {
    background: linear-gradient(45deg, #ffc107, #fd7e14);
    color: white;
    padding: 20px 25px;
    text-align: center;
    position: relative;
}

.wliq-confirm-popup-header .wliq-confirm-icon {
    font-size: 40px;
    margin-bottom: 10px;
    display: block;
}

.wliq-confirm-popup-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.wliq-confirm-popup-body {
    padding: 25px;
    text-align: center;
}

.wliq-confirm-popup-body p {
    margin: 0 0 20px 0;
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

.wliq-confirm-popup-footer {
    padding: 0 25px 25px 25px;
    text-align: center;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.wliq-confirm-popup-footer .button {
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 100px;
    border: none;
}

.wliq-confirm-popup-footer .wliq-confirm-cancel {
    background: #f8f9fa;
    color: #6c757d;
    border: 2px solid #e1e5e9;
}

.wliq-confirm-popup-footer .wliq-confirm-cancel:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.wliq-confirm-popup-footer .wliq-confirm-ok {
    background: linear-gradient(45deg, #ffc107, #fd7e14);
    color: white;
}

.wliq-confirm-popup-footer .wliq-confirm-ok:hover {
    background: linear-gradient(45deg, #e0a800, #e55a00);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.wliq-confirm-popup-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 20px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color 0.3s ease;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.wliq-confirm-popup-close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive Design for Confirmation Popup */
@media (max-width: 768px) {
    .wliq-confirm-popup-content {
        width: 95%;
        margin: 10px;
    }
    
    .wliq-confirm-popup-header {
        padding: 18px 20px;
    }
    
    .wliq-confirm-popup-header .wliq-confirm-icon {
        font-size: 35px;
        margin-bottom: 8px;
    }
    
    .wliq-confirm-popup-header h3 {
        font-size: 18px;
    }
    
    .wliq-confirm-popup-body {
        padding: 20px;
    }
    
    .wliq-confirm-popup-body p {
        font-size: 14px;
    }
}

/* Quote Only Product Styling */
.quote-only-text {
    color: #666 !important;
    font-style: italic !important;
    font-weight: 500 !important;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    display: inline-block;
    text-align: center;
    min-width: 100px;
}

/* Disabled Add All to Cart Button */
.button.disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background-color: #ccc !important;
    color: #666 !important;
}

/* Door System Kits - Add to Cart Button Control */
#wliq-add-to-cart-btn.disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    background-color: #f0f0f0 !important;
    color: #999 !important;
    border-color: #ddd !important;
    position: relative;
}

#wliq-add-to-cart-btn.disabled::after {
    content: "🚫";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
}

/* Enhanced disabled state styling for better UX */
#wliq-add-to-cart-btn.disabled {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%) !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1) !important;
    text-shadow: none !important;
}

/* Visual indicator for door-system-kit products */
tr.cart_item[data-is-door-system-kit="true"] {
    background-color: #fff8f0;
    border-left: 3px solid #ff9800;
}

tr.cart_item[data-is-door-system-kit="true"] .product-name {
    position: relative;
}

tr.cart_item[data-is-door-system-kit="true"] .product-name::after {
    content: "🚪";
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 16px;
    opacity: 0.7;
}

/* Empty selection state styling */
.wliq-quote-view-footer {
    position: relative;
}

.wliq-quote-view-footer::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
}

/* Add subtle animation for button state changes */
#wliq-add-to-cart-btn {
    transition: all 0.3s ease-in-out;
}

#wliq-add-to-cart-btn:not(.disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.wliq-confirm-popup-footer {
    padding: 0 20px 20px 20px;
    flex-direction: column;
}

.wliq-confirm-popup-footer .button {
    padding: 10px 20px;
    font-size: 13px;
    min-width: 80px;
}