.td-tour-calc {
    font-family: Proximanova, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 20px;
    line-height: 1.38;
    color: #212529;
    width: 100%;
    padding: 48px 0;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.td-tour-calc-narrow {
    max-width: 560px;
}

@media (max-width: 1425px) {
    .td-tour-calc-narrow {
        max-width: 420px;
    }
}

@media (max-width: 767px) {
    .td-tour-calc {
        max-width: 100%;
        padding: 32px 0;
    }
}

.td-tour-calc__title {
    font-family: Siberian, Arial, sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 1.3;
    letter-spacing: -0.04em;
    color: #212529;
    margin: 0 0 16px;
}

@media (max-width: 1425px) {
    .td-tour-calc__title {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .td-tour-calc__title {
        font-size: 24px;
        line-height: 1.34;
        margin-bottom: 14px;
    }
}

.td-tour-calc__intro,
.td-tour-calc__destination-hint,
.td-tour-calc__price-range,
.td-tour-calc__price-total,
.td-tour-calc__disclaimer,
.td-tour-calc__drivers,
.td-tour-calc__summary-text,
.td-tour-calc__note {
    font-size: 18px;
    line-height: 1.28;
}

.td-tour-calc__intro {
    color: rgba(33, 37, 41, 0.6);
    margin: 0 0 28px;
}

.td-tour-calc__intro,
.td-tour-calc__destination-hint,
.td-tour-calc__option-hint,
.td-tour-calc__summary-text,
.td-tour-calc__note,
.td-tour-calc__drivers,
.td-tour-calc__disclaimer,
.td-tour-calc__price-range,
.td-tour-calc__price-total {
    overflow-wrap: break-word;
    word-break: normal;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.td-tour-calc__destination-hint {
    margin: -14px 0 24px;
}

.td-tour-calc__label,
.td-tour-calc__slider-name,
.td-tour-calc__price-label {
    font-family: Siberian, Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.28;
    letter-spacing: -0.04em;
}

@media (max-width: 1425px) {
    .td-tour-calc__label,
    .td-tour-calc__slider-name,
    .td-tour-calc__price-label {
        font-size: 18px;
        line-height: 1.36;
    }
}

.td-tour-calc__label {
    display: block;
    margin-bottom: 6px;
}

.td-tour-calc__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.td-tour-calc__meta-group {
    min-width: 0;
}

@media (max-width: 767px) {
    .td-tour-calc__meta {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.td-tour-calc__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.td-tour-calc__tag {
    -webkit-appearance: none;
    appearance: none;
    -webkit-text-fill-color: currentColor;
    font-family: Siberian, Arial, sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.16;
    letter-spacing: -0.04em;
    display: inline-block;
    padding: 8px 12px;
    background-color: #f3f3f3;
    border-radius: 8px;
    color: #212529;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 0.2s ease-out, transform 0.2s ease-out;
}

@media (max-width: 1425px) {
    .td-tour-calc__tag {
        font-size: 20px;
        line-height: 1.18;
        padding: 6px 8px;
    }
}

.td-tour-calc__tag:hover {
    background-color: #ffffff;
    box-shadow: 0 12px 24px rgba(33, 37, 41, 0.1);
}

.td-tour-calc__tag.is-active {
    color: #ffffff;
    background-color: #aa8262;
}

.td-tour-calc__tag.is-active:hover {
    box-shadow: none;
    transform: none;
}

.td-tour-calc__sliders {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 767px) {
    .td-tour-calc__sliders {
        grid-template-columns: 1fr;
    }
}

.td-tour-calc__slider-block {
    margin-bottom: 0;
    padding: 18px 14px 12px;
    border: 1px solid rgba(170, 130, 98, 0.75);
    border-radius: 12px;
    background: #ffffff;
}

.td-tour-calc__slider-top {
    margin-bottom: 28px;
}

.td-tour-calc__slider-value,
.td-tour-calc__price-main {
    font-family: Siberian, Arial, sans-serif;
    font-weight: 400;
    letter-spacing: -0.04em;
}

.td-tour-calc__slider-value {
    position: absolute;
    top: -28px;
    left: calc(var(--range-progress, 0%) + var(--range-offset, 0px));
    transform: translateX(-50%);
    font-size: 18px;
    line-height: 1.16;
    white-space: nowrap;
    pointer-events: none;
}

.td-tour-calc__slider-control {
    position: relative;
}

.td-tour-calc input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: #f3f3f3;
    border: none;
    border-radius: 0;
    outline: none;
    cursor: pointer;
}

.td-tour-calc input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #aa8262;
    cursor: pointer;
    transition: box-shadow 0.2s ease-out;
}

.td-tour-calc input[type="range"]::-webkit-slider-thumb:hover {
    box-shadow: 0 0 0 6px rgba(170, 130, 98, 0.15);
}

.td-tour-calc input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #aa8262;
    cursor: pointer;
}

.td-tour-calc input[type="range"]::-moz-range-track {
    height: 4px;
    background: #f3f3f3;
}

.td-tour-calc__slider-scale {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
}

.td-tour-calc__slider-limit {
    font-size: 14px;
    line-height: 1.2;
    color: rgba(33, 37, 41, 0.6);
}

.td-tour-calc__options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 32px;
}

@media (max-width: 767px) {
    .td-tour-calc__options {
        grid-template-columns: 1fr;
    }
}

.td-tour-calc__option {
    -webkit-appearance: none;
    appearance: none;
    -webkit-text-fill-color: currentColor;
    padding: 14px 12px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #f3f3f3;
    cursor: pointer;
    text-align: left;
    color: #212529;
    transition: border-color 0.2s ease-out, background-color 0.2s ease-out;
}

.td-tour-calc__option:hover {
    border-color: #aa8262;
}

.td-tour-calc__option.is-active {
    border-color: #aa8262;
    background: #ffffff;
}

.td-tour-calc__option-name,
.td-tour-calc__summary-title {
    display: block;
    font-family: Siberian, Arial, sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.28;
    letter-spacing: -0.04em;
    color: #212529;
}

@media (max-width: 1425px) {
    .td-tour-calc__option-name,
    .td-tour-calc__summary-title {
        font-size: 20px;
        line-height: 1.18;
    }
}

.td-tour-calc__option-name {
    margin-bottom: 4px;
}

.td-tour-calc__option.is-active .td-tour-calc__option-name {
    color: #aa8262;
}

.td-tour-calc__option-hint {
    display: block;
    font-size: 16px;
    line-height: 1.28;
}

.td-tour-calc__note,
.td-tour-calc__drivers {
    color: #aa8262;
    border-left: 2px solid #aa8262;
    padding: 4px 0 4px 12px;
}

.td-tour-calc__note {
    margin: 0 0 20px;
    display: none;
}

.td-tour-calc__note.is-visible {
    display: block;
}

.td-tour-calc__divider {
    border: none;
    border-top: 1px solid #f3f3f3;
    margin: 8px 0 24px;
}

.td-tour-calc__summary {
    background: #faf8f6;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.td-tour-calc__summary-title {
    margin: 0 0 10px;
}

.td-tour-calc__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.td-tour-calc__chip {
    font-size: 16px;
    line-height: 1.2;
    color: #212529;
    background: #ffffff;
    border-radius: 999px;
    padding: 7px 10px;
    border: 1px solid #eee4db;
}

.td-tour-calc__summary-text {
    margin: 0;
}

.td-tour-calc__price-label {
    display: block;
    margin-bottom: 8px;
}

.td-tour-calc__price-main {
    font-size: 40px;
    line-height: 1.3;
    margin: 0 0 4px;
}

@media (max-width: 1425px) {
    .td-tour-calc__price-main {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .td-tour-calc__price-main {
        font-size: 24px;
        line-height: 1.34;
    }
}

.td-tour-calc__price-range,
.td-tour-calc__price-total,
.td-tour-calc__disclaimer {
}

.td-tour-calc__price-range {
    margin: 0 0 18px;
}

.td-tour-calc__price-range--tight {
    margin-top: 4px;
    margin-bottom: 0;
}

.td-tour-calc__price-total {
    margin: 0 0 4px;
}

.td-tour-calc__price-total strong {
    font-family: Siberian, Arial, sans-serif;
    font-weight: 400;
    letter-spacing: -0.04em;
    color: #212529;
}

.td-tour-calc__drivers {
    margin: 18px 0 0;
}

.td-tour-calc__disclaimer {
    margin: 16px 0 24px;
}

.td-tour-calc__cta {
    -webkit-appearance: none;
    appearance: none;
    -webkit-text-fill-color: currentColor;
    display: inline-grid;
    align-items: center;
    grid-auto-flow: column;
    width: fit-content;
    justify-content: center;
    height: 60px;
    padding: 12px 44px;
    border-radius: 40px;
    background-color: #aa8262;
    color: #ffffff;
    font-family: Siberian, Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.38;
    letter-spacing: -0.04em;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.td-tour-calc__cta:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(33, 37, 41, 0.1);
}

@media (max-width: 1425px) {
    .td-tour-calc__cta {
        font-size: 18px;
        line-height: 1.36;
    }
}

@media (max-width: 767px) {
    .td-tour-calc__intro,
    .td-tour-calc__destination-hint,
    .td-tour-calc__price-range,
    .td-tour-calc__price-total,
    .td-tour-calc__disclaimer,
    .td-tour-calc__drivers,
    .td-tour-calc__summary-text,
    .td-tour-calc__note {
        font-size: 18px;
        line-height: 1.36;
        color: #212529;
    }

    .td-tour-calc__label,
    .td-tour-calc__slider-name,
    .td-tour-calc__price-label,
    .td-tour-calc__slider-value,
    .td-tour-calc__option-name,
    .td-tour-calc__summary-title {
        font-size: 18px;
        line-height: 1.36;
    }

    .td-tour-calc__tag {
        font-size: 14px;
        line-height: 1.16;
        padding: 6px 8px;
    }
}
