:root {
    --cw-font-family: 'Montserrat', sans-serif;
    --cw-primary-color: #000000;
    --cw-secondary-color: #1f2937;
    --cw-text-main: #374151;
    --cw-text-secondary: #1E1E1E;
    --cw-bg-light: #f9fafb;

    --cw-green-primary: #1F6611;
    --cw-gray-inactive: #7296B6;
    --cw-stepper-progress-start: #1E6310;
    --cw-stepper-progress-end: #3DC921;
    --cw-step-section-border: #E6E6E6;
    
    --cw-input-border-radius: 5px;
    --cw-input-border-color: #E1E1E1;
    --cw-input-bg-color: #F0F0F0;

    --cw-primary-background-color: #FFFFFF;
    --cw-arrow-color: #9D9D9D;
    --cw-tooltip-bg-color: #0066FF;
}

body {
    font-family: var(--cw-font-family);
    margin: 0;
    padding: 20px;
}

/* Remove numeric input arrows */
.cw-wizard-container input::-webkit-outer-spin-button,
.cw-wizard-container input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cw-wizard-container input[type=number] {
  -moz-appearance: textfield;
}

/* Main */

.cw-display-none {
    display: none !important;
}

.cw-wizard-container {
    max-width: 1240px !important;
    margin: 2rem auto;
    color: var(--cw-text-main);
    font-family: var(--cw-font-family) !important;
}

.cw-wizard-container * {
    font-family: inherit !important;
}

.cw-wizard-container input,
.cw-wizard-container select,
.cw-wizard-container textarea {
    font-size: 12px !important;
}

.cw-form-container {
    display: grid;
    grid-template-columns: 1fr 359px;
    gap: 120px;
    align-items: start;
    margin: 50px auto;
}

@media (max-width: 992px) {
    
    .cw-form-container {
        display: block;
        grid-template-columns: 1fr; 
        gap: 20px;
        margin: 20px auto;
        padding: 0 15px;
    }
}

.cw-wizard-container input.cw-field-invalid,
.cw-wizard-container select.cw-field-invalid {
    border-color: #dc2626 !important;
}

.cw-wizard-container input:not([type="checkbox"]):not([type="radio"]) {
    background-color: var(--cw-input-bg-color) !important;
    /*border: 1px solid var(--cw-input-border-color) !important;*/
    border-width: 1px;
    border-style: solid;
    border-color: var(--cw-input-border-color);
    height: 34px;
    border-radius: 5px !important;
    padding: 0 17px;
    color: var(--cw-text-main) !important;
    margin: 0 !important;
}

.cw-wizard-container input:focus {
    outline: none;
    border-color: #ccc;
    background-color: #fff;
}

.cw-form-footer {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cw-footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.cw-disclaimer {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--cw-font-family);
}

.cw-disclaimer input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    width: 14px !important;
    min-width: 14px !important;
    height: 14px !important;
    border-radius: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    filter: invert(20%);
}

.cw-submit-btn {
    background: var(--cw-primary-color);
    color: var(--cw-primary-background-color);
    padding: 14px 35px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
}

.cw-submit-btn:hover {
    background-color: var(--cw-secondary-color);
}

.cw-submit-btn:disabled {
    background-color: var(--cw-gray-inactive);
    cursor: not-allowed;
    opacity: 0.7;
    filter: grayscale(1);
}

.cw-submit-btn:disabled:hover {
    background-color: var(--cw-gray-inactive); 
}

.cw-footer-disclaimer-text {
    width: 100%;
    color: var(--cw-primary-color);
    font-size: 10px;
    line-height: 16px;
    font-family: var(--cw-font-family);
    text-align: left;
    text-transform: uppercase;
    font-weight: 500;
}

/* Stepper (Header) */
.cw-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 13px;
    position: relative;
    max-width: 890px;
    width: 100%;
}

@media (max-width: 768px) {
    .cw-stepper {
        display: none;
    }
}

.cw-stepper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #E5E5E5;
    z-index: 1;
}

