:root {
    --primary-blue: #0f2a3d;
    --accent-yellow: #f0a030;
    --text-dark: #1a1a2e;
    --text-muted: #666666;
    --border-light: #d1d1d1;
    --bg-light: #f5f7fa;
    --bg-card: #f9f9f9;
    --bg-white: #ffffff;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
}

html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
}

/* Site header */
.site-header {
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 200;
    width: 100%;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px;
    min-width: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    min-width: 0;
}

.logo-container img {
    display: block;
    height: 32px;
    width: auto;
    max-width: min(140px, 42vw);
    object-fit: contain;
}

.nav-toggle-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-toggle-label {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 8px;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    background: var(--bg-white);
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 1;
    min-width: 0;
}

.site-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
    padding: 10px;
    white-space: nowrap;
}

.site-nav a:hover {
    color: var(--primary-blue);
}

@media (min-width: 768px) {
    .header-inner {
        padding: 15px 20px;
    }

    .logo-container img {
        height: 38px;
        max-width: 160px;
    }

    .site-nav {
        gap: 32px;
    }

    .site-nav a {
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    .nav-toggle-label {
        display: flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 16px 12px;
        background: var(--bg-white);
        border-bottom: 1px solid var(--border-light);
        box-shadow: 0 8px 16px rgb(0 0 0 / 6%);
        z-index: 100;
    }

    .site-nav a {
        padding: 10px 0;
        font-size: 14px;
        border-bottom: 1px solid var(--border-light);
    }

    .site-nav a:last-child {
        border-bottom: none;
    }

    .nav-toggle-input:checked~.site-nav {
        display: flex;
    }

    .nav-toggle-input:checked+.nav-toggle-label .nav-toggle-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle-input:checked+.nav-toggle-label .nav-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle-input:checked+.nav-toggle-label .nav-toggle-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* Site footer — left: icons + label | right: product + price */
.site-footer {
    flex-shrink: 0;
    width: 100%;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
}

.site-footer__inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    min-width: 0;
}

.site-footer__left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    min-width: 0;
}

.site-footer__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--text-dark);
    cursor: pointer;
    flex-shrink: 0;
}

.site-footer__icon-btn:hover {
    color: var(--primary-blue);
}

.site-footer__icon {
    width: 20px;
    height: 20px;
    display: block;
}

.site-footer__label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
}

.site-footer__right {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 16px 24px;
    min-width: 0;
    flex: 1 1 auto;
}

.site-footer__product {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
    text-align: left;
}

.site-footer__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.25;
}

.site-footer__note {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.35;
}

.site-footer__price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-blue);
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1;
}

