/* Pricing: showroom tiles, not a spreadsheet. */

.px-board { margin-top: 28px; padding: 8px 0; }
.px-board-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin-bottom: 20px;
}
.cycle-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    background: #fff;
    width: fit-content;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: var(--pill);
    box-shadow: var(--shadow-soft);
}
.cycle-bar button {
    border: 0;
    background: transparent;
    padding: 9px 16px;
    cursor: pointer;
    font: inherit;
    font-size: 13.5px;
    font-weight: 550;
    border-radius: var(--pill);
    color: var(--muted);
}
.cycle-bar button[aria-pressed="true"] {
    background: var(--ink-strong);
    color: #fff;
}
.pz-note { margin: 0; color: var(--muted); font-size: 13.5px; }

.px-show {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.pz-plan {
    display: flex;
    flex-direction: column;
    min-height: 420px;
    padding: 36px 32px 28px;
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(47, 56, 72, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.pz-plan:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(47, 56, 72, 0.14);
}
.px-mem {
    margin: 0 0 8px;
    font-size: clamp(64px, 7vw, 88px);
    font-weight: 650;
    letter-spacing: -0.07em;
    line-height: 0.86;
    color: var(--ink-strong);
}
.px-mem span {
    margin-left: 6px;
    font-size: 0.28em;
    color: var(--muted);
    vertical-align: super;
}
.pz-plan h3 {
    margin: 0 0 8px;
    font-size: 20px;
    letter-spacing: -0.03em;
}
.pz-plan > p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
}
.pz-plan-base { margin-top: 10px !important; }
.pz-plan-base b { color: var(--price); }
.pz-plan-due {
    margin: 28px 0 4px !important;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--price);
}
.pz-plan-unit { margin: 0 0 18px !important; font-size: 13px; }
.pz-plan .btn { align-self: flex-start; margin-top: auto; }
.pz-plan-photo {
    color: #fff;
    background:
        linear-gradient(180deg, rgba(22, 28, 36, 0.3) 0%, rgba(22, 28, 36, 0.8) 100%),
        url("../../resources/image/nk-dimm-detail.jpg") center / cover;
}
.pz-plan-photo .px-mem,
.pz-plan-photo h3,
.pz-plan-photo .pz-plan-due { color: #fff; }
.pz-plan-photo > p,
.pz-plan-photo .px-mem span,
.pz-plan-photo .pz-plan-unit { color: rgba(255, 255, 255, 0.7); }
.pz-plan-photo .pz-plan-base b { color: #7ee8e8; }

.pz-matrix {
    margin-top: 28px;
    border: 0;
    border-radius: 24px;
    overflow: auto;
    background: #fff;
    box-shadow: 0 12px 32px rgba(47, 56, 72, 0.06);
}
.pz-matrix .sheet { margin: 0; }
.pz-matrix tbody td:not(:first-child) {
    color: var(--price);
    font-variant-numeric: tabular-nums;
}
.px-eq {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.7;
    max-width: 62em;
}

.px-block { padding: 72px 0 8px; }
.px-block h2 {
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 650;
    letter-spacing: -0.036em;
    margin: 0 0 10px;
    color: var(--ink-strong);
}
.px-block .section-lead { margin-bottom: 24px; }

.px-addons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(47, 56, 72, 0.07);
}
.px-addons article {
    padding: 28px 24px 24px;
    border-right: 1px solid var(--line);
}
.px-addons article:last-child { border-right: 0; }
.px-addons strong {
    display: block;
    font-size: 28px;
    letter-spacing: -0.04em;
    color: var(--price);
    font-variant-numeric: tabular-nums;
}
.px-addons span {
    display: block;
    margin: 4px 0 16px;
    color: var(--muted);
    font-size: 12.5px;
}
.px-addons h3 {
    margin: 0 0 8px;
    font-size: 17px;
    letter-spacing: -0.02em;
}
.px-addons p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.6;
}

.px-os {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.px-os > div {
    padding: 28px 26px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(47, 56, 72, 0.06);
}
.px-os dt {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 650;
    letter-spacing: -0.03em;
    color: var(--ink-strong);
}
.px-os dd {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.65;
}

.pz-examples {
    padding: 28px;
    background: #2a3342;
    border-radius: 28px;
    color: #d8e0ea;
}
.pz-ex-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}
.pz-ex-nav button {
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--pill);
    padding: 8px 14px;
    cursor: pointer;
    font: inherit;
    font-size: 13.5px;
    font-weight: 550;
    color: rgba(255, 255, 255, 0.7);
}
.pz-ex-nav button[aria-pressed="true"] {
    border-color: transparent;
    background: #fff;
    color: var(--ink-strong);
}
.pz-ex-card { background: none; }
.pz-ex-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
    color: #fff;
}
.pz-ex-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
}
.pz-ex-row span { color: rgba(255, 255, 255, 0.55); }
.pz-ex-row b { color: #7ee8e8; font-weight: 550; font-variant-numeric: tabular-nums; }
.pz-ex-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
}
.pz-ex-total b {
    font-size: 32px;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    color: #7ee8e8;
}
.pz-ex-due { margin: 8px 0 18px; color: rgba(255, 255, 255, 0.62); font-size: 14px; }

@media (max-width: 860px) {
    .px-block { padding-top: 48px; }
    .px-show,
    .px-addons,
    .px-os { grid-template-columns: 1fr; }
    .px-addons article { border-right: 0; border-bottom: 1px solid var(--line); }
    .pz-plan { min-height: 0; }
    .pz-plan:hover { transform: none; }
    .pz-examples { padding: 22px 18px; }
}
