/* ===================================================
   Gift Popup — всплывающее окно с формой бронирования
   =================================================== */

.gift_popup_overlay
    {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.88);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    }
    .gift_popup_overlay.active
        {
        display: flex;
        }

.gift_popup_box
    {
    position: relative;
    background: #000;
    border: 1px solid #fff;
    padding: 50px 50px 36px;
    max-width: 480px;
    width: 92%;
    text-align: center;
    box-shadow: 0 0 80px rgba(255, 255, 255, 0.06);
    animation: giftPopupIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    color: #fff;
    box-sizing: border-box;
    }

@keyframes giftPopupIn
    {
    from { transform: scale(0.92) translateY(20px); opacity: 0; }
    to   { transform: scale(1)    translateY(0);    opacity: 1; }
    }

/* ─── Кнопка закрытия × ──────────────────────────── */
.gift_popup_box .gift_popup_close_x
    {
    position: absolute;
    top: 8px;
    right: 16px;
    font-size: 42px;
    line-height: 1;
    font-weight: 200;
    color: #717171;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
    display: block;
    }
    .gift_popup_box .gift_popup_close_x:hover
        {
        color: orange;
        }

/* ─── Иконка подарка ─────────────────────────────── */
.gift_popup_icon
    {
    font-size: 44px;
    line-height: 1;
    margin-bottom: 16px;
    filter: grayscale(0.3);
    }

/* ─── Заголовок ──────────────────────────────────── */
.gift_popup_box h3
    {
    font-size: 20px;
    color: #fff;
    margin: 0 0 18px;
    padding: 0;
    line-height: 1.3;
    font-family: 'Helvetica', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    }

/* ─── Промо-блок ─────────────────────────────────── */
.gift_popup_promo
    {
    border: 1px solid orange;
    padding: 14px 18px;
    margin: 0 0 20px;
    position: relative;
    }
    .gift_popup_promo::before
        {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(255, 165, 0, 0.04);
        pointer-events: none;
        }

.gift_popup_promo_text
    {
    color: #fff;
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    }

.gift_popup_promo_counter
    {
    color: #717171;
    font-size: 11px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    }
    .gift_popup_promo_counter strong
        {
        color: orange;
        font-size: 22px;
        font-weight: 400;
        display: inline-block;
        margin: 0 2px;
        }

/* ─── Подзаголовок ───────────────────────────────── */
.gift_popup_box > p,
.gift_popup_box p
    {
    font-size: 12px;
    color: #717171;
    margin: 0 0 22px;
    padding: 0;
    line-height: 1.7;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    }

/* ─── Поле телефона ──────────────────────────────── */
.gift_popup_box input[type="tel"],
.gift_popup_box input[type="text"]
    {
    font-family: 'Helvetica', sans-serif;
    font-size: 15px;
    padding: 10px 0;
    width: 100%;
    margin: 0 0 20px;
    box-sizing: border-box;
    border: 0;
    border-bottom: 1px solid #fff;
    border-radius: 0;
    outline: none;
    transition: border-color 0.25s;
    color: #fff;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    }
    .gift_popup_box input[type="tel"]::placeholder,
    .gift_popup_box input[type="text"]::placeholder
        {
        color: #717171;
        opacity: 1;
        }
    .gift_popup_box input[type="tel"]:focus,
    .gift_popup_box input[type="text"]:focus
        {
        border-color: orange;
        }

/* ─── Кнопка отправки ────────────────────────────── */
.gift_popup_box .btn_row
    {
    padding: 4px 0 6px;
    }
    .gift_popup_box .btn_row input[type="submit"].luxoria_btn
        {
        width: 100%;
        cursor: pointer;
        box-sizing: border-box;
        border-radius: 30px;
        border: 1px solid #fff;
        background: #fff;
        color: #000;
        font-family: 'Helvetica', sans-serif;
        font-size: 13px;
        text-transform: uppercase;
        text-align: center;
        letter-spacing: 0.06em;
        padding: 14px 20px;
        display: block;
        transition: background 0.3s, color 0.3s;
        }
        .gift_popup_box .btn_row input[type="submit"].luxoria_btn:hover
            {
            background: #fff;
            color: #000;
            }
        /* перекрываем псевдоэлемент со стрелкой (не работает на input) */
        .gift_popup_box .btn_row input[type="submit"].luxoria_btn::after
            {
            display: none;
            }

/* ─── Алерт после отправки ───────────────────────── */
.gift_popup_box .alert
    {
    padding: 16px;
    margin: 10px 0;
    font-size: 12px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid #333;
    }

.gift_popup_box .success
    {
    color: orange;
    font-size: 12px;
    text-transform: uppercase;
    }

/* ─── Кнопка закрытия в форме ────────────────────── */
.gift_popup_box .gift_popup_close_btn
    {
    display: inline-block;
    font-size: 12px;
    color: #717171;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: underline;
    transition: color 0.2s;
    }
    .gift_popup_box .gift_popup_close_btn:hover
        {
        color: orange;
        }

/* ─── Ссылка «Пізніше» ───────────────────────────── */
.gift_popup_later
    {
    display: inline-block;
    margin-top: 18px;
    font-size: 11px;
    color: #717171;
    text-decoration: underline;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color 0.2s;
    }
    .gift_popup_later:hover
        {
        color: orange;
        text-decoration: none;
        }


/* ============================================================ */
/* Мобильные  <600px                                            */
/* ============================================================ */
@media (max-width: 600px)
    {
    .gift_popup_box
        {
        padding: 40px 22px 28px;
        }
    .gift_popup_box h3
        {
        font-size: 16px;
        }
    .gift_popup_icon
        {
        font-size: 36px;
        }
    .gift_popup_promo_counter strong
        {
        font-size: 18px;
        }
    }