@media (max-width: 767px) {
    .site-footer__inner {
        padding: 12px 16px;
        gap: 12px 16px;
        flex-wrap: wrap;
    }

    .site-footer__label {
        font-size: 12px;
    }

    .site-footer__right {
        flex: 1 1 auto;
        gap: 12px 16px;
    }

    .site-footer__title {
        font-size: 13px;
    }

    .site-footer__note {
        font-size: 10px;
    }

    .site-footer__price {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .site-footer__inner {
        padding: 10px 12px;
        gap: 10px;
        align-items: center;
    }

    .site-footer__left {
        flex: 0 1 auto;
        max-width: 100%;
    }

    .site-footer__label {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .site-footer__right {
        flex: 1 1 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .site-footer__product {
        flex: 1 1 auto;
        min-width: 0;
    }

    .site-footer__title {
        font-size: 12px;
    }

    .site-footer__note {
        font-size: 9px;
        line-height: 1.3;
    }

    .site-footer__price {
        font-size: 18px;
    }
}

/* Scrollable main area — full width so scrollbar sits at viewport edge */
.site-main {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.main-scroll {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Configurator Layout Split */
.container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 25px;
    width: 100%;
}

@media (min-width: 768px) {
    .container {
        flex-direction: row;
        align-items: flex-start;
        gap: 32px;
        padding: 40px 20px 32px;
    }

    .hero-panel {
        flex: 0 0 52%;
        width: 52%;
        max-width: 52%;
        min-width: 52%;
        position: sticky;
        top: 20px;
    }

    .wizard-panel {
        flex: 1 1 0;
        min-width: 0;
        width: 0;
    }
}

/* Left Side Sticky Visual Hero Images */
.hero-panel {
    width: 100%;
    flex-shrink: 0;
}

.hero-panel__frame {
    position: relative;
    width: 100%;
    height: 480px;
    min-height: 480px;
    max-height: 480px;
    overflow: hidden;
    background: #f0f0f0;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    visibility: hidden;
    z-index: 0;
}

.hero-image.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

@media (max-width: 767px) {
    .container {
        padding: 16px;
        gap: 16px;
    }

    .hero-panel__frame {
        height: 220px;
        min-height: 200px;
        max-height: 220px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 12px;
        gap: 12px;
    }

    .hero-panel__frame {
        height: 180px;
        min-height: 160px;
        max-height: 180px;
    }
}/* Step Section Wizard Containers */
.step-view {
    display: none;
}

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

.headline {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--primary-blue);
}

.step-6-subheadline {
    font-size: 20px;
    line-height: 1;
    margin-bottom: 18px;
    color: var(--primary-blue);
}

.headline span,
.step-6-subheadline span {
    color: var(--accent-yellow);
}

/* All step options — shared hover transition */
.option-card,
.sub-card,
.product-item,
.qty-btn,
#step-3 .spec-card,
.spec-item-box,
.icon-option-card,
#step-6 .floor-option-card {
    transition:
        border-color 0.2s ease-in-out,
        background-color 0.2s ease-in-out,
        color 0.2s ease-in-out,
        box-shadow 0.2s ease-in-out;
}

.option-card:hover:not(.active-blue),
.sub-card:hover:not(.active),
.product-item:hover:not(.active-blue):not(.active),
.qty-btn:hover:not(.active),
#step-3 .spec-card:hover:not(.active-blue),
.spec-item-box:hover:not(.active),
.icon-option-card:hover:not(.active),
#step-6 .floor-option-card:hover:not(.active) {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgb(15 42 61 / 10%);
}

.sub-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: -15px;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Options Selection Structures */
.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.grid-3x1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.flex-row-options {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.flex-row-options .option-card {
    flex: 1;
}

.option-card {
    position: relative;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    padding: 16px 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    background: white;
}

.option-card.active-blue {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.option-card__label {
    width: 100%;
    text-align: center;
    line-height: 1.2;
}

.option-card__icon {
    position: absolute;
    right: 14px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.option-card__icon--info {
    border: none;
    border-radius: 0;
    color: #b5b5b5;
    font-size: 0;
    line-height: 0;
}

.option-card__icon--info svg {
    display: block;
    width: 24px;
    height: 24px;
}

.option-card__icon--check {
    color: var(--accent-yellow);
}

.option-card__icon--check svg {
    display: block;
    width: 24px;
    height: 24px;
}

.info-circle {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 0;
    color: #b5b5b5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-circle svg {
    display: block;
    width: 24px;
    height: 24px;
}

.checkmark-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--accent-yellow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.checkmark-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

/* Custom Inner Nested Row Blocks */
.nested-sub-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.sub-card {
    border: 2px solid var(--border-light);
    border-radius: 6px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    background: white;
}

.sub-card.active {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.sub-card span {
    font-size: 10px;
    font-weight: 400;
    display: block;
    margin-top: 2px;
    opacity: 0.8;
}

/* Product Panel Flex Columns */
.product-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.product-item {
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    cursor: pointer;
}

.product-item.active {
    border: 2px solid var(--primary-blue);
}

.product-info-left h3 {
    font-size: 14px;
    font-weight: 700;
}

.product-info-left p {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Step 2 — solar panel & quantity */
#step-2 .product-list {
    gap: 14px;
    margin-bottom: 22px;
}

#step-2 .product-item {
    position: relative;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    padding: 16px 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    background: white;
}

#step-2 .product-item:hover:not(.active-blue) {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgb(15 42 61 / 10%);
}

#step-2 .product-item.active-blue {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

#step-2 .product-item__content {
    width: 100%;
    text-align: center;
}

#step-2 .product-item__title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

#step-2 .product-item__spec {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.3;
}

#step-2 .product-item.active-blue .product-item__spec {
    color: white;
    opacity: 0.9;
}

