/* ─────────────────────────────────────────────────────────────────────────
   /dumpster-rental/prices

   Page-specific layout only. Sections, tables, fee cards and the FAQ reuse
   the .cdr-* rules from construction-dumpster-rental.css; this file adds the
   stat strip, the city filter, the sticky first column on the 61-row table,
   the "why" cards and the 15-yard block.

   site.combined.css is NOT served. Register this file in @section Styles.
   ───────────────────────────────────────────────────────────────────────── */

/* ── Stat strip under the short answer ─────────────────────────────────── */
.drp-stat-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 8px;
}

.drp-stat {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.drp-stat-value { color: #0f1a14; }
.drp-stat-label { color: #555; }

/* ── Tables ─────────────────────────────────────────────────────────────── */
/* A table wider than its wrapper must scroll from its LEFT edge. A centred,
   overflowing table gets its first column clipped, so on this page the wrapper
   is left-aligned and the table never centres itself. */
.drp-ladder-section .cdr-table-wrap,
.drp-all-cities-section .cdr-table-wrap {
    text-align: left;
    padding-bottom: 4px;
}

.drp-table {
    margin: 0;
    width: 100%;
    min-width: 0;
    table-layout: auto;
}

.drp-table th,
.drp-table td {
    min-width: 0;
    text-align: left;
    vertical-align: top;
    font-size: 16px;
    padding: 14px 16px;
}

.drp-table th:first-child,
.drp-table td:first-child {
    white-space: nowrap;
    border-right: 1px solid #e6e6e6;
}

.drp-table td:last-child { font-size: 15px; }

/* The San Jose ladder: keep the price column tight and let "Fits" wrap. */
.drp-ladder-section .drp-table { min-width: 640px; }
.drp-ladder-section .drp-table th:nth-child(2),
.drp-ladder-section .drp-table td:nth-child(2),
.drp-ladder-section .drp-table th:nth-child(3),
.drp-ladder-section .drp-table td:nth-child(3),
.drp-ladder-section .drp-table th:nth-child(4),
.drp-ladder-section .drp-table td:nth-child(4) { white-space: nowrap; }
.drp-ladder-section .drp-table th:last-child,
.drp-ladder-section .drp-table td:last-child { white-space: normal; min-width: 220px; }

.drp-price { font-weight: 700; color: #0f1a14; }

.drp-inert-row td { background: #f3faf6; }

.drp-city-wrap { max-height: 720px; overflow: auto; }

.drp-city-table { min-width: 760px; }
.drp-city-table th, .drp-city-table td { white-space: nowrap; }

.drp-city-table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #fff;
}

.drp-sticky {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #fff;
    box-shadow: 1px 0 0 #e6e6e6;
}

.drp-city-table thead .drp-sticky { z-index: 4; }

.drp-region-head {
    text-align: left;
    background: #0f1a14;
    color: #fff;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 10px 14px;
}

.drp-region-row .drp-region-head { position: sticky; left: 0; }

/* ── City filter ────────────────────────────────────────────────────────── */
.drp-filter {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 360px;
    margin-bottom: 18px;
}

.drp-filter-input {
    border: 1px solid #cfd8d0;
    border-radius: 8px;
    padding: 12px 14px;
    background: #fff;
}

.drp-filter-input:focus {
    outline: 2px solid #00A859;
    outline-offset: 1px;
    border-color: #00A859;
}

.drp-no-match {
    padding: 18px 14px;
    color: #555;
}

/* ── Why-the-price-changes cards ────────────────────────────────────────── */
.drp-why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.drp-why-card {
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ── 15-yard block ──────────────────────────────────────────────────────── */
.drp-fifteen-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.drp-fifteen-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drp-fifteen-card-primary {
    border-color: #00A859;
    box-shadow: 0 0 0 2px rgba(0, 168, 89, 0.15);
}

.drp-fifteen-kicker {
    color: #00A859;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .drp-stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .drp-why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .drp-fifteen-grid { grid-template-columns: 1fr; }
    .drp-city-table { min-width: 560px; }
    .drp-city-wrap { max-height: none; }
}
