.marketplace-package-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:12px !important;
}

.marketplace-package-card{
    position:relative;
    min-height:225px;
    padding:17px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    text-align:left;
    color:#fff;
    border:1px solid rgba(255,255,255,.08);
    border-radius:19px;
    background:
        radial-gradient(circle at 100% 0%,rgba(255,68,93,.11),transparent 32%),
        linear-gradient(180deg,#172137,#101827);
    cursor:pointer;
    overflow:hidden;
    transition:.18s ease;
    box-shadow:0 14px 38px rgba(0,0,0,.18);
}

.marketplace-package-card:hover{
    transform:translateY(-3px);
    border-color:rgba(255,68,93,.42);
}

.marketplace-package-card.selected{
    border-color:#ff445d;
    box-shadow:0 0 0 3px rgba(255,68,93,.08),0 18px 44px rgba(0,0,0,.24);
}

.discount-badge{
    position:absolute;
    top:11px;
    left:11px;
    padding:6px 9px;
    border-radius:999px;
    background:linear-gradient(135deg,#ff4058,#d91f49);
    color:#fff;
    font-size:10px;
    line-height:1;
    font-weight:700;
}

.discount-badge.zero{
    background:#273247;
    color:#9eabbf;
}

.marketplace-pack-main{
    padding-top:34px;
}

.marketplace-pack-eyebrow{
    display:block;
    margin-bottom:5px;
    color:#8390a6;
    font-size:9px;
    letter-spacing:.08em;
}

.marketplace-pack-main h3{
    margin:0;
    font-size:17px;
    line-height:1.35;
}

.marketplace-pack-point{
    display:inline-flex;
    margin-top:8px;
    padding:5px 8px;
    border-radius:8px;
    background:rgba(255,255,255,.05);
    color:#bcc7d7;
    font-size:10px;
}

.marketplace-price-area{
    margin-top:18px;
    padding-top:13px;
    border-top:1px solid rgba(255,255,255,.07);
}

.marketplace-old-price,
.marketplace-sale-price{
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:10px;
}

.marketplace-old-price{
    color:#8996aa;
    font-size:10px;
}

.marketplace-old-price del{
    color:#8592a6;
    font-size:13px;
}

.marketplace-old-price strong{
    color:#9ca8b9;
    font-size:13px;
}

.marketplace-sale-price{
    margin-top:4px;
}

.marketplace-sale-price span{
    color:#a7b2c3;
    font-size:10px;
}

.marketplace-sale-price strong{
    font-size:27px;
    line-height:1;
    letter-spacing:-.035em;
}

.marketplace-saving{
    margin-top:7px;
    text-align:right;
    color:#63dfa7;
    font-size:10px;
}

.marketplace-summary{
    background:
        radial-gradient(circle at 100% 0%,rgba(255,68,93,.09),transparent 30%),
        linear-gradient(180deg,#151e30,#101827);
}

.summary-title>div{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.summary-title span{
    font-size:17px;
    font-weight:700;
}

.marketplace-summary-lines{
    padding:14px 0;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
}

.marketplace-summary-lines>div{
    display:flex;
    justify-content:space-between;
    gap:18px;
    padding:6px 0;
    color:#b2bdcd;
    font-size:13px;
}

.marketplace-summary-lines strong{
    color:#fff;
}

.marketplace-summary-lines .discount-line strong{
    color:#61dfa6;
}

.marketplace-grand-total{
    margin-top:0 !important;
    padding-top:16px;
}

.marketplace-grand-total span{
    font-weight:700;
}

.marketplace-grand-total strong{
    font-size:31px !important;
}

.price-edit-table{
    overflow:auto;
    border:1px solid var(--line);
    border-radius:15px;
    margin-bottom:14px;
}

.price-edit-head,
.price-edit-row{
    min-width:680px;
    display:grid;
    grid-template-columns:2fr 1fr 1fr .7fr;
    gap:10px;
    align-items:center;
    padding:11px 13px;
}

.price-edit-head{
    background:#0c121c;
    color:#94a1b4;
    font-size:11px;
}

.price-edit-row{
    border-top:1px solid var(--line);
}

.price-edit-row input[type=number]{
    margin:0;
}

.admin-discount-preview{
    color:#6fe3ab;
    font-weight:700;
}

@media(max-width:1000px){
    .marketplace-package-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
}

@media(max-width:650px){
    .marketplace-package-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:8px !important;
    }

    .marketplace-package-card{
        min-height:205px;
        padding:11px;
        border-radius:15px;
    }

    .discount-badge{
        top:8px;
        left:8px;
        padding:5px 7px;
        font-size:9px;
    }

    .marketplace-pack-main h3{
        font-size:13px;
    }

    .marketplace-sale-price strong{
        font-size:21px;
    }
}