#step-2 .product-item .option-card__icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}

#step-2 .quantity-selector {
    gap: 16px;
    margin-bottom: 24px;
}

#step-2 .qty-btn {
    flex: 1;
    min-height: 52px;
    max-height: 58px;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    padding: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: white;
    font-weight: 700;
    font-size: 18px;
}

#step-2 .qty-btn:hover:not(.active) {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgb(15 42 61 / 10%);
}

#step-2 .qty-btn.active {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

#step-2 .qty-btn__value {
    line-height: 1;
}

#step-2 .qty-btn__check {
    display: none;
    width: 18px;
    height: 18px;
    color: var(--accent-yellow);
    flex-shrink: 0;
}

#step-2 .qty-btn__check svg {
    display: block;
    width: 18px;
    height: 18px;
}

#step-2 .qty-btn.active .qty-btn__check {
    display: block;
}

#step-2 .step-2-price {
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid var(--border-light);
    align-items: flex-end;
}

#step-2 .price-big {
    font-size: 28px;
    line-height: 1;
}

/* Step 3 — storage selection */
#step-3 .spec-card-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#step-3 .spec-card {
    position: relative;
    display: flex;
    gap: 14px;
    align-items: stretch;
    padding: 8px;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    background: white;
    cursor: pointer;
}

#step-3 .spec-card.active-blue {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

#step-3 .spec-card__media {
    width: 72px;
    min-height: 72px;
    max-width: 110px;
    align-self: stretch;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3a4852;
    box-sizing: border-box;
    border: 2px solid transparent;
    padding: 4px;
    flex: 1;
}

#step-3 .spec-card.active-blue .spec-card__media {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

#step-3 .spec-card__media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: contain;
    display: block;
}

#step-3 .spec-card__body {
    flex: 1;
    min-width: 0;
    padding-right: 4px;
}

#step-3 .spec-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

#step-3 .spec-card__title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    flex: 1;
}

#step-3 .spec-card__header .option-card__icon {
    position: static;
    top: auto;
    right: auto;
    transform: none;
    flex-shrink: 0;
}

#step-3 .spec-card__features {
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-muted);
    padding-left: 14px;
    margin: 0 0 10px;
    text-align: left;
}

#step-3 .spec-card.active-blue .spec-card__features {
    color: white;
    opacity: 0.95;
}

#step-3 .spec-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

#step-3 .spec-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    background: #ececec;
    color: var(--text-dark);
}

#step-3 .spec-card.active-blue .spec-card__badge {
    background: white;
    color: var(--text-dark);
}

#step-3 .spec-card__badge-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

#step-3 .spec-card__price {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
}

#step-3 .spec-card.active-blue .spec-card__price {
    color: white;
}

/* Quantity Square Selector Numbers */
.quantity-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.qty-btn {
    flex: 1;
    border: 1px solid var(--border-light);
    padding: 12px;
    text-align: center;
    font-weight: 700;
    border-radius: 4px;
    background: white;
    cursor: pointer;
}

.qty-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* Informational Side Description Box Panels */
.info-desc-box {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.info-box-pics {
    width: 88px;
    flex-shrink: 0;
}

.info-box-pics img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    object-fit: cover;
}

.info-box-details {
    font-size: 11px;
    color: var(--text-dark);
    line-height: 1.4;
}

/* Technical Specs Component Box (Step 3) */
.spec-item-box {
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 14px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: white;
    margin-bottom: 12px;
    cursor: pointer;
}

.spec-item-box.active {
    border: 2px solid var(--primary-blue);
}

.spec-icon-placeholder {
    width: 50px;
    height: 50px;
    background: #ccc;
    border-radius: 4px;
    flex-shrink: 0;
}

.spec-body {
    flex-grow: 1;
}

.spec-title-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
}

.spec-title-row span {
    color: var(--primary-blue);
}

.spec-details-list {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
    padding-left: 12px;
}

/* Cart Summary & Checkouts */
.cart-summary-block {
    border-top: 1px solid var(--border-light);
    padding-top: 15px;
    margin-top: 15px;
}

.cart-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.cart-item-desc {
    font-size: 13px;
    font-weight: 700;
    margin-top: 4px;
}

