/* =========================================================
   domain-pricing.css — only the blocks /domain-pricing adds
   on top of index.css + hosting.css + vps.css + vds.css
   (hero, feature cards, FAQ and CTA reuse those styles).
========================================================= */

#price-list, #included { scroll-margin-top: 90px; }

.dp-sr {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.dp-t-muted { color: #64748b; }

/* 4 included cards in one row on desktop */
@media (min-width: 1101px) {
    .dp-included .sh-features-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Price list section ---------- */
.dp-list {
    padding: 90px 0;
    background: #ffffff;
}
.dp-list .section-header { margin-bottom: 36px; }

.dp-toolbar {
    display: flex;
    gap: 12px;
    max-width: 920px;
    margin: 0 auto 14px;
}
.dp-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    height: 52px;
    background: #fff;
    border: 1.5px solid #dbe3f0;
    border-radius: 14px;
    color: #64748b;
    transition: border-color .2s, box-shadow .2s;
}
.dp-search:focus-within {
    border-color: #4169E1;
    box-shadow: 0 0 0 4px rgba(65, 105, 225, .12);
}
.dp-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 15px;
    color: #0f172a;
    height: auto;
    padding: 0;
    box-shadow: none;
}
.dp-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 6px 0 14px;
    height: 52px;
    background: #f8fafc;
    border: 1.5px solid #dbe3f0;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}
.dp-sort select {
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
}

.dp-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 920px;
    margin: 0 auto 18px;
}
.dp-chip {
    padding: 8px 16px;
    border: 1.5px solid #dbe3f0;
    border-radius: 50px;
    background: #fff;
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all .2s;
}
.dp-chip:hover { border-color: #4169E1; color: #4169E1; }
.dp-chip.is-active {
    background: #4169E1;
    border-color: #4169E1;
    color: #fff;
}

.dp-count {
    max-width: 920px;
    margin: 0 auto 10px;
    font-size: 13px;
    color: #64748b;
}

.dp-table-wrap {
    max-width: 920px;
    margin: 0 auto;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}
.dp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}
.dp-table thead th {
    padding: 14px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #64748b;
}
.dp-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}
.dp-table tbody tr:last-child td { border-bottom: 0; }
.dp-table tbody tr:hover td { background: #f8faff; }
.dp-table small { color: #94a3b8; font-size: 12px; margin-left: 2px; }

.dp-ext { white-space: nowrap; }
.dp-ext-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}
.dp-tag {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 50px;
    background: rgba(65, 105, 225, .1);
    color: #4169E1;
    font-size: 11px;
    font-weight: 700;
    vertical-align: 2px;
}
.dp-price { font-weight: 700; color: #0f172a; }
.dp-na { color: #cbd5e1; }

.dp-act { text-align: right; width: 1%; }
.dp-btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 10px;
    background: rgba(65, 105, 225, .08);
    border: 1px solid rgba(65, 105, 225, .2);
    color: #4169E1;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all .2s;
}
.dp-btn:hover { background: #4169E1; border-color: #4169E1; color: #fff; }

.dp-empty {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
    color: #64748b;
    font-size: 14.5px;
}
.dp-empty strong { color: #0f172a; font-size: 16px; }
.dp-empty a { color: #4169E1; font-weight: 600; }
.dp-empty-solo {
    max-width: 640px;
    margin: 0 auto;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
}

.dp-more-wrap { text-align: center; }
.dp-more {
    margin-top: 22px;
    padding: 12px 28px;
    border: 1.5px solid #4169E1;
    border-radius: 50px;
    background: #fff;
    color: #4169E1;
    font: inherit;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
}
.dp-more:hover { background: #4169E1; color: #fff; }

.dp-note {
    max-width: 920px;
    margin: 22px auto 0;
    font-size: 13px;
    line-height: 1.6;
    color: #94a3b8;
    text-align: center;
}

/* ---------- Mobile: each row becomes a small card ---------- */
@media (max-width: 720px) {
    .dp-list { padding: 64px 0; }
    .dp-toolbar { flex-direction: column; gap: 10px; }
    .dp-search, .dp-sort { flex: none; }
    .dp-sort { justify-content: space-between; }
    .dp-sort select { flex: 1; text-align: right; }
    .dp-chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
    .dp-chips::-webkit-scrollbar { display: none; }
    .dp-chip { flex: 0 0 auto; }

    .dp-table-wrap { border: 0; box-shadow: none; background: transparent; border-radius: 0; overflow: visible; }
    .dp-table thead { display: none; }
    .dp-table, .dp-table tbody { display: block; }
    .dp-table tbody tr {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px 8px;
        margin-bottom: 12px;
        padding: 16px;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        background: #fff;
    }
    .dp-table tbody tr[hidden] { display: none; }
    .dp-table tbody tr:hover td { background: transparent; }
    .dp-table td { display: block; padding: 0; border: 0; font-size: 14px; }
    .dp-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .05em;
        text-transform: uppercase;
        color: #94a3b8;
    }
    .dp-ext { grid-column: 1 / 3; align-self: center; }
    .dp-act { grid-column: 3; grid-row: 1; width: auto; }
    .dp-btn { padding: 7px 14px; }
}
