/* ===== Shared preorder shell ===== */
.ck--preorder {
    position: relative;
    padding: 0 0 80px;
}

.ck--preorder-phases .ck__body::before,
.ck--preorder-phases .ck__body::after,
.ck--preorder-phases .po-pick::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
    filter: blur(50px);
}

/* Blue — top-left */
.ck--preorder-phases .ck__body::before {
    top: 0%;
    left: 2%;
    width: 700px;
    height: 700px;
    background: radial-gradient(
        circle,
        rgba(74, 144, 232, 0.16) 0%,
        rgba(74, 144, 232, 0) 50%
    );
}

/* Green — bottom-center */
.ck--preorder-phases .ck__body::after {
    bottom: -5%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(24, 194, 97, 0.12) 0%,
        rgba(24, 194, 97, 0) 50%
    );
}

/* Amber — top-right */
.ck--preorder-phases .po-pick {
    position: relative;
}

.ck--preorder-phases .po-pick::after {
    content: "";
    position: absolute;
    top: -15%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(
        circle,
        rgba(245, 166, 35, 0.12) 0%,
        rgba(245, 166, 35, 0) 50%
    );
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
}

.ck--preorder .ck__header,
.ck--preorder .ck__body {
    position: relative;
    z-index: 1;
}

.ck--preorder .ck__header {
    position: relative;
    padding-top: 8px;
}

.ck--preorder .ck__header .container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ck--preorder .ck__back-home {
    position: absolute;
    left: 15px;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.76);
}

.ck--preorder .ck__back-home:hover {
    color: #fff;
}

