/* ==========================================================================
   MODERN SEXY QUOTE SYSTEM - COMPLETE CSS
   ========================================================================== */

/* ==========================================================================
   FLOATING CART STYLES
   ========================================================================== */
.wqs-floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    animation: floatIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.wqs-cart-toggle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    width: 70px;
    height: 70px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: visible;
}

.wqs-cart-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    border-radius: 50px;
}

.wqs-cart-toggle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.wqs-cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.wqs-cart-count {
    position: absolute;
    top: -12px;
    right: -12px;
    background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
    color: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.5);
    animation: bounce 1s infinite alternate;
    border: 3px solid white;
    z-index: 10000;
}

@keyframes bounce {
    from { transform: translateY(0px); }
    to { transform: translateY(-8px); }
}

.wqs-cart-panel {
    position: absolute;
    bottom: 90px;
    right: 0;
    width: 380px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    display: none;
    max-height: 500px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.wqs-cart-panel.active {
    display: block;
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.wqs-cart-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px 20px 0 0;
}

.wqs-cart-header h3 {
    margin: 0;
    font-size: 18px;
    color: white;
    font-weight: 600;
}

.wqs-close-cart {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wqs-close-cart:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.wqs-cart-items {
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.wqs-cart-items::-webkit-scrollbar {
    width: 6px;
}

.wqs-cart-items::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.wqs-cart-items::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.wqs-cart-item {
    padding: 15px;
    margin-bottom: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wqs-cart-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #667eea, #764ba2);
}

.wqs-cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.wqs-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.wqs-item-header h4 {
    margin: 0;
    font-size: 15px;
    flex: 1;
    color: #2c3e50;
    font-weight: 600;
}

.wqs-remove-item {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wqs-remove-item:hover {
    transform: scale(1.1) rotate(90deg);
}

.wqs-item-attributes {
    margin: 8px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wqs-attribute {
    display: inline-block;
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    box-shadow: 0 3px 8px rgba(116, 185, 255, 0.3);
}

.wqs-item-notes {
    margin: 8px 0;
    padding: 10px;
    background: #fff9e6;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
    border-left: 3px solid #fdcb6e;
}

.wqs-item-notes strong {
    color: #e17055;
}

.wqs-item-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.wqs-item-quantity label {
    font-size: 13px;
    color: #636e72;
    font-weight: 500;
}

.wqs-update-quantity {
    width: 70px;
    padding: 8px 12px;
    border: 2px solid #dfe6e9;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
}

.wqs-update-quantity:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.wqs-readonly-quantity {
    width: 70px;
    padding: 8px 12px;
    background: #f8f9fa;
    border: 2px solid #dfe6e9;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    color: #636e72;
}

.wqs-cart-footer {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-radius: 0 0 20px 20px;
}

.wqs-cart-summary {
    font-size: 15px;
    color: #2c3e50;
    font-weight: 600;
}

.wqs-request-quote-btn {
    background: linear-gradient(135deg, #00b894 0%, #00a085 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 184, 148, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.wqs-request-quote-btn::before {
    content: '📩';
}

.wqs-request-quote-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 184, 148, 0.4);
}

.wqs-request-quote-btn:disabled {
    background: #b2bec3;
    cursor: not-allowed;
    box-shadow: none;
}

/* ==========================================================================
   MODAL OVERLAYS
   ========================================================================== */
.wqs-modal-overlay,
.wqs-attribute-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px) saturate(180%);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10010;
    animation: fadeIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 20px;
    overflow-y: auto;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.wqs-modal,
.wqs-attribute-modal {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(40px);
    border-radius: 24px;
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: modalSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.wqs-modal-header,
.wqs-attribute-header {
    padding: 28px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.wqs-modal-header::before,
.wqs-attribute-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
}

.wqs-modal-header h2,
.wqs-attribute-header h3 {
    margin: 0;
    color: white;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.wqs-modal-close,
.wqs-attribute-close {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    cursor: pointer;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.wqs-modal-close:hover,
.wqs-attribute-close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   SOFTWARE-GRADE FORM STYLES
   ========================================================================== */
.wqs-quote-form {
    padding: 24px;
    flex: 1;
    overflow-y: auto;
    max-height: calc(85vh - 120px);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.wqs-form-container {
    display: flex;
    flex-direction: column;
    gap: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
    padding: 24px;
}

.wqs-form-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 
        0 1px 2px 0 rgba(0, 0, 0, 0.02),
        0 2px 4px 0 rgba(0, 0, 0, 0.03),
        0 4px 8px 0 rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.wqs-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wqs-form-section:hover {
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.08),
        0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
}

.wqs-form-section:hover::before {
    opacity: 1;
}

.wqs-section-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.wqs-section-header h4 {
    margin: 0;
    font-size: 16px;
    color: #1e293b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
}

.wqs-section-header h4::before {
    content: '';
    width: 4px;
    height: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.wqs-section-header p {
    margin: 8px 0 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    font-weight: 400;
}

.wqs-form-group {
    margin-bottom: 24px;
    position: relative;
}

.wqs-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.wqs-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
}

.wqs-form-group label:hover {
    color: #475569;
}

.wqs-required {
    position: relative;
}

.wqs-required::after {
    content: '*';
    color: #ef4444;
    margin-left: 4px;
    font-weight: 500;
}

.wqs-form-group .input-wrapper {
    position: relative;
}

.wqs-form-group input:not([type="checkbox"]):not([type="radio"]),
.wqs-form-group textarea,
.wqs-form-group select {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 400;
    color: #1e293b;
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    line-height: 1.5;
}

.wqs-form-group input:not([type="checkbox"]):not([type="radio"]):hover,
.wqs-form-group textarea:hover,
.wqs-form-group select:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.wqs-form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.wqs-form-group textarea:focus,
.wqs-form-group select:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 
        0 0 0 3px rgba(102, 126, 234, 0.1),
        0 2px 4px rgba(102, 126, 234, 0.05),
        0 4px 8px rgba(102, 126, 234, 0.05);
    transform: translateY(-1px);
}

.wqs-form-group input:not([type="checkbox"]):not([type="radio"])::placeholder,
.wqs-form-group textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.wqs-form-group textarea {
    min-height: 100px;
    resize: vertical;
    padding-top: 12px;
    padding-bottom: 12px;
    line-height: 1.6;
}

.wqs-form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23647%2048b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 48px;
    cursor: pointer;
    background-color: white;
}

.wqs-form-group select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

.wqs-input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    font-size: 16px;
    transition: color 0.2s ease;
}

.wqs-form-group:focus-within .wqs-input-icon {
    color: #667eea;
}

.wqs-char-counter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 400;
}

.wqs-char-counter.warning {
    color: #f59e0b;
}

.wqs-char-counter.error {
    color: #ef4444;
    font-weight: 500;
}

.wqs-checkbox-group,
.wqs-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.wqs-checkbox-item,
.wqs-radio-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.2s ease;
    user-select: none;
}

.wqs-checkbox-item:hover,
.wqs-radio-item:hover {
    background: #f8fafc;
}

.wqs-checkbox-item input[type="checkbox"],
.wqs-radio-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.wqs-checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: white;
}

