
.alto-config {
    --alto-accent: var(--e-global-color-accent, #a9bd79);
    --alto-border: #e2e2e2;
    --alto-muted: #777;
    --alto-radius: 10px;
    width: 100%;
    margin-top: 20px;
}

/* Koordynacja budowy */

.alto-coordinator {
    background: #f6f6f6;
    border: 1px solid var(--alto-border);
    border-radius: var(--alto-radius);
    margin-bottom: 30px;
    padding: 5px 20px;
}

/* Nagłówek dodatków */

.alto-extras-heading {
    font-size: 21px;
    font-weight: 600;
    margin: 0 0 18px;
}

/* Lista wyposażenia */

.alto-options {
    border: 1px solid var(--alto-border);
    border-radius: var(--alto-radius);
    overflow: hidden;
}

.alto-option {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: start;
    gap: 15px;
    padding: 18px 20px;
    margin: 0;
    cursor: pointer;
    transition: background-color .2s ease;
}

.alto-options .alto-option + .alto-option {
    border-top: 1px solid var(--alto-border);
}

.alto-option:hover {
    background-color: #f8f9f6;
}

.alto-option:has(input:checked) {
    background-color: #f1f5e9;
}

/* Checkboxy */

.alto-config input.alto-addon {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    position: relative;
    width: 22px;
    height: 22px;
    margin: 1px 0 0;
    padding: 0;
    border: 1px solid #b8b8b8;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    transition: all .2s ease;
}

.alto-config input.alto-addon:checked {
    background: var(--alto-accent);
    border-color: var(--alto-accent);
}

.alto-config input.alto-addon:checked::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 7px;
    width: 6px;
    height: 11px;
    border: solid #222;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.alto-config input.alto-addon:focus-visible {
    outline: 2px solid #333;
    outline-offset: 3px;
}

/* Nazwa i opis dodatku */

.alto-option-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.alto-option-name {
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
}

.alto-option-description {
    font-size: 13px;
    line-height: 1.6;
    color: var(--alto-muted);
    font-weight: 400;
}

/* Cena dodatku */

.alto-option-price {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    text-align: right;
    white-space: nowrap;
}

/* Podsumowanie */

.alto-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    margin-top: 25px;
    background: #f5f6f2;
    border-radius: var(--alto-radius);
}

.alto-summary-label {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

.alto-summary-value {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.alto-total {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.alto-vat {
    font-size: 13px;
    font-weight: 400;
    color: var(--alto-muted);
    white-space: nowrap;
}

.alto-transport-info {
    flex-basis: 100%;
    font-size: 13px;
    color: var(--alto-muted);
    line-height: 1.5;
}

.alto-transport-info[hidden] {
    display: none !important;
}

/* Wyróżnienie zakładki Komfort */

.alto-konfigurator-tabs #tab-komfort {
    position: relative;
}

.alto-konfigurator-tabs #tab-komfort::after {
    content: "Najczęściej wybierany";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--e-global-color-accent, #a9bd79);
    color: #222;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    z-index: 2;
}

/* Moduł Start */

.alto-konfigurator-tabs #tab-start:not([aria-selected="true"]) {
    
    color: #999;
}

/* Urządzenia mobilne */

@media (max-width: 767px) {

    .alto-config {
        margin-top: 15px;
    }

    .alto-coordinator {
        padding: 0;
        margin-bottom: 20px;
    }

    .alto-option {
        grid-template-columns: 20px minmax(0, 1fr);
        gap: 6px 12px;
        padding: 15px;
    }

    .alto-config input.alto-addon {
        grid-row: 1 / 3;
    }

    .alto-option-price {
        grid-column: 2;
        text-align: left;
        font-size: 14px;
    }

    .alto-option-name {
        font-size: 14px;
    }

    .alto-option-description {
        font-size: 12px;
    }

    .alto-summary {
        padding: 20px;
    }

    .alto-summary-value {
        flex-direction: column;
        align-items: flex-end;
        gap: 3px;
    }

    .alto-total {
        font-size: 25px;
    }

    .alto-extras-heading {
        font-size: 18px;
    }

    .alto-konfigurator-tabs #tab-komfort::after {
        font-size: 9px;
        padding: 3px 6px;
    }
}
/* Koordynacja budowy */
.alto-coordinator {
    padding: 0;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    overflow: hidden;
}

.alto-coordinator .alto-option {
    padding: 20px;
    background: transparent;
}

.alto-coordinator:has(input:checked) {
    background: #fff4e0;
    border-color: #f2d5a0;
}

.alto-coordinator .alto-option:has(input:checked) {
    background: transparent;
}

/* Pozostałe zaznaczone dodatki */
.alto-options .alto-option:has(input:checked) {
    background: #fff4e0;
}

.alto-options .alto-option:hover {
    background: #fff9ef;
}
.alto-summary {
	display:none !important
}