:root {
    --gfx-primary: #000000;
    --gfx-secondary: #707070;
    --gfx-accent: #0066cc;
    --gfx-background: #ffffff;
    --gfx-border: #dadada;
    --gfx-success: #2ecc71;
    --gfx-error: #e74c3c;
    --gfx-accent-dark: #0052a3;
}

.gfx-calculator-wrapper {
    max-width: 1040px;
    min-height: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    box-sizing: border-box;
}

.gfx-progress {
    height: 6px;
    background-color: #eee;
    margin-bottom: 20px;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.gfx-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #2271b1, #135e96);
    width: 0;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.gfx-calculator-step {
    display: none;
}

.gfx-calculator-step.active {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.gfx-step-content {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    min-height: 400px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.gfx-step-content h2 {
    font-size: 28px;
    color: #2271b1;
    font-weight: 700;
    text-align: center;
    margin: 0 0 15px 0;
}

.gfx-step-description {
    text-align: center;
    color: var(--gfx-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.5;
    font-size: 16px;
}

.xgfx-calculator-step[data-stephr="current-heating"] .gfx-step-description {
    font-size: 20.8px;
    max-width: 700px;
}

.gfx-form-group:not(.gfx-calculator-step[data-stephr="current-heating"] .gfx-form-group) {
    margin-bottom: 20px;
    width: 100%;
}

.gfx-input-wrapper {
    position: relative;
    max-width: 300px;
}

.gfx-input-wrapper input {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.gfx-input-wrapper input:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.1);
}

.gfx-input-suffix {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 16px;
}

.gfx-radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gfx-radio-button {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gfx-radio-button:hover {
    border-color: #2271b1;
    background: #f0f6fc;
}

.gfx-radio-button input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.gfx-radio-button.selected {
    border-color: #2271b1;
    background: #f0f6fc;
}

.gfx-radio-label {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
}

.gfx-radio-description {
    font-size: 14px;
    color: #666;
}

.gfx-button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    padding: 0 20px;
    width: auto;
}

.gfx-button {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
}

.gfx-next-step {
    background: #2271b1;
    color: white;
}

.gfx-next-step:hover {
    background: #135e96;
    transform: translateY(-1px);
}

.gfx-prev-step {
    background: #f0f0f1;
    color: #2c3338;
    margin-right: auto;
}

.gfx-prev-step:hover {
    background: #dcdcde;
    transform: translateY(-1px);
}

.gfx-results-wrapper {
    padding: 20px 0;
}

.gfx-results-loading {
    text-align: center;
    padding: 40px 0;
    display: none;
}

.gfx-calculator-wrapper.gfx-loading .gfx-results-loading {
    display: block;
}

.gfx-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2271b1;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

.gfx-product-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.gfx-product-header {
    display: none;
}

.gfx-product-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}

.gfx-brand-logo {
    max-height: 30px;
    width: auto;
    object-fit: contain;
    margin-bottom: 5px;
}

.gfx-product-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.gfx-product-image {
    flex: 0 0 200px;
    border-radius: 8px;
    overflow: hidden;
}

.gfx-product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gfx-no-image {
    width: 100%;
    height: 200px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-style: italic;
}

.gfx-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gfx-product-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gfx-accent);
    text-decoration: none;
    margin-bottom: 0;
}

.gfx-product-title:hover {
    text-decoration: underline;
}

.gfx-product-details {
    margin-bottom: 20px;
}

.gfx-product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.gfx-price-label {
    font-size: 16px;
    color: var(--gfx-secondary);
}

.gfx-total-price {
    font-size: 24px;
    font-weight: 600;
    color: var(--gfx-primary);
}

.gfx-product-power {
    color: var(--gfx-secondary);
    font-size: 16px;
}

.gfx-product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    flex-wrap: wrap;
}

