* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Безопасная оплата */
.payment-safe-block {
    margin: 0px 0 18px 0;
    text-align: center;
}

.payment-safe-title {
    font-size: 14px;
    color: rgb(135, 138, 153);
    margin-bottom: 12px;
    font-weight: 400;
}

.payment-safe-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.payment-safe-logos img {
    width: 100%;
    height: 57px;
}

.payment-safe-caption {
    font-size: 12px;
    font-weight: 400;
    color: rgb(55, 58, 73);
    margin-top: 2px;
}

/* Заголовок перед отзывами */
.payment-connect-title {
    font-size: 20px;
    font-weight: 500;
    color: #222;
    text-align: center;
    margin: 50px 0 50px 0;
}

.payment-connect-title b {
    font-weight: 700;
    color: #222;
}

/* Отзывы */
.payment-reviews {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.payment-review {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.06);
    padding: 18px 16px 14px 16px;
    text-align: left;
}

.payment-review-stars {
    color: #ffb300;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.payment-review-text {
    font-size: 16px;
    font-weight: 400;
    color: rgb(55, 58, 73);
    margin-bottom: 10px;
    line-height: 24px;
    opacity: 0.4;
}

.payment-review-author {
    font-size: 16px;
    color: rgb(55, 58, 73);
    font-weight: 500;
    text-align: left;
}

.payment-connect-min-title {
    margin: 50px 0;
    color: rgb(55, 58, 73);
    font-size: 20px;
    font-weight: 500;
    font-family: "system-ui", Arial, sans-serif;
}

.payment-img {
    max-width: 114px;
    width: 100%;
    height: 114px;
    object-fit: cover;
}

.payment-connect-min-title-two {
    margin: 20px 0 16px 0;
    color: rgb(55, 58, 73);
    font-size: 20px;
    font-weight: 500;
}

.payment-connect-min-text {
    font-size: 16px;
    font-weight: 400;
    font-family: "system-ui", Arial, sans-serif;
    color: rgb(135, 138, 153);
}

/* Стили для шага оплаты */
.payment-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #222;
    margin: 0px 0 18px 0;
    text-align: left;
}

.payment-offer {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.payment-offer-badge {
    background: #ff2e7a;
    color: #fff;
    font-weight: 600;
    font-size: 1.08rem;
    border-radius: 16px;
    padding: 6px 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-top: -18px;
    position: relative;
    top: 26px;
}

.payment-timer-box {
    display: flex;
    width: 100%;
}

.payment-timer {
    width: 100%;
    background: #ff2e7bc2;
    color: #000;
    font-weight: 600;
    font-size: 1.08rem;
    border-radius: 16px;
    padding: 15px 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.payment-special-box {
    border: 2px solid #444;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    padding-top: 25px;
    margin-bottom: 18px;
    background: #fff;
    width: 100%;
}

.payment-special-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.payment-special-discount {
    color: #222;
    font-size: 16px;
    font-weight: 400;
    margin-top: 8px;
    text-align: left;
}

.payment-special-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff2e7a;
}

.payment-special-price span {
    font-size: 0.8rem;
    font-weight: 500;
    color: #444;
    text-decoration: line-through;
}

.payment-form {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    padding: 18px 16px 24px 16px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.payment-safe-p {
    margin: 16px 0 40px 0;
    color: rgb(97, 96, 98);
    font-size: 16px;
    font-weight: 400;
}

.payment-methods {
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.payment-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    cursor: pointer;
}

.payment-radio img {
    max-width: 182px;
    width: 100%;
    height: 30px;
    object-fit: cover;
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: rgb(248, 84, 93);
    width: 20px;
    height: 20px;
}

.payment-label {
    margin-bottom: 4px;
    display: block;
    font-size: 14px;
    text-align: left;
    color: rgb(48, 49, 61);
}

.payment-fields input,
.payment-fields select {
    width: 100%;
    font-size: 16px;
    padding: 12px 10px;
    border-radius: 8px;
    border: 2px solid #eee;
    margin-bottom: 8px;
    outline: none;
    transition: border 0.2s;
}

.payment-fields input.input-error,
.payment-fields select.input-error {
    border: 2px solid #ff2e7a;
    background: #ffe3f0;
}

.payment-pay-btn {
    width: 100%;
    background: #ff2e7a;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 16px 0;
    cursor: pointer;
    margin-top: 8px;
}

.unlock-btn {
    width: 100%;
    background: #ff2e7a;
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 500;
    padding: 16px 0;
    cursor: pointer;
    margin-bottom: 18px;
}

/* Стили для финального шага */
.final-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #222;
    margin: 32px 0 18px 0;
    text-align: left;
}

.final-img {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    margin-bottom: 24px;
    object-fit: cover;
    display: block;
}

.final-list {
    width: 100%;
    margin: 0 0 80px 0;
    padding: 0;
    display: flex;
    /*flex-direction: column;*/
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
    justify-content: center;
    z-index: 2;
}

.final-list .item {
    width: calc(50% - 10px);
    padding: 25px 20px;
    border-radius: 12px;
    border: 1px solid #393939;
}

.final-list .item .title {
    text-transform: uppercase;
    color: #a4a4a4;
    text-align: left;
    display: block;
    font-size: 15px;
}

.final-list .item .text {
    color: #fff;
    text-align: left;
    font-weight: bold;
    margin-top: 5px;
}

.final-list-item {
    font-size: 1rem;
    color: #444;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.final-check {
    color: #7c4dff;
    font-size: 1.2em;
    margin-right: 8px;
}

/* Стили для шага с прогресс-барами */
.progress-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #222;
    margin: 32px 0 24px 0;
    text-align: left;
}