.cw-stepper::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: var(--cw-progress, 15%); 
    height: 1px;
    background: linear-gradient(90deg, var(--cw-stepper-progress-start) 0%, var(--cw-stepper-progress-end) 100%);
    z-index: 2;
    transition: width 0.4s ease-in-out;
}

.cw-step {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--cw-gray-inactive);
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    position: relative;
    z-index: 3;
}

.cw-step-circle {
    width: 12px;
    height: 12px;
    border: 1px solid var(--cw-gray-inactive);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cw-step.active {
    color: var(--cw-primary-color);
    font-weight: 700;
}

.cw-step.active .cw-step-circle {
    background-color: var(--cw-green-primary);
    border-color: var(--cw-green-primary);
    color: var(--cw-primary-background-color);
}

.cw-step-number {
    display: block;
    font-size: 7px;
    font-weight: 700;
}

.cw-step-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.cw-step.completed {
    color: var(--cw-green-primary);
    font-weight: 400;
}

.cw-step.completed .cw-step-circle {
    background-color: var(--cw-green-primary);
    border-color: var(--cw-green-primary);
    color: var(--cw-primary-background-color);
}

.cw-step-check-icon {
    display: none;
}

.cw-step.completed .cw-step-number {
    display: none;
}

.cw-step.completed .cw-step-check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cw-step.active .cw-step-circle,
.cw-step.completed .cw-step-circle {
    background-color: var(--cw-green-primary);
    border-color: var(--cw-green-primary);
    color: var(--cw-primary-background-color);
}

/* Accordion */
.cw-accordion-item {
    margin-bottom: 35px;
    overflow: hidden;
}

.cw-wizard-container .cw-accordion-header {
    background: white;
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    border-bottom: 1px solid var(--cw-step-section-border);
}

.cw-wizard-container .cw-accordion-header .cw-header-title span {
    font-size: 20px;
    color: var(--cw-primary-color);
}

.cw-accordion-item:not(.is-completed) {
    cursor: pointer;
}

.cw-header-title {
    display: flex;
    align-items: center;
}

.cw-header-controls {
    display: flex;
    align-items: center;
}

.cw-edit-link {
    display: none;
}

.cw-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    width: 14px;
    height: 14px;
}

.cw-status-icon svg {
    display: block;
    width: 100%;
    height: auto;
}

.cw-accordion-arrow {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cw-accordion-arrow::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 3px solid var(--cw-arrow-color);
    border-bottom: 3px solid var(--cw-arrow-color);
    position: absolute;
    top: 45%; 
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    
    transition: border-color 0.3s ease;
}

.cw-accordion-item.is-open .cw-accordion-arrow {
    transform: rotate(180deg);
}

.cw-icon-item {
    margin-left: 6px;
}

.cw-icon-complete { 
    display: none !important; 
}

.cw-icon-incomplete { 
    display: block !important; 
}

.cw-accordion-item.is-completed .cw-icon-complete { 
    display: block !important; 
}
.cw-accordion-item.is-completed .cw-icon-incomplete { 
    display: none !important; 
}

.cw-accordion-item:not(.is-completed) .cw-edit-link {
    display: none;
}

.cw-accordion-content {
    display: none;
    padding-top: 35px;
    transition: max-height 0.8s ease-in-out, padding 0.6s ease;
}

.cw-accordion-item.is-open .cw-accordion-content {
    display: block;
    animation: fadeIn 0.6s ease;
}

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


/* Form Layout */
.cw-step-description {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 0.95rem;
}

.cw-form-group-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

@media (max-width: 768px) {
    .cw-form-group-grid {
        grid-template-columns: 1fr !important; 
        gap: 20px;
    }

    .cw-field-inline {
        flex-direction: column !important;
    }

    .cw-col-span-2, 
    .cw-col-span-3, 
    .cw-col-span-4 {
        grid-column: 1 / -1 !important;
    }
}

.cw-col-span-2 {
    grid-column: span 2;
}

.cw-col-span-3 {
    grid-column: span 3;
}

.cw-col-span-4 {
    grid-column: span 4;
}

.cw-field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.cw-other-field-wrapper {
    margin-top: 20px;
}

.cw-field-wrapper label {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--cw-text-secondary);
    margin: 0;
}