.gfx-button-primary {
    background: var(--gfx-accent);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.gfx-button-secondary {
    background: white;
    color: var(--gfx-accent);
    border: 2px solid var(--gfx-accent);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.gfx-button-primary:hover,
.gfx-button-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.gfx-loading {
    position: relative;
}

.gfx-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.gfx-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2271b1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 11;
}

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

.error {
    border-color: #dc3232 !important;
}

.gfx-error-message {
    color: #dc3232;
    font-size: 14px;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .gfx-step-content {
        padding: 20px;
    }

    .gfx-button-group {
        flex-direction: column;
    }

    .gfx-button {
        width: 100%;
    }

    .gfx-product-content {
        flex-direction: column;
        gap: 20px;
    }

    .gfx-product-image {
        flex: 0 0 auto;
    }

    .gfx-product-actions {
        flex-direction: column;
    }

    .gfx-button-primary,
    .gfx-button-secondary,
    .gfx-button-outline {
        width: 100%;
        text-align: center;
    }

    .heating-options-container {
        grid-template-columns: 1fr;
    }
}

/* Numeric Input Styling */
.gfx-form-group input[type="number"] {
    width: 100%;
    max-width: 200px;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    -moz-appearance: textfield; /* Remove spinner for Firefox */
}

.gfx-form-group input[type="number"]::-webkit-outer-spin-button,
.gfx-form-group input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.gfx-form-group input[type="number"]:focus {
    outline: none;
    border-color: #2271b1;
}

/* Error States */
.gfx-form-group input.error {
    border-color: #dc3232;
}

.gfx-radio-group.error .gfx-radio-button {
    border-color: #dc3232;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .gfx-radio-group {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

    .gfx-radio-button {
        flex: 1;
        min-width: 200px;
    }
}

/* Summary Step Styles */
.gfx-summary-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.gfx-summary-section {
    margin-bottom: 25px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.gfx-summary-section h3 {
    color: var(--gfx-accent);
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
}

.gfx-info-grid,
.gfx-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.gfx-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.gfx-info-label {
    font-size: 14px;
    color: var(--gfx-secondary);
}

.gfx-info-value {
    font-size: 15px;
    color: var(--gfx-primary);
    font-weight: 500;
}

.gfx-service-item {
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

/* Update existing styles */
.gfx-service-title {
    font-size: 14px;
}

.gfx-check, .gfx-x {
    font-size: 16px;
}

@media (max-width: 768px) {
    .gfx-info-grid,
    .gfx-services-grid {
        grid-template-columns: 1fr;
    }
}

/* Heating Options Specific Styling */
.heating-options {
    flex-direction: row !important;
    justify-content: center;
    gap: 30px !important;
    margin-top: 40px;
}

.heating-options .gfx-radio-button {
    flex: 0 1 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
}

.heating-options .gfx-radio-button:hover {
    border-color: #2271b1;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.heating-options .gfx-radio-button.selected {
    border-color: #2271b1;
    background: white;
}

.heating-options .gfx-radio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.heating-options .gfx-icon {
    width: 40px;
    height: 40px;
    color: #2271b1;
    margin-bottom: 10px;
}

.heating-options .gfx-radio-label {
    font-size: 18px;
    font-weight: 500;
    color: #1F2937;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .heating-options {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .heating-options .gfx-radio-button {
        width: 100%;
        height: auto;
        flex: none;
        padding: 15px;
    }
}

/* Base styles for heating options container */
.heating-options-container {
    /* Common styles shared across all steps */
    display: grid;
    gap: 20px;
    width: 100%;
}

/* Step-specific styles */
.heating-options-container-step1 {
    grid-template-columns: repeat(3, 1fr);
}

.heating-options-container-step2 {
    grid-template-columns: repeat(2, 1fr);
}

.heating-options-container-step3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Specific styles for Step 1 */
.gfx-calculator-step[data-stephr="current-heating"] .heating-options-container {
    justify-content: center;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.gfx-calculator-step[data-stephr="current-heating"] .heating-option {
    flex: 0 0 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 0px;
    border-radius: 0px;
    background: white;
    cursor: pointer;
    box-sizing: border-box;
    padding: 0;
}

.gfx-calculator-step[data-stephr="current-heating"] .heating-option .gfx-radio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    width: 100%;
}

.gfx-calculator-step[data-stephr="current-heating"] .heating-option .gfx-radio-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--gfx-primary);
    text-align: center;
}