.ck--preorder .ck__stepper {
    justify-self: center;
    flex-wrap: nowrap;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(
        180deg,
        rgba(21, 24, 31, 0.84) 0%,
        rgba(13, 15, 20, 0.92) 100%
    );
    box-shadow:
        0 16px 42px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ck--preorder .ck__pip {
    opacity: 0.45;
    cursor: default;
}

.ck--preorder .ck__pip--done,
.ck--preorder .ck__pip--active {
    opacity: 1;
}

.ck--preorder .ck__pip--clickable {
    cursor: pointer;
}

.ck--preorder .ck__pip--clickable:hover {
    background: rgba(255, 255, 255, 0.08);
}

.ck--preorder .ck__pip-text {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
}

.ck--preorder .ck__pip-icon {
    width: 34px;
    height: 34px;
}

.ck--preorder .ck__pip-bar {
    width: 34px;
    margin: 0 6px;
}

.ck--preorder .ck__body {
    padding-top: 18px;
}

/* ===== PHASES STEP — pain-block style ===== */
.ck--preorder-phases {
    min-height: calc(100vh - 74px);
    padding-bottom: 0;
}

.ck--preorder-phases .ck__body {
    display: flex;
    align-items: flex-start;
    padding-top: 24px;
}

.po-pick {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 1060px;
    margin: 0 auto;
    width: 100%;
}

.po-pick__head {
    text-align: center;
}

.po-pick__title {
    margin: 0;
    font-family: var(--second-family);
    font-size: 48px;
    font-weight: 500;
    line-height: 125%;
    background: linear-gradient(
        180deg,
        #fff 30%,
        rgba(255, 255, 255, 0.7) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.po-pick__title-accent {
    background: linear-gradient(
        135deg,
        #4d9aff 0%,
        #6db8ff 30%,
        #8dcfff 60%,
        #a8e0ff 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 18px rgba(77, 154, 255, 0.4))
        drop-shadow(0 0 40px rgba(77, 154, 255, 0.15));
}

.po-pick__sub {
    margin: 8px 0 0;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 156%;
    letter-spacing: -0.01em;
}

/* Cards grid */
.po-pick__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

/* Card — controls dark-theme style */
.po-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    border-radius: 24px;
    cursor: pointer;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* Glass overlay */
.po-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(
        ellipse at 30% 20%,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.02) 40%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 1;
}

/* Blue card — квартира */
.po-card--blue {
    background: linear-gradient(
        165deg,
        rgba(110, 165, 240, 0.3) 0%,
        rgba(70, 120, 200, 0.14) 100%
    );
    border: 1px solid rgba(120, 170, 240, 0.25);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 28px -5px rgba(100, 160, 240, 0.2);
}

.po-card--blue:hover {
    border-color: rgba(120, 170, 240, 0.45);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 50px -5px rgba(110, 165, 240, 0.35);
}

/* Green card — дом */
.po-card--green {
    background: linear-gradient(
        165deg,
        rgba(90, 220, 155, 0.3) 0%,
        rgba(50, 180, 115, 0.14) 100%
    );
    border: 1px solid rgba(90, 220, 155, 0.25);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 28px -5px rgba(90, 220, 155, 0.2);
}

.po-card--green:hover {
    border-color: rgba(90, 220, 155, 0.45);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 50px -5px rgba(90, 220, 155, 0.35);
}

/* Amber card — свой вариант */
.po-card--amber {
    background: linear-gradient(
        165deg,
        rgba(255, 198, 92, 0.28) 0%,
        rgba(245, 166, 35, 0.16) 58%,
        rgba(221, 137, 14, 0.12) 100%
    );
    border: 1px solid rgba(255, 198, 92, 0.25);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 28px -5px rgba(245, 166, 35, 0.2);
}

.po-card--amber:hover {
    border-color: rgba(255, 198, 92, 0.46);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 50px -5px rgba(245, 166, 35, 0.34);
}

/* Red card — не подходит */
.po-card--red {
    background: linear-gradient(
        165deg,
        rgba(224, 90, 51, 0.28) 0%,
        rgba(200, 60, 30, 0.14) 100%
    );
    border: 1px solid rgba(224, 90, 51, 0.25);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 28px -5px rgba(224, 90, 51, 0.2);
}

.po-card--red:hover {
    border-color: rgba(224, 90, 51, 0.45);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 50px -5px rgba(224, 90, 51, 0.35);
}

.po-card:hover {
    transform: translateY(-6px);
}

/* Static cards (no hover lift, no pointer) */
.po-card--static {
    cursor: default;
}

.po-card--static:hover {
    transform: none;
}

/* Selected */
.po-card--active {
    transform: translateY(-4px);
}

.po-card--active.po-card--blue {
    border-color: rgba(120, 170, 240, 0.65);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 50px -5px rgba(110, 165, 240, 0.45);
}

.po-card--active.po-card--green {
    border-color: rgba(90, 220, 155, 0.6);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 50px -5px rgba(90, 220, 155, 0.42);
}

.po-card--active.po-card--amber {
    border-color: rgba(255, 198, 92, 0.6);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 50px -5px rgba(245, 166, 35, 0.42);
}

/* Top row: icon + check */
.po-card__top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Icon */
.po-card__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.po-card__icon .material-symbols-rounded {
    font-size: 28px;
    position: relative;
    z-index: 2;
}

.po-card__icon--blue {
    background: rgba(110, 165, 240, 0.2);
    border: 1px solid rgba(120, 170, 240, 0.25);
}

.po-card__icon--blue .material-symbols-rounded {
    color: #8ab8f5;
}

.po-card__icon--green {
    background: rgba(90, 220, 155, 0.18);
    border: 1px solid rgba(90, 220, 155, 0.22);
}

.po-card__icon--green .material-symbols-rounded {
    color: #6ee8a8;
}

.po-card__icon--amber {
    background: rgba(255, 198, 92, 0.18);
    border: 1px solid rgba(255, 198, 92, 0.22);
}

.po-card__icon--amber .material-symbols-rounded {
    color: #ffc85c;
}

.po-card__icon--red {
    background: rgba(224, 90, 51, 0.18);
    border: 1px solid rgba(224, 90, 51, 0.22);
}

.po-card__icon--red .material-symbols-rounded {
    color: #ff835c;
}

/* Check */
.po-card__check {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.08);
    transition:
        color 0.3s ease,
        filter 0.3s ease;
}

.po-card--active.po-card--blue .po-card__check {
    color: #8ab8f5;
    filter: drop-shadow(0 0 6px rgba(110, 165, 240, 0.4));
}

.po-card--active.po-card--green .po-card__check {
    color: #6ee8a8;
    filter: drop-shadow(0 0 6px rgba(90, 220, 155, 0.4));
}

.po-card--active.po-card--amber .po-card__check {
    color: #ffc85c;
    filter: drop-shadow(0 0 6px rgba(245, 166, 35, 0.4));
}

/* Always-on check (for static cards) */
.po-card__check--on {
    color: #6ee8a8;
    filter: drop-shadow(0 0 6px rgba(90, 220, 155, 0.4));
}

.po-card__check--red {
    color: #ff835c;
    filter: drop-shadow(0 0 6px rgba(224, 90, 51, 0.4));
}

/* Red card name glow */
.po-card--red .po-card__name {
    text-shadow: 0 0 24px rgba(224, 90, 51, 0.18);
}

/* Body */
.po-card__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.po-card__name {
    margin: 0;
    font-family: var(--second-family);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.po-card__desc {
    margin: 0;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.3;
}

/* Color-matched card names */
.po-card--blue .po-card__name {
    text-shadow: 0 0 24px rgba(110, 165, 240, 0.2);
}

.po-card--green .po-card__name {
    text-shadow: 0 0 24px rgba(90, 220, 155, 0.18);
}

.po-card--amber .po-card__name {
    text-shadow: 0 0 24px rgba(255, 198, 92, 0.18);
}

/* Phase illustration */
.po-card__img {
    position: relative;
    z-index: 1;
    border-radius: 14px;
    overflow: hidden;
}

.po-card__img img {
    display: block;
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    border-radius: 14px;
}

.po-card__img img[hidden] {
    display: none;
}

/* Phase selector */
.po-card__phases {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
}

.po-card__phase {
    min-height: 44px;
    padding: 0 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.po-card__phase:hover {
    background: rgba(0, 0, 0, 0.28);
    color: rgba(255, 255, 255, 0.7);
}

/* Blue card active phase — only when card selected */
.po-card--active.po-card--blue .po-card__phase--active {
    background: rgba(110, 165, 240, 0.22);
    border-color: rgba(120, 170, 240, 0.4);
    color: #a0ccff;
    box-shadow: 0 0 12px -2px rgba(110, 165, 240, 0.25);
}

/* Green card active phase — only when card selected */
.po-card--active.po-card--green .po-card__phase--active {
    background: rgba(90, 220, 155, 0.2);
    border-color: rgba(90, 220, 155, 0.38);
    color: #85f0b8;
    box-shadow: 0 0 12px -2px rgba(90, 220, 155, 0.22);
}

/* Qty stepper */
.po-card__qty {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    margin-top: auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 198, 92, 0.18);
    background: rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.po-card__qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 44px;
    border: none;
    background: transparent;
    color: rgba(255, 198, 92, 0.6);
    cursor: pointer;
    transition:
        background 0.18s ease,
        color 0.18s ease;
    font-family: var(--font-family);
}

.po-card__qty-btn:hover {
    background: rgba(255, 198, 92, 0.12);
    color: #ffc85c;
}

.po-card__qty-btn .material-symbols-rounded {
    font-size: 22px;
}

.po-card__qty-val {
    flex: 1;
    text-align: center;
    font-family: var(--second-family);
    font-size: 26px;
    font-weight: 700;
    color: #ffd580;
}

/* Bottom glass bar */
.po-pick__bottom-wrap {
    display: flex;
    justify-content: center;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.po-pick__bottom-wrap--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.po-pick__bottom {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 14px 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.07) 0%,
        rgba(255, 255, 255, 0.03) 100%
    );
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.po-pick__price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    white-space: nowrap;
}

.po-pick__price[hidden] {
    display: none;
}

.po-pick__price-calc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1;
}

.po-pick__price-new {
    font-family: var(--second-family);
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.po-pick__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 52px;
    gap: 10px;
    border: none;
    border-radius: 18px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}

.po-pick__cta:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.po-pick__cta .material-symbols-rounded {
    font-size: 26px;
}

/* ===== WIFI PAGE ===== */
.ck--preorder-wifi .ck__body {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 140px);
    padding-top: 0;
}

