body{
    background:#f3f4f6;
    margin:0;
    padding:0;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
    color:#111827;
}

/*
|--------------------------------------------------------------------------
| GRID
|--------------------------------------------------------------------------
*/

.ace-products-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:18px;
    padding:18px;
    max-width:760px;
    margin:0 auto;
}

/*
|--------------------------------------------------------------------------
| CARD
|--------------------------------------------------------------------------
*/

.ace-shop-card,
.ace-product{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    overflow:hidden;
}

/*
|--------------------------------------------------------------------------
| COVER
|--------------------------------------------------------------------------
*/

.ace-shop-cover,
.ace-cover{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    display:block;
    background:#e5e7eb;
}

/*
|--------------------------------------------------------------------------
| BODY
|--------------------------------------------------------------------------
*/

.ace-shop-body,
.ace-body{
    padding:18px;
}

/*
|--------------------------------------------------------------------------
| TITLE
|--------------------------------------------------------------------------
*/

.ace-shop-body h3,
.ace-body h1{
    margin:0 0 14px;
    font-size:22px;
    line-height:1.35;
    font-weight:700;
    letter-spacing:-0.02em;
}

/*
|--------------------------------------------------------------------------
| PRICE
|--------------------------------------------------------------------------
*/

.ace-shop-price,
.ace-price{
    font-size:22px;
    font-weight:700;
    margin-bottom:18px;
}

/*
|--------------------------------------------------------------------------
| FREE BADGE
|--------------------------------------------------------------------------
*/

.ace-shop-free,
.ace-free-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#16a34a;
    color:#fff;
    padding:6px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    margin-bottom:14px;
}

/*
|--------------------------------------------------------------------------
| ACTIONS
|--------------------------------------------------------------------------
*/

.ace-shop-actions,
.ace-actions{
    display:flex;
    flex-direction:column;
    gap:12px;
}

/*
|--------------------------------------------------------------------------
| BUTTONS
|--------------------------------------------------------------------------
*/

.ace-shop-btn,
.ace-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    min-height:52px;
    border-radius:14px;
    font-size:15px;
    font-weight:600;
    transition:.2s ease;
}

/*
|--------------------------------------------------------------------------
| PREVIEW
|--------------------------------------------------------------------------
*/

.ace-preview-btn{
    background:#eef2ff;
    color:#4338ca;
}

/*
|--------------------------------------------------------------------------
| OPEN
|--------------------------------------------------------------------------
*/

.ace-open-btn,
.ace-view-btn{
    background:#2563eb;
    color:#fff;
}

/*
|--------------------------------------------------------------------------
| BUY
|--------------------------------------------------------------------------
*/

.ace-buy-btn{
    background:#16a34a;
    color:#fff;
}

/*
|--------------------------------------------------------------------------
| BUNDLE
|--------------------------------------------------------------------------
*/

.ace-bundle{
    margin-top:20px;
    padding:16px;
    background:#f9fafb;
    border-radius:14px;
    border:1px solid #e5e7eb;
}

.ace-bundle h3{
    margin-top:0;
    margin-bottom:12px;
    font-size:15px;
}

.ace-bundle ul{
    margin:0;
    padding-left:18px;
}

.ace-bundle li{
    margin-bottom:8px;
    line-height:1.5;
}

/*
|--------------------------------------------------------------------------
| TABLET
|--------------------------------------------------------------------------
*/

@media(min-width:900px){

    .ace-products-grid{
        max-width:1200px;
        grid-template-columns:repeat(2,1fr);
        gap:24px;
    }
}

/*
|--------------------------------------------------------------------------
| LARGE DESKTOP
|--------------------------------------------------------------------------
*/

@media(min-width:1400px){

    .ace-products-grid{
        grid-template-columns:repeat(3,1fr);
    }
}