/* Debug outline to check if images are loading */
.heating-option .gfx-icon img {
    border: none;
}

/* Responsive breakpoint for mobile devices */
@media screen and (max-width: 768px) {
    .heating-options-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .heating-option {
        flex: 0 0 200px;
        width: 200px;
    }

    .heating-option .gfx-radio-button {
        width: 200px;
        height: 200px;
    }
}

.heating-option .gfx-radio-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--gfx-accent);
}

.heating-option .gfx-radio-button:hover .gfx-icon {
    transform: scale(1.2);
}

.heating-option .gfx-radio-button.selected {
    border-color: var(--gfx-accent);
    background: rgba(0, 102, 204, 0.05);
}

.heating-option .gfx-radio-button.selected .gfx-icon {
    transform: scale(1.1);
}

/* Add a tablet breakpoint to handle medium screens */
@media screen and (min-width: 769px) and (max-width: 900px) {
    .heating-options-container {
        min-width: auto;
        max-width: 100%;
        gap: 15px;
    }
}

/* Tablet breakpoint */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .heating-options-container {
        gap: 20px;
        padding: 0 20px;
    }
}

.gfx-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    width: 100%;
}

.gfx-calculator-title {
    color: var(--gfx-accent);
    font-size: 20px;
    font-weight: 700;
    text-align: right;
}

/* Adjust logo size if needed */
.gfx-logo {
    flex: 0 0 auto;
}

.gfx-logo img {
    xmax-height: 25px;
    width: auto;
}

.gfx-calculator-step[data-stephr="current-heating"] .heating-option .gfx-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    transition: transform 0.3s ease;
}

.gfx-calculator-step[data-stephr="current-heating"] .heating-option .gfx-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: none;
    transition: transform 0.3s ease;
}

/* Specific styles for Step 3 */
.gfx-calculator-step[data-stephr="insulation"] .heating-options-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gfx-calculator-step[data-stephr="insulation"] .heating-option {
    display: flex;
    flex-direction: column;
}

.gfx-calculator-step[data-stephr="insulation"] .gfx-radio-button {
    height: 100%;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.gfx-calculator-step[data-stephr="insulation"] .gfx-radio-button:hover {
    border-color: var(--gfx-accent);
    background: rgba(0, 102, 204, 0.05);
}

.gfx-calculator-step[data-stephr="insulation"] .gfx-radio-button.selected {
    border-color: var(--gfx-accent);
    background: rgba(0, 102, 204, 0.05);
}

.gfx-calculator-step[data-stephr="insulation"] .gfx-radio-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gfx-calculator-step[data-stephr="insulation"] .gfx-radio-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gfx-primary);
    margin: 0;
}

.gfx-calculator-step[data-stephr="insulation"] .gfx-radio-description {
    font-size: 14px;
    line-height: 1.5;
    color: var(--gfx-secondary);
    margin: 0;
}

/* Specific styles for Step 4 */
.gfx-calculator-step[data-stephr="house-size"] .slider-container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    margin: 0 auto;
    box-sizing: border-box;
}

.gfx-calculator-step[data-stephr="house-size"] .slider-value {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: var(--gfx-primary);
    margin-bottom: 30px;
}

.gfx-calculator-step[data-stephr="house-size"] .unit {
    font-size: 24px;
    color: var(--gfx-secondary);
    margin-left: 5px;
}

.gfx-calculator-step[data-stephr="house-size"] .gfx-slider {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    margin: 20px 0;
    box-sizing: border-box;
}

.gfx-calculator-step[data-stephr="house-size"] .gfx-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--gfx-accent);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gfx-calculator-step[data-stephr="house-size"] .gfx-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--gfx-accent);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.gfx-calculator-step[data-stephr="house-size"] .gfx-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.3);
}

