/* Shared empty inventory / gift picker empty state */

.gifts-empty-state {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 28px 20px 36px;
    box-sizing: border-box;
}

.gifts-empty-lottie {
    width: min(220px, 70vw);
    height: min(220px, 70vw);
    display: block;
    margin: 0 auto 4px;
    pointer-events: none;
}

.gifts-empty-title {
    margin: 0;
    font-family: "Onest", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.gifts-empty-desc {
    margin: 0;
    max-width: 280px;
    font-family: "Onest", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
}

#drawerGiftSelection .gifts-empty-state,
#noGiftsText.gifts-empty-state {
    display: none;
}

#drawerGiftSelection .gifts-empty-state.is-visible,
#noGiftsText.gifts-empty-state.is-visible,
.noPodarkiInfo.gifts-empty-state.is-visible {
    display: flex !important;
}

/* Шторка выбора подарка — всегда тёмная (settings.css даёт белый .drawer) */
#drawerGiftSelection.drawer,
#drawerGiftSelection {
    background: #141414 !important;
    color: #fff;
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.45);
}

#drawerGiftSelection .drawer-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
}

#drawerGiftSelection .drawer-handle {
    background: rgba(255, 255, 255, 0.28);
}

#drawerGiftSelection .TitleText {
    text-align: center;
    margin-bottom: 8px;
    color: #fff;
    font-family: "Onest", sans-serif;
    font-weight: 600;
}

#drawerGiftSelection .giftSelectorIN {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 4px 0 20px;
    overflow-y: auto;
    max-height: 55vh;
}

#drawerGiftSelection .giftSelectorIN .podarokItem,
#drawerGiftSelection .gift-picker-item {
    background: #1a1a1a !important;
    border: 1px solid #2B2B2B;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
}

#drawerGiftSelection .gift_meta {
    background: #141414;
    padding: 10px 12px 4px;
}

#drawerGiftSelection .gift_name {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#drawerGiftSelection .gift_footer--picker {
    background: #141414;
    padding: 4px 12px 12px;
    justify-content: flex-start;
}

#drawerGiftSelection .gift_price_badge {
    color: #F8CB35;
}

/* Empty gift pick slot — no plus */
.giftItem.gift-pick-empty {
    background: #1a1a1a !important;
    border: 1.5px dashed #2B2B2B;
}

.giftItem.gift-pick-empty .gift-pick-hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
    font-family: "Onest", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.3;
    z-index: 2;
}