.cart-list-subitems {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    padding-left: 12px;
}

.total-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 700;
}

.price-big {
    font-size: 26px;
    font-weight: 800;
}

/* Form Controls */
.form-desc-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 12px;
    margin-bottom: 8px;
}

/* Icon Grid Box Controls */
.icon-grid-select {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.icon-option-card {
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 15px 5px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    background: white;
}

.icon-option-card.active {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.icon-placeholder-box {
    width: 24px;
    height: 24px;
    background: #ddd;
    margin: 0 auto 8px auto;
    border-radius: 3px;
}

.icon-option-card.active .icon-placeholder-box {
    background: white;
}

/* Action Form Navigation Buttons */
.btn-primary-action {
    width: 100%;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 15px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    margin-top: 15px;
}

.btn-primary-action:hover {
    background: #1a3a52;
}

.eqoh-wizard-navigation {
    margin-top: 32px;
}

.eqoh-wizard-navigation__row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 15px;
}

.eqoh-wizard-navigation__row #prevBtn {
    order: 1;
}

.eqoh-wizard-navigation__row #nextBtn {
    order: 2;
    flex: 1;
}

.eqoh-wizard-navigation__row #cartBtn {
    order: 3;
}

/* Step 8 — desktop: back left, cart right */
.eqoh-wizard-navigation__row--summary #prevBtn {
    order: 1;
    flex: none;
}

.eqoh-wizard-navigation__row--summary #cartBtn {
    order: 2;
    flex: 1;
}

.btn-secondary {
    flex-shrink: 0;
    padding: 16px 32px;
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-secondary:hover {
    border-color: var(--primary-blue);
}

.btn-next {
    flex: 1;
    padding: 16px 32px;
    background: #3cb878;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-next:hover {
    background: #34a56a;
    box-shadow: 0 4px 12px rgb(60 184 120 / 35%);
}

.btn-prev-hidden {
    display: none !important;
}

.btn-next-hidden {
    display: none !important;
}

.btn-cart-action {
    flex: 1;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    background: #3cb878;
    color: white;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-cart-action:hover {
    background: #34a56a;
    box-shadow: 0 4px 12px rgb(60 184 120 / 35%);
}

.btn-cart-action:not(.btn-cart-hidden) {
    display: inline-flex;
}

.btn-cart-action__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* Price & cart labels */
.price-summary-title {
    font-size: 15px;
    font-weight: 700;
}

.price-summary-note {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 400;
}

.cart-total-title {
    font-size: 13px;
    font-weight: 700;
}

.cart-total-note {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 400;
}

/* Option group blocks (step 4) */
.option-group-block {
    margin-bottom: 15px;
}

.option-group-title {
    font-size: 13px;
    font-weight: 700;
}

.option-group-desc {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.option-card-muted {
    padding-left: 16px;
    padding-right: 16px;
    color: var(--text-muted);
}

/* Step 4 — cable lengths */
#step-4 .option-group-block {
    margin-bottom: 22px;
}

#step-4 .option-group-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

#step-4 .option-group-desc {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

#step-4 .cable-options-row {
    display: grid;
    gap: 12px;
}

#step-4 .cable-options-row--ac {
    grid-template-columns: repeat(3, 1fr);
}

#step-4 .cable-options-row--mc4 {
    grid-template-columns: repeat(5, 1fr);
}

#step-4 .cable-mc4-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#step-4 .option-card {
    position: relative;
    border-radius: 10px;
    min-height: 50px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
}

#step-4 .option-card__label {
    white-space: nowrap;
}

#step-4 .option-card__icon {
    top: 50%;
    bottom: auto;
    right: 10px;
    transform: translateY(-50%);
}

#step-4 .option-card--wide {
    width: 100%;
}

@media (max-width: 720px) {
    #step-4 .cable-options-row--mc4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    #step-4 .cable-options-row--ac {
        grid-template-columns: 1fr;
    }

    #step-4 .cable-options-row--mc4 {
        grid-template-columns: repeat(2, 1fr);
    }

    #step-4 .option-card {
        padding: 12px 10px;
        font-size: 13px;
    }
}

/* Step copy */
.step-support-text {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: -10px;
    margin-bottom: 15px;
}