.ck--preorder-wifi {
    min-height: calc(100vh - 74px);
    padding-bottom: 0;
}

.po-wifi__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.po-wifi__examples {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
}

.po-wifi__example {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 600;
}

.po-wifi__example--good {
    background: rgba(90, 220, 155, 0.12);
    border: 1px solid rgba(90, 220, 155, 0.18);
    color: #6ee8a8;
}

.po-wifi__example--good .material-symbols-rounded {
    font-size: 22px;
    color: #34d769;
}

.po-wifi__example--bad {
    background: rgba(224, 90, 51, 0.12);
    border: 1px solid rgba(224, 90, 51, 0.18);
    color: #ff835c;
}

.po-wifi__example--bad .material-symbols-rounded {
    font-size: 22px;
    color: #ff7d52;
}

/* ===== Responsive — phases ===== */
@media (max-width: 980px) {
    .ck--preorder .ck__header .container {
        flex-direction: column;
        gap: 12px;
    }

    .ck--preorder .ck__back-home {
        position: static;
        align-self: flex-start;
        margin-bottom: 8px;
    }

    .po-pick__cards,
    .po-wifi__cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .po-pick__bottom-wrap {
        width: 100%;
    }

    .po-pick__bottom {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .po-pick__cta {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .ck--preorder {
        padding-bottom: 72px;
    }

    .ck--preorder .ck__stepper {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 10px 12px;
    }

    .ck--preorder .ck__pip {
        padding: 6px 8px;
    }

    .ck--preorder .ck__pip-icon {
        width: 32px;
        height: 32px;
    }

    .ck--preorder .ck__pip-text {
        font-size: 14px;
        white-space: nowrap;
    }

    .ck--preorder .ck__pip-bar {
        width: 24px;
    }

    .po-pick__title {
        font-size: 30px;
    }

    .po-card {
        padding: 16px;
    }

    .po-card__name {
        font-size: 22px;
    }

    .po-card__desc {
        font-size: 18px;
    }

    .po-pick__price-calc {
        font-size: 15px;
    }

    .po-pick__price-new {
        font-size: 20px;
    }
}

/* ===== WIFI PAGE (shared styles) ===== */
.po-phase-layout,
.po-wifi-layout {
    max-width: 1160px;
    margin: 0 auto;
}

.po-stage-intro {
    max-width: 800px;
    margin: 0 auto 24px;
    text-align: center;
}

.po-stage-intro--left {
    max-width: 860px;
    margin-bottom: 26px;
    text-align: left;
}

.po-stage-intro--side {
    max-width: none;
    margin: 0;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(
            circle at top left,
            rgba(125, 189, 255, 0.12) 0%,
            rgba(125, 189, 255, 0) 36%
        ),
        linear-gradient(
            180deg,
            rgba(22, 25, 33, 0.94) 0%,
            rgba(15, 17, 23, 0.98) 100%
        );
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    text-align: left;
}

.po-stage-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(125, 189, 255, 0.2);
    background: rgba(125, 189, 255, 0.08);
    color: #9dcbff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.po-stage-title {
    margin: 12px 0 8px;
    font-family: var(--second-family);
    font-size: clamp(30px, 3vw, 50px);
    font-weight: 700;
    line-height: 1.02;
    color: #fff;
}

.po-stage-title span {
    color: #7dbdff;
}

.po-stage-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 15px;
    line-height: 1.5;
}

