/* HVAC Wizard Styles */
#hvac-wizard-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Progress Bar */
.hvac-progress-bar {
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.progress-steps .step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.progress-steps .step.active {
    background: #007cba;
    color: white;
}

.progress-steps .step.completed {
    background: #00a32a;
    color: white;
}

.progress-steps .step.completed::after {
    content: '✓';
    font-size: 18px;
}

/* Wizard Steps */
.wizard-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.wizard-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wizard-step h2 {
    color: #333;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 600;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

/* Radio and Checkbox Groups */
.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-group label,
.checkbox-group label {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: normal;
    margin-bottom: 0;
}

.radio-group label:hover,
.checkbox-group label:hover {
    border-color: #007cba;
    background-color: #f8f9fa;
}

.radio-group input,
.checkbox-group input {
    margin-right: 10px;
    margin-bottom: 0;
}

.radio-group label:has(input:checked),
.checkbox-group label:has(input:checked) {
    border-color: #007cba;
    background-color: #e7f3ff;
}

/* Product Levels */
.product-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.product-level label {
    margin-bottom: 0;
    cursor: pointer;
}

.level-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.2s ease;
    height: 100%;
}

.level-card:hover {
    border-color: #007cba;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-level input:checked + .level-card {
    border-color: #007cba;
    background-color: #e7f3ff;
}

.level-card h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
}

.price-range {
    font-size: 20px;
    font-weight: bold;
    color: #007cba;
    margin: 10px 0;
}

.price-note {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Brand Selection */
.brand-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

/* Priority Ranking */
#priority-ranking {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.priority-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #f8f9fa;
}

.priority-text {
    font-weight: 500;
    color: #333;
}

.priority-select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
    min-width: 150px;
}

/* Product Recommendations */
#product-recommendations {
    margin: 20px 0;
}

.recommended-product {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 15px;
    background: #f8f9fa;
}

.recommended-product h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.recommended-product .price {
    font-size: 18px;
    font-weight: bold;
    color: #007cba;
    margin: 10px 0;
}

.recommended-product .btn {
    display: inline-block;
    padding: 10px 20px;
    background: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.recommended-product .btn:hover {
    background: #005a87;
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
}

.contact-form h3 {
    margin: 0 0 20px 0;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
    font-family: inherit;
}

/* Persian Notes */
.persian-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 15px;
    margin-top: 20px;
    direction: rtl;
    text-align: right;
}

.persian-note p {
    margin: 0;
    color: #856404;
    line-height: 1.6;
}

/* Navigation */
.wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.wizard-navigation button {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

#prev-btn {
    background: #6c757d;
    color: white;
}

#prev-btn:hover {
    background: #545b62;
}

#next-btn,
#submit-btn {
    background: #007cba;
    color: white;
}

#next-btn:hover,
#submit-btn:hover {
    background: #005a87;
}

#submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-message h2 {
    color: #00a32a;
    margin-bottom: 20px;
}

.success-message p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

/* Notes */
.note {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-top: 10px;
}

/* Error Messages */
.error-message {
    color: #d63384;
    font-size: 14px;
    margin-top: 5px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    #hvac-wizard-container {
        padding: 15px;
        margin: 10px;
    }
    
    .progress-steps .step {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .product-levels {
        grid-template-columns: 1fr;
    }
    
    .brand-selection {
        grid-template-columns: 1fr;
    }
    
    .priority-item {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .wizard-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .wizard-navigation button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .wizard-step h2 {
        font-size: 20px;
    }
    
    .radio-group,
    .checkbox-group {
        gap: 8px;
    }
    
    .radio-group label,
    .checkbox-group label {
        padding: 10px;
        font-size: 14px;
    }
}



.cbk-hvac-product {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    color: #fff;
    gap: 32px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    position: relative;
}

.cbk-hvac-product-info {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cbk-hvac-product-info h4 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.cbk-hvac-product-info .price {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.cbk-hvac-product-info a.cbk-hvac-btn {
    display: inline-block;
    margin-top: auto;
    color: #fff;
	background: rgba(201, 26, 14, 1);
    
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start;
    transition: background 0.2s;
}
.cbk-hvac-product-info a.cbk-hvac-btn:hover {
    background: #e2d5d5;
}

.cbk-hvac-product-img {
    min-width: 120px;
    max-width: 160px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.cbk-hvac-product-img img {
    max-width: 100%;
    border-radius: 10px;
}

/* Optional: Responsive */
@media (max-width: 700px) {
    .cbk-hvac-product {
        flex-direction: column-reverse;
        gap: 16px;
        padding: 12px;
    }
    .cbk-hvac-product-img {
        justify-content: center;
        margin-bottom: 12px;
    }
}
