/* =========================================================
   PRODUCT CARDS — dipakai halaman Services & Sewa Server
   Kit bersama: page-shell.css
   Token: assets/css/global.css
========================================================= */

/* =========================
   PAGE WRAPPER
========================= */

.services-page,
.server-page {
    padding: 0 0 96px;
    background: var(--bg-1);
}

/* =========================
   GRID
========================= */

.product-grid,
.server-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;

    align-items: stretch;
}

/* =========================
   KARTU PRODUK
========================= */

.product-card {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;

    overflow: hidden;

    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);

    background: var(--surface);

    transition: border-color 0.2s ease;
}

.product-card:hover {
    border-color: var(--line-300);
}

.product-head {
    padding: 26px 26px 0;
}

.product-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    margin-bottom: 18px;

    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);

    background: var(--bg-1);

    font-size: 16px;
    color: var(--color-primary);
}

.product-head .page-card-label {
    margin-bottom: 10px;
}

.product-title {
    margin: 0 0 10px;

    font-size: clamp(1.3rem, 1.9vw, 1.55rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;

    color: var(--color-ink);
}

.product-desc {
    margin: 0;

    font-size: 0.975rem;
    line-height: 1.7;

    color: var(--color-muted);
    text-wrap: pretty;
}

.product-body {
    padding: 22px 26px 0;
}

.product-sub {
    display: block;
    margin-bottom: 14px;

    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1.2px;
    text-transform: uppercase;

    color: var(--color-muted);
}

.product-note {
    box-sizing: border-box;

    margin: 20px 0 0;
    padding: 14px 16px;

    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);

    background: var(--bg-1);

    font-size: 0.925rem;
    line-height: 1.65;

    color: var(--color-muted);
}

.product-note strong {
    color: var(--color-ink);
    font-weight: 600;
}

/* =========================
   FOOTER KARTU
========================= */

.product-foot {
    margin-top: auto;
    padding: 22px 26px 26px;

    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.product-foot .btn {
    flex: 1 1 160px;
}

.product-price {
    flex: 1 1 100%;

    margin: 0 0 2px;

    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1.1px;
    text-transform: uppercase;

    color: var(--color-muted);
}

.product-price strong {
    display: block;
    margin-top: 7px;

    font-family: var(--font-body);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: none;

    color: var(--color-ink);
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    width: 100%;
}

.product-actions .btn {
    flex: 1 1 160px;
}

/* =========================
   DAFTAR SPESIFIKASI (dl)
========================= */

.spec-list {
    margin: 22px 26px 0;
    padding: 0;

    border-top: 1px solid var(--color-border);
}

.spec-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;

    padding: 11px 0;

    border-bottom: 1px dashed var(--color-border);
}

.spec-row dt {
    flex: 0 0 auto;

    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;

    color: var(--color-muted);
}

.spec-row dd {
    margin: 0;

    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.55;
    text-align: right;
    font-variant-numeric: tabular-nums;

    color: var(--color-ink);
}

/* =========================
   TABEL PERBANDINGAN
========================= */

.cmp-wrap {
    box-sizing: border-box;

    overflow-x: auto;

    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);

    background: var(--surface);
}

.cmp {
    width: 100%;
    min-width: 620px;

    border-collapse: collapse;

    font-size: 0.95rem;
}

.cmp-caption {
    padding: 14px 20px;

    border-bottom: 1px solid var(--color-border);

    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1.1px;
    text-align: left;
    text-transform: uppercase;

    color: var(--color-muted);
    background: var(--bg-1);
}

.cmp th,
.cmp td {
    padding: 14px 20px;

    text-align: left;
    vertical-align: top;

    border-bottom: 1px solid var(--color-border);
}

.cmp thead th {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;

    color: var(--color-muted);
    background: var(--bg-1);
}

.cmp tbody th {
    width: 32%;

    font-weight: 600;

    color: var(--color-ink);
}

.cmp tbody td {
    font-variant-numeric: tabular-nums;

    color: var(--color-muted);
}

.cmp tbody tr:last-child th,
.cmp tbody tr:last-child td {
    border-bottom: 0;
}

.cmp tbody tr:hover th,
.cmp tbody tr:hover td {
    background: var(--bg-1);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .product-grid,
    .server-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

}

@media (max-width: 768px) {

    .services-page,
    .server-page {
        padding-bottom: 72px;
    }

    .product-head {
        padding: 22px 22px 0;
    }

    .product-body {
        padding: 20px 22px 0;
    }

    .product-foot {
        padding: 20px 22px 22px;
    }

    .spec-list {
        margin-left: 22px;
        margin-right: 22px;
    }

    .spec-row {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .spec-row dd {
        text-align: left;
    }

    .cmp th,
    .cmp td {
        padding: 12px 16px;
    }

}