/* Configurator: one sheet + dark quote dock. */

.order-page { padding: 12px 0 72px; }
.order-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
    align-items: start;
    margin-top: 20px;
}
.od-sheet {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
}
.cfg-block {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 24px 26px 22px;
    margin: 0;
    border-bottom: 1px solid var(--line);
}
.cfg-block:last-child { border-bottom: 0; }
.cfg-block h2 {
    margin: 0 0 6px;
    font-size: 16px;
    letter-spacing: -0.02em;
    color: var(--ink-strong);
}
.cfg-note, .readonly-loc, .guest-hint, .sum-note, .od-pay-empty {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.65;
    margin: 0 0 14px;
}
.readonly-loc {
    margin: 14px 0 0;
    padding: 0;
    background: none;
    border-radius: 0;
    color: var(--ink);
    font-weight: 550;
}
.sku-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}
.sku-card, .chip, .pay-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
}
.sku-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    padding: 14px 16px;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.sku-card input, .chip input, .pay-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.sku-card.is-on, .chip:has(input:checked), .pay-option:has(input:checked) .pay-card {
    border-color: var(--teal);
    background: var(--ice);
    box-shadow: 0 0 0 3px rgba(70, 191, 191, 0.16);
}
.sku-card strong {
    display: block;
    font-size: 15px;
    letter-spacing: -0.02em;
    grid-column: 1;
}
.sku-price {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin: 0;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--price);
    white-space: nowrap;
}
.sku-card ul {
    grid-column: 1;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 12.5px;
}
.sku-card li { display: inline; }
.sku-card li + li::before { content: " · "; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 13px; font-size: 14px; font-weight: 550; }
.chip-row-cycle {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.chip-cycle {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin: 0;
    padding: 12px 12px 10px;
}
.chip-cycle-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}
.chip-cycle:has(input:checked) .chip-cycle-name { color: var(--ink); }
.chip-cycle-due {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--price);
}
.cycle-due {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 12px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--line);
    background: none;
    box-shadow: none;
}
.cycle-due-kicker {
    display: block;
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--teal-deep);
}
.cycle-due-sub {
    display: block;
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}
.cycle-due-figure {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0;
}
.cycle-due-figure strong {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 0.95;
    font-variant-numeric: tabular-nums;
    color: var(--price);
}
.cycle-due-unit { font-size: 13px; color: var(--muted); }
.stepper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--soft);
    border-radius: 999px;
    padding: 4px;
}
.stepper button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
}
.stepper button:disabled { opacity: 0.38; cursor: not-allowed; }
.cfg-ip-hint {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
}
.cfg-ip-hint.is-max { color: #9a5b12; }
.stepper input {
    width: 72px;
    border: 0;
    background: transparent;
    text-align: center;
    font: inherit;
    font-variant-numeric: tabular-nums;
    appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { appearance: none; margin: 0; }

.pick { position: relative; }
.pick-btn {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    font: inherit;
    text-align: left;
}
.pick-btn:hover, .pick.is-open .pick-btn {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(70, 191, 191, 0.16);
}
.pick-btn span:first-child { font-weight: 550; }
.pick-chev {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-right: 1.6px solid #9aa0ab;
    border-bottom: 1.6px solid #9aa0ab;
    transform: rotate(45deg);
    margin-right: 4px;
    transition: transform 0.18s ease;
}
.pick.is-open .pick-chev { transform: rotate(-135deg); }
.pick-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 8;
    max-height: 320px;
    overflow: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 8px;
}
.pick-group {
    margin: 0;
    padding: 10px 10px 6px;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--teal-deep);
}
.pick-opt {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border: 0;
    background: transparent;
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    text-align: left;
    color: var(--ink);
}
.pick-opt:hover { background: var(--soft); }
.pick-opt.is-on { background: var(--ice); font-weight: 550; }
.pick-opt small { color: var(--muted); font-weight: 500; }

.order-aside { position: sticky; top: 88px; }
.sum-card {
    background: var(--ink-strong);
    color: #e8edf3;
    border: 0;
    border-radius: 22px;
    padding: 22px 22px 20px;
    box-shadow: var(--shadow);
}
.sum-kicker {
    margin: 0 0 6px;
    color: #8fd4d4;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.sum-card h2 {
    margin: 0 0 14px;
    font-size: 22px;
    letter-spacing: -0.03em;
    color: #fff;
}
.sum-meta { margin: 0 0 12px; }
.sum-meta div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
}
.sum-meta dt { color: #c5ccd6; }
.sum-meta dd { margin: 0; text-align: right; font-weight: 550; color: #fff; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13.5px; }
.sum-row span { color: #e8edf3; }
.sum-row b { color: #7ee8e8; font-variant-numeric: tabular-nums; font-weight: 550; }
.sum-monthly { border-top: 1px solid rgba(255, 255, 255, 0.18); margin-top: 8px; padding-top: 12px; font-weight: 600; }
.sum-due { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0 6px; }
.sum-due span { color: #fff; }
.sum-due strong {
    font-size: 32px;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    color: #7ee8e8;
}
.sum-note { color: #c5ccd6; }
.pay-box { margin: 16px 0; }
.pay-label { font-size: 13px; font-weight: 600; margin: 0 0 8px; color: #eef1f6; }
.pay-list { display: flex; flex-direction: column; gap: 8px; }
.pay-loading, .od-pay-empty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 12px 2px;
    color: #9aa3b2;
    font-size: 13.5px;
}
.pay-spin { animation: pay-spin 1s linear infinite; }
@keyframes pay-spin { to { transform: rotate(360deg); } }
.pay-option { display: block; margin: 0; }
.pay-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border-color: transparent;
    color: var(--ink-strong);
}
.pay-card:hover { border-color: #c5ccd6; }
.pay-option:has(input:checked) .pay-card {
    border-color: var(--ink-strong);
    background: #fff;
}
.pay-logo {
    width: 40px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pay-card img, .pay-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pay-meta { flex: 1; min-width: 0; }
.pay-title { display: block; font-size: 14px; font-weight: 550; color: var(--ink-strong); }
.pay-currencies { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.pay-radio {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 2px solid var(--line);
    border-radius: 50%;
}
.pay-option:has(input:checked) .pay-radio {
    border-color: var(--ink-strong);
    background: var(--ink-strong);
    box-shadow: inset 0 0 0 3px #fff;
}
#checkout-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.guest-hint { margin-top: 12px; color: #c5ccd6; }
#os-lang-wrap { margin-top: 4px; }

@media (max-width: 960px) {
    .order-grid { grid-template-columns: 1fr; }
    .order-aside { position: static; }
}
@media (max-width: 720px) {
    .chip-row-cycle { grid-template-columns: 1fr 1fr; }
    .cycle-due { flex-direction: column; align-items: flex-start; }
    .cfg-block { padding: 20px 18px; }
}
