.kalkulacka-wrapper {
    max-width: 950px;
    margin: 0 auto;
    font-family: var(--body-font);
    font-size: var(--body-font-size);
    color: var(--body-font-color);
}

/* Spolocne boxy */
.kalk-unified-box {
    padding: 40px;
    border-radius: 8px;
    box-sizing: border-box;
    box-shadow: none;
}

/* Hlavny grid kalkulacky */
.kalk-main-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: stretch;
}

@media (min-width: 992px) {
    .kalk-main-layout {
        grid-template-columns: 1.5fr 1fr;
    }
}

/* INFO BLOK NAD KALKULACKOU */
.kalk-info-block {
    padding: 24px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: left;
}

.kalk-info-block * {
    text-align: left;
}

.kalk-info-block h3,
.kalk-info-block h4 {
    margin-top: 0;
    line-height: 1.2;
}

.kalk-info-block p {
    margin-bottom: 14px;
}

.kalk-info-block ul {
    margin-bottom: 0;
    padding-left: 0; /* ul-style-2 ma vlastne odrazky */
}

/* Odsadenie FAQ bloku od textu vyssie */
.kalk-faq-block {
    margin-top: 30px;
}

.kalk-faq-block > h3,
.kalk-faq-block > h4 {
    margin-bottom: 30px !important;
}

/* FAQ */
.kalk-faq-item {
    width: 100%;
    padding: 0 0 12px;
    margin: 0 0 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.kalk-faq-item-last {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

/* FIX: pevny 2-stlpcovy layout (otazka | plus/minus) */
.kalk-faq-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px;
    column-gap: 12px;
    align-items: start;
    cursor: pointer;
    width: 100%;
}

/* Bootstrap helper wrappery v tvojom HTML */
.kalk-faq-head .flex-grow-1,
.kalk-faq-head .flex-shrink-0 {
    min-width: 0;
    width: auto;
}

.kalk-faq-head .flex-shrink-0 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.kalk-faq-head h5 {
    margin: 0;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-break: normal;
}

.kalk-info-block .faq-answer {
    display: none;
    max-height: 0;
    overflow: hidden;
    margin-top: 10px;
    width: 100%;
    line-height: 1.45;
    overflow-wrap: break-word;
    word-break: normal;

    /* FIX: text sa zalomi skor, nede až po pravý okraj */
    padding-right: 34px;
    box-sizing: border-box;
}

.kalk-info-block .faq-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    text-align: center;
    font-weight: 700;
    line-height: 1;
    user-select: none;
}

/* LAVY BOX KALKULACKY */
.kalk-calc-form-box {
    padding: 24px 0;
    box-sizing: border-box;
}

#calcForm {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Riadok formulara */
.kalk-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (min-width: 768px) {
    .kalk-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
    }
}

.kalkulacka-title {
    font-family: var(--title-font);
    font-size: 14px;
    margin: 0;
    color: var(--title-font-color);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* Inputy a selecty */
.kalk-input-group {
    display: flex;
    align-items: center;
    max-width: 100%;
    height: 38px;
    background-color: #F8FBF3;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .kalk-input-group {
        max-width: 240px;
        margin-left: auto;
        flex-grow: 1;
    }
}

.kalk-input-group:focus-within {
    border-color: #f1f1f1;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.25);
}

.kalk-input-group input,
.kalk-input-group select {
    border: none;
    padding: 0 12px;
    height: 100%;
    width: 100%;
    outline: none;
    background: transparent;
    color: var(--title-font-color);
    font-size: var(--body-font-size);
    font-family: var(--body-font);
    box-sizing: border-box;
}

.kalk-input-group select {
    cursor: pointer;
    appearance: auto;
}

.kalk-input-group input::placeholder {
    color: rgba(0, 0, 0, 0.45);
    font-weight: 400;
}

.kalk-input-suffix {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 12px;
    background-color: #f1f1f1;
    color: var(--title-font-color);
    font-weight: 800;
    font-size: var(--body-font-size);
    border-left: 1px solid rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

/* PRAVY VYSLEDKOVY BOX */
.kalk-result-box {
    background-color: transparent !important;
    border-top: none;
    padding: 0 0 24px 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.kalk-sticky-inner {
    background-color: #E1EBE2;
    border-top: 5px solid #354e33;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .kalk-sticky-inner {
        position: sticky;
        top: 120px;
    }
}

.kalk-result-subtitle {
    font-family: var(--title-font);
    font-size: 16px;
    color: var(--title-font-color);
    font-weight: 800;
    margin-bottom: 0;
}

.result-price {
    font-family: var(--title-font);
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
    margin: 5px 0;
}

.kalk-result-note {
    font-size: 11px;
    color: var(--body-font-color);
    font-weight: 500;
    margin: 0;
    opacity: 0.85;
}

.result-btn {
    background-color: #798d7a;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    transition: all 0.2s;
    text-align: center;
    width: 100%;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
    display: block;
    margin-top: 5px;
    font-family: var(--title-font);
}

.result-btn:hover {
    background-color: #354e33;
    color: #ffffff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* MOBILE */
@media (max-width: 767.98px) {
    .kalk-unified-box {
        padding: 24px;
    }

    .kalk-result-box {
        padding: 0 15px 24px 15px !important; /* Pridaný bočný padding pre mobil */
    }

    .kalk-sticky-inner {
        padding: 24px;
    }

    .kalk-info-block {
        padding: 18px 0;
    }

    .kalk-calc-form-box {
        padding: 18px 0;
    }

    .kalk-info-block h3,
    .kalk-info-block h4 {
        font-size: 25px;
    }

    .kalk-faq-head h5 {
        font-size: 15px;
    }

    .kalk-faq-block {
        margin-top: 24px;
    }
}