.po-summary__prices {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.po-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(
        180deg,
        rgba(19, 22, 29, 0.92) 0%,
        rgba(13, 15, 20, 0.96) 100%
    );
    box-shadow:
        0 22px 56px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.po-summary--side {
    margin-top: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
}

.po-summary--center {
    justify-content: center;
}

.po-summary__left {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    min-width: 0;
}

.po-summary__badge {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.po-summary__badge .material-symbols-rounded {
    color: #7dbdff;
    font-size: 20px;
}

.po-summary__badge-label,
.po-summary__caption {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.po-summary__badge strong,
.po-summary__price {
    color: #fff;
    font-family: var(--second-family);
    font-size: 20px;
    font-weight: 700;
}

.po-summary__old {
    color: rgba(255, 255, 255, 0.28);
    font-size: 14px;
    text-decoration: line-through;
}

.po-summary__amounts {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.po-summary__right {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.po-summary__right--stack {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.po-summary__right--full {
    width: 100%;
    justify-content: space-between;
}

.po-summary__hint {
    max-width: 420px;
    margin: 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 12px;
    line-height: 1.4;
}

.po-summary__btn {
    width: 100%;
    min-width: 0;
    padding: 13px 18px;
    font-size: 15px;
}

.po-context-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.po-context-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
}

.po-context-pill .material-symbols-rounded {
    font-size: 20px;
    color: #7dbdff;
}

.po-context-pill strong {
    font-size: 15px;
    font-weight: 600;
}

/* ===== Wi-Fi page styles ===== */
.po-wifi-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 420px);
    gap: 22px;
    align-items: stretch;
    margin-bottom: 26px;
}

.po-guide-card,
.po-app--wifi .po-app__frame {
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(
            circle at top left,
            rgba(125, 189, 255, 0.1) 0%,
            rgba(125, 189, 255, 0) 32%
        ),
        linear-gradient(
            180deg,
            rgba(22, 25, 33, 0.94) 0%,
            rgba(15, 17, 23, 0.98) 100%
        );
    box-shadow:
        0 20px 52px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.po-guide-card {
    padding: 28px;
}

.po-guide-card__top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    margin-bottom: 24px;
}

.po-guide-card__icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(125, 189, 255, 0.12);
    border: 1px solid rgba(125, 189, 255, 0.18);
}

.po-guide-card__icon .material-symbols-rounded {
    font-size: 28px;
    color: #84c0ff;
}

.po-guide-card h2 {
    margin: 0 0 8px;
    color: #fff;
    font-family: var(--second-family);
    font-size: 28px;
    font-weight: 700;
}

.po-guide-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 16px;
    line-height: 1.65;
}

.po-guide-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.po-guide-tile {
    min-height: 168px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.po-guide-tile .material-symbols-rounded {
    margin-bottom: 14px;
    font-size: 26px;
    color: #7dbdff;
}

.po-guide-tile strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.po-guide-tile p {
    color: rgba(255, 255, 255, 0.56);
    font-size: 14px;
    line-height: 1.6;
}

.po-guide-tile--good {
    background: rgba(20, 194, 79, 0.08);
    border-color: rgba(20, 194, 79, 0.16);
}

.po-guide-tile--good .material-symbols-rounded {
    color: #34d769;
}

.po-guide-tile--bad {
    background: rgba(224, 90, 51, 0.08);
    border-color: rgba(224, 90, 51, 0.16);
}

.po-guide-tile--bad .material-symbols-rounded {
    color: #ff7d52;
}

.po-rule-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.po-rule-chip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.po-rule-chip .material-symbols-rounded {
    margin-top: 1px;
    font-size: 20px;
}

.po-rule-chip strong {
    display: block;
    margin-bottom: 3px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.po-rule-chip span {
    color: rgba(255, 255, 255, 0.56);
    font-size: 14px;
    line-height: 1.5;
}

.po-rule-chip--good .material-symbols-rounded {
    color: #34d769;
}

.po-rule-chip--bad .material-symbols-rounded,
.po-rule-chip--bad strong {
    color: #ff835c;
}

.po-app--wifi {
    align-self: stretch;
}

.po-app__frame {
    height: 100%;
    padding: 18px;
}

.po-app__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 8px 18px;
}

.po-app__bar .material-symbols-rounded {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.52);
}

.po-app__logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8fc7ff;
    font-size: 15px;
    font-weight: 600;
}