.wqs-checkbox-item:hover .wqs-checkbox-custom {
    border-color: #cbd5e1;
}

.wqs-checkbox-item input:checked + .wqs-checkbox-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    animation: checkboxCheck 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes checkboxCheck {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.wqs-checkbox-item input:checked + .wqs-checkbox-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.wqs-radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: white;
}

.wqs-radio-item:hover .wqs-radio-custom {
    border-color: #cbd5e1;
}

.wqs-radio-item input:checked + .wqs-radio-custom {
    border-color: #667eea;
    animation: radioCheck 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes radioCheck {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.wqs-radio-item input:checked + .wqs-radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
}

.wqs-checkbox-label,
.wqs-radio-label {
    font-size: 14px;
    color: #334155;
    font-weight: 400;
    line-height: 1.4;
}

.wqs-file-upload {
    position: relative;
}

.wqs-file-upload input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.wqs-file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.wqs-file-upload-label:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.wqs-file-upload-label:active {
    background: #e2e8f0;
    border-color: #94a3b8;
}

.wqs-file-upload-label::before {
    content: '📎';
    font-size: 18px;
}

.wqs-file-preview {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 13px;
    color: #475569;
}

.wqs-file-preview::before {
    content: '📄';
    font-size: 16px;
}

.wqs-form-group.valid .input-wrapper::after {
    content: '✓';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #10b981;
    font-size: 14px;
    font-weight: 600;
}

.wqs-form-group.invalid .input-wrapper::after {
    content: '✕';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #ef4444;
    font-size: 14px;
    font-weight: 600;
}

.wqs-validation-message {
    font-size: 13px;
    margin-top: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    animation: slideDown 0.2s ease;
    display: none;
}

.wqs-validation-message.valid {
    display: block;
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
    border-left: 3px solid #10b981;
}

.wqs-validation-message.invalid {
    display: block;
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
    border-left: 3px solid #ef4444;
}

.wqs-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    backdrop-filter: blur(10px);
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.wqs-form-actions button {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 100px;
    justify-content: center;
}

.wqs-form-actions button[type="button"] {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.wqs-form-actions button[type="button"]:hover {
    background: #f1f5f9;
    color: #334155;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.wqs-form-actions button[type="button"]:active {
    transform: translateY(0);
    box-shadow: none;
}

.wqs-form-actions button[type="submit"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 
        0 2px 4px rgba(102, 126, 234, 0.2),
        0 4px 8px rgba(102, 126, 234, 0.1);
}

.wqs-form-actions button[type="submit"]:hover:not(:disabled) {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4290 100%);
    transform: translateY(-1px);
    box-shadow: 
        0 4px 6px rgba(102, 126, 234, 0.25),
        0 10px 15px rgba(102, 126, 234, 0.1);
}

.wqs-form-actions button[type="submit"]:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 
        0 1px 2px rgba(102, 126, 234, 0.2),
        0 2px 4px rgba(102, 126, 234, 0.1);
}

