.hvac-quiz {
    margin: 30px 0;
    color: #425466;
}

.hvac-quiz-header {
    margin-bottom: 20px;
}

.hvac-quiz-header h2 {
    color: #00588a;
    margin: 0 0 8px;
    font-size: 2em;
    transition: color 0.2s ease;
}

.hvac-quiz-progress {
    color: #425466;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.hvac-quiz-step {
    background: #f1f3f8;
    border: 1px solid #d9e2ea;
    border-radius: 6px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(52, 73, 94, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 24px;
}


.hvac-quiz-step-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #00588a;
    transition: color 0.2s ease;
}

.hvac-quiz-step-count {
    margin-bottom: 18px;
    color: #425466;
    font-weight: 600;
    transition: color 0.2s ease;
}

.hvac-quiz-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 14px;
}

.hvac-quiz-option {
    min-height: 62px;
    border: 1px solid #cfd8e1;
    background: #fff;
    padding: 14px 16px;
    text-align: left;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: #425466;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(52, 73, 94, 0.05);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.hvac-quiz-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(2, 156, 221, 0.05), transparent);
    transition: left 0.5s ease;
}

.hvac-quiz-option:hover::before {
    left: 100%;
}

.hvac-quiz-option:hover,
.hvac-quiz-option.is-active {
    border-color: #029cdd;
    background: #eaf7fd;
    color: #00588a;

    box-shadow: 0 6px 18px rgba(2, 156, 221, 0.15);
}


.hvac-quiz-btn {
    min-height: 44px;
    padding: 10px 22px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background: #029cdd;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.hvac-quiz-btn:hover,
.hvac-quiz-btn:focus {
    background: #00578a;
    color: #fff;

    box-shadow: 0 4px 12px rgba(2, 156, 221, 0.3);
}


.hvac-quiz-btn-secondary {
    background: #fff;
    color: #00588a;
    border: 1px solid #bcd0dc;
}

.hvac-quiz-btn-secondary:hover,
.hvac-quiz-btn-secondary:focus {
    background: #f1f3f8;
    color: #00588a;
    box-shadow: 0 4px 12px rgba(0, 88, 138, 0.15);
    border-color: #029cdd;
}

.hvac-quiz-final {
    margin-top: 30px;
    animation: fadeInUp 0.4s ease;
}

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

.hvac-quiz-final-top {
    margin-bottom: 18px;
}

.hvac-quiz-final-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.hvac-quiz-final-summary h3 {
    margin-bottom: 6px;
}

#hvac-quiz-sort {
    min-width: 190px;
    min-height: 42px;
    border: 1px solid #bcd0dc;
    border-radius: 9px;
    color: #23313f;
    padding: 0 12px;
    font-size: 14px;
    background-position: right 10px center;
}

#hvac-quiz-sort:focus {
    outline: none;
    border-color: #029cdd;
    box-shadow: 0 0 0 3px rgba(2, 156, 221, 0.12);
}

.hvac-quiz-no-options {
    background: #fff;
    border: 1px solid #d9e2ea;
    border-radius: 6px;
    padding: 18px;
    transition: all 0.3s ease;
}

.hvac-quiz-no-options:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 12px rgba(52, 73, 94, 0.08);
}

/*     */
.hvac-quiz-results-fade {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 900px) {
    .hvac-quiz-options {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }
}

@media (max-width: 600px) {
    .hvac-quiz-options {
        grid-template-columns: 1fr;
    }

    .hvac-quiz-actions {
        flex-direction: column;
    }

    .hvac-quiz-btn {
        width: 100%;
    }

    .hvac-quiz-step {
        padding: 18px;
    }
}



/*   */
.hvac-quiz-loading {
    text-align: center;
    padding: 40px;
}

.hvac-quiz-loading-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    border: 3px solid #e5e9f0;
    border-top-color: #029cdd;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.hvac-quiz-loading-results {
    text-align: center;
    padding: 40px;
    background: #f8f9fc;
    border-radius: 8px;
    margin-top: 20px;
}

/*    */
.hvac-quiz-option {
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}

.hvac-quiz-option-selected {
    background: #2ecc71;
    color: white;
    border-color: #27ae60;
    transform: scale(0.98);
}

.hvac-quiz-option-selected::before {
    content: '✓';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: bold;
}