.po-app__signal {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(20, 194, 79, 0.12);
    color: #58dc84;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.po-app__screen {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(
        180deg,
        rgba(12, 14, 19, 0.7) 0%,
        rgba(17, 19, 25, 0.92) 100%
    );
    overflow: hidden;
}

.po-app__title-block {
    padding: 22px 22px 16px;
}

.po-app__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.44);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.po-app__title {
    margin: 0 0 6px;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
}

.po-app__subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 14px;
    line-height: 1.5;
}

.po-app__nets {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 10px 12px;
}

.po-net {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 16px;
    transition: background 0.18s ease;
}

.po-net:hover {
    background: rgba(255, 255, 255, 0.04);
}

.po-net__wifi {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.3);
    font-size: 20px;
}

.po-net--ok .po-net__wifi {
    color: #35d76d;
}

.po-net--bad .po-net__wifi {
    color: rgba(255, 255, 255, 0.14);
}

.po-net__info {
    flex: 1;
    min-width: 0;
}

.po-net__name {
    display: block;
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.po-net__sub {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
}

.po-net__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.po-net__tag--ok {
    background: rgba(20, 194, 79, 0.16);
    color: #35d76d;
}

.po-net__tag--ok .material-symbols-rounded {
    font-size: 14px;
}

.po-net__tag--bad {
    background: rgba(224, 90, 51, 0.16);
    color: #ff875f;
}

.po-net__lock {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.18);
    font-size: 18px;
}

