/* DR packages inside shop shell */
.shop-coins-main {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    padding: 10px 12px;
    box-sizing: border-box;
}

.shop-coins-scroll {
    height: 100%;
    overflow-y: auto;
    padding-right: 4px;
}

.shop-coins-promo {
    background: linear-gradient(90deg, rgba(43, 108, 224, 0.35), rgba(139, 92, 246, 0.25));
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 10px;
    text-align: center;
    padding: 10px 12px;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.shop-coins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 10px;
}

.shop-coin-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(43, 108, 224, 0.3);
    border-radius: 10px;
    padding: 10px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    min-height: 0;
    overflow: hidden;
}

.shop-coin-card-top {
    flex: 1;
    min-height: 0;
}

.shop-coin-card-bottom {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.shop-coin-card .pkg-name {
    font-size: 0.68rem;
    margin-top: 4px;
    opacity: 0.85;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.shop-coin-card.popular {
    border-color: rgba(247, 189, 72, 0.55);
}

.shop-coin-card .coin-ico {
    font-size: 1.6rem;
    color: var(--gold, #f7bd48);
    margin-bottom: 6px;
}

.shop-coin-card .dr-amt {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gold, #f7bd48);
}

.shop-coin-card .bonus {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(43, 108, 224, 0.35);
    font-size: 0.68rem;
}

.shop-coin-card .price {
    margin-top: 8px;
    font-weight: 700;
    font-size: 0.95rem;
}

.shop-coin-card .buy-btn {
    margin-top: 0;
    width: 100%;
    padding: 0.45rem 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(72, 200, 120, 0.5);
    background: linear-gradient(180deg, rgba(34, 120, 70, 0.9), rgba(22, 90, 52, 0.95));
    color: #fff;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
}

.shop-coin-card .buy-btn:hover {
    filter: brightness(1.08);
}

body.shop-fixed .shop-coins-grid {
    grid-template-columns: repeat(3, 1fr);
}

body.shop-fixed.shop-ingame .shop-coins-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

body.shop-fixed.shop-ingame .shop-coin-card {
    padding: 8px 6px;
}

body.shop-fixed #buyModal .glass-panel {
    max-height: calc(var(--shop-vp-h, 655px) - 32px);
    overflow-y: auto;
    margin: 16px;
    box-sizing: border-box;
}

body.shop-fixed #buyModal .glass-panel > div:last-child {
    display: flex;
    gap: 0.75rem;
    flex-wrap: nowrap;
}

body.shop-fixed #buyModal .glass-panel .btn {
    flex: 1;
    min-width: 0;
}