/* Step 6 — installation & cart */
#step-6 .step-support-text {
    font-size: 11px;
    line-height: 1.5;
    color: var(--text-muted);
    margin-top: -6px;
    margin-bottom: 20px;
}

#step-6 .step-support-text strong {
    font-weight: 700;
    color: var(--text-dark);
}

#step-6 .install-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}

#step-6 .install-options .option-card {
    min-height: 64px;
    border-radius: 10px;
    padding: 16px 40px 16px 16px;
}

#step-6 .install-options .option-card__icon {
    top: 50%;
    bottom: auto;
    right: 14px;
    transform: translateY(-50%);
}

#step-6 .cart-summary-block {
    border-top: 1px solid var(--border-light);
    padding-top: 18px;
    margin-top: 0;
}

#step-6 .cart-summary-header {
    margin-bottom: 10px;
}

#step-6 .cart-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

#step-6 .cart-summary-body {
    margin-bottom: 0;
}

#step-6 .cart-summary-left {
    flex: 1;
    min-width: 0;
}

#step-6 .cart-item-desc {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text-dark);
}

#step-6 .cart-list-heading {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 4px;
}

#step-6 .cart-list-subitems {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.45;
    padding-left: 14px;
    margin: 0;
}

#step-6 .cart-summary-right {
    flex-shrink: 0;
    text-align: right;
}

#step-6 .price-big {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
}

#step-6 .cart-total-note {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 4px;
    white-space: nowrap;
}

#step-6 .btn-primary-action {
    border-radius: 10px;
    margin-top: 0;
    padding: 16px;
}

.step-6-panel--hidden {
    display: none;
}

#step-6-panel-ja .form-desc-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 0;
    margin-bottom: 6px;
}

#step-6-panel-ja .form-hint-text {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 0;
    margin-bottom: 18px;
}

#step-6 .floor-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

#step-6 .floor-option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 110px;
    padding: 16px 10px;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    background: white;
    cursor: pointer;
    text-align: center;
}

#step-6 .floor-option-card.active {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

#step-6 .floor-option-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 40px;
    color: var(--text-dark);
}

#step-6 .floor-option-card__icon svg {
    width: 100%;
    height: 100%;
}

#step-6 .floor-option-card.active .floor-option-card__icon {
    color: white;
}

#step-6 .floor-option-card__label {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

#step-6 .floor-option-card.active .floor-option-card__label {
    color: white;
}

@media (max-width: 640px) {
    #step-6 .floor-options {
        grid-template-columns: 1fr;
    }

    #step-6 .floor-option-card {
        min-height: 88px;
        flex-direction: row;
        justify-content: flex-start;
        padding: 14px 16px;
        gap: 14px;
    }
}

.form-hint-text {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: -5px;
}

/* Step 7 — installation date & notes */
#step-7 .install-schedule-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#step-7 .form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#step-7 .form-field__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-blue);
}

#step-7 .form-field__date-wrap {
    position: relative;
    display: block;
}

#step-7 .form-field__input--date {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 14px 48px 14px 16px;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    color: var(--primary-blue);
    background: var(--bg-white);
    min-height: 52px;
    line-height: 1.2;
    cursor: pointer;
    pointer-events: none;
    transition:
        border-color 0.2s ease-in-out,
        box-shadow 0.2s ease-in-out;
}

#step-7 .form-field__input--date::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

#step-7 .form-field__input--date:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgb(15 42 61 / 8%);
}

#step-7 .form-field__date-wrap:hover .form-field__input--date:not(:focus) {
    border-color: var(--primary-blue);
}

#step-7 .form-field__date-native {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    color-scheme: light;
}

#step-7 .form-field__date-native::-webkit-calendar-picker-indicator {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}

#step-7 .form-field__date-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition:
        color 0.2s ease-in-out,
        background-color 0.2s ease-in-out;
}

#step-7 .form-field__date-btn svg {
    width: 22px;
    height: 22px;
    display: block;
}

#step-7 .form-field__date-btn:hover {
    color: var(--primary-blue);
    background: rgb(15 42 61 / 6%);
}

#step-7 .form-field__date-btn:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