.wqs-form-actions button[type="submit"]:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.wqs-form-group.loading .input-wrapper::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #e2e8f0;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.wqs-form-success {
    text-align: center;
    padding: 48px 24px;
    animation: fadeInScale 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.wqs-form-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    font-size: 32px;
    color: white;
    margin-bottom: 24px;
    animation: successCheck 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes successCheck {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.wqs-form-success h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px;
}

.wqs-form-success p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    max-width: 400px;
    margin: 0 auto;
}

.wqs-form-progress {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 32px;
    padding: 0 8px;
}

.wqs-form-progress::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.wqs-progress-track {
    position: absolute;
    top: 15px;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    z-index: 2;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wqs-progress-step {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 32px;
}

.wqs-progress-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    transition: all 0.3s ease;
    margin: 0 auto 8px;
}

.wqs-progress-step.active .wqs-progress-circle {
    border-color: #667eea;
    background: #667eea;
    color: white;
    box-shadow: 
        0 2px 4px rgba(102, 126, 234, 0.2),
        0 4px 8px rgba(102, 126, 234, 0.1);
}

.wqs-progress-step.completed .wqs-progress-circle {
    border-color: #10b981;
    background: #10b981;
    color: white;
}

.wqs-progress-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 400;
    white-space: nowrap;
}

.wqs-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    cursor: help;
}

.wqs-tooltip::before {
    content: '?';
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.wqs-tooltip:hover::before {
    background: #667eea;
    color: white;
}

.wqs-tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wqs-help-text {
    font-size: 13px;
    color: #64748b;
    margin-top: 6px;
    font-weight: 400;
    line-height: 1.4;
}

.wqs-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.wqs-toggle-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wqs-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.wqs-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.wqs-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e2e8f0;
    transition: .4s;
    border-radius: 34px;
}