/*    */
.hvac-quiz-step-appear {
    animation: slideInRight 0.4s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/*   */
.hvac-quiz-progress-bar-wrapper {
    background: #e5e9f0;
    border-radius: 12px;
    height: 12px;
    margin: 20px 0 12px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hvac-quiz-progress-bar-fill {
    background: linear-gradient(90deg, #2ecc71, #27ae60);
    border-radius: 12px;
    height: 100%;
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hvac-quiz-progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.hvac-quiz-progress-updated {
    animation: progressPulse 0.5s ease;
}

@keyframes progressPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.hvac-quiz-progress-complete {
    animation: progressComplete 0.8s ease;
}

@keyframes progressComplete {
    0% {
        background: linear-gradient(90deg, #2ecc71, #27ae60);
    }
    50% {
        background: linear-gradient(90deg, #f1c40f, #e67e22);
        box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
    }
    100% {
        background: linear-gradient(90deg, #27ae60, #2ecc71);
    }
}

.hvac-quiz-progress-text {
    text-align: right;
    font-size: 13px;
    font-weight: 500;
    color: #425466;
    margin-bottom: 20px;
}

#hvac-quiz-progress-step {
    font-weight: 600;
    color: #27ae60;
}

/*   */
.hvac-quiz-loading {
    text-align: center;
    padding: 40px;
}

.hvac-quiz-loading-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    border: 3px solid #e5e9f0;
    border-top-color: #029cdd;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.hvac-quiz-loading-results {
    text-align: center;
    padding: 40px;
    background: #f8f9fc;
    border-radius: 8px;
    margin-top: 20px;
}

/*    */
.hvac-quiz-option {
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}

.hvac-quiz-option-selected {
    background: #2ecc71;
    color: white;
    border-color: #27ae60;
    transform: scale(0.98);
}

.hvac-quiz-option-selected::before {
    content: '✓';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: bold;
}

/*    */
.hvac-quiz-step-appear {
    animation: slideInRight 0.4s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hvac-quiz-match-count {
    font-size: 24px;
    font-weight: 700;
    color: #029cdd;
}

/*    */
@media (max-width: 768px) {
    .hvac-quiz-progress-text {
        font-size: 12px;
    }
    
    .hvac-quiz-progress-bar-wrapper {
        height: 8px;
    }
    
    .hvac-quiz-match-count {
        font-size: 20px;
    }
}














/*     */
#hvac-quiz-body {
    position: relative;
    /*min-height: 200px; */
    overflow: hidden;
}

/*    */
.hvac-quiz-step {
    background: #f1f3f8;
    border: 1px solid #d9e2ea;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(52, 73, 94, 0.08);
    transition: all 0.3s ease;
}

/*    */
/* .hvac-quiz-slide-in-right {
    animation: slideInFromRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
} */

/*    */
/* .hvac-quiz-slide-in-left {
    animation: slideInFromLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1);
} */
/* 
@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
} */


.hvac-quiz-slide-in-up {
    animation: slideInFromUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInFromUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* :      */
.hvac-quiz-slide-outside {
    animation: slideInWithOverflow 0.8s cubic-bezier(0.34, 1.2, 0.64, 1);
}

/*      */
.hvac-quiz-step-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #00588a;
}

.hvac-quiz-step-count {
    margin-bottom: 18px;
    color: #425466;
    font-weight: 600;
}

.hvac-quiz-match-count {
    font-size: 24px;
    font-weight: 700;
    color: #029cdd;
}

.hvac-quiz-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 14px;
}

.hvac-quiz-option {
    min-height: 62px;
    border: 1px solid #cfd8e1;
    background: #fff;
    padding: 14px 16px;
    text-align: left;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: #425466;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.hvac-quiz-option:hover {
    border-color: #029cdd;
    background: #eaf7fd;
    color: #00588a;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 156, 221, 0.15);
}

.hvac-quiz-option-selected {
    background: #2ecc71;
    color: white;
    border-color: #27ae60;
    transform: scale(0.98);
}

.hvac-quiz-option-selected::before {
    content: '✓';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: bold;
}

/*   */
.hvac-quiz-progress-bar-wrapper {
    background: #e5e9f0;
    border-radius: 12px;
    height: 12px;
    margin: 20px 0 12px;
    overflow: hidden;
}

.hvac-quiz-progress-bar-fill {
    background: linear-gradient(90deg, #2ecc71, #27ae60);
    border-radius: 12px;
    height: 100%;
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hvac-quiz-progress-text {
    text-align: right;
    font-size: 13px;
    font-weight: 500;
    color: #425466;
    margin-bottom: 20px;
}

#hvac-quiz-progress-step {
    font-weight: 600;
    color: #27ae60;
}

/*  */
.hvac-quiz-actions {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.hvac-quiz-btn {
    min-height: 44px;
    padding: 10px 24px;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    background: #029cdd;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.hvac-quiz-btn:hover {
    background: #00578a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 156, 221, 0.3);
}

.hvac-quiz-btn-secondary {
    background: #fff;
    color: #00588a;
    border: 1px solid #bcd0dc;
}

.hvac-quiz-btn-secondary:hover {
    background: #f1f3f8;
    border-color: #029cdd;
}

/*  */
.hvac-quiz-loading {
    text-align: center;
    padding: 60px 40px;
}

.hvac-quiz-loading-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    border: 3px solid #e5e9f0;
    border-top-color: #029cdd;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.hvac-quiz-loading-results {
    text-align: center;
    padding: 40px;
    background: #f8f9fc;
    border-radius: 8px;
    margin-top: 20px;
}

/*  */
@media (max-width: 768px) {
    .hvac-quiz-options {
        grid-template-columns: 1fr;
    }
    
    .hvac-quiz-step-title {
        font-size: 20px;
    }
    
    .hvac-quiz-match-count {
        font-size: 20px;
    }
}






/*    */
.hvac-quiz-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.hvac-quiz-modal.active {
    opacity: 1;
    visibility: visible;
}

.hvac-quiz-modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.hvac-quiz-modal.active .hvac-quiz-modal-content {
    transform: scale(1);
}

.hvac-quiz-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #00588a;
    margin-bottom: 12px;
}

.hvac-quiz-modal-message {
    color: #425466;
    margin-bottom: 24px;
    line-height: 1.5;
}

.hvac-quiz-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.hvac-quiz-modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.hvac-quiz-modal-btn-cancel {
    background: #f1f3f8;
    color: #425466;
    border: 1px solid #d9e2ea;
}

.hvac-quiz-modal-btn-cancel:hover {
    background: #e5e9f0;
    transform: translateY(-1px);
}

.hvac-quiz-modal-btn-confirm {
    background: #029cdd;
    color: #fff;
}

.hvac-quiz-modal-btn-confirm:hover {
    background: #00578a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 156, 221, 0.3);
}

@media (max-width: 600px) {
    .hvac-quiz-modal-content {
        padding: 20px;
        max-width: 320px;
    }
    
    .hvac-quiz-modal-buttons {
        flex-direction: column;
    }
    
    .hvac-quiz-modal-btn {
        width: 100%;
    }
}


/*        */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.hvac-quiz-modal.active .hvac-quiz-modal-content {
    animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.hvac-quiz-modal {
    backdrop-filter: blur(2px);
}





/*       */
.hvac-quiz-option {
    min-height: 62px;
    border: 1px solid #cfd8e1;
    background: #fff;
    padding: 14px 16px;
    text-align: left;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: #425466;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(52, 73, 94, 0.05);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 12px;
}

/*      */
.hvac-quiz-option.has-image {
    padding: 16px;
}

.hvac-quiz-option-image {
    flex-shrink: 0;
    /*width: 40px;
    height: 40px;*/
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

button.hvac-quiz-option.has-image {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: column;
    justify-content: flex-end;
}

.hvac-quiz-option-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 300px;
}

/*.hvac-quiz-option-text {
    flex: 1;
}*/

/*    */
@media (max-width: 600px) {
    .hvac-quiz-option.has-image {
        padding: 12px;
    }
    
    /*.hvac-quiz-option-image {
        width: 48px;
        height: 48px;
    }*/
}




div#hvac-quiz-results {
    margin-top: 50px;
}

/* ==========   ========== */

/*    */
.hvac-card {
    position: relative;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 20px 0;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    justify-content: space-between;
    backface-visibility: hidden;
    margin-bottom: 0px;
    
    opacity: 1;
    transform: none;
    
    transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}


.hvac-card:not(.hvac-card-visible) {
    opacity: 0;
    transform: translateY(40px) rotateY(90deg);
}


.hvac-card-visible {
    opacity: 1 !important;
    transform: translateY(0) rotateY(0deg) !important;
}

/*  */
.hvac-badge {
    background: #cf4051;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 10px;
    transition: all 0.25s ease;
    z-index: 1;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    margin-bottom: 15px;
    width: fit-content;
}

.hvac-single-price-note {
    text-align: center;
    margin-bottom: 16px;
    font-weight: 600;
    color: #00588a;
}

.hvac-card-image {
    position: relative;
}

.hvac-badge {
    position: absolute;
    top: 10px;
}

.hvac-badge.hvac-badge-red {
    left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.hvac-badge.hvac-badge-blue {
    right: 0;
}

.hvac-card-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin: 10px 0 15px;
    margin-left: 20px;
}

.hvac-card-badges .hvac-badge {
    margin: 0;
    margin-left: 20px;
}

.hvac-badge-red {
    background: #cf4051;
}

.hvac-badge-blue {
    background: #00588a;
}


/*   */
.hvac-card-title {
    font-size: 18px;
    line-height: 1.4;
    margin: 12px 0 12px;
    font-weight: 600;
    padding-right: 20px;
    padding-left: 20px;
}

.hvac-card-title a {
    text-decoration: none;
    color: #1a2c3e;
    transition: color 0.2s ease;
}

.hvac-card-title a:hover,
.hvac-card-title a:focus {
    color: #029cdd;
}

/* - */
.hvac-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 12px;
    padding-right: 20px;
    padding-left: 20px;
}

.hvac-card-meta span {
    display: inline-block;
    background: #f8fafc;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    color: #5a6e84;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

/*  */
.hvac-card-specs {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 8px 12px;
    font-size: 13px;
    line-height: 1.5;
    /*margin-bottom: 16px;*/
    border-bottom: 1px solid #edf2f7;
    padding: 12px 20px;
}

.hvac-card-specs div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.hvac-card-specs strong {
    color: #2c3e50;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.hvac-card-specs span {
    color: #425466;
    font-weight: 500;
}

/*  */
.hvac-card-price {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #00588a;
    line-height: 1.2;
    transition: color 0.2s ease;
    letter-spacing: -0.5px;
    text-align: center;
    padding-right: 20px;
    padding-left: 20px;
}

/*   */
.hvac-card-footer {
    padding-top: 8px;
    padding-right: 20px;
    padding-left: 20px;
}

/*  */
.hvac-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #029cdd;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 8px;
    padding: 10px 16px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.hvac-card-link:hover,
.hvac-card-link:focus {
    background: #00578a;
    color: #fff;
    border-color: #00578a;
}

.hvac-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}


/*    */
@media (max-width: 1400px) {
    .hvac-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .hvac-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .hvac-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .hvac-card-specs {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

@media (max-width: 640px) {
    .hvac-products-grid {
        grid-template-columns: 1fr;
    }
    
    .hvac-card {
        max-width: 100%;
    }
}


.hvac-card-image img {
    width: 100%;
    /*object-fit: cover;*/
    object-fit: contain;
    object-position: center;
    display: block;
    max-height: 275px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    margin-top: 10px;
}

.hvac-card {
    padding-top: 0px;
}

@media (max-width: 640px) {
    .hvac-quiz-final-top {
        align-items: stretch;
        flex-direction: column;
    }

    #hvac-quiz-sort {
        width: 100%;
    }
}



.hvac-card-image {
    position: relative;
    overflow: hidden;
}

.hvac-card-image .hvac-card-thumbnail-hover {
    display: none;
}

@media (min-width: 992px) {

    .hvac-card-image .hvac-card-thumbnail-hover {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        opacity: 0;
        transition: opacity 0.25s ease;
        z-index: 2;
    }

    .hvac-card-thumbnail-main {
        transition: opacity 0.25s ease;
    }

    .hvac-card-image:hover .hvac-card-thumbnail-main {
        opacity: 0;
    }

    .hvac-card-image:hover .hvac-card-thumbnail-hover {
        opacity: 1;
    }

    .hvac-badge {
        z-index: 3;
    }
}

.hvac-card-slider-btn {
    display: none;
}

@media (max-width: 991px) {
    .hvac-card-image .hvac-card-thumbnail-hover {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        opacity: 0;
        transition: opacity 0.25s ease;
        z-index: 2;
    }

    .hvac-card-image.is-second-image .hvac-card-thumbnail-main {
        opacity: 0;
    }

    .hvac-card-image.is-second-image .hvac-card-thumbnail-hover {
        opacity: 1;
    }

    .hvac-card-slider-btn {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 4;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: none;
        background: rgba(255, 255, 255, 0.85);
        color: #111;
        font-size: 28px;
        line-height: 1;
        /*align-items: center;*/
        justify-content: center;
        cursor: pointer;
    }

    .hvac-card-slider-prev {
        left: 8px;
    }

    .hvac-card-slider-next {
        right: 8px;
    }

    .hvac-badge {
        z-index: 5;
    }
}

.hvac-card-price-block {
    padding: 18px 14px 14px;
    text-align: center;
}

.hvac-card-price-main {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    color: #005f8f;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.hvac-card-price-note {
    font-size: 14px;
    font-weight: 700;
    color: #005f8f;
    margin-bottom: 12px;
}

.hvac-card-installment {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    line-height: 1;
}

.hvac-card-installment-prefix {
   
    color: #6b7785;
}

.hvac-card-installment-price {
    font-size: 35px;
    font-weight: 800;
    color: #029cdd;
    white-space: nowrap;
}

.hvac-card-installment-apr {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(2, 156, 221, 0.08);
    font-size: 11px;
    font-weight: 700;
    color: #1a2c3e;
    white-space: nowrap;
}