/* ===== Shared responsive for wifi / other pages ===== */
@media (max-width: 1180px) {
    .ck--preorder .ck__pip-bar {
        width: 28px;
    }

    .po-guide-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .po-wifi-grid,
    .po-summary,
    .po-summary__right,
    .po-summary__right--full {
        display: grid;
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .po-summary__btn {
        width: 100%;
    }
}

@media (max-width: 820px) {
    .po-guide-tiles,
    .po-wifi-grid {
        grid-template-columns: 1fr;
    }

    .po-guide-card__top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .po-stage-title {
        font-size: 34px;
    }

    .po-stage-subtitle {
        font-size: 15px;
    }

    .po-stage-intro--side,
    .po-guide-card,
    .po-summary {
        padding: 18px;
        border-radius: 22px;
    }

    .po-app__title {
        font-size: 22px;
    }
}

@media (min-width: 981px) and (max-height: 860px) {
    .ck--preorder-wifi {
        min-height: calc(100vh - 76px);
        padding-bottom: 32px;
    }

    .ck--preorder-wifi .po-wifi-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 312px;
        grid-template-areas:
            "intro summary"
            "grid grid";
        gap: 14px 16px;
        max-width: 1000px;
    }

    .ck--preorder-wifi .po-stage-intro--left {
        grid-area: intro;
        max-width: none;
        margin-bottom: 0;
    }

    .ck--preorder-wifi .po-summary--center {
        grid-area: summary;
        margin: 0;
        padding: 18px;
        align-items: stretch;
    }

    .ck--preorder-wifi .po-summary__right--full {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
    }

    .ck--preorder-wifi .po-summary__hint {
        display: none;
    }

    .ck--preorder-wifi .po-summary__btn {
        margin-top: auto;
    }

    .ck--preorder-wifi .po-context-pills {
        margin-top: 12px;
    }

    .ck--preorder-wifi .po-wifi-grid {
        grid-area: grid;
        grid-template-columns: minmax(0, 1fr) 332px;
        gap: 16px;
        align-items: start;
        margin-bottom: 0;
    }

    .ck--preorder-wifi .po-guide-card {
        padding: 20px;
    }

    .ck--preorder-wifi .po-guide-card__top {
        margin-bottom: 16px;
    }

    .ck--preorder-wifi .po-guide-tiles {
        margin-bottom: 0;
    }

    .ck--preorder-wifi .po-guide-tile {
        min-height: 142px;
        padding: 16px;
    }

    .ck--preorder-wifi .po-rule-list {
        display: none;
    }

    .ck--preorder-wifi .po-app__frame {
        padding: 16px;
    }

    .ck--preorder-wifi .po-app__bar {
        padding: 6px 6px 14px;
    }

    .ck--preorder-wifi .po-app__title-block {
        padding: 18px 18px 12px;
    }

    .ck--preorder-wifi .po-app__nets {
        padding: 0 10px 10px;
    }

    .ck--preorder-wifi .po-net {
        padding: 10px 10px;
    }

    .ck--preorder-wifi .po-app__nets .po-net:nth-child(n + 5) {
        display: none;
    }
}

/* ===== CART PAGE — layout overrides ===== */
.ck--preorder-cart {
    padding-bottom: 80px;
}

.ck--preorder-cart .ck__body {
    display: block;
    padding-top: 36px;
}

/* Back link style matches preorder */
.ck--preorder-cart .ck__back-home {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.76);
}

.ck--preorder-cart .ck__back-home:hover {
    color: #fff;
}

/* Back button inside form */
.ck--preorder-cart .ck__back-btn {
    color: rgba(255, 255, 255, 0.55);
}

.ck--preorder-cart .ck__back-btn:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* Trust badge */
.ck--preorder-cart .ck__trust {
    color: rgba(255, 255, 255, 0.4);
}

/* Outline CTA (back to home on done screen) */
.ck--preorder-cart .ck__cta--outline {
    background: transparent;
    color: #8dcfff;
    border: 2px solid rgba(77, 154, 255, 0.35);
    box-shadow: none;
}

.ck--preorder-cart .ck__cta--outline::after {
    display: none;
}

.ck--preorder-cart .ck__cta--outline:hover {
    background: rgba(77, 154, 255, 0.08);
    box-shadow: none;
    transform: none;
}

@media (max-width: 980px) {
    .po-card:not(.po-card--active):not(.po-card--static) {
        border-color: rgba(255, 255, 255, 0.1);
        background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        opacity: 0.6;
    }

    .po-card:not(.po-card--active):not(.po-card--static):hover {
        opacity: 0.8;
    }
}