.wqs-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: .4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wqs-toggle input:checked + .wqs-toggle-slider {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.wqs-toggle input:checked + .wqs-toggle-slider:before {
    transform: translateX(20px);
}

.wqs-toggle input:focus + .wqs-toggle-slider {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.wqs-rating-group {
    display: flex;
    gap: 6px;
    direction: rtl;
}

.wqs-rating-group input {
    display: none;
}

.wqs-rating-group label {
    font-size: 28px;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wqs-rating-group label:hover,
.wqs-rating-group label:hover ~ label,
.wqs-rating-group input:checked ~ label {
    color: #fbbf24;
}

/* ==========================================================================
   ATTRIBUTES MODAL STYLES
   ========================================================================== */
.wqs-attribute-modal-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(40px);
    border-radius: 24px;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.25),
        0 8px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: modalSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.wqs-attribute-form-container {
    padding: 32px;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-height: calc(90vh - 140px);
}

.wqs-attributes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    align-items: start;
}

.wqs-attribute-group {
    background: white;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.02),
        0 4px 8px rgba(0, 0, 0, 0.03),
        0 8px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.wqs-attribute-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    opacity: 0.8;
}

.wqs-attribute-group:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.08),
        0 6px 12px rgba(0, 0, 0, 0.05);
    border-color: rgba(102, 126, 234, 0.3);
}

.wqs-attribute-group-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.wqs-attribute-group-header h4 {
    margin: 0;
    font-size: 18px;
    color: #1e293b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.01em;
}

.wqs-attribute-group-header h4::before {
    content: '';
    width: 6px;
    height: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
}

.wqs-attribute-group-header p {
    margin: 10px 0 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    font-weight: 400;
}

.wqs-attribute-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.wqs-attribute-option {
    position: relative;
}

.wqs-attribute-option input[type="radio"],
.wqs-attribute-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.wqs-attribute-option label {
    display: block;
    padding: 20px 16px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 500;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: #475569;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.wqs-attribute-option label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.wqs-attribute-option label:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.08),
        0 4px 8px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
    background: white;
}

.wqs-attribute-option input:checked + label {
    background: white;
    border-color: #667eea;
    color: #667eea;
    box-shadow: 
        0 8px 20px rgba(102, 126, 234, 0.2),
        0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.wqs-attribute-option input:checked + label::before {
    opacity: 1;
}

.wqs-attribute-option input:checked + label::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    animation: checkmark 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes checkmark {
    from {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

/* Quantity Section */
.wqs-quantity-section {
    background: white;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.02),
        0 4px 8px rgba(0, 0, 0, 0.03);
    margin-top: 16px;
    grid-column: 1 / -1;
}

.wqs-quantity-header {
    margin-bottom: 24px;
}

.wqs-quantity-header h4 {
    margin: 0;
    font-size: 18px;
    color: #1e293b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wqs-quantity-header h4::before {
    content: '🔢';
    font-size: 20px;
    opacity: 0.8;
}

.wqs-quantity-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 24px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.wqs-quantity-btn {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    background: white;
    font-size: 28px;
    font-weight: 300;
    color: #667eea;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.wqs-quantity-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.wqs-quantity-btn:active {
    transform: scale(0.95);
}

.wqs-quantity-display {
    flex: 1;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    min-width: 100px;
    padding: 0 20px;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.wqs-quantity-input {
    width: 150px;
    padding: 16px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    color: #1e293b;
    transition: all 0.2s ease;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.wqs-quantity-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.wqs-quantity-info {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* Notes Section */
.wqs-notes-section {
    background: white;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.02),
        0 4px 8px rgba(0, 0, 0, 0.03);
    margin-top: 16px;
    grid-column: 1 / -1;
}

.wqs-notes-header {
    margin-bottom: 24px;
}

.wqs-notes-header h4 {
    margin: 0;
    font-size: 18px;
    color: #1e293b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wqs-notes-header h4::before {
    content: '📝';
    font-size: 20px;
    opacity: 0.8;
}

.wqs-notes-textarea-container {
    position: relative;
}

.wqs-notes-textarea {
    width: 100%;
    min-height: 160px;
    padding: 20px;
    font-size: 15px;
    font-weight: 400;
    color: #1e293b;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    line-height: 1.6;
    resize: vertical;
}

.wqs-notes-textarea:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.wqs-notes-textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 
        0 0 0 4px rgba(102, 126, 234, 0.1),
        0 4px 12px rgba(102, 126, 234, 0.08);
    transform: translateY(-1px);
}

.wqs-notes-textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.wqs-notes-char-count {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
}

.wqs-notes-char-count.warning {
    color: #f59e0b;
}

.wqs-notes-char-count.error {
    color: #ef4444;
    font-weight: 500;
}

.wqs-notes-tips {
    margin-top: 20px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(254, 252, 232, 0.8) 0%, rgba(254, 249, 195, 0.8) 100%);
    border-radius: 12px;
    border-left: 4px solid #f59e0b;
}

.wqs-notes-tips p {
    margin: 0;
    font-size: 14px;
    color: #92400e;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wqs-notes-tips p::before {
    content: '💡';
    font-size: 16px;
}

/* Selection Preview */
.wqs-selection-preview {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.95) 100%);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    margin-top: 16px;
    position: sticky;
    bottom: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.wqs-selection-preview-header {
    margin-bottom: 20px;
}

.wqs-selection-preview-header h4 {
    margin: 0;
    font-size: 18px;
    color: #1e293b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wqs-selection-preview-header h4::before {
    content: '📋';
    font-size: 20px;
    opacity: 0.8;
}

.wqs-selected-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 44px;
}

