.gc__section {
    border: 1px solid #1f4d91;   /* рамка для наглядности */
    padding: 20px;
    border-radius: 10px;
    background-color: #1f4d91;
    width:100%;
    min-height: 500px;
    margin-bottom:30px;
}
.gc__area_give {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;
    gap: 20px;
}

.gc__area_give-left {
    flex: 1;
}

.gc__area_give-right {
    width: 250px;
}
.gc__area-header {
    font-size: 34px;
    color:#a6c2eb;
    font-weight: bold;
}
.gc__area_give-paragraph {
    margin-top:24px;
    color:#fff;
    font-size: 18px;
    width:50%;
    min-width:250px;
}
.gc__area_give-list {
    margin-top:24px;
    color:#fff;
    font-size: 16px;
}
.gc__area_give-list ul {
    list-style: none;       /* убираем стандартные точки */
    padding: 0;
    margin: 0;
}

.gc__area_give-list li {
    position: relative;
    padding-left: 32px;     /* отступ под иконку */
    margin-bottom: 10px;    /* расстояние между пунктами */
    font-size: 16px;
}

.gc__area_give-list li::before {
    content: "✔";           /* галочка */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);

    width: 22px;
    height: 22px;
    border-radius: 50%;     /* кружочек */
    background: #a6c2eb;    /* цвет фона кружка */
    color: #1f4d91;            /* цвет галочки */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.gc__area_give-cards_list img {
    max-width: 200px;
    display: block;
    margin-bottom: 10px;
}

.gc__area_choose {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;
}



.gc__area_choose-cards_wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    overflow: visible;
}

.gc__area_choose-cards_scroll {
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    padding: 12px 0;
    gap: 25px;
    scrollbar-width: none; /* скрыть скроллбар в Firefox */
    -ms-overflow-style: none; /* скрыть в IE и Edge */
    cursor: grab;
}

.gc__area_choose-cards_scroll::-webkit-scrollbar {
    display: none; /* скрыть скроллбар в Chrome */
}

.gc__area_choose-cards_scroll.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.gc__area_choose-card_item {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 300px;
    flex: 0 0 300px;
    min-width: 300px;
    overflow: visible;
    z-index: 0;
}

.gc__area_choose-card_item.active {
    z-index: 3;            /* поверх соседей */
}

.gc__area_choose-card_item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform .2s ease, box-shadow .2s ease;
    transform-origin: center center;  /* рост во все стороны */
}



.gc__area_choose-card_item.active img {
    transform: scale(1.12);
    box-shadow: 0 8px 24px rgba(37,99,235,.25);
}

.gc__area_choose-card_item .checkmark {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border: 2px solid #2563eb;
    border-radius: 50%;
    background: #fff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    opacity: 0;
    transition: opacity .2s ease;
    transform: none;        /* НЕ масштабируем */
}

.gc__area_choose-card_item.active .checkmark {
    opacity: 1;
}

.gc__area_choose-card_item.active .checkmark::before {
    content: "✔";
}

.scroll-btn {
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 20px;
    cursor: pointer;
    margin: 0 5px;
}
.gc_separator {
    margin:20px;
}

.gc__area_choose-buttons {
    margin-top:20px;
}
.gc__area_choose-buttons_wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: stretch;
    gap:10px;
}
.gc__area_choose-button {
    background-color: transparent;
    color:#ffffff;
    border-radius: 10px;
    border:1px #748db3 solid;
    padding:5px 10px;
}
.gc__area_choose-button.active {
    background-color: #748db3;
}


.gc__area_fill {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;
    gap: 20px;
}

.gc__area_fill-left {
    flex: 1;
}

.gc__area_fill-right {
    flex: 1;
}
.gc__area_fill-paragraph {
    margin-top:8px;
    color:#fff;
    font-size: 16px;
}
.gc__area_fill-choosed_card {
    margin-top:32px;
}
.gc__area_fill-choosed_card img {
    width:400px;
}
.gcform_group {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    align-items: baseline;
}
.gcform_button {
    background-color: transparent;
    color:#fff;
    border-radius: 10px;
    padding:6px 12px;
    border: 1px solid #73B3FF;
    font-size: 14px;
    cursor: pointer;

}
.gcform_button.active {
    background-color: #73B3FF;
}
.gcform_label {
    color:#fff;
    margin-bottom: 4px;

}
.gcform_group input, .gcform_group textarea {
    background-color: transparent;
    color:#fff;
    border-radius: 10px;
    padding:6px 12px;
    border: 1px solid #73B3FF;
    font-size: 14px;
}