.cw-field-wrapper:has(input[required]:not([disabled])) label .cw-asterisk-anchor::after,
.cw-field-wrapper:has(select[required]:not([disabled])) label .cw-asterisk-anchor::after {
    content: ' *';
    color: #dc2626;
}

@media (max-width: 768px) {
    .cw-field-wrapper label {
        font-size: 13px;
        font-weight: 600;
    }
}


/* Unit selector */
.cw-unit-selector-group {
    display: flex;
    width: 100%;
    margin-top: 10px;
    gap: 0; 
    isolation: isolate;
}

.cw-unit-option {
    flex: 1;
    cursor: pointer;
}

.cw-unit-option input[type="radio"] {
    position: relative;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    display: block; 
    opacity: 0;
    left: 30%;
    top: 80%;
}

.cw-unit-card {
    background-color: var(--cw-input-bg-color);
    border: 1px solid var(--cw-input-border-color);
    padding: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 0;
    z-index: 1;
}

.cw-unit-option:first-child .cw-unit-card {
    border-top-left-radius: var(--cw-input-border-radius);
    border-bottom-left-radius: var(--cw-input-border-radius);
    border-right: none;
}

.cw-unit-option:last-child .cw-unit-card {
    border-top-right-radius: var(--cw-input-border-radius);
    border-bottom-right-radius: var(--cw-input-border-radius);
}

.cw-unit-option:first-child input[type="radio"]:checked + .cw-unit-card {
    border-right: 1px solid #000;
}

.cw-unit-option:first-child input[type="radio"]:checked + .cw-unit-card .cw-help-icon-trigger {
    color: --var(--cw-arrow-color);
}

.cw-unit-option:first-child input[type="radio"]:checked + .cw-unit-card .cw-help-icon-trigger:hover {
    color: --var(--cw-input-bg-color);
}

.tooltip-item-title {
    font-weight: 600;
}

.tooltip-item-description {
    list-style-type: none;
}

.cw-unit-label {
    font-weight: 700;
    font-size: 14px;
    color: var(--cw-text-secondary);
    letter-spacing: 0.05em;
}