#step-7 .form-field__textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--bg-white);
    resize: vertical;
    min-height: 140px;
    line-height: 1.45;
    transition:
        border-color 0.2s ease-in-out,
        box-shadow 0.2s ease-in-out;
}

#step-7 .form-field__textarea::placeholder {
    color: var(--text-muted);
}

#step-7 .form-field__textarea:hover:not(:focus) {
    border-color: var(--primary-blue);
}

#step-7 .form-field__textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgb(15 42 61 / 8%);
}

/* Step 8 — configuration summary */
#step-8 .config-summary-card {
    border: 1px solid var(--border-light);
    border-radius: 10px;
    background: var(--bg-white);
    padding: 20px 22px;
}

#step-8 .config-summary-card__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

#step-8 .config-summary-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

#step-8 .config-summary-list__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
    line-height: 1.4;
}

#step-8 .config-summary-list__row:last-child {
    border-bottom: none;
}

#step-8 .config-summary-list__label {
    font-weight: 400;
    color: var(--text-muted);
    flex-shrink: 0;
}

#step-8 .config-summary-list__value {
    font-weight: 700;
    color: var(--primary-blue);
    text-align: right;
}

#step-8 .config-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

#step-8 .config-summary-total__label {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-blue);
}

#step-8 .config-summary-total__right {
    text-align: right;
}

#step-8 .config-summary-total__price {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary-blue);
}

#step-8 .config-summary-total__note {
    font-size: 10px;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Step 1 & 5 — roof selection (reference design) */
#step-1 .step-1-grid,
#step-5 .step-1-grid {
    gap: 14px;
    margin-bottom: 14px;
}

#step-1 .option-card,
#step-5 .option-card {
    border-radius: 10px;
    padding: 16px 44px;
    font-size: 14px;
    min-height: 54px;
}

#step-1 .option-card__icon,
#step-5 .option-card__icon {
    right: 16px;
}

#step-1 .nested-sub-row,
#step-5 .nested-sub-row {
    gap: 14px;
    margin-bottom: 14px;
}

#step-1 .sub-card,
#step-5 .sub-card {
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 14px;
}

#step-1 .info-desc-box {
    align-items: flex-start;
}

#step-1 .info-box-details {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.5;
    opacity: 0.95;
}

#step-1 .info-box-pics,
#step-5 .info-box-pics {
    width: 96px;
}

#step-1 .info-box-pics img,
#step-5 .info-box-pics img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

#step-1 .info-box-thumb {
    width: 100%;
    min-height: 72px;
    background: #e8e8e8;
    border-radius: 4px;
}

