.subscription-container {
    max-width: 700px;
    width: 100%;
    /*background: #ffffff;*/
    /*border-radius: 32px;*/
    /*box-shadow: 0 8px 24px rgba(0,0,0,0.05);*/
    padding: 24px 20px 32px;
    margin-top: 60px;
}

.steps-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 32px;
    padding-bottom: 8px;
    scrollbar-width: none;           /* Firefox */
    -ms-overflow-style: none;        /* IE/Edge */
}

.steps-wrapper::-webkit-scrollbar {
    display: none;                   /* Chrome/Safari/Opera */
    width: 0;
    height: 0;
    background: transparent;
}

.steps-wrapper::-webkit-scrollbar-track {
    background: #f0ebe5;
    border-radius: 4px;
}

.steps-wrapper::-webkit-scrollbar-thumb {
    background: #c0b5a8;
    border-radius: 4px;
}

.steps {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 12px;
    width: max-content;  /* ключевое: ширина по содержимому */
}

.step-item {
    flex: 0 0 auto;
    padding: 6px 14px;
    border-radius: 40px;
    background: transparent;
    font-size: 13px;
    color: #AFAFAF;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    font-weight: 600;
}

.step-item:hover {
    background: rgba(0,0,0,0.05);
}

.step-item.active {
    background: #FFC7D2;
    color: #64464C !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e0d6cc;
}

.step-item.completed {
    color: #363636;
}

.subscription-content {
    min-height: 75svh;
    margin-bottom: 32px;
}

.question-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 28px;
    color: #2c3e2f;
}

.options-list {
    /*display: flex;*/
    /*flex-wrap: wrap;*/
    /*gap: 12px;*/
    /*margin-bottom: 20px;*/

}

.options-list.small-lines {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
}
.options-list.big-lines {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 10px;
}
.options-list.big-square {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
}
.options-list.big-square .option-btn {
    flex: 1 1 calc(50% - 8px);  /* две колонки с учётом gap */
    aspect-ratio: 1 / 1;        /* сохраняем квадратную форму */
    min-width: 0;          /* сохраняем квадратную форму */
}


.option-btn {
    background: #f9f7f5;
    border: 1px solid #e6dfd8;
    border-radius: 20px;
    padding: 22px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.option-btn:hover {
    background: #efe6de;
}

.option-btn.selected {
    background: #FFC7D2;
    border-color: #c18c96;
    color: #64464C;
}

.summary-block {
    background: #fefaf5;
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 24px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #ece2d8;
}

.summary-item strong {
    font-weight: 600;
    color: #5e4b38;
}

.summary-item span {
    font-weight: 500;
    color: #2c3e2f;
}

.total-price {
    font-size: 24px;
    font-weight: 800;
    color: #FFC7D2;
    text-align: right;
    margin-top: 16px;
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

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

.form-field label {
    font-size: 14px;
    font-weight: 500;
    color: #5e4b38;
}

.form-field input,
.form-field textarea {
    padding: 12px 16px;
    border: 1px solid #ddd2c6;
    border-radius: 28px;
    font-size: 15px;
    background: white;
    font-family: inherit;
}

.form-field textarea {
    resize: vertical;
    border-radius: 20px;
}

.navigation-buttons {
    display: flex;
    position: fixed;
    bottom: 20px;
    right: 20px;

    /*display: flex;*/
    /*justify-content: space-between;*/
    /*gap: 16px;*/
    /*margin-top: 16px;*/
}

.nav-btn {
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: #f0ebe5;
    transition: all 0.2s;
}

.prev-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.next-btn {
    background: #FFC7D2;
    color: #64464C;
    box-shadow: 0 2px 6px rgba(44,110,47,0.2);
}

.next-btn:hover {
    background: #FFC7D2;
}

.notification {
    position: fixed;
    bottom: 75px;
    left: 50%;
    width: 75svw;
    text-align: center;
    transform: translateX(-50%);
    background: #FFC7D2;
    color: #64464C;
    padding: 14px 24px;
    border-radius: 60px;
    z-index: 1000;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}