.cw-unit-check-icon {
    display: none;
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.cw-unit-check-icon svg {
    width: 8px;
    height: auto;
}

.cw-unit-option input[type="radio"]:checked + .cw-unit-card {
    background-color: #000;
    border-color: #000;
}

.cw-unit-option input[type="radio"]:checked + .cw-unit-card .cw-unit-label {
    color: #fff;
}

.cw-unit-option input[type="radio"]:checked + .cw-unit-card .cw-unit-check-icon {
    display: flex;
}

.cw-info-trigger {
    cursor: pointer;
    margin-left: 5px;
    transition: opacity 0.2s;
    display: inline-block;
    vertical-align: middle;
    width: 10px;
}

.cw-info-trigger:hover {
    opacity: 1;
}

.cw-wizard-container select {
    border: 1px solid var(--cw-input-border-color);
    border-radius: var(--cw-input-border-radius);
    background-color: var(--cw-input-bg-color);
    font-family: var(--cw-font-family);
    height: 36px;
    color: var(--cw-text-secondary);
    font-size: 12px;
    padding: 0 17px;
    cursor: pointer;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23adadad' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center;
    background-size: 10px 6px;
}

.cw-wizard-container select:focus {
    outline: none;
}

.cw-wizard-container select option {
    background-color: #fff;
    color: var(--cw-text-main);
    padding: 10px;
}

.cw-temp-input-suffix {
    font-weight: 700;
    font-size: 14px;
    color: var(--cw-text-secondary);
    pointer-events: none;
    color: #000;
}

.cw-field-inline {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.cw-field-inline label {
    margin-bottom: 0;
    flex: 1;
}

.cw-input-with-unit {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cw-input-with-unit input {
    width: 44px !important;
    text-align: center;
    font-size: 14px;
    padding: 0 !important;
}

.cw-input-with-unit input::-webkit-outer-spin-button,
.cw-input-with-unit input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Floor width and length */
.cw-sq-footage-container {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: space-between;
}

.cw-sq-footage-container input {
    width: 100%;
}

.cw-range-separator {
    font-weight: 700;
    font-size: 14px;
    color: #A0A0A0;
    margin-top: -2px;
}

.cw-edit-link {
    display: none;
    font-size: 10px;
    font-weight: 700;
    color: #D2D2D2;
    margin-right: 8px;
    margin-top: 5px;
    text-transform: uppercase;
    cursor: pointer;
}

.cw-accordion-item.is-completed .cw-edit-link {
    display: inline-block;
}


/* Walls props */
.cw-walls-global-header {
    margin-bottom: 25px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.cw-divider {
    border: 0;
    border-top: 1px solid var(--cw-step-section-border);
    margin: 20px 0;
}

.cw-wall-block {
    padding-bottom: 30px;
    margin-bottom: 30px;
    position: relative;
    
    /* Bottom border ignoring padding */
    border-bottom: 1px solid #E5E7EB; 
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.cw-wall-block:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cw-wizard-container .cw-wall-title {
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 20px 0;
    padding: 0;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: uppercase;
    font-variant-numeric: normal;
    font-feature-settings: normal;
}

.cw-grid-4-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px !important;
}

.cw-grid-3-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px !important;
    margin-top: 20px;
    background: #fdfdfd;
    border-radius: 5px;
}

.cw-wall-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 34px;
    gap: 33px;
}

.cw-wall-options,
.cw-wall-options * {
    word-break: normal;
    word-wrap: normal;
    overflow-wrap: normal;
}

.cw-wall-options {
    display: flex;
    gap: 20px;
}

.cw-walls-container {
    border: 1px solid var(--cw-step-section-border);
    padding: 20px;
}

.cw-checkbox-label {
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.cw-checkbox-label input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    width: 14px !important;
    min-width: 14px !important;
    height: 14px !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.cw-walls-global-header select {
    width: 70px;
}

.cw-field-group-measurements {
    display: flex;
    gap: 10px;
    grid-column: 1;
}

.cw-field-group-measurements .cw-field-wrapper {
    flex: 1;
    min-width: 0;
}

.cw-field-group-measurements .cw-field-wrapper input {
    /*width: 70px; */
}

@media (max-width: 768px) {
    .cw-field-group-measurements .cw-field-wrapper input {
        width: 48px;
    }
}

/* Help panel */
.cw-help-container {
    background: var(--cw-primary-background-color);
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 20px;
}

@media (max-width: 992px) {
    .cw-help-column {
        display: none !important;
    }
}

.cw-help-title {
    font-size: 14px;
    text-transform: uppercase;
    margin: 0 0 23px;
    color: var(--cw-text-main);
}

.cw-help-title .cw-help-bold-text {
    font-weight: 700;
    margin-bottom: 5px;
}

.cw-video-aspect-ratio {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.cw-video-aspect-ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cw-video-container {
    width: 100%;
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.cw-help-step-content img {
    width: 100%;
}

.cw-help-info-icon {
    display: inline-block;
    vertical-align: middle;
    width: 10px;
    margin-right: 6px;
}

.cw-help-step-content img {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    max-width: 100%;
    height: auto;
}

.cw-help-step-content img:hover {
    cursor: zoom-in;
    transform: scale(1.05); 
    position: relative;
    z-index: 10;
}

/* Step 2 help */
.cw-unit-comparison-table {
    overflow: hidden;
    font-size: 12px;
    font-weight: 700;
}

.cw-unit-table-title {
    background: #000000;
    color: var(--cw-primary-background-color);
    padding: 15px 0;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
}

.cw-unit-table-header {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
}

.cw-unit-table-row > div:last-child {
    border-left: 1px solid var(--cw-input-border-color);
}

.cw-unit-table-row > div:not(:first-child)  {
    border-bottom: 1px solid var(--cw-input-border-color, #E1E1E1);
    padding: 10px;
}

.cw-unit-table-row:last-child > div {
    border-bottom: none;
}

.cw-unit-table-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: center;
    text-align: center;
}

.cw-col-label {
    font-weight: 800;
    font-size: 13px;
    text-align: left;
    padding-left: 10px;
}

.cw-col-group {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.cw-unit-table-body {
    background: #D9D9D9;
}

/* RESULTS */
.cw-results-container {
    margin-top: 40px;
}

.cw-results-section {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 2px 4px 17.1px 0px #00000008;
    overflow: hidden;
}

.cw-results-header {
    background: #1a1a1a;
    color: #fff;
    padding: 15px 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 18px;
    border-radius: 10px;
}

.cw-results-body {
    padding: 45px 27px;
}

.cw-walls-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 27px;
}

@media (max-width: 768px) {
    .cw-walls-row {
        border-top: 1px solid var(--cw-input-border-color);
        padding-top: 20px;
        grid-template-columns: 1fr !important; 
    }
}

.cw-walls-row-details {
    display: flex;
    gap: 12px;
    margin-bottom: 27px;
    justify-content: flex-end;
}

.cw-walls-row-first {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.cw-walls-row-first input {
    width: 100%;
    box-sizing: border-box;
}

.cw-results-grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .cw-results-grid-3-cols {
        grid-template-columns: 1fr !important; 
    }
}

.cw-results-grid-2-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cw-walls-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 27px;
}

.cw-walls-table th {
    text-align: left;
    background: #f8f9fa;
    padding: 10px;
    font-size: 12px;
}

.cw-walls-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

.cw-results-walls-mb-27 {
    margin-bottom: 27px;
}

.cw-results-walls-mb-30 {
    margin-bottom: 30px;
}

.cw-wall-row-number {
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.cw-main-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cw-logo-wrapper {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.cw-logo-wrapper img {
    min-width: 160px;
}

.cw-form-title, .cw-results-title {
    color: var(--cw-primary-color) !important;
    margin: 0 0 31px;
}

.cw-form-title h1, .cw-results-title h1 {
    font-size: 36px;
    font-weight: 700;
    margin: 14px 0 0 !important;
    letter-spacing: -1.6px;
}


.cw-form-title p, .cw-results-title p {
    font-size: 18px;
    font-weight: 400;
    margin: 0;
}

.cw-results-load-advice h4 {
    font-size: 14px;
    font-weight: 500;
    margin-top: 16px;
}

/* Temp Sliders */
.cw-temp-slider {
    -webkit-appearance: none;
    height: 8px !important;
    background: linear-gradient(90deg, #2640E9 0%, #5FC1D7 31.11%, #FFCD06 73.68%, #FF0000 100%) !important;
    border: 0 !important;
    border-radius: 5px;
    outline: none;
}

.cw-temp-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid #4facfe;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cw-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 400;
    color: var(--cw-text-secondary);
}

.cw-temp-slider-container {
    gap: 10px;
}

.cw-wall-temp-container {
    display: grid;
    width: 100%;
    gap: 36px;
}

/* RESULTS BUTTON */
.cw-results-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
    padding-bottom: 50px;
}

.cw-results-actions button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 19px 20px;
    font-weight: 800;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 12px;
    height: 46px;
}

@media (max-width: 768px) {
    .cw-results-actions button {
        gap: 8px;
        padding: 19px 15px;
    }
}

.cw-btn-outline {
    background: transparent;
    border: 1px solid #000;
    color: #000;
}

.cw-btn-outline:hover {
    background: #f4f4f4;
}

.cw-btn-dark {
    background: #000;
    border: 1px solid #000;
    color: #fff;
}

.cw-btn-dark:hover {
    background: #333;
}

@media print {
    /* Hide non form elements */
    header, footer, .admin-bar, .cw-results-actions, .cw-wizard-header {
        display: none !important;
    }

    /* Set content max width */
    .cw-results-layout {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

    /* Force disabled input fields to be shown */
    input[disabled] {
        background: transparent !important;
        color: #000 !important;
        border: 1px solid #eee !important;
        -webkit-print-color-adjust: exact;
    }
}

/* Recommendations */
.cw-system-type-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.cw-type-btn {
    padding: 20px 24px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    color: #999;
    cursor: pointer;
}

@media (max-width: 768px) {
    .cw-type-btn {
        font-size: 12px;
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
        gap: 10px;
    }
}

.cw-type-btn.active {
    background: #1a1a1a;
    color: white;
}

.cw-type-btn.active .cw-info-trigger {
    color: var(--cw-bg-light);
}

.cw-recommendations-grid {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.cw-recommendation-col {
    flex: 1;
}

.cw-runtime-label {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 17px;
    text-transform: uppercase;
}

.cw-equipment-card {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .cw-equipment-card {
        flex-direction: column;
    }
}

.cw-card-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.cw-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cw-card-info .cw-card-btu {
    display: block;
    color: #777;
    font-weight: 500;
    font-size: 14px;
    color: #A5A5A5;
}

.cw-card-info a.cw-view-details {
    text-decoration: none;
    color: inherit;
    display: block;
}

.cw-card-info a.cw-view-details:hover {
    color: inherit; 
    text-decoration: none;
}

.cw-card-info h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--cw-text-secondary);
}

@media (max-width: 768px) {
    .cw-card-info h4 {
        font-size: 14px;
    }
}

.cw-view-details {
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    color: #1a1a1a;
    text-decoration: underline;
    width: 100%;
}

.cw-section-title {
    margin: 45px 0;
    font-size: 18px;
    font-weight: 700;
}

.cw-no-matches {
    font-size: 16px;
    color: #A5A5A5;
}


/* MODAL */
.cw-modal {
    display: none; 
    position: fixed;
    z-index: 10000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    cursor: zoom-out;
}

.cw-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
    background-color: var(--cw-bg-light);
}

.cw-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* HELP ICON TRIGGER */
.cw-help-icon-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    vertical-align: middle;
    color: var(--cw-tooltip-bg-color);
    width: 14px;
    height: 14px;
    margin-left: 1px;
    opacity: 0.75;
    transition: opacity 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
}

.cw-help-icon-trigger:hover,
.cw-help-icon-trigger:focus {
    opacity: 1;
    color: var(--cw-primary-color, #000);
    outline: none;
}

/* HELP SHEET */
.cw-help-sheet-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.35);
}
.cw-help-sheet-overlay.is-open { display: block; }

.cw-help-sheet {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: clamp(300px, 35vw, 480px);
    z-index: 9999;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.cw-help-sheet.is-open { transform: translateX(0); }

.cw-help-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 12px;
    border-bottom: 1px solid var(--cw-input-border-color, #E1E1E1);
    position: sticky;
    top: 0;
    background: #fff;
}

.cw-help-sheet-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--cw-primary-color, #000);
}

.cw-help-sheet-close {
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: var(--cw-gray-inactive, #7296B6);
    padding: 0 0 0 12px;
    flex-shrink: 0;
}
.cw-help-sheet-close:hover { color: var(--cw-primary-color, #000); }

.cw-help-sheet-body {
    padding: 20px 20px 24px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--cw-text-main, #374151);
}
.cw-help-sheet-body ul,
.cw-help-sheet-body ol  { padding-left: 16px; margin: 0 0 8px; }
.cw-help-sheet-body p   { margin: 0 0 8px; }
.cw-help-sheet-body p:last-child { margin-bottom: 0; }

.cw-sheet-intro {
    font-size: 14px;
    margin-bottom: 12px;
}

.cw-sheet-intro ul {
    font-size: 13px;
    padding-left: 16px;
    margin: 0 0 8px;
}

.cw-sheet-details {
    font-size: 13px;
}

/* Mobile: bottom drawer */
@media (max-width: 992px) {
    .cw-help-sheet {
        top: auto;
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 72vh;
        transform: translateY(100%);
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.14);
    }
    .cw-help-sheet.is-open { transform: translateY(0); }
}

/* HELP TOOLTIP */
.cw-help-tooltip {
    display: none;
    position: absolute;
    z-index: 9999;
    background: #fff;
    border: 1px solid var(--cw-input-border-color, #E1E1E1);
    border-radius: 6px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.13);
    padding: 12px 14px;
    max-width: 280px;
    min-width: 160px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--cw-text-main, #374151);
    /*pointer-events: none;*/
}

.cw-asterisk-anchor {
    margin-right: 2px;
}