/* Mobile — reduced type, spacing, and touch targets */
@media (max-width: 767px) {
    .headline {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .step-6-subheadline {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .grid-2x2,
    .grid-3x1 {
        gap: 8px;
        margin-bottom: 12px;
    }

    .option-card {
        padding: 11px 34px;
        min-height: 44px;
        font-size: 12px;
        border-radius: 8px;
    }

    .option-card__icon {
        width: 20px;
        height: 20px;
        right: 10px;
    }

    .nested-sub-row {
        gap: 8px;
        margin-bottom: 10px;
    }

    .sub-card {
        padding: 10px 12px;
        font-size: 12px;
    }

    .product-item {
        padding: 12px 36px;
    }

    #step-2 .product-item {
        min-height: 50px;
        padding: 12px 36px;
    }

    #step-2 .product-item__title {
        font-size: 12px;
    }

    #step-2 .product-item__spec {
        font-size: 10px;
    }

    #step-2 .qty-btn {
        min-height: 44px;
        font-size: 16px;
        padding: 10px;
    }

    #step-2 .quantity-selector {
        gap: 8px;
        margin-bottom: 16px;
    }

    #step-2 .price-big {
        font-size: 22px;
    }

    #step-3 .spec-card {
        gap: 10px;
        padding: 6px;
    }

    #step-3 .spec-card__title {
        font-size: 12px;
    }

    #step-3 .spec-card__features {
        font-size: 11px;
    }

    #step-4 .option-group-block {
        margin-bottom: 16px;
    }

    #step-6 .step-support-text {
        font-size: 10px;
        margin-bottom: 14px;
    }

    #step-6 .install-options {
        gap: 8px;
        margin-bottom: 16px;
    }

    #step-6 .install-options .option-card {
        min-height: 52px;
        padding: 12px 36px 12px 12px;
    }

    #step-6 .floor-options {
        gap: 8px;
    }

    #step-6 .floor-option-card {
        min-height: 88px;
        padding: 12px 8px;
        gap: 8px;
    }

    #step-6 .floor-option-card__label {
        font-size: 10px;
    }

    #step-7 .install-schedule-form {
        gap: 14px;
    }

    #step-7 .form-field {
        gap: 6px;
    }

    #step-7 .form-field__label {
        font-size: 11px;
    }

    #step-7 .form-field__input--date,
    #step-7 .form-field__textarea {
        font-size: 13px;
        border-radius: 8px;
    }

    #step-7 .form-field__input--date {
        min-height: 46px;
        padding: 12px 44px 12px 14px;
    }

    #step-7 .form-field__textarea {
        min-height: 110px;
        padding: 12px 14px;
    }

    #step-8 .config-summary-card {
        padding: 14px 16px;
    }

    #step-8 .config-summary-card__title {
        font-size: 13px;
        margin-bottom: 12px;
    }

    #step-8 .config-summary-list__row {
        font-size: 12px;
        padding: 9px 0;
    }

    #step-8 .config-summary-total__price {
        font-size: 22px;
    }

    #step-1 .step-1-grid,
    #step-5 .step-1-grid {
        gap: 8px;
        margin-bottom: 10px;
    }

    #step-1 .option-card,
    #step-5 .option-card {
        padding: 11px 34px;
        font-size: 12px;
        min-height: 44px;
    }

    #step-1 .nested-sub-row,
    #step-5 .nested-sub-row {
        gap: 8px;
        margin-bottom: 10px;
    }

    #step-1 .sub-card,
    #step-5 .sub-card {
        padding: 10px 12px;
        font-size: 12px;
    }

    #step-1 .info-desc-box {
        gap: 10px;
        margin-top: 8px;
    }

    #step-1 .info-box-pics,
    #step-5 .info-box-pics {
        width: 72px;
    }

    #step-1 .info-box-details,
    #step-5 .info-box-details {
        font-size: 12px;
    }

    .eqoh-wizard-navigation {
        margin-top: 20px;
    }

    .eqoh-wizard-navigation__row {
        gap: 10px;
    }

    /* Step 8 — stack buttons only when layout breaks on mobile */
    .eqoh-wizard-navigation__row--summary {
        flex-direction: column;
        align-items: stretch;
    }

    .eqoh-wizard-navigation__row--summary #cartBtn {
        order: 1;
        flex: none;
        width: 100%;
    }

    .eqoh-wizard-navigation__row--summary #prevBtn {
        order: 2;
        flex: none;
        width: 100%;
    }

    .btn-secondary,
    .btn-next,
    .btn-cart-action {
        padding: 14px 18px;
        font-size: 14px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .option-card {
        padding: 10px 30px;
        min-height: 42px;
        font-size: 11px;
    }

    #step-4 .cable-options-row--mc4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .btn-secondary,
    .btn-next,
    .btn-cart-action {
        padding: 12px 16px;
        font-size: 13px;
    }
}
/* =========================================
   SHOPIFY CONFIGURATOR SCROLL FIX
   ========================================= */

html,
body {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

#eqoh-configurator-wrapper {
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
}

.site-main {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

.main-scroll {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

.wizard-panel {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;

    /* room for navigation/footer */
    padding-bottom: 140px;
}

.step-view {
    height: auto !important;
    max-height: none !important;
}

.eqoh-wizard-navigation {
    display: block !important;
    visibility: visible !important;
}
/* TEMP: keep configurator navigation visible */
/* Configurator navigation */
.eqoh-wizard-navigation {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: 32px;
}

#eqoh-configurator-wrapper #eqoh-wizard-nav-row {
    display: flex !important;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 15px;
    visibility: visible !important;
    opacity: 1 !important;
}
@media (max-width: 767px) {
    .eqoh-wizard-navigation {
        margin-top: 20px;
    }

    #eqoh-configurator-wrapper #eqoh-wizard-nav-row {
        gap: 10px;
    }
}