/* ===================================================
   Gift Popup — всплывающее окно с формой бронирования
   =================================================== */

.gift_popup_overlay
    {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    }
    .gift_popup_overlay.active
        {
        display: flex;
        }

.gift_popup_box
    {
    position: relative;
    background: #fff;
    padding: 50px 50px 30px;
    max-width: 480px;
    width: 92%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    animation: giftPopupIn 0.35s ease;
    color: #222;
    box-sizing: border-box;
    }

@keyframes giftPopupIn
    {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
    }

/* Кнопка закрытия × */
.gift_popup_box .gift_popup_close_x
    {
    position: absolute;
    top: 10px;
    right: 18px;
    font-size: 44px;
    line-height: 1;
    font-weight: 200;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
    display: block;
    }
    .gift_popup_box .gift_popup_close_x:hover
        {
        color: #333;
        }

/* Иконка подарка */
.gift_popup_icon
    {
    font-size: 58px;
    line-height: 1;
    margin-bottom: 14px;
    }

/* Заголовок */
.gift_popup_box h3
    {
    font-size: 26px;
    color: #111;
    margin: 0 0 12px;
    padding: 0;
    line-height: 1.25;
    font-family: "Raleway", sans-serif;
    }

/* Промо-блок с условиями акции */
.gift_popup_promo
    {
    background: #111;
    border-radius: 6px;
    padding: 14px 18px;
    margin: 0 0 16px;
    }

.gift_popup_promo_text
    {
    color: #fff;
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 8px;
    }

.gift_popup_promo_counter
    {
    color: #ccc;
    font-size: 13px;
    line-height: 1;
    }
    .gift_popup_promo_counter strong
        {
        color: #fff;
        font-size: 18px;
        }

/* Подзаголовок */
.gift_popup_box p
    {
    font-size: 16px;
    color: #666;
    margin: 0 0 20px;
    padding: 0;
    line-height: 1.55;
    }

/* Поле телефона */
.gift_popup_box input[type="tel"],
.gift_popup_box input[type="text"]
    {
    font-family: Arial, sans-serif;
    font-size: 18px;
    padding: 13px 18px;
    width: 100%;
    margin: 0 0 10px;
    box-sizing: border-box;
    border: 2px solid #ddd;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
    color: #222;
    }
    .gift_popup_box input[type="tel"]:focus,
    .gift_popup_box input[type="text"]:focus
        {
        border-color: #333;
        }

/* Кнопка отправки */
.gift_popup_box .btn_row
    {
    padding: 6px 0 4px;
    }
    .gift_popup_box .btn_row input[type="submit"]
        {
        width: 100%;
        cursor: pointer;
        box-sizing: border-box;
        }

/* Сообщение после успешной отправки */
.gift_popup_box .alert
    {
    border-radius: 6px;
    padding: 18px;
    margin: 10px 0;
    font-size: 16px;
    }

/* Ссылка "Пізніше" */
.gift_popup_later
    {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    color: #bbb;
    text-decoration: underline;
    cursor: pointer;
    }
    .gift_popup_later:hover
        {
        color: #555;
        }


/* ============================================================ */
/* Мобильные  <600px                                            */
/* ============================================================ */
@media (max-width: 600px)
    {
    .gift_popup_box
        {
        padding: 40px 20px 25px;
        }
    .gift_popup_box h3
        {
        font-size: 20px;
        }
    .gift_popup_icon
        {
        font-size: 44px;
        }
    }