.gfx-calculator-step[data-stephr="house-size"] .slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: var(--gfx-secondary);
    font-size: 14px;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Specific styles for Step 5 */
.gfx-calculator-step[data-stephr="installation-offer"] .heating-options-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.gfx-calculator-step[data-stephr="installation-offer"] .heating-option {
    display: flex;
    flex-direction: column;
}

.gfx-calculator-step[data-stephr="installation-offer"] .gfx-radio-button {
    height: 100%;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.gfx-calculator-step[data-stephr="installation-offer"] .gfx-radio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.gfx-calculator-step[data-stephr="installation-offer"] .gfx-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.gfx-calculator-step[data-stephr="installation-offer"] .icon-close {
    color: #e74c3c; /* Red color for close icon */
}

.gfx-calculator-step[data-stephr="installation-offer"] .icon-check {
    color: #2ecc71; /* Green color for check icon */
}

.gfx-calculator-step[data-stephr="installation-offer"] .gfx-radio-button:hover {
    border-color: var(--gfx-accent);
    background: rgba(0, 102, 204, 0.05);
    transform: translateY(-2px);
}

.gfx-calculator-step[data-stephr="installation-offer"] .gfx-radio-button.selected {
    border-color: var(--gfx-accent);
    background: rgba(0, 102, 204, 0.05);
}

/* Additional styles for Step 6 */
.gfx-calculator-step[data-stephr="old-removal"] .info-box {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gfx-calculator-step[data-stephr="old-removal"] .info-icon {
    color: var(--gfx-accent);
    flex-shrink: 0;
}

.gfx-calculator-step[data-stephr="old-removal"] .info-content {
    flex-grow: 1;
}

.gfx-calculator-step[data-stephr="old-removal"] .info-content p {
    margin: 0;
    line-height: 1.5;
}

.gfx-calculator-step[data-stephr="old-removal"] .savings-amount {
    color: var(--gfx-success);
    font-size: 24px;
    font-weight: 700;
    margin-top: 10px !important;
    text-align: center;
}

/* Inherit styles from Step 5 for the radio options */
.gfx-calculator-step[data-stephr="old-removal"] .heating-options-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.gfx-calculator-step[data-stephr="old-removal"] .heating-option {
    display: flex;
    flex-direction: column;
}

.gfx-calculator-step[data-stephr="old-removal"] .gfx-radio-button {
    height: 100%;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gfx-calculator-step[data-stephr="old-removal"] .gfx-radio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.gfx-calculator-step[data-stephr="old-removal"] .gfx-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.gfx-calculator-step[data-stephr="old-removal"] .icon-close {
    color: #e74c3c;
}

.gfx-calculator-step[data-stephr="old-removal"] .icon-check {
    color: #2ecc71;
}

.gfx-calculator-step[data-stephr="old-removal"] .gfx-radio-button:hover {
    border-color: var(--gfx-accent);
    background: rgba(0, 102, 204, 0.05);
    transform: translateY(-2px);
}

.gfx-calculator-step[data-stephr="old-removal"] .gfx-radio-button.selected {
    border-color: var(--gfx-accent);
    background: rgba(0, 102, 204, 0.05);
}

/* Inherit styles from Step 6 for Step 7 */
.gfx-calculator-step[data-stephr="electrical"] .heating-options-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.gfx-calculator-step[data-stephr="electrical"] .heating-option {
    display: flex;
    flex-direction: column;
}

.gfx-calculator-step[data-stephr="electrical"] .gfx-radio-button {
    height: 100%;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gfx-calculator-step[data-stephr="electrical"] .gfx-radio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.gfx-calculator-step[data-stephr="electrical"] .gfx-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.gfx-calculator-step[data-stephr="electrical"] .icon-close {
    color: #e74c3c;
}

.gfx-calculator-step[data-stephr="electrical"] .icon-check {
    color: #2ecc71;
}

.gfx-calculator-step[data-stephr="electrical"] .gfx-radio-button:hover {
    border-color: var(--gfx-accent);
    background: rgba(0, 102, 204, 0.05);
    transform: translateY(-2px);
}

.gfx-calculator-step[data-stephr="electrical"] .gfx-radio-button.selected {
    border-color: var(--gfx-accent);
    background: rgba(0, 102, 204, 0.05);
}

.gfx-calculator-step[data-stephr="electrical"] .info-box {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gfx-calculator-step[data-stephr="electrical"] .info-icon {
    color: var(--gfx-accent);
    flex-shrink: 0;
}

.gfx-calculator-step[data-stephr="electrical"] .info-content {
    flex-grow: 1;
}

.gfx-calculator-step[data-stephr="electrical"] .info-content p {
    margin: 0;
    line-height: 1.5;
}

.gfx-calculator-step[data-stephr="electrical"] .savings-amount {
    color: var(--gfx-success);
    font-size: 24px;
    font-weight: 700;
    margin-top: 10px !important;
    text-align: center;
}

/* Inherit styles from Step 7 for Step 8 */
.gfx-calculator-step[data-stephr="disposal"] .heating-options-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.gfx-calculator-step[data-stephr="disposal"] .heating-option {
    display: flex;
    flex-direction: column;
}

.gfx-calculator-step[data-stephr="disposal"] .gfx-radio-button {
    height: 100%;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gfx-calculator-step[data-stephr="disposal"] .gfx-radio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.gfx-calculator-step[data-stephr="disposal"] .gfx-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.gfx-calculator-step[data-stephr="disposal"] .icon-close {
    color: #e74c3c;
}

.gfx-calculator-step[data-stephr="disposal"] .icon-check {
    color: #2ecc71;
}

.gfx-calculator-step[data-stephr="disposal"] .gfx-radio-button:hover {
    border-color: var(--gfx-accent);
    background: rgba(0, 102, 204, 0.05);
    transform: translateY(-2px);
}

.gfx-calculator-step[data-stephr="disposal"] .gfx-radio-button.selected {
    border-color: var(--gfx-accent);
    background: rgba(0, 102, 204, 0.05);
}

.gfx-calculator-step[data-stephr="disposal"] .info-box {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gfx-calculator-step[data-stephr="disposal"] .info-icon {
    color: var(--gfx-accent);
    flex-shrink: 0;
}

.gfx-calculator-step[data-stephr="disposal"] .info-content {
    flex-grow: 1;
}

.gfx-calculator-step[data-stephr="disposal"] .info-content p {
    margin: 0;
    line-height: 1.5;
}

.gfx-calculator-step[data-stephr="disposal"] .savings-amount {
    color: var(--gfx-success);
    font-size: 24px;
    font-weight: 700;
    margin-top: 10px !important;
    text-align: center;
}

.gfx-required-power {
    text-align: center;
    background: #f0f6fc;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.gfx-required-power-label {
    color: var(--gfx-secondary);
    font-size: 16px;
    margin-bottom: 8px;
}

.gfx-required-power-value {
    color: var(--gfx-primary);
    font-size: 32px;
    font-weight: 700;
}

/* Add new button style */
.gfx-button-outline {
    background: white;
    color: var(--gfx-accent);
    border: 2px solid var(--gfx-accent);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.gfx-button-outline:hover {
    background: rgba(0, 102, 204, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.gfx-button-group-primary {
    display: flex;
    gap: 12px;
    margin-left: auto;
}

@media (max-width: 768px) {
    .gfx-button-group-primary {
        width: 100%;
        flex-direction: column;
    }
}

.gfx-lead-form-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}

.gfx-lead-form-popup.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gfx-lead-form-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    position: relative;
}

.gfx-close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

.gfx-lead-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gfx-form-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gfx-form-field label {
    font-weight: 500;
    color: var(--gfx-primary);
}

.gfx-form-field input,
.gfx-form-field textarea {
    padding: 10px;
    border: 1px solid var(--gfx-border);
    border-radius: 6px;
    font-size: 16px;
}

.gfx-form-field input:focus,
.gfx-form-field textarea:focus {
    outline: none;
    border-color: var(--gfx-accent);
}

.gfx-restart-calc {
    background: var(--gfx-accent);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
    margin: 0 auto;
    display: block;
}

.gfx-restart-calc:hover {
    background: var(--gfx-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.gfx-price-breakdown,
.gfx-base-price {
    display: none;
}

.gfx-summary-btn {
    background: var(--gfx-accent);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px auto 30px;
    min-width: 200px;
    display: block;
}

.gfx-summary-btn:hover {
    background: var(--gfx-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.gfx-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.gfx-service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    gap: 10px;
}

.gfx-service-title {
    font-weight: 500;
    color: var(--gfx-primary);
}

.gfx-check {
    color: var(--gfx-success);
    font-size: 20px;
    font-weight: bold;
}

.gfx-x {
    color: var(--gfx-error);
    font-size: 20px;
    font-weight: bold;
}

.gfx-summary-section {
    margin-bottom: 30px;
}

.gfx-summary-section h3 {
    color: var(--gfx-accent);
    margin-bottom: 15px;
    font-size: 20px;
}

.gfx-summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gfx-summary-list li {
    margin-bottom: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

/* Remove these styles if they exist */
.gfx-calculator-header,
.gfx-calculator-logo,
.gfx-calculator-title {
    display: none;
}

/* Add both standard and vendor-prefixed versions */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Step 2 specific styles */
.gfx-calculator-step[data-stephr="house-age"] .gfx-radio-content {
    text-align: center;
}

.gfx-calculator-step[data-stephr="house-age"] .heating-options-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 700px;
    margin: 30px auto;
}

/* Mobile responsiveness for step 2 */
@media (max-width: 768px) {
    .gfx-calculator-step[data-stephr="house-age"] .heating-options-container {
        grid-template-columns: 1fr;  /* Switch to single column on mobile */
    }
}

.gfx-address-lookup {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.gfx-address-input {
    width: calc(100% - 34px);
    padding: 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 428px;
}

.gfx-address-input:focus {
    border-color: var(--gfx-accent);
    outline: none;
}

.gfx-address-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
}

.gfx-address-suggestion {
    padding: 12px 15px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.gfx-address-suggestion:hover {
    background: rgba(0, 102, 204, 0.05);
}

.gfx-next-step.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    background: #cccccc;
}

.gfx-next-step:not(.disabled):hover {
    background: #135e96;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .heating-options-container {
        grid-template-columns: 1fr !important;
        gap: 15px;
        margin: 20px auto;
    }

    .heating-option {
        width: 100%;
    }

    .heating-option .gfx-radio-button {
        min-height: 70px;
        padding: 15px;
    }

    .heating-option .gfx-radio-button:not(.gfx-calculator-step[data-stephr="current-heating"] .heating-option .gfx-radio-button) {
		width: calc(100% - 44px);
	}

    .gfx-radio-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .gfx-step-content {
        padding: 20px 15px;
    }

    .gfx-step-title {
        font-size: 24px;
    }

    .gfx-step-description {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .gfx-calculator-step[data-stephr="house-age"] .heating-option .gfx-radio-button {
		min-height: unset !important;
        height: 24px !important;
        padding: 12px !important;
    }

    .gfx-calculator-step[data-stephr="house-age"] .gfx-radio-content {
        padding: 0;
    }

    .gfx-product-actions {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 10px;
    }

    .gfx-button-primary:not(.gfx-lead-form-popup .gfx-button-primary),
    .gfx-button-secondary,
    .gfx-button-outline {
        width: calc(100% - 20px) !important;
        min-width: unset !important;
        padding: 10px !important;
        text-align: center;
        font-size: 14px;
    }

    .gfx-button-primary {
		border: 2px solid var(--gfx-accent);
	}

	.gfx-address-input {
		min-width: unset;
	}

	.gfx-product-info {
		width: 100%;
	}

	.gfx-total-price {
		font-size: 20px;
	}
}