.gcform_group .field-giftcardform-message {
    flex: 1 1 100%;
    width: 100%;
}
.gcform_group .field-giftcardform-message textarea {
    width: 80%;
}

.gcform_group input::placeholder, .gcform_group textarea::placeholder {
    color:#fff;
}
.gcform_separator {
    height:10px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}
.quantity-count {
    color:#fff;
    margin-left:10px;

}

.quantity-field {
    margin: 0 !important;
    flex: 0 0 auto;
}

.quantity-input {
    width: 60px;
    text-align: center;
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px;
    color: white;
}

.quantity-buttons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ccc;
    background: transparent;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.quantity-btn:hover {
    background: rgba(255,255,255,0.1);
}

.quantity-text {
    color: white;
    margin: 0 5px 0 0;
}

.checkbox-field-wrapper {
    margin: 15px 0;
}

.custom-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: white;
    gap: 10px;
}

.custom-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.custom-checkbox-label input[type="checkbox"]:checked + .custom-checkbox {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.custom-checkbox-label input[type="checkbox"]:checked + .custom-checkbox::after {
    content: '✓';
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.checkbox-text {
    font-size: 14px;
    font-weight: normal;
}
.checkbox-text a {
    color:#fff;
    text-decoration: underline;
}
.gcform_action {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: stretch;
}
.gcform_total {
    font-size: 25px;
    color:#fff;
}
.when_send {
    display: none;
}
.gc__section .help-block {
    color:#ffbcbc;
    font-size: 12px;
}

/* ===== Wizard / Steps ===== */
.gc__section {
    display: none;
    position: relative;
}
.gc__section.is-active {
    display: block;
}

/* навигация по шагам */
.gcnav_prev, .gcnav_next {
    position: absolute;
    bottom: 20px;
    z-index: 5;
}

/* используем ваш стиль кнопок */
.gcnav_prev.gcform_button, .gcnav_next.gcform_button {
    /* можно усилить видимость на тёмном фоне */
    background-color: transparent;
    border: 1px solid #73B3FF;
    color: #fff;
}
.gcnav_prev {
    left: 20px;
}
.gcnav_next {
    right: 20px;
}

.gc__area_success{
    width:min(880px, 92vw);
    margin:0 auto;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:10px;
}

/* Иконка */
.card_success__icon{
    font-size: clamp(64px, 9vw, 96px);
    color:#73B3FF;
    line-height:1;
    text-align:center;
    filter: drop-shadow(0 6px 22px rgba(0,0,0,.22));
    margin-bottom:6px;
}

/* Заголовок "Спасибо" — контрастнее и крупнее */
.card_success__thankyou{
    font-size: clamp(28px, 5vw, 44px);
    color:#a6c2eb;
    font-weight:800;
    letter-spacing:.3px;
    margin: 14px 0 10px 0;
    text-shadow: 0 1px 0 rgba(0,0,0,.05);
}

/* Базовый текст */
.card_success__text{
    color:#fff;
    font-size: clamp(16px, 2.6vw, 20px);
    line-height:1.45;
    opacity:.95;
}

/* Номер заказа — визуальный акцент */
.card_success__ordernum{
    display:inline-block;
    font-size: clamp(24px, 6vw, 40px);
    color:#fff;
    font-weight:700;
    letter-spacing:.5px;
    margin: 6px 0 4px 0;
    padding: 4px 14px;
    border:1px solid #73B3FF;
    border-radius:12px;
    background: linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 6px 18px rgba(0,0,0,.10);
}

/* Лёгкие отступы между строками */
.gc__area_success .card_success__text + .card_success__text{
    margin-top: 6px;
}

/* Анимация лёгкого появления */
@keyframes fadeUp {
    from {
        opacity:0;
        transform: translateY(6px);
    }
    to   {
        opacity:1;
        transform: translateY(0);
    }
}
.gc__area_success > *{
    animation: fadeUp .35s ease forwards;
}
.gc__area_success > *:nth-child(1){
    animation-delay: .00s;
}
.gc__area_success > *:nth-child(2){
    animation-delay: .05s;
}
.gc__area_success > *:nth-child(3){
    animation-delay: .10s;
}
.gc__area_success > *:nth-child(4){
    animation-delay: .15s;
}
.gc__area_success > *:nth-child(5){
    animation-delay: .20s;
}
.gc__area_success > *:nth-child(6){
    animation-delay: .25s;
}


@media (max-width: 992px) {
    .gc__area-header {
        font-size: 28px;
    }
    .gc__area_give,
    .gc__area_fill {
        flex-direction: column;
        gap: 16px;
    }

    .gc__area_give-left,
    .gc__area_give-right,
    .gc__area_fill-left,
    .gc__area_fill-right {
        width: 100%;
        flex: 1 1 auto;
    }

    .gc__area_give-paragraph {
        width: 100%;
    }

    .gc__area_give-cards_list img {
        max-width: 160px;
        margin: 0 10px 10px 0;
        display: inline-block;
        vertical-align: top;
    }

    .gc__area_fill-choosed_card img {
        width: min(80vw, 360px);
    }

    .gc__area_choose-cards_wrapper {
        gap: 8px;
    }
    .gc__area_choose-cards_scroll {
        gap: 16px;
    }
    .gc__area_choose-card_item,
    .gc__area_choose-card_item img {
        width: 240px;
        min-width: 240px;
        flex-basis: 240px;
    }
    .scroll-btn {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}
/* мобильные */

@media (max-width: 768px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .gc__area-header {
        font-size: 24px;
    }
    .gc__area_give-paragraph {
        font-size: 16px;
    }
    .gc__area_give-list {
        font-size: 15px;
    }

    .gc__area_choose-card_item,
    .gc__area_choose-card_item img {
        width: 72vw;
        min-width: 72vw;
        flex-basis: 72vw;
    }

    .gc__area_choose-buttons_wrapper {
        gap: 8px;
        justify-content: flex-start;
    }
    .gc__area_choose-button {
        padding: 6px 10px;
        font-size: 14px;
    }

    .gcform_group {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    .gcform_group .field-giftcardform-message textarea {
        width: 100%;
    }

    .quantity-buttons {
        justify-content: flex-start;
    }
    .quantity-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    .quantity-count {
        font-size: 18px;
    }

    .gcform_total {
        font-size: 20px;
    }

    /* оставляем кнопки внутри блока */
    .gcnav_prev,
    .gcnav_next {
        position: absolute;
        bottom: 20px;
        padding: 10px 14px;
        font-size: 16px;
        min-width: 120px;
        box-shadow: none;
        border-width: 1px;
    }
    .gcnav_prev {
        left: 20px;
    }
    .gcnav_next {
        right: 20px;
    }

    /* если одна кнопка — центрируем */
    .gc__section:not(:has(.gcnav_prev)) .gcnav_next,
    .gc__section:not(:has(.gcnav_next)) .gcnav_prev {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }

    /* запас внизу под кнопки */
    .gc__section {
        padding-bottom: 120px;
    }
}

/* очень узкие (маленькие телефоны) */
@media (max-width: 480px) {
    .gc__area_header {
        font-size: 22px;
    }
    .gc__area_choose-card_item,
    .gc__area_choose-card_item img {
        width: 82vw;
        min-width: 82vw;
        flex-basis: 82vw;
    }
    .gc__area_choose-card_item .checkmark {
        width: 30px;
        height: 30px;
        font-size: 20px;
        top: 6px;
        right: 6px;
    }
    .scroll-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .gcform_button {
        font-size: 15px;
        padding: 8px 12px;
    }
    .gcform_label {
        font-size: 14px;
    }
    .gcform_group input, .gcform_group textarea {
        font-size: 14px;

        .gc__section{
            padding: 22px 14px;
            min-height: 64vh;
        }
        .card_success__ordernum{
            padding: 4px 12px;
        }
    }
}