.wqs-selected-attribute-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
    animation: tagAppear 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes tagAppear {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.wqs-selected-attribute-tag::before {
    content: '✓';
    font-weight: bold;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.2);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Price Preview */
.wqs-price-preview {
    background: linear-gradient(135deg, #00b894 0%, #00a085 100%);
    color: white;
    padding: 32px;
    text-align: center;
    border-radius: 20px;
    margin-top: 24px;
    box-shadow: 
        0 8px 32px rgba(0, 184, 148, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.wqs-price-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.wqs-price-preview-label {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.wqs-price-preview-label::before {
    content: '💰';
    font-size: 18px;
}

.wqs-price-preview-value {
    font-size: 42px;
    font-weight: 800;
    margin: 0;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    letter-spacing: -1px;
}

.wqs-price-preview-note {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 8px;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* Modal Actions */
.wqs-attribute-modal-actions {
    padding: 32px;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: white;
    position: sticky;
    bottom: 0;
    z-index: 20;
}

.wqs-attribute-modal-actions button {
    padding: 18px 32px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: none;
}

.wqs-attribute-modal-cancel {
    background: #f8fafc;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.wqs-attribute-modal-cancel:hover {
    background: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.wqs-attribute-modal-cancel:active {
    transform: translateY(0);
}

.wqs-attribute-modal-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 
        0 8px 24px rgba(102, 126, 234, 0.35),
        0 4px 12px rgba(102, 126, 234, 0.25);
}

.wqs-attribute-modal-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4290 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 32px rgba(102, 126, 234, 0.4),
        0 8px 20px rgba(102, 126, 234, 0.3);
}

.wqs-attribute-modal-submit:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 
        0 4px 12px rgba(102, 126, 234, 0.35),
        0 2px 8px rgba(102, 126, 234, 0.25);
}

.wqs-attribute-modal-submit:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.wqs-attribute-modal-submit::after {
    content: '→';
    font-size: 18px;
    transition: transform 0.3s ease;
}

.wqs-attribute-modal-submit:hover::after {
    transform: translateX(4px);
}

/* ==========================================================================
   ADDITIONAL STYLES
   ========================================================================== */
.wqs-items-review {
    margin: 24px 0;
    padding: 24px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.wqs-items-review h4 {
    margin: 0 0 20px 0;
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
}

.wqs-items-list {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 10px;
}

.wqs-items-list .wqs-cart-item {
    margin-bottom: 15px;
    padding: 15px;
}

.wqs-empty-cart {
    text-align: center;
    padding: 50px 20px;
    color: #64748b;
    font-size: 16px;
}

.wqs-empty-cart::before {
    content: '🛒';
    display: block;
    font-size: 56px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.wqs-toast {
    position: fixed;
    top: 30px;
    right: 30px;
    padding: 16px 24px;
    border-radius: 12px;
    color: white;
    z-index: 10001;
    animation: toastSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 300px;
    max-width: 400px;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

.wqs-toast.success {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.95) 0%, rgba(39, 174, 96, 0.95) 100%);
}

.wqs-toast.error {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.95) 0%, rgba(192, 57, 43, 0.95) 100%);
}

.wqs-toast.info {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.95) 0%, rgba(41, 128, 185, 0.95) 100%);
}

.wqs-add-to-quote {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border: none !important;
    padding: 14px 28px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.wqs-add-to-quote:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.25) !important;
}