.progress-bars-list {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1;
}

.progress-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.progress-label {
    color: #222;
}

.progress-value {
    color: #222;
    font-weight: 500;
    margin-left: auto;
}

.progress-bar-outer {
    width: 100%;
    height: 12px;
    background: #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar-inner {
    height: 100%;
    border-radius: 8px;
    transition: width 0.2s;
}

.progress-spinner {
    margin-left: 8px;
    vertical-align: middle;
    display: inline-block;
}

/* Стили для шага с полноэкранной картинкой и сообщением */
.image-message-bg {
    position: relative;
    width: 100%;
    height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    overflow: hidden;
}

.image-message-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.image-message-bottom {
    margin-top: auto;
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-message-text {
    color: rgb(255, 96, 154);
    font-size: 1.25rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 140px;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.98);
    padding: 0 16px;
}

/* Стили для текстовых опций */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin: 0 auto;
}

.option-text {
    background: #fff;
    border-radius: 12px;
    border: 2px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.15rem;
    font-weight: 500;
    color: #222;
    padding: 14px 16px;
    transition: border 0.2s, background 0.2s;
}

.option-text .option-label {
    font-size: 16px;
}

.option-text.selected {
    border: 2px solid #ff2e7a;
    background: #ff2e7a;
    color: #fff;
}

.option-text.selected .emoji {
    color: #fff;
}

.emoji {
    font-size: 1.3em;
    margin: 0 7px;
    transition: color 0.2s;
}

.option-card {
    background: #fafafa;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: border 0.2s;
}

.option-card.selected {
    border: 2px solid #ff2e7a;
    background: #ffe3f0;
}

.option-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    background: #eee;
}

.option-label {
    font-size: 1.08rem;
    font-weight: 500;
    color: #222;
    padding: 12px 0 14px 0;
}

@media (max-width: 500px) {
    .options-grid {
        max-width: 100vw;
        gap: 10px;
    }

    .option-img {
        height: 120px;
    }
}

body {
    margin: 0;
    padding: 0;
    /*height: calc(var(--1dvh, 1vh) * 100);
    height: 100dvh;*/
  min-height: 100dvh;
    background: #fff;
    font-family: "system-ui", Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    padding: 0 24px;
    position: relative;
    width: 100%;
    max-width: 450px;
    min-height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 6px;
    background: #eee;
    margin-top: 0;
    z-index: 1;
}

.progress {
    height: 100%;
    background: #ff2e7a;
    width: 7%;
    /* 1/15 шагов */
    transition: width 0.3s;
}

.header {
    display: flex;
    align-items: center;
    padding: 16px 0px 12px 0px;
    z-index: 1;
}

.back-btn {
    max-width: 32px;
    width: 100%;
    height: 32px;
    background: none;
    border: none;
    color: #FF2375;
    cursor: pointer;
    margin-right: 8px;
}

.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 25px 0px 80px 0px;
    text-align: center;
}

.title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px;
    color: #222;
}

.desc {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 82px;
    font-weight: 500;
    max-width: 402px;
    width: 100%;
}

.next-btn {
    position: fixed;
    left: 50%;
    bottom: 35px;
    transform: translateX(-50%);
    width: calc(100vw - 32px);
    max-width: 402px;
    background: #FF2475;
    color: #000;
    border: none;
    font-family: "system-ui", Arial, sans-serif;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    padding: 14px 0;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(248, 72, 148, 0.04);
    z-index: 10;
    animation: pulse 2.5s linear infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0px 2px 8px rgba(254, 58, 143, 0.9);
        scale: 1;
    }

    50% {
        box-shadow: 4px 3px 8px rgba(254, 58, 143, 0.9);
        scale: 1.02;
    }

    100% {
        box-shadow: 0 2px 8px rgba(243, 69, 144, 0.09);
        scale: 1;
    }
}

.step-content-18 {
    color: #FF2375;
    font-weight: 500;
    margin-top: -50px;
    font-size: 16px;
    position: relative;
    z-index: 2;
}

.step-content-card {
    margin-top: auto;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    /* max-width: 370px; */
    margin: 0 auto 0 auto;
}

.option-card {
    background: #fafafa;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid transparent;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: border 0.2s;
    width: 100%;
    border-color: #E7E7E7;
}

.option-card.selected {
    border: 2px solid #ff2e7a;
    background: #FF2475;
}

.option-img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    background: #eee;
}

.option-label {
    font-size: 16px;
    font-weight: 400;
    color: #222;
    padding: 0;
    padding: 12px 0 14px 0;
}

@media (max-width: 500px) {
    .options-grid {
        max-width: 100vw;
        gap: 10px;
    }

    .option-img {}
}

@media (max-width: 500px) {
    .container {
        padding: 0 24px;
        max-width: 430px;
    }

    .next-btn {
        max-width: 382px;
    }

    .step-content {
        padding: 25px 0px 95px 0px;
    }
}