/* Bendras helper */
.gsp-hidden {
    display: none !important;
}

/* 🎁 Dovanėlės ikona – apačioje kairėje, su pulsavimo animacija */
#gsp-gift-icon {
    position: fixed;
    bottom: 20px;
    left: 20px;

    width: 56px;
    height: 56px;
    border-radius: 18px;

    background: #8300e9;
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;
    cursor: pointer;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    z-index: 999998;

    animation: gspPulse 2.2s infinite ease-in-out;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#gsp-gift-icon:hover {
    transform: scale(1.07);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

@keyframes gspPulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.10); }
    100% { transform: scale(1); }
}

/* Tamsus fonas per visą ekraną */
#gsp-gift-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.45);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 999999;
}

/* Modal langas per vidurį */
#gsp-gift-modal {
    position: relative;
    background: #ffffff;

    width: 100%;
    max-width: 500px;
    margin: 0 16px;

    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);

    max-height: 90vh;
    overflow-y: auto;

    padding: 20px 20px 24px;

    box-sizing: border-box;
}

/* Vidinis wrap – kad Omnisend gražiai sutilptų */
#gsp-gift-modal-inner {
    width: 100%;
}

/* X mygtukas viršuje dešinėje */
#gsp-gift-close {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;
    background: #f2f2f2;

    cursor: pointer;
    font-size: 18px;
    line-height: 1;

    color: #555555;
    padding: 0;

    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

#gsp-gift-close:hover {
    background: #e0e0e0;
    color: #222222;
    transform: scale(1.05);
}

/* Mobile pritaikymas */
@media (max-width: 600px) {
    #gsp-gift-icon {
        bottom: 16px;
        left: 16px;
        width: 52px;
        height: 52px;
        font-size: 26px;
    }

    #gsp-gift-modal {
        margin: 0 12px;
        max-width: 480px;
        padding: 18px 16px 20px;
        max-height: 88vh;
    }
}

/* Šiaip dėl šventos ramybės – embedded div plotis */
#omnisend-embedded-v2-691b202d5000977f5041d239 {
    width: 100%;
}