.wqs-add-to-quote::before {
    content: '＋';
    font-size: 18px;
}

.wqs-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    animation: fadeIn 0.3s ease;
}

.wqs-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(102, 126, 234, 0.1);
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wqs-attributes-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 30px;
}

.wqs-attributes-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(102, 126, 234, 0.1);
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.wqs-attributes-loading-text {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
    text-align: center;
}

.wqs-attributes-empty {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.wqs-attributes-empty::before {
    content: '🔧';
    display: block;
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.wqs-attributes-empty h4 {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: #1e293b;
    font-weight: 600;
}

.wqs-attributes-empty p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

/* ==========================================================================
   SCROLLBAR STYLES
   ========================================================================== */
.wqs-attribute-form-container::-webkit-scrollbar,
.wqs-modal::-webkit-scrollbar,
.wqs-attribute-modal::-webkit-scrollbar,
.wqs-quote-form::-webkit-scrollbar,
.wqs-attribute-options::-webkit-scrollbar,
.wqs-cart-items::-webkit-scrollbar {
    width: 8px;
}

.wqs-attribute-form-container::-webkit-scrollbar-track,
.wqs-modal::-webkit-scrollbar-track,
.wqs-attribute-modal::-webkit-scrollbar-track,
.wqs-quote-form::-webkit-scrollbar-track,
.wqs-attribute-options::-webkit-scrollbar-track,
.wqs-cart-items::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    margin: 24px 0;
}

.wqs-attribute-form-container::-webkit-scrollbar-thumb,
.wqs-modal::-webkit-scrollbar-thumb,
.wqs-attribute-modal::-webkit-scrollbar-thumb,
.wqs-quote-form::-webkit-scrollbar-thumb,
.wqs-attribute-options::-webkit-scrollbar-thumb,
.wqs-cart-items::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.wqs-attribute-form-container::-webkit-scrollbar-thumb:hover,
.wqs-modal::-webkit-scrollbar-thumb:hover,
.wqs-attribute-modal::-webkit-scrollbar-thumb:hover,
.wqs-quote-form::-webkit-scrollbar-thumb:hover,
.wqs-attribute-options::-webkit-scrollbar-thumb:hover,
.wqs-cart-items::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4290 100%);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .wqs-attribute-modal {
        max-width: 90%;
    }
    
    .wqs-attributes-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }
    
    .wqs-attribute-group {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .wqs-cart-panel {
        width: 320px;
        bottom: 80px;
        right: 10px;
    }
    
    .wqs-modal,
    .wqs-attribute-modal {
        width: 95%;
        margin: 20px;
        max-height: 90vh;
        border-radius: 20px;
    }
    
    .wqs-floating-cart {
        bottom: 20px;
        right: 20px;
    }
    
    .wqs-cart-toggle {
        width: 60px;
        height: 60px;
    }
    
    .wqs-cart-count {
        width: 28px;
        height: 28px;
        font-size: 13px;
        top: -10px;
        right: -10px;
    }
    
    .wqs-toast {
        left: 20px;
        right: 20px;
        min-width: auto;
        top: 20px;
    }
    
    .wqs-form-actions,
    .wqs-attribute-modal-actions {
        flex-direction: column;
    }
    
    .wqs-form-actions button,
    .wqs-attribute-modal-actions button {
        width: 100%;
        justify-content: center;
    }
    
    .wqs-quote-form,
    .wqs-attribute-form-container {
        padding: 20px;
        gap: 20px;
    }
    
    .wqs-form-section,
    .wqs-attribute-group {
        padding: 20px;
        border-radius: 14px;
    }
    
    .wqs-form-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .wqs-attribute-header {
        padding: 24px;
    }
    
    .wqs-attribute-header h3 {
        font-size: 20px;
    }
    
    .wqs-attribute-close {
        width: 38px;
        height: 38px;
        font-size: 22px;
    }
    
    .wqs-attribute-options {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
    }
    
    .wqs-quantity-section,
    .wqs-notes-section {
        padding: 24px;
    }
    
    .wqs-quantity-controls {
        max-width: 100%;
        padding: 20px;
    }
    
    .wqs-quantity-btn {
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
    
    .wqs-quantity-input {
        width: 120px;
    }
    
    .wqs-notes-textarea {
        min-height: 140px;
        padding: 16px;
    }
    
    .wqs-price-preview {
        padding: 24px;
    }
    
    .wqs-price-preview-value {
        font-size: 36px;
    }
    
    .wqs-attribute-modal-actions {
        padding: 24px;
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .wqs-attribute-modal-actions button {
        padding: 16px 24px;
    }
}

@media (max-width: 480px) {
    .wqs-modal-header,
    .wqs-attribute-header {
        padding: 20px;
    }
    
    .wqs-modal-header h2,
    .wqs-attribute-header h3 {
        font-size: 18px;
    }
    
    .wqs-form-group input:not([type="checkbox"]):not([type="radio"]),
    .wqs-form-group textarea,
    .wqs-form-group select {
        padding: 10px 14px;
        font-size: 15px;
    }
    
    .wqs-attribute-modal {
        border-radius: 16px;
    }
    
    .wqs-attribute-form-container {
        padding: 16px;
        gap: 16px;
    }
    
    .wqs-attribute-group {
        padding: 16px;
    }
    
    .wqs-attribute-options {
        grid-template-columns: 1fr;
    }
    
    .wqs-attribute-option label {
        padding: 16px;
    }
    
    .wqs-quantity-section,
    .wqs-notes-section,
    .wqs-selection-preview,
    .wqs-price-preview {
        padding: 20px;
    }
    
    .wqs-quantity-controls {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
    
    .wqs-quantity-btn {
        width: 48px;
        height: 48px;
    }
    
    .wqs-quantity-display {
        font-size: 28px;
    }
    
    .wqs-quantity-input {
        width: 100px;
    }
    
    .wqs-notes-textarea {
        min-height: 120px;
        padding: 14px;
        font-size: 14px;
    }
    
    .wqs-price-preview-value {
        font-size: 32px;
    }
    
    .wqs-attribute-modal-actions {
        padding: 20px;
    }
    
    .wqs-toggle-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .wqs-rating-group {
        gap: 4px;
    }
    
    .wqs-rating-group label {
        font-size: 24px;
    }
    
    .wqs-form-progress {
        margin-bottom: 24px;
    }
    
    .wqs-progress-step {
        width: 28px;
    }
    
    .wqs-progress-circle {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* ==========================================================================
   DARK MODE SUPPORT
   ========================================================================== */
@media (prefers-color-scheme: dark) {
    .wqs-form-container {
        background: rgba(15, 23, 42, 0.95);
        border-color: rgba(51, 65, 85, 0.5);
    }
    
    .wqs-form-section {
        background: rgba(30, 41, 59, 0.8);
        border-color: rgba(51, 65, 85, 0.8);
    }
    
    .wqs-form-group input:not([type="checkbox"]):not([type="radio"]),
    .wqs-form-group textarea,
    .wqs-form-group select {
        background: rgba(30, 41, 59, 0.6);
        border-color: rgba(71, 85, 105, 0.6);
        color: #e2e8f0;
    }
    
    .wqs-form-group label {
        color: #cbd5e1;
    }
    
    .wqs-section-header h4 {
        color: #e2e8f0;
    }
    
    .wqs-section-header p {
        color: #94a3b8;
    }
    
    .wqs-attribute-modal-container {
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
        border-color: rgba(51, 65, 85, 0.5);
    }
    
    .wqs-attribute-group {
        background: rgba(30, 41, 59, 0.8);
        border-color: rgba(51, 65, 85, 0.8);
    }
    
    .wqs-attribute-group-header h4 {
        color: #e2e8f0;
    }
    
    .wqs-attribute-group-header p {
        color: #94a3b8;
    }
    
    .wqs-attribute-option label {
        background: rgba(30, 41, 59, 0.6);
        border-color: rgba(71, 85, 105, 0.6);
        color: #cbd5e1;
    }
    
    .wqs-attribute-option label:hover {
        background: rgba(30, 41, 59, 0.8);
        border-color: rgba(100, 116, 139, 0.8);
    }
    
    .wqs-quantity-section,
    .wqs-notes-section {
        background: rgba(30, 41, 59, 0.8);
        border-color: rgba(51, 65, 85, 0.8);
    }
    
    .wqs-quantity-controls {
        background: rgba(30, 41, 59, 0.6);
        border-color: rgba(71, 85, 105, 0.6);
    }
    
    .wqs-quantity-btn {
        background: rgba(30, 41, 59, 0.8);
        border-color: rgba(100, 116, 139, 0.6);
        color: #cbd5e1;
    }
    
    .wqs-quantity-display {
        color: #e2e8f0;
    }
    
    .wqs-quantity-input {
        background: rgba(30, 41, 59, 0.8);
        border-color: rgba(71, 85, 105, 0.6);
        color: #e2e8f0;
    }
    
    .wqs-notes-textarea {
        background: rgba(30, 41, 59, 0.8);
        border-color: rgba(71, 85, 105, 0.6);
        color: #e2e8f0;
    }
    
    .wqs-notes-textarea::placeholder {
        color: #64748b;
    }
    
    .wqs-selection-preview {
        background: rgba(30, 41, 59, 0.8);
        border-color: rgba(51, 65, 85, 0.8);
    }
    
    .wqs-attribute-modal-actions {
        background: rgba(15, 23, 42, 0.8);
        border-color: rgba(51, 65, 85, 0.8);
    }
    
    .wqs-attribute-modal-cancel {
        background: rgba(30, 41, 59, 0.6);
        color: #cbd5e1;
        border-color: rgba(71, 85, 105, 0.6);
    }
    
    .wqs-attributes-empty {
        background: rgba(30, 41, 59, 0.8);
        border-color: rgba(71, 85, 105, 0.6);
    }
    
    .wqs-attributes-empty h4 {
        color: #e2e8f0;
    }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */
:focus-visible {
    outline: 3px solid rgba(102,126,234,0.4);
    outline-offset: 2px;
}

.wqs-attribute-option input:focus-visible + label,
.wqs-attribute-modal-close:focus-visible,
.wqs-quantity-btn:focus-visible,
.wqs-quantity-input:focus-visible,
.wqs-notes-textarea:focus-visible,
.wqs-attribute-modal-cancel:focus-visible,
.wqs-attribute-modal-submit:focus-visible,
.wqs-form-group input:focus-visible,
.wqs-form-group textarea:focus-visible,
.wqs-form-group select:focus-visible,
.wqs-modal-close:focus-visible,
.wqs-close-cart:focus-visible,
.wqs-cart-toggle:focus-visible {
    outline: 3px solid rgba(102,126,234,0.6);
    outline-offset: 2px;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.wqs-hidden {
    display: none !important;
}

.wqs-visible {
    display: block !important;
}

.wqs-flex {
    display: flex !important;
}

.wqs-grid {
    display: grid !important;
}

.wqs-text-center {
    text-align: center !important;
}

.wqs-text-right {
    text-align: right !important;
}

.wqs-mt-1 { margin-top: 4px !important; }
.wqs-mt-2 { margin-top: 8px !important; }
.wqs-mt-3 { margin-top: 12px !important; }
.wqs-mt-4 { margin-top: 16px !important; }
.wqs-mt-5 { margin-top: 20px !important; }

.wqs-mb-1 { margin-bottom: 4px !important; }
.wqs-mb-2 { margin-bottom: 8px !important; }
.wqs-mb-3 { margin-bottom: 12px !important; }
.wqs-mb-4 { margin-bottom: 16px !important; }
.wqs-mb-5 { margin-bottom: 20px !important; }

.wqs-p-1 { padding: 4px !important; }
.wqs-p-2 { padding: 8px !important; }
.wqs-p-3 { padding: 12px !important; }
.wqs-p-4 { padding: 16px !important; }
.wqs-p-5 { padding: 20px !important; }