/* LUDOPANDA_PANDASHOP_WEBVIEW_V1
   Only PandaShop-specific components.
   Base presentation comes directly from PandaPay.
*/

.shop-list {
    display: grid;
    gap: var(--card-gap);
}

.shop-card {
    position: relative;
    overflow: hidden;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(
            180px 100px at 100% 0,
            rgba(255,212,0,.065),
            transparent 72%
        ),
        linear-gradient(
            145deg,
            #151516,
            #101011
        );
    box-shadow: var(--shadow);
}

.shop-card.featured {
    border-color: var(--gold-line);
}

.shop-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.shop-card-title {
    min-width: 0;
}

.shop-card-title strong {
    display: block;
    color: #fff;
    font-size: 17px;
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: -.025em;
}

.shop-card-title small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.35;
    font-weight: 650;
}

.shop-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 9px;
    border: 1px solid var(--gold-line);
    border-radius: 999px;
    background: rgba(255,212,0,.09);
    color: var(--gold);
    font-size: 9.5px;
    font-weight: 950;
    letter-spacing: .055em;
}

.shop-coins {
    margin-top: 15px;
    color: #fff;
    font-size: 27px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.04em;
}

.shop-coins small {
    margin-left: 3px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .02em;
}

.shop-bonus {
    margin-top: 6px;
    color: var(--green);
    font-size: 11.5px;
    font-weight: 850;
}

.shop-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 15px;
    padding-top: 13px;
    border-top: 1px solid var(--line);
}

.shop-price {
    min-width: 0;
}

.shop-price span {
    display: block;
    color: var(--muted-2);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.shop-price strong {
    display: block;
    margin-top: 3px;
    color: #fff;
    font-size: 17px;
    font-weight: 950;
}

.shop-buy {
    width: auto !important;
    min-width: 105px;
    margin: 0 !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
}

.review-line,
.order-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}

.review-line:last-child,
.order-line:last-child {
    border-bottom: 0;
}

.review-line span,
.order-line span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.review-line strong,
.order-line strong {
    color: #fff;
    font-size: 12.5px;
    font-weight: 900;
    text-align: right;
}

.order-card {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.order-card + .order-card {
    margin-top: var(--card-gap);
}

.order-heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
}

.order-heading strong {
    color: #fff;
    font-size: 14px;
    font-weight: 950;
}

.order-heading small {
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 700;
    text-align: right;
}

.order-status {
    color: var(--green) !important;
}

.featured-pulse {
    animation: psFeaturedPulse .8s ease 2;
}

@keyframes psFeaturedPulse {
    0%, 100% {
        border-color: var(--gold-line);
    }

    50% {
        border-color: var(--gold);
        box-shadow:
            0 0 0 2px rgba(255,212,0,.08),
            var(--shadow);
    }
}

@media (min-width: 560px) {
    .shop-list {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }
}
