/**
 * Wightman signup wizard — frontend styles.
 *
 * Scoped under .wgm-body / .wgm-wrap. The wizard is a full-page takeover, so
 * these styles deliberately reset the theme rather than inherit from it.
 */

html:has(.wgm-wizard-address) {
    zoom: 90%;
}

html{
    margin-top: 0!important ;
    zoom: 80%;
}


.wgm-body {
    --wgm-red: #D02727;
    --wgm-red-dark: #b8141a;
    --wgm-red-tint: #fdeef0;
    --wgm-ink: #101418;
    --wgm-text: #1f2933;
    --wgm-muted: #6b7280;
    --wgm-line: #e3e6ea;
    --wgm-line-soft: #f0f2f4;
    --wgm-bg: #fbfbfc;
    --wgm-surface: #ffffff;
    --wgm-green: #00A843;
    --wgm-green-tint: #e7f6ed;

    --wgm-r-sm: 8px;
    --wgm-r-md: 12px;
    --wgm-r-lg: 16px;
    --wgm-r-pill: 999px;

    --wgm-shadow: 0 1px 2px rgba(16, 20, 24, .04), 0 2px 8px rgba(16, 20, 24, .05);
    --wgm-shadow-lg: 0 18px 48px rgba(16, 20, 24, .18);

    /* Motion. Every animated rule in this file pulls from these four, so the
       whole wizard can be retimed from one place. */
    --wgm-ease: cubic-bezier(.4, 0, .2, 1);
    --wgm-ease-out: cubic-bezier(.16, 1, .3, 1);
    --wgm-dur: .22s;
    --wgm-dur-lg: .38s;

    margin: 0;
    background: var(--wgm-bg);
    color: var(--wgm-text);
    font-family: "Open Sans", "Poppins", "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.wgm-body.wgm-locked {
    overflow: hidden;
}

.wgm-wrap *,
.wgm-modal *,
.wgm-drawer * {
    box-sizing: border-box;
}

.wgm-wrap img {
    max-width: 100%;
    height: auto;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* =====================================================================
   BUTTONS
   ===================================================================== */

.wgm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border: 1px solid transparent;
    border-radius: var(--wgm-r-pill);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .12s ease;
}

.wgm-btn:active { transform: translateY(1px); }

.wgm-btn-primary {
    background: var(--wgm-red);
    border-color: var(--wgm-red);
    color: #fff;
}

.wgm-btn-primary:hover { background: var(--wgm-red-dark); border-color: var(--wgm-red-dark); color: #fff; }

.wgm-btn-outline {
    background: #fff;
    border-color: var(--wgm-red);
    color: var(--wgm-red);
}

.wgm-btn-outline:hover { background: var(--wgm-red-tint); }

.wgm-btn-dark {
    background: var(--wgm-ink);
    border-color: var(--wgm-ink);
    color: #fff;
    border-radius: var(--wgm-r-sm);
}

.wgm-btn-outline-dark {
    background: #fff;
    border-color: var(--wgm-ink);
    color: var(--wgm-ink);
}

.wgm-btn-white {
    background: #fff;
    border-color: #fff;
    color: var(--wgm-red);
}

.wgm-btn-white:hover { background: #fff5f5; color: var(--wgm-red-dark); }

.wgm-btn-block { width: 100%; }
.wgm-btn-lg { padding: 16px 26px; font-size: 16px; }

.wgm-btn.is-disabled,
.wgm-btn[aria-disabled="true"] {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: auto;
}

.wgm-btn.is-busy { opacity: .7; cursor: progress; }

.wgm-link-button {
    padding: 0;
    background: none;
    border: 0;
    color: #D02727;
    font: inherit;
    font-size: 18px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.wgm-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: 0;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
    color: var(--wgm-muted);
    cursor: pointer;
}

.wgm-icon-button:hover { background: var(--wgm-line-soft); color: var(--wgm-ink) !important; }

/* =====================================================================
   HEADER
   ===================================================================== */

.wgm-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fff;
    border-bottom: 1px solid var(--wgm-line);
}

.wgm-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 14px 28px;
}

.wgm-header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wgm-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: none;
    border: 0;
    color: var(--wgm-ink);
    cursor: pointer;
}


.wgm-header-meta {
    display: flex;
    align-items: center;
    gap: 0;
}

.wgm-header-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 22px;
    border-left: 1px solid var(--wgm-line);
}

.wgm-header-item:first-child { border-left: 0; }
.wgm-header-item img { width: 30px; height: 30px; flex: 0 0 auto; }

.wgm-header-label {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #595959;
    line-height:150%;
}

.wgm-header-item strong { font-size: 18px; font-weight: 600; }

.wgm-header-phone {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    text-decoration: underline;
    font-family: "Nunito";
}

.wgm-cart-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0 4px 0 22px;
    background: none;
    border: 0;
    border-left: 1px solid var(--wgm-line);
    cursor: pointer;
}

.wgm-cart-button img { width: 26px; height: 26px; display: block; }

/* The count hangs off the icon, not off the button. The button is given a
   larger touch area on a phone, and anchoring the badge to it left the
   number floating in the empty corner of that area. */
.wgm-cart-icon { position: relative; display: inline-block; line-height: 0; }

.wgm-cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    min-width: 20px;
    height: 20px;
    background: #D02727;
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* =====================================================================
   LAYOUT
   ===================================================================== */

.wgm-main {
    max-width: 1320px;
    margin: 0 auto;
    padding: 32px 28px 200px;
}

.wgm-step-head {
    margin: 0 0 40px;
    text-align: center;
}

.wgm-step .wgm-step-head h1 {
    margin: 0 0 8px;
    font-size: 48px !important;
    font-weight: 600;
    color: #000;
    font-family: "Nunito";
}

.wgm-step  .wgm-step-head p { margin: 0; color: #595959; font-size: 18px; }

.wgm-empty-state {
    grid-column: 1 / -1;
    padding: 40px;
    background: #fff;
    border: 1px dashed var(--wgm-line);
    border-radius: var(--wgm-r-md);
    color: var(--wgm-muted);
    text-align: center;
}

/* =====================================================================
   PROGRESS BAR
   ===================================================================== */

.wgm-progress { margin: 8px 0 48px; }

.wgm-progress-list {
    display: flex;
    margin: 0;
    padding: 0;
    background: #f2f3f5;
    border-radius: var(--wgm-r-pill);
    list-style: none;
    overflow: hidden;
}

.wgm-progress-step { flex: 1 1 0; min-width: 0; }

.wgm-progress-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    padding: 0 18px;
    color: #000000;
    font-size: 18px;
    text-decoration: none;
}

.wgm-progress-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    background: #fff;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 400;
    color: #595959;
}

.wgm-progress-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Completed and current steps share the red chevron treatment. */
.wgm-progress-step.is-done,
.wgm-progress-step.is-current {
    position: relative;
    background: var(--wgm-red);
}

.wgm-progress-step.is-done .wgm-progress-link,
.wgm-progress-step.is-current .wgm-progress-link {
    color: #fff;
    font-weight: 700;
}

.wgm-progress-step.is-done .wgm-progress-marker,
.wgm-progress-step.is-current .wgm-progress-marker {
    background: #fff;
    color: #595959;
}

body.wgm-wizard-phone .wgm-progress-step.is-current::after{right: -17px; top: 1px;}

/* The arrow head on the last red step. */
.wgm-progress-step.is-current::after {
    content: "";
    position: absolute;
    top: 0;
    right: -18px;
    z-index: 2;
    width: 0;
    height: 0;
    border-top: 26px solid transparent;
    border-bottom: 26px solid transparent;
    border-left: 18px solid var(--wgm-red);
}

.wgm-progress-step.is-current { z-index: 1; }

/* @media screen and (min-width: 1200px) {
    .wgm-progress-step.is-current::after{right: -17px;}
} */

@media screen and (max-width: 1300px){
    .wgm-progress-step.is-current::after{right: -17px;}
}

@media screen and (max-width: 1800px){
    .wgm-progress-step.is-current::after{right: -17px;}
}

@media (max-width: 860px) {
    .wgm-progress-label { display: none; }
    .wgm-progress-step.is-current .wgm-progress-label { display: inline; }
}

/* =====================================================================
   STEP 0 — ADDRESS GATE
   ===================================================================== */

.wgm-wizard-address .wgm-main { max-width: none; padding: 0; }

.wgm-gate {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: calc((100vh - 75px) / 0.8);
}

.wgm-gate-hero {
    padding: 150px 64px;
    background: #101010;
    color: #fff;
    display: flex;
    justify-content: center;
}

.wgm-gate-hero-inner { max-width: 660px;  }

.wgm-gate-hero .wgm-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    border: 1px solid rgba(255, 255, 255, .28);
    font-family: "Open Sans";
    border-radius: var(--wgm-r-pill);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px !important;
}

.wgm-gate-hero .wgm-gate-headline {
    margin: 0 0 24px;
    font-size: 48px !important;
    font-weight: 700;
    line-height: 120%;
    font-family: "Nunito" ;
}

.wgm-gate-hero .wgm-gate-bullets { margin: 0 0 32px; padding: 0; list-style: none; }

.wgm-gate-hero .wgm-gate-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.wgm-gate-hero .wgm-gate-bullets li span{
    font-size: 20px;
    font-weight: 400;
}

.wgm-gate-hero .wgm-gate-bullets img { width: 24px; height: 24px; flex: 0 0 auto; }

.wgm-gate-hero .wgm-gate-quote {
    margin: 0;
    padding: 32px 24px;
    border: 1px solid #EEEEEE;
    border-radius:4px;
}

.wgm-gate-hero .wgm-gate-quote blockquote {
    margin: 0 0 18px;
    font-size: 18px;
    line-height: 150%;
    font-weight: 500;
}

.wgm-gate-hero .wgm-gate-quote figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wgm-gate-hero .wgm-quote-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.wgm-gate-hero .wgm-quote-meta { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; }
.wgm-gate-hero .wgm-quote-meta img { width: 84px; }
.wgm-gate-hero .wgm-quote-google { width: 28px; }

.wgm-gate-form-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 5vw;
    background: #fff;
}

.wgm-gate-form { width: 100%; max-width: 480px; }

.wgm-gate-form .wgm-gate-signin {
    margin: 16px 0 0;
    text-align: center;
    font-size: 15px;
}

.wgm-gate-form-col .wgm-alert{gap: 16px; border-radius: 0; border: 1px solid #EA0029; background-color: #FCEFEE; padding: 24px;}
.wgm-gate-form-col .wgm-alert p{font-size: 16px; font-family: "Open Sans"; font-weight: 400; color: #333333;}

.wgm-gate-form .wgm-gate-signin a { color: #222222; font-size: 16px; font-weight: 400; text-decoration: underline; }

@media (max-width: 900px) {
    .wgm-gate { grid-template-columns: 1fr; }
    .wgm-gate-hero { padding: 44px 24px; }
    .wgm-gate-hero-inner { margin: 0; }
    .wgm-gate-form-col { padding: 36px 24px 56px; }
}

/* =====================================================================
   FORMS
   ===================================================================== */

.wgm-gate-form .wgm-field:not(:last-of-type) { margin-bottom: 24px !important; }

.wgm-gate-form-col .wgm-field > label {
    display: block;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
    color: #000000;
}

/* .wgm-gate-form-col .wgm-req { color: var(--wgm-red); } */

.wgm-gate-form-col .wgm-field input[type="text"],
.wgm-gate-form-col .wgm-field input[type="email"],
.wgm-gate-form-col .wgm-field input[type="tel"],
.wgm-gate-form-col .wgm-field select,
.wgm-gate-form-col .wgm-field textarea {
    width: 100%;
    padding: 16px;
    background: #fff;
    border: 1px solid #777777;
    border-radius: 4px;
    font-size: 16px;
    color: #595959;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.wgm-gate-form-col .wgm-field input::placeholder { color: #9aa2ac; }

.wgm-gate-form-col .wgm-field input:focus,
.wgm-gate-form-col .wgm-field select:focus,
.wgm-gate-form-col .wgm-field textarea:focus {
    outline: none;
    border-color: var(--wgm-red);
    box-shadow: 0 0 0 3px rgba(224, 31, 38, .15);
}

.wgm-field.has-error input,
.wgm-field.has-error select { border-color: var(--wgm-red); }

.wgm-field-error {
    margin: 6px 0 0;
    color: var(--wgm-red);
    font-size: 16px;
    min-height: 0;
}

.wgm-field-error:empty { display: none; }

.wgm-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    font-size: 15px;
    cursor: pointer;
}

.wgm-checkbox input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--wgm-red); }

.wgm-form-message { margin: 10px 0 0; font-size: 14px; color: var(--wgm-green); }
.wgm-form-message.is-error { color: var(--wgm-red);margin-bottom: 10px; font-size: 14px; }

.wgm-gate-form .wgm-btn.wgm-btn-lg{margin-top: 32px; font-size: 18px; font-weight: 700; border-radius: 20px;}

/* Address autocomplete */

.wgm-field-autocomplete { position: relative; }

.wgm-autocomplete {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    max-height: 260px;
    margin: 0;
    padding: 6px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--wgm-line);
    border-radius: var(--wgm-r-sm);
    box-shadow: var(--wgm-shadow-lg);
    list-style: none;
}

.wgm-autocomplete li {
    padding: 11px 12px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

.wgm-autocomplete li:hover,
.wgm-autocomplete li.is-active { background: var(--wgm-red-tint); color: var(--wgm-red-dark); }

/* Alerts */

.wgm-alert {
    display: flex;
    gap: 12px;
    padding: 16px 18px;
    margin-bottom: 26px !important;
    border-radius: var(--wgm-r-sm);
    font-size: 15px;
    line-height: 1.5;
}

.wgm-alert img { width: 24px; height: 24px; flex: 0 0 auto; }
.wgm-alert p { margin: 0; }

.wgm-alert-error {
    background: var(--wgm-red-tint);
    border: 1px solid var(--wgm-red);
    color: #7a1216;
}

.wgm-gate-alert { flex-wrap: wrap; }
.wgm-gate-alert [data-wgm-gate-alert-text] { flex: 1; min-width: 0; }
.wgm-gate-contact { flex-basis: 100%; }
.wgm-gate-contact .wgm-btn { max-width: 100%; font-weight: 700; }

/* =====================================================================
   STEP 1 — INTERNET
   ===================================================================== */
.wgm-step-internet{padding-bottom: 82px;}
section.wgm-step.wgm-step-internet .wgm-step-head{margin-bottom: 24px;}
.wgm-term-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 34px;
}

.wgm-term-option {
    padding: 13px 26px;
    background: #fff;
    border: 1px solid #333333;
    border-radius: 43px;
    font-size: 18px;
    font-weight: 400;
    color: #000000;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease;
}

.wgm-term-option.is-active {
    background: #333333;
    border-color: #333333;
    color: #fff;
        font-weight: 700;
}

.wgm-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 24px;
    align-items: start;
    /* Room for the badge, which hangs above the cards rather than inside
       them. Without it the badge sat on top of the contract toggle — hidden
       until a network with one plan centred its card directly underneath. */
    margin-top: 70px;
    margin-bottom: 40px !important;
}

/* One plan on its own keeps a card's proportions rather than being stretched
   across the row. Centred, so it does not sit against the left edge of a
   page whose other content is centred. */
.wgm-plan-grid.is-single {
    grid-template-columns: minmax(0, 380px);
    justify-content: center;
}

.wgm-plan-grid .wgm-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 48px 30px;
    background: var(--wgm-surface);
    border: 0.5px solid #333333;
    border-radius: var(--wgm-r-md);
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.wgm-plan:hover { box-shadow: var(--wgm-shadow); }

.wgm-plan.is-selected {
    background: #FFF7F7;
    border: 2px solid #D9252A;
    box-shadow: 0 0 0 1px var(--wgm-red);
}

.wgm-plan-badge {
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background: #FFE1E3;
    border: 2px solid #D02727;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    color: #000000;
}

.wgm-plan-name {
    margin: 6px 0 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #BFBFBF;
    font-size: 27px;
    font-weight: 600;
    font-family: "Nunito";
    line-height: 120%;
    color: #000000;
}

.wgm-plan-specs { margin: 0 0 24px; padding: 0 0 24px; border-bottom: 1px solid #BFBFBF; list-style: none; }

.wgm-plan-specs li {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 12px;
}

.wgm-plan-specs li:last-child { margin-bottom: 0; }
.wgm-plan-specs img { width: 43px; height: 43px; flex: 0 0 auto; }
.wgm-plan-specs strong { display: block; font-size: 23px; font-weight: 600; color: #333333; font-family: "Nunito"; }
.wgm-plan-specs em { font-style: normal; font-size: 18px; color:#595959; }

.wgm-plan-pricing { margin-bottom: 18px !important; }

.wgm-plan-price { display: flex; align-items: baseline; gap: 6px; margin: 0 0 16px; flex-wrap: wrap; }

.wgm-plan-amount {
    font-size: 32px;
    font-weight: 700;
    color: #00A843;
    border-bottom: 1px solid #00A843;
    font-family: "Nunito";
}

.wgm-plan-unit { font-size: 20px; color: #00A843;  }
.wgm-plan-was { font-size: 18px; color: #000000; line-height: 150%; }

.wgm-plan-saving {
    display: inline-block;
    margin: 0 0 16px 0;
    padding: 8px  24px;
    background: #DEF3D8;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #048136;
    font-size: 16px;
    border: 0.5px solid #B3B3B3;
}

.wgm-plan-guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 18px;
    color: #333333;
}

.wgm-plan-guarantee img { width: 18px; height: 18px; }

.wgm-plan-features {
    margin: 0 0 20px;
    padding: 0 0 0 18px;
    font-size: 14px;
    color: var(--wgm-muted);
}

.wgm-plan-features li { margin-bottom: 4px; }

.wgm-plan-choose {
    width: 100%;
    margin-top: auto;
    background: #fff;
    border-color: var(--wgm-ink);
    color: var(--wgm-ink);
    font-size: 18px;
    font-weight: 700;
    border-radius: 16px;
    padding: 16px;
}

.wgm-plan-choose:hover { background: var(--wgm-red); color: #fff;}

.wgm-plan-choose.is-selected {
    background: var(--wgm-red);
    border-color: var(--wgm-red);
    color: #fff;
}

.wgm-plan-choose.is-selected::before {
    content: "";
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='11' fill='white'/%3E%3Cpath d='M17 8.5L10.5 15.5L7 12' stroke='%23e01f26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Whole Home Wi-Fi — upsell banner */

.wgm-wifi-upsell {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
    padding: 44px 50px;
    margin-bottom: 30px;
    background: linear-gradient(180deg, #D9252A 0%, #B5161B 50%, #8F0D12 100%);
    border-radius: 12px;
    color: #fff;
}

.wgm-upsell-eyebrow {
    margin: 0 0 10px;
    font-size: 16px !important;
    font-weight: 700;
    text-transform: uppercase;
}

.wgm-upsell-copy h2 {
    margin: 0 0 16px;
    font-size: 40px;
    font-family: "Nunito";
    font-weight: 700;
    line-height: 120%;
}

.wgm-upsell-copy p { margin: 0 0 24px; font-size: 18px; line-height: 1.6; opacity: .95; }

.wgm-upsell-media { display: flex; gap: 14px; justify-content: flex-end; }
.wgm-upsell-media img { max-width: 190px;  }
.wgm-wifi-upsell .wgm-btn{font-size: 18px; font-weight:700; border-radius: 4px; padding: 12px 32px;}
/* Whole Home Wi-Fi — included card */

.wgm-wifi-included {
    padding: 48px;
    margin-bottom: 30px;
    background: linear-gradient(180deg, #D9252A 0%, #B5161B 50%, #8F0D12 100%);
    border-radius: 12px;
}

.wgm-wifi-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #fff;
    border-radius: 15px;
    border: 1px solid #ADADAD;
    overflow: hidden;
}

.wgm-wifi-media {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: #f7f7f8;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
    /* border-left: 1px solid #ADADAD; */
}

.wgm-wifi-media img { max-width: 190px; object-fit: cover;  }

.wgm-wifi-copy { padding: 49px 46px; }

.wgm-wifi-copy h2 { margin: 0 0 14px; font-size: 27px; font-weight: 600; color: var(--wgm-ink); }

.wgm-wifi-included-flag {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 400;
}

.wgm-wifi-included-flag .wgm-tick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    background: #599145;
    border-radius: 50%;
    color: #fff;
}

.wgm-wifi-description { margin: 0 0 16px; font-size: 18px; color: #333333; line-height:150%; }

.wgm-wifi-devices {
    margin: 0 0 24px;
    padding: 16px 24px;
    background: #FFF7F7;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    border: 1px solid #CBCBCB;
}

.wgm-wifi-extra { padding-top: 24px; border-top: 1px solid #B9B9B9; border-bottom: 1px solid #B9B9B9; padding-bottom: 24px; }
.wgm-wifi-extra h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: #000000; font-family: "Open Sans"; }
.wgm-wifi-extra p { margin: 0 0 16px; font-size: 18px; color: #595959; }

.wgm-stepper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 0.8px solid #B9B9B9;
    border-radius:8px;
}

.wgm-stepper-btn {
    width: 34px;
    height: 34px;
    background: none;
    border: 0;
    border-radius: 6px;
    font-size: 20px;
    line-height: 1;
    color: var(--wgm-red);
    cursor: pointer;
}

.wgm-stepper-btn:hover { background: var(--wgm-red-tint); }

.wgm-stepper-value {
    min-width: 34px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 767px) {
    .wgm-wifi-upsell,
    .wgm-wifi-inner { grid-template-columns: 1fr; }
    .wgm-upsell-media { justify-content: start; }
    .wgm-wifi-included{padding: 32px 16px;}
    .wgm-wifi-media img{max-width: 130px; height: 220px; object-fit: cover;}
    .wgm-wifi-copy{padding: 32px 24px;}
    .wgm-wifi-included-flag, .wgm-wifi-description{font-size: 16px;}
    
}

/* =====================================================================
   CART BAR
   ===================================================================== */

.wgm-cartbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    background: #f7f8f9;
    border-top: 1px solid #A8A8A8;
}

.wgm-cartbar-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 20px 24px;
}

.wgm-footer-cart-edit{display: flex; justify-content: start; align-items: center; gap: 5px;}

.wgm-cartbar-title { margin: 0 0 8px; font-size: 33px; font-weight: 600; color: #000000; }

.wgm-cartbar-groups {
    display: flex;
    gap: 26px;
    margin-top: 24px;
    max-height: 118px;
    overflow-y: auto;
}

.wgm-cartbar-group { min-width: 150px; max-width: 200px; padding-right: 26px; border-right: 1px solid #BCBCBC; }
.wgm-cartbar-group:last-child { border-right: 0; padding-right: 0; }

.wgm-cartbar-group h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 400;
    color: #595959;
    font-family: "Open Sans" !important;
}

.wgm-cartbar-group ul { margin: 0; padding: 0; list-style: none; }

.wgm-cartbar-group li {
    padding: 5px 0;
    border-bottom: 1px solid #BCBCBC;
    font-size: 18px;
    font-weight: 400;
    font-family: "Open Sans";
    color: #000;
}

.wgm-cartbar-group li:last-child { border-bottom: 0; }

.wgm-cartbar-sub { display: block; font-size: 14px; color: #595959; }

.wgm-cartbar-empty { margin: 0; color: #595959; font-size: 14px; }

.wgm-cartbar-actions {flex: 0 0 auto; text-align: right; display: flex; flex-direction: column; justify-content: start; align-items: start; }

.wgm-cartbar-total-label { display: block; font-size:23px; color: #000000; font-family: "Nunito"; font-weight: 600; }

.wgm-cartbar-total-value strong { font-size: 33px; font-weight: 600; color: #000000; font-family: "Nunito";  }
.wgm-cartbar-unit { font-size: 16px; color: #000000; }
.wgm-cartbar-total-value{width: 100%; display: block; text-align: start;}
.wgm-cartbar-buttons { display: flex; gap: 12px; margin-top: 16px; }
.wgm-cartbar-buttons a.wgm-btn.wgm-btn-outline{padding: 15px 32px;}
@media (max-width: 900px) {
    .wgm-cartbar-inner { flex-direction: column; gap: 16px; padding: 24px; }
    .wgm-cartbar-actions { width: 100%; text-align: left; }
    .wgm-cartbar-buttons { justify-content: stretch; }
    .wgm-cartbar-buttons .wgm-btn { flex: 1 1 0; }
    .wgm-cartbar-groups { max-height: 90px; }
    .wgm-main { padding-bottom: 320px; }
}

/* =====================================================================
   DRAWER
   ===================================================================== */

.wgm-drawer { position: fixed; inset: 0; z-index: 60; }

.wgm-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 20, 24, .45);
    opacity: 0;
    transition: opacity .22s ease;
}

.wgm-drawer.is-open .wgm-drawer-backdrop { opacity: 1; }

.wgm-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: 440px;
    max-width: 92vw;
    background: #fff;
    box-shadow: var(--wgm-shadow-lg);
    transform: translateX(100%);
    transition: transform .24s ease;
}

.wgm-drawer.is-open .wgm-drawer-panel { transform: translateX(0); }

.wgm-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--wgm-line);
}

.wgm-drawer-header h2 { margin: 0; font-size: 33px; font-family: "Nunito"; font-weight: 600; }

.wgm-drawer-body { flex: 1 1 auto; padding: 20px 24px; overflow-y: auto; }

.wgm-drawer-empty { color: var(--wgm-muted); text-align: center; padding: 40px 0; }

.wgm-drawer-group { margin-bottom: 26px; }

.wgm-drawer-group header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.wgm-drawer-group h3 { margin: 0; font-size: 23px; font-weight: 600; font-family: "Nunito"; }

.wgm-drawer-edit { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: #FFE4E4; border-radius: 4px; border: 1px solid #CACACA ; font-size: 16px; font-weight: 600; color: #000; text-decoration: none; }
.wgm-drawer-edit::before{
    content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background-color: currentColor;   /* icon follows the text color */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z'/%3E%3C/svg%3E") center / contain no-repeat;

}

.wgm-drawer-group ul { margin: 0; padding: 0; list-style: none; }

.wgm-drawer-line {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--wgm-line-soft);
}

.wgm-drawer-line-main strong { display: block; font-size: 21px; font-family: "Nunito"; font-weight: 600; }
.wgm-drawer-line-main > span { display: block; font-size: 13px; color: var(--wgm-muted); }
.wgm-drawer-line-price {font-size: 21px; font-family: "Nunito"; font-weight: 600;  white-space: nowrap; }

.wgm-drawer-channels {
    margin: 8px 0 0;
    padding: 0 0 0 16px;
    font-size: 13px;
    color: var(--wgm-muted);
    list-style: disc;
}

.wgm-drawer-remove {
    margin-top: 8px;
    padding: 0;
    background: none;
    border: 0;
    color: var(--wgm-red);
    font: inherit;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}

.wgm-drawer-footer { padding: 20px 24px; border-top: 1px solid var(--wgm-line); }
.wgm-drawer-footer .wgm-btn-primary{height: 77px; margin-top: 40px; font-weight: 700; font-size: 20px;}

.wgm-drawer-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 4px;
}
.wgm-drawer-total span{font-family: "Nunito"; font-weight: 600; font-size: 27px;}
.wgm-drawer-total strong { font-size: 33px; font-family: "Nunito";font-weight: 700;  }
.wgm-drawer-note { margin: 0 0 14px; font-size: 20px; color: #333333; }

/* =====================================================================
   MODALS
   ===================================================================== */

.wgm-modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 24px; }

.wgm-modal-backdrop {
   position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.wgm-modal.is-open .wgm-modal-backdrop { opacity: 1; }

.wgm-modal-panel {
    position: relative;
    max-width: 910px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    opacity: 0;
    transform: translateY(12px) scale(.98);
    transition: opacity .2s ease, transform .2s ease;
}

.wgm-modal.is-open .wgm-modal-panel { opacity: 1; transform: none; }

.wgm-modal-wide { width: 880px; }

.wgm-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 26px;
    border-bottom: 1px solid var(--wgm-line-soft);
    background-color: #000000;
        border-top-right-radius: 16px;
    border-top-left-radius: 16px;
}

.wgm-modal-head h2 { margin: 0; font-size: 27px; font-weight: 600; color: #fff; font-family: "Nunito"; }

.wgm-modal-body { padding: 32px; overflow-y: auto; }

.wgm-modal-body input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;

    width: 18px;
    height: 18px;
    margin-top: 3px;

    border: 1px solid #000;
    border-radius: 2px;
    background: #fff;
    cursor: pointer;
    position: relative;
}

.wgm-modal-body input[type="checkbox"]:checked {
    background: var(--wgm-red);
    border-color: var(--wgm-red);
}

.wgm-modal-body input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.wgm-modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 18px 26px;
    border-top: 1px solid var(--wgm-line-soft);
}
.wgm-modal-foot button{cursor: pointer;}

.wgm-terms-copy {
    max-height: 300px;
    padding-right: 8px;
    overflow-y: auto;
    font-size: 15px;
    color: var(--wgm-text);
    line-height: 1.65;
}

@media (max-width: 760px) {
    .wgm-exit-body { grid-template-columns: 1fr; }
    .wgm-exit-media { display: none; }
}

/* =====================================================================
   TOASTS
   ===================================================================== */

.wgm-toasts {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 340px;
}

.wgm-toast {
    padding: 13px 18px;
    background: var(--wgm-ink);
    border-radius: var(--wgm-r-sm);
    box-shadow: var(--wgm-shadow-lg);
    color: #fff;
    font-size: 14px;
    animation: wgm-toast-in .22s ease;
}

.wgm-toast-error { background: var(--wgm-red); }
.wgm-toast.is-leaving { opacity: 0; transition: opacity .25s ease; }

@keyframes wgm-toast-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .wgm-btn,
    .wgm-plan,
    .wgm-drawer-panel,
    .wgm-modal-panel,
    .wgm-drawer-backdrop,
    .wgm-modal-backdrop { transition: none; }

    .wgm-toast { animation: none; }
}

/* =====================================================================
   STEP 2 — TV
   ===================================================================== */
.wgm-accordion {
    display: grid;
    grid-template-rows: auto 0fr;
    margin-bottom: 32px;
    border: 1px solid #CBCBCB;
    border-radius:16px;
    overflow: hidden;
    transition: grid-template-rows var(--wgm-dur-lg) var(--wgm-ease-out),
                border-color .25s ease,
                box-shadow .25s ease;
    box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.1);            
}

.wgm-accordion.is-open { grid-template-rows: auto 1fr; }

.wgm-accordion-toggle {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 32px;
    background: none;
    border: 0;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

.wgm-accordion-toggle:disabled { cursor: not-allowed; }

.wgm-accordion-title {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1 1 auto;
    font-size: 33px;
    font-weight: 600;
    color: #000000;
    font-family: "Nunito";
}

.wgm-accordion-hint {
    display: block;
    margin-top: 4px;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    font-family: 'Open Sans';
    color: #595959;
}

/* The tick only appears once the sub-step is satisfied. */
.wgm-accordion-check {
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    background: var(--wgm-red);
    border-radius: 50%;
    color: #fff;
}

.wgm-accordion.is-complete .wgm-accordion-check { display: inline-flex; }

.wgm-accordion.is-locked .wgm-accordion-title,
.wgm-accordion.is-locked .wgm-accordion-hint { color: #595959; }

.wgm-accordion-lock { display: none; align-items: center; gap: 12px; }
.wgm-accordion.is-locked .wgm-accordion-lock { display: inline-flex; }
.wgm-accordion.is-locked .wgm-accordion-chevron { display: none; }
.wgm-accordion:not(.is-locked) .wgm-accordion-hint { display: none; }

.wgm-lock-pill {
    padding: 8px 43px;
    background: #EDEAE9;
    border-radius: 6px;
    font-family: 'Nunito';
    font-size: 23px;
    color: #333333;
    font-weight: 600;
}

.wgm-lock-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border: 1px solid #DDDCDE;
    border-radius: 50%;
    color: #000;
}

.wgm-lock-icon svg{width: 18px; height: 24px;}

.wgm-accordion-chevron {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    border-right: 2px solid var(--wgm-ink);
    border-bottom: 2px solid var(--wgm-ink);
    transform: rotate(45deg);
    transition: transform .2s ease;
}


@media screen and (min-width: 1025px){
    section.wgm-step.wgm-step-tv .wgm-accordion[data-wgm-panel="1"] .wgm-basic{display: block;}
    section.wgm-step.wgm-step-tv .wgm-accordion[data-wgm-panel="1"] .wgm-basic .wgm-basic-media{display:none;}
}

section.wgm-step.wgm-step-tv{padding-bottom: 150px;}
.wgm-accordion.is-open .wgm-accordion-chevron { transform: rotate(-135deg); }
section.wgm-step.wgm-step-tv .wgm-accordion.is-open .wgm-accordion-body{padding-bottom: 32px;}
section.wgm-step.wgm-step-tv .wgm-accordion.is-open .wgm-accordion-body .wgm-basic-card{padding-bottom: 32px;}


section.wgm-step.wgm-step-tv .wgm-basic-body{justify-content: space-between;}
section.wgm-step.wgm-step-tv .wgm-accordion-body .wgm-basic-buy .wgm-basic-price strong{font-size: 33px; font-family: "Nunito"; font-weight: 600;}
section.wgm-step.wgm-step-tv .wgm-accordion-body .wgm-basic-buy .wgm-btn{background-color: #D02727; border-radius: 20px; min-width: 203px; height: 56px;}
section.wgm-step.wgm-step-tv .wgm-accordion-body .wgm-panel-card{ padding: 0;}
section.wgm-step.wgm-step-tv .wgm-accordion-body .wgm-panel-card .wgm-equipment-grid{margin-bottom: 0 !important;}
section.wgm-step.wgm-step-tv .wgm-btn-primary{background-color: #D02727; border-radius: 15px; min-width: 182px; height: 60px; font-size: 18px; font-weight: 700;}
section.wgm-step.wgm-step-tv .wgm-accordion[data-wgm-panel="3"] .wgm-equipment{background-color: transparent;}
section.wgm-step.wgm-step-tv .wgm-accordion[data-wgm-panel="3"] .wgm-accordion-body .wgm-panel-card{border: 0.5px solid #C5C5C5; border-radius: 15px; background-color: #F9F8F6; padding: 48px 40px;}
section.wgm-step.wgm-step-tv .wgm-stb-extras h4{font-size: 27px; font-weight: 600; color: #000; margin-bottom: 8px; font-family: "Nunito";}
section.wgm-step.wgm-step-tv .wgm-stb-extras p{font-size: 16px; font-weight: 400; line-height: 150%; color: #595959; font-family: "Open Sans"; margin-bottom: 24px;}
section.wgm-step.wgm-step-tv .wgm-stb-extras .wgm-stb-grid{display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px;}
section.wgm-step.wgm-step-tv .wgm-stb-extras .wgm-stb-grid .wgm-stb-card{gap: 0; justify-content: start;  border-radius: 15px; padding: 24px;}
section.wgm-step.wgm-step-tv .wgm-stb-extras .wgm-stb-grid .wgm-stb-card:not(.is-selected){border: 0.5px solid #333333;}
section.wgm-step.wgm-step-tv .wgm-stb-extras .wgm-stb-grid .wgm-stb-card .wgm-equipment-name{font-size: 20px; font-weight: 700; font-family: "Open Sans"; color: #333333; margin-bottom: 4px;}
section.wgm-step.wgm-step-tv .wgm-stb-extras .wgm-stb-grid .wgm-equipment-subdesc{ font-size: 16px; font-weight: 400; color: #595959; font-family: "Open Sans";}
section.wgm-step.wgm-step-tv .wgm-stb-extras .wgm-stb-grid .wgm-stb-card .wgm-equipment-desc{margin-bottom: 16px; font-size: 16px; font-weight: 400; color: #595959; font-family: "Open Sans";}
section.wgm-step.wgm-step-tv .wgm-stb-extras .wgm-stb-grid .wgm-stb-card .wgm-flex-operator{display: flex; justify-content: space-between; align-items: center; gap: 12px;}
section.wgm-step.wgm-step-tv .wgm-stb-extras .wgm-stb-grid .wgm-stb-card .wgm-flex-operator .wgm-stepper-btn{width: 15px; height: 30px;}
section.wgm-step.wgm-step-tv .wgm-stb-extras .wgm-stb-grid .wgm-stb-card .wgm-equipment-price{margin-bottom: 16px;}

section.wgm-step.wgm-step-tv .wgm-accordion[data-wgm-panel="1"] .wgm-logo-row{display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;}
section.wgm-step.wgm-step-tv .wgm-accordion[data-wgm-panel="1"] .wgm-logo-row .wgm-logo-tile{max-width: 100%; min-width: 100%; width: 100%; height: 100%;}
section.wgm-step.wgm-step-tv .wgm-accordion[data-wgm-panel="2"] .wgm-preset-grid{display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;}
section.wgm-step.wgm-step-tv .wgm-accordion[data-wgm-panel="2"] .wgm-preset-grid .wgm-logo-row .wgm-logo-tile{min-height: 128px; max-width: 100%; min-width: 100%; height: 100%;}
section.wgm-step.wgm-step-tv .wgm-accordion[data-wgm-panel="2"] .wgm-preset-grid .wgm-link-button{color: #000000; font-size: 16px; font-weight: 400; font-family: "Open Sans"; text-align: left; margin-top: 16px;}
section.wgm-step.wgm-step-tv .wgm-accordion[data-wgm-panel="2"] .wgm-preset-grid .wgm-preset-price strong{font-size: 27px;}
section.wgm-step.wgm-step-tv .wgm-accordion[data-wgm-panel="2"] .wgm-preset h3{background-color: #000;}
section.wgm-step.wgm-step-tv .wgm-accordion[data-wgm-panel="2"] .wgm-tabpanel .wgm-preset-grid .wgm-logo-row{padding-right: 60px;}
.wgm-accordion-body {
    min-height: 0;
    overflow: hidden;
    padding:0 32px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .18s ease,
                transform .18s ease,
                padding-bottom var(--wgm-dur-lg) var(--wgm-ease-out),
                visibility 0s linear var(--wgm-dur-lg);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}

.wgm-accordion.is-open .wgm-accordion-body {
    opacity: 1;
    visibility: visible;
    transform: none;
    /* Content fades in slightly behind the height, so it never outruns the box. */
    transition: opacity .3s ease .08s,
                transform .34s var(--wgm-ease-out) .08s,
                padding-bottom var(--wgm-dur-lg) var(--wgm-ease-out),
                visibility 0s;
}

/* --- Sub-step 1: basic package --- */

.wgm-basic { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }

.wgm-basic-card {
    padding: 0;
    border: 0.5px solid #333333;
    border-radius: 16px;
    overflow: hidden;
}

.wgm-basic-heading {
    margin: 0;
    padding: 21px 32px;
    background: #000000;
    color: #fff;
    font-size: 27px;
    font-weight: 600;
    font-family: "Nunito";
}
.wgm-basic-body { display: flex; flex-direction: row; align-items: flex-start; gap: 40px; padding: 32px; }

.wgm-basic-features li {display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8.5px; font-size: 16px; color: #595959;}

.wgm-tick-dark { background:#333333; width: 25px; height: 25px; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: 0 0 auto;  }


.wgm-basic-price { margin: 0 0 14px; }
.wgm-basic-price strong { font-size: 28px; font-weight: 700; color: #000000; }
.wgm-basic-price span { font-size: 20px; color: #000000; }
.wgm-step-phone .wgm-accordion-body .wgm-basic-buy .wgm-basic-price strong{font-size: 40px; font-family: "Nunito"; font-weight: 600;}
.wgm-step-phone .wgm-accordion-body .wgm-basic-buy .wgm-btn{background-color: #D02727; border-radius: 20px; min-width: 203px; height: 56px; font-size:16px ; }
.wgm-basic-media { align-self: stretch; position: relative; }

.wgm-basic-media picture { display: block; }

.wgm-basic-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--wgm-r-md);
}

@media (max-width: 900px) {
    .wgm-basic { grid-template-columns: 1fr; }
    .wgm-basic-body { flex-direction: column; }
    .wgm-basic-buy { text-align: left; }

    .wgm-basic-media { order: -1; align-self: auto; }

    .wgm-basic-media img {
        position: static;
        height: auto;
        object-fit: fill;
    }

    .wgm-basic-media { width: 100%; max-width: 520px; justify-self: center; }
    .wgm-step-phone article.wgm-accordion.is-open .wgm-accordion-body{padding: 32px 16px;}
}

/* --- Channel logo strip --- */

.wgm-logo-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 26px 0;
}

.wgm-logo-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 75px;
    height: 75px;
    min-width: 75px;
    padding: 6px;
    background: #fff;
    border: 1px solid #9E9E9E;
    border-radius: 10px;
}

.wgm-logo-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.wgm-logo-tile.is-hidden { display: none; }

.wgm-channel-mark {
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    color: var(--wgm-muted);
    word-break: break-word;
}

.wgm-basic-card .wgm-link-button { margin: 32px 26px 0;  font-size: 16px; font-weight: 400; color: #333333;}

/* --- Tabs --- */

.wgm-tabs {
    display: flex;
    margin-bottom: 32px !important;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid #CBCBCB;
    box-shadow: 0 0px 3px 0 rgba(0, 0, 0, 0.25);
}

.wgm-tab {
    flex: 1 1 0;
    padding: 18px 14px;
    background: #fff;
    border: 0;
    font-family: "Open Sans";
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000000;
    cursor: pointer;
    border-right: 1px solid #9E9E9E;
}

.wgm-tab:last-child { border-right: 0; }
.wgm-tab.is-active { background: #FFE1E3; border: 1px solid #D02727; overflow: hidden; }

@media screen and (min-width: 768px){
    button.wgm-tab:first-child.is-active{border-top-left-radius: 16px; border-bottom-left-radius: 16px;}
    button.wgm-tab:last-child.is-active{border-top-right-radius: 16px; border-bottom-right-radius: 16px;}

}
.wgm-tabpanel{border: 1px solid #C5C5C5; border-radius: 15px; padding: 32px 40px;  background: #F9F8F6;}
.wgm-tabpanel[hidden] { display: none; }

.wgm-panel-card-title { margin: 0 0 24px; font-size: 27px; font-weight: 600; color: #000000; }
.wgm-panel-card-note { margin: -12px 0 18px; font-size: 16px; color: var(--wgm-muted); }

/* --- Preset packages --- */

.wgm-preset-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }

.wgm-preset {
    display: flex;
    flex-direction: column;
    padding: 0 0 32px;
    background: #fff;
    border:1px solid #9F9F9F;
    border-radius:16px;
}

.wgm-preset.is-selected { border:2px solid #D02727; box-shadow: 0 0 0 1px var(--wgm-red); background-color: #FFF7F7 !important;}
.wgm-preset h3 { margin: 0; padding: 26px 24px; font-size: 23px; font-weight: 600; color: #fff; background: #0E0E0E; border-top-left-radius: 16px; border-top-right-radius: 16px;}
.wgm-preset .wgm-logo-row { padding: 40px 24px 0 24px; }
.wgm-preset .wgm-link-button { margin: 12px 24px 0; }
 .wgm-tabpanel .wgm-preset-grid .wgm-logo-row{display: grid; grid-template-columns: repeat(3, 1fr);}
.wgm-tabpanel .wgm-preset-grid .wgm-logo-row .wgm-logo-tile{width: 100%; max-width:100% ; height: 100px;}
.wgm-preset-foot {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    padding: 32px 24px 0;
    flex-direction: column;
}

.wgm-preset-price strong { font-size: 23px; font-weight: 600; color: #000; font-family: "Nunito";}
.wgm-preset-price span { font-size: 18px; color: #000000; font-family: "Nunito"; }

/* --- Tier / equipment option cards --- */

.wgm-tier-grid,
.wgm-equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.wgm-tier,
.wgm-equipment {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    background: #fff;
    border: 0.5px solid #333333;
    border-radius: 15px;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease;
}

.wgm-tier.is-selected,
.wgm-equipment.is-selected {
    background-color: #FFF7F7 !important;
    border:2px solid #D02727;
    box-shadow: 0 0 0 1px var(--wgm-red);
}

.wgm-tier-state { display: flex; align-items: center; gap: 8px; }

.wgm-tier-state-label { font-size: 16px; font-weight: 600; color: var(--wgm-red); }

.wgm-radio {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    border: 1px solid #5D5D5D;
    border-radius: 50%;
}

.wgm-tier.is-selected .wgm-radio,
.wgm-equipment.is-selected .wgm-radio {
    border-color: var(--wgm-red);
    background: var(--wgm-red)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 11' fill='none'%3E%3Cpath d='M1 5.5L5 9.5L13 1.5' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        center/10px no-repeat;
}

.wgm-tier-name,
.wgm-equipment-name { font-size: 20px; font-weight: 700; color: #333333; }

.wgm-equipment-desc { font-size: 16px; color: #595959; line-height: 1.5; }

.wgm-tier-price,
.wgm-equipment-price { font-size: 23px; font-weight: 700; color: var(--wgm-ink); font-family: "Nunito"; }

.wgm-tier-price em,
.wgm-equipment-price em { font-size: 20px; font-style: normal; font-weight: 400; color: #000; }

/* --- Channel picker --- */
.wgm-picker{border-top: 1px solid #B9B9B9; padding-top: 40px; margin-top: 40px;}
.wgm-picker-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px !important;
}

.wgm-picker-head h4 { margin: 0 0 2px; font-size: 27px; font-weight: 600; color: var(--wgm-ink); }
.wgm-picker-head p {margin: 0; font-size: 16px; color: var(--wgm-muted)}

.wgm-picker-counter {flex: 0 0 auto; padding: 10px 18px; background: #fff; border: 1px solid var(--wgm-red); border-radius: var(--wgm-r-sm); font-size: 18px; font-weight: 700; color: var(--wgm-red); white-space: nowrap;}

.wgm-picker-counter.is-complete { border-color: var(--wgm-green); color: var(--wgm-green); }

.wgm-search { margin-bottom: 18px; }

.wgm-search input {
    width: 100%;
    padding: 14px 44px 14px 16px;
    border: 0.5px solid #595959;
    border-radius: var(--wgm-r-sm);
    font-family: inherit;
    font-size: 16px;
    font-family: 'Open Sans';
    background: #fff
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='9' cy='9' r='6.4' stroke='%236b7280' stroke-width='1.6'/%3E%3Cpath d='M13.8 13.8L18 18' stroke='%236b7280' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E")
        right 14px center/18px no-repeat;
    margin-bottom: 24px;
}

.wgm-search input:focus {
    outline: none;
    border-color: var(--wgm-red);
    box-shadow: 0 0 0 3px rgba(224, 31, 38, .15);
}

.wgm-channel-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.wgm-channel-slot.is-hidden { display: none; }

.wgm-channel {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 12px;
    background: #fff;
    border:0.5px solid #A1A1A1;
    border-radius: 20px;
}

.wgm-channel.is-selected { border-color: var(--wgm-red); }

.wgm-channel-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    max-width: 170px;
    object-fit: cover;
    margin-bottom: 12px !important; 
}

.wgm-channel-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

.wgm-channel-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: auto;
    background: #fff;
    border: 1px solid #333333;
    border-radius: 20px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: #333333;
    cursor: pointer;
    transition: background-color .14s ease, color .14s ease, border-color .14s ease;
    padding: 8px 34px;
}
.wgm-panel-card .wgm-link-button{font-size: 20px; font-weight: 400; color: #000;}
.wgm-channel-button:hover { border-color: var(--wgm-red); color: var(--wgm-red); }

.wgm-channel.is-selected .wgm-channel-button {
    background: var(--wgm-red);
    border-color: var(--wgm-red);
    color: #fff;
}
.wgm-channel.is-selected:hover .wgm-channel-button, .wgm-channel.is-selected .wgm-channel-button:hover{
    color: #fff !important;
}
.wgm-channel-price { font-size: 14px; font-weight: 400; color: #333333; }
.wgm-channel.is-selected .wgm-channel-price {color: #fff;}
.wgm-center { display: block; margin: 20px auto 0; }

.wgm-picker-warning {
    margin: 16px 0 0;
    padding: 12px 16px;
    background: var(--wgm-red-tint);
    border-radius: var(--wgm-r-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--wgm-red-dark);
}

/* --- Rental quantity --- */

.wgm-rental {
    border: none;
    background: transparent;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #B9B9B9;
}
.wgm-accordion-body .wgm-panel-card .wgm-equipment-grid{margin-bottom: 25px !important;}

.wgm-rental h4 { margin: 0 0 4px; font-size:27px; font-weight: 600; color: #000; font-family: "Nunito"; }
.wgm-rental p { margin: 0 0 14px; font-size: 16px; color:#595959; }
    .wgm-accordion-body .wgm-panel-card{padding: 32px 16px;}



@media (max-width: 767px) {
    .wgm-accordion-toggle { padding: 30px 20px; gap: 10px; }
    .wgm-accordion-title { font-size: 20px; }
    .wgm-accordion-body { padding: 0 20px 22px; }
    .wgm-rental h4{font-size: 20px;}
    .wgm-tabs { flex-direction: column; }
    .wgm-tab { border-right: 0; border-bottom: 1px solid var(--wgm-line); }
    .wgm-lock-pill { display: none; }
    .wgm-tabpanel{padding: 32px 16px;}
    .wgm-panel-card-title{font-size: 23px;}
    .wgm-channel-grid{grid-template-columns: repeat(2, 1fr);}
    .wgm-channel-button{padding: 8px 12px;}
    .wgm-tabpanel .wgm-panel-card .wgm-picker .wgm-picker-head{flex-direction: column;}
    .wgm-tabpanel .wgm-picker .wgm-link-button{font-size: 18px; text-align: center; width: 100%; display: block;}
    .wgm-tabpanel .wgm-preset-grid .wgm-logo-row{grid-template-columns: repeat(2, 1fr); padding: 32px 16px 0 16px;}
    section.wgm-step.wgm-step-tv .wgm-accordion.is-open .wgm-accordion-body{padding: 0 20px 32px 20px  !important;}
    section.wgm-step.wgm-step-tv .wgm-accordion[data-wgm-panel="1"] .wgm-logo-row{grid-template-columns: repeat(3, 1fr); padding-top: 0;}
    section.wgm-step.wgm-step-tv .wgm-accordion[data-wgm-panel="1"] .wgm-basic-body{gap: 24px; padding-bottom: 24px;}
    section.wgm-step.wgm-step-tv .wgm-accordion[data-wgm-panel="2"] .wgm-tabpanel {border: 0; padding: 0;}
    section.wgm-step.wgm-step-tv .wgm-accordion[data-wgm-panel="2"] .wgm-preset-grid{grid-template-columns: 1fr;}
    section.wgm-step.wgm-step-tv .wgm-accordion[data-wgm-panel="2"] .wgm-channel-grid{grid-template-columns: 1fr 1fr;}
    section.wgm-step.wgm-step-tv .wgm-accordion[data-wgm-panel="2"] .wgm-link-button{text-align: center; width: 100%; display: flex; justify-content: center; font-size: 18px; margin-top: 24px;}
    section.wgm-step.wgm-step-tv .wgm-accordion[data-wgm-panel="2"] .wgm-logo-row{grid-template-columns:1fr 1fr ; gap: 16px 8px; padding-right: 68px;}
    section.wgm-step.wgm-step-tv .wgm-accordion[data-wgm-panel="2"] .wgm-tabs .wgm-tab {font-size: 18px; font-weight: 700; padding: 12px 20px;}
    section.wgm-step.wgm-step-tv .wgm-accordion[data-wgm-panel="2"] .wgm-preset h3{ padding: 27px 16px; font-size: 20px; font-weight: 700; font-family: "Open Sans" !important;}
    section.wgm-step.wgm-step-tv .wgm-accordion[data-wgm-panel="3"] .wgm-accordion-body .wgm-panel-card{padding: 32px 16px;}
    section.wgm-step.wgm-step-tv .wgm-stb-extras .wgm-stb-grid{grid-template-columns: 1fr; gap: 24px;}
    section.wgm-step.wgm-step-tv .wgm-btn-primary{font-size: 16px;}
}    

/* =====================================================================
   STEP 3 — PHONE
   ===================================================================== */
.wgm-step-phone{padding-bottom: 150px;}
.wgm-step-phone article.wgm-accordion.is-open .wgm-accordion-body{padding-bottom: 32px;}
section.wgm-step.wgm-step-phone .wgm-accordion[data-wgm-panel="3"] .wgm-feature-grid{grid-template-columns: repeat(3, 1fr); gap:24px;} 
section.wgm-step.wgm-step-phone .wgm-accordion[data-wgm-panel="1"] .wgm-basic-card{border:1px solid #9F9F9F;}
.wgm-porting {
margin-top: 24px;
}

.wgm-porting .wgm-field:last-child { margin-bottom: 0; }

.wgm-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 18px;
}

.wgm-feature {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    background: #fff;
    border: 0.5px solid #333333;
    border-radius: 15px;
}

.wgm-feature.is-selected { border:2px solid #D02727; box-shadow: 0 0 0 1px var(--wgm-red); background-color: #FFF7F7; }
.wgm-feature h3 { margin: 0 0 4px; font-size: 20px; font-weight: 700; color: #333333; font-family: "Open Sans"; }
.wgm-feature p { margin: 0 0 16px; font-size: 16px; font-weight: 400; color: #333333; line-height: 150%; font-family: "Open Sans";}

section.wgm-step.wgm-step-phone .wgm-basic-features {flex: 0 1 auto !important; order: 2; padding: 0; margin: 0; list-style: none; max-width: 560px; width: 100%;}
section.wgm-step.wgm-step-phone .wgm-basic-features .wgm-basic-features-ul{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 11px;}
section.wgm-step.wgm-step-phone .wgm-basic-features li{font-size: 18px;}
section.wgm-step.wgm-step-phone .wgm-basic-features .no-features-includes{margin-bottom: 18px; font-family: "Nunito"; font-weight: 600; font-size: 23px; color: #000;}
section.wgm-step.wgm-step-phone .wgm-basic-features .calling-feature-btn{margin-top: 24px; font-family: "Open Sans"; font-size: 16px; font-weight: 400; text-decoration: underline; color: #333333;}
section.wgm-step.wgm-step-phone .wgm-basic-features .wgm-tick{background-color: #4A4A4A;}
section.wgm-step.wgm-step-phone .wgm-basic-buy { flex: 0 0 auto; text-align: left; max-width: 435px; width: 100%; }
section.wgm-step.wgm-step-phone .wgm-basic-buy .starting-price-text{font-size: 20px; font-family: "Open Sans"; font-weight: 400; margin-bottom: 8px; color: #333333;}
section.wgm-step.wgm-step-phone .wgm-basic-buy .wgm-basic-price{margin-bottom: 24px;}
section.wgm-step.wgm-step-phone .wgm-basic-buy .basic-price-sub-desc{font-size: 18px; font-family: "Open Sans"; font-weight: 400; margin-bottom: 32px; color: #595959;}

.wgm-feature-foot {
    display: flex;
    align-items: start;
    justify-content: space-between;
    flex-direction: column;
}
.wgm-feature-foot .wgm-btn {min-width: 182px; height: 56px; border-radius: 15px; background-color: #D02727; font-size: 18px; font-weight: 700;}
.wgm-step-phone .wgm-porting{display: flex; flex-direction: column; justify-content: start; align-items: start; gap: 16px;}
/* The rule above would otherwise show the porting fields while hidden: only "Keep Your Current Phone Number" reveals them. */
.wgm-step-phone .wgm-porting[hidden]{display: none;}
.wgm-step-phone .wgm-porting .wgm-field:not([hidden]){min-width: 350px; display: flex; flex-direction: column; justify-content: start; align-items: start; gap: 16px;}
.wgm-step-phone .wgm-porting .wgm-field label{font-size: 20px; font-family: "Open Sans"; font-weight: 400; color: #000;}
.wgm-step-phone .wgm-porting .wgm-field .wgm-porting-number{font-family: 'Open Sans'; font-size: 20px; font-weight: 400;}
.wgm-step-phone .wgm-porting .wgm-field input,.wgm-step-phone .wgm-porting .wgm-field select {border: 1px solid #CBCBCB; background: transparent; padding: 12px 16px; border-radius: 4px; width: 100%;}

@media screen and (max-width: 767px){
    section.wgm-step.wgm-step-phone .wgm-basic-features .wgm-basic-features-ul{grid-template-columns: 1fr; gap: 12px;}
    section.wgm-step.wgm-step-phone .wgm-basic-features-ul li{margin: 0; font-size: 16px;}
    section.wgm-step.wgm-step-phone .wgm-accordion[data-wgm-panel="1"] .wgm-basic-card .wgm-basic-body{padding: 24px 16px; gap: 24px;}
    section.wgm-step.wgm-step-phone .wgm-accordion[data-wgm-panel="1"] .starting-price-text{font-size: 18px;}
    section.wgm-step.wgm-step-phone .wgm-basic-buy .wgm-basic-price{margin-bottom: 16px;}
    section.wgm-step.wgm-step-phone .wgm-basic-buy .basic-price-sub-desc{font-size: 16px; margin-bottom: 24px;}
    .wgm-step-phone .wgm-accordion-body .wgm-basic-buy .wgm-basic-price strong{font-size: 33px;}
        section.wgm-step.wgm-step-phone .wgm-accordion[data-wgm-panel="3"] .wgm-feature-grid{grid-template-columns: 1fr;}
}

/* =====================================================================
   STEP 4 — CHECKOUT
   ===================================================================== */

.wgm-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    gap: 26px;
    align-items: start;
}

.wgm-card {
    padding: 32px;
    margin-bottom: 32px !important;
    background: #fff;
    border: 1px solid #CBCBCB;
    border-radius: 16px;
    box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.16);
}

.wgm-checkout-layout .wgm-card .wgm-field{margin-bottom: 24px !important; display: flex; flex-direction: column; justify-content: start; align-items: start; gap: 12px;}
.wgm-checkout-layout .wgm-card .wgm-field label{font-family: 'Open Sans'; font-size: 20px; font-weight: 400;}
.wgm-checkout-layout .wgm-card .wgm-field input, .wgm-checkout-layout .wgm-card .wgm-field select{border: 1px solid #CBCBCB; background: transparent; padding: 12px 16px; border-radius: 4px; width: 100%;}
.wgm-checkout-layout .wgm-card .wgm-field-note{font-size: 16px; font-weight: 400; color: #595959; font-family: "Open Sans";}
.wgm-card-title { margin: 0 0 24px; font-size: 27px; font-weight: 600; color: #000000; }

.wgm-field-note { margin: -4px 0 10px; font-size: 14px; color: var(--wgm-muted); line-height: 1.5; }

.wgm-date-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }


.wgm-checkout-aside { position: sticky; top: 92px; }

.wgm-checkout-aside .wgm-card.wgm-summary .wgm-card-title{border-bottom: 1px solid #BFBFBF; padding-bottom: 20px;}
.wgm-checkout-aside .wgm-card .wgm-card-title{font-size: 33px; font-weight: 600; font-family: "Nunito";}
.wgm-summary-groups { margin-bottom: 20px; }
.wgm-summary-main{margin-bottom: 40px !important;}
.wgm-summary-group { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid #BFBFBF;}
.wgm-summary-group:last-child { margin-bottom: 0; }

.wgm-summary-group header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.wgm-summary-heading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 23px;
    font-weight: 600;
    color: #000;
    font-family: "Nunito";
}

.wgm-summary-heading img { width: 24px; height: 24px; }

.wgm-summary-edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #FFE4E4;
    border-radius: 4px;
    border: 1px solid #CACACA ;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    font-family: "Nunito";
}
.wgm-summary-edit::before{
content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background-color: currentColor;   /* icon follows the text color */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z'/%3E%3C/svg%3E") center / contain no-repeat;

}

.wgm-summary-edit:hover { background: #fbdde0; }

.wgm-summary-group ul { margin: 0; padding: 0; list-style: none; }

.wgm-summary-group li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 7px 0;
}

.wgm-summary-group li strong { display: block; font-size: 21px; font-weight: 600; color:#333333; }
.wgm-summary-group li span { display: block; font-size: 16px; color: #595959; font-weight: 400; }
.wgm-summary-price { font-size:21px !important; font-weight: 600 !important; white-space: nowrap; color: #000000 !important; }

.wgm-summary-total {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    margin-bottom: 18px;
    border-top: 1px solid var(--wgm-line);
}

.wgm-summary-total strong { display: block; font-size: 27px; font-weight: 600; color: var(--wgm-ink); }
.wgm-summary-total span{font-size: 20px; font-family: "Open Sans"; font-weight: 400; color: #333333;}
.wgm-summary-amount span { font-size: 33px; font-weight: 700; font-family: "Nunito"; color:#000000;  }
.wgm-summary-amount em { font-size: 16px; font-style: normal; font-weight: 600; }

.wgm-summary-note { margin: 14px 0 0; font-size: 13px; color: var(--wgm-muted); line-height: 1.5; text-align: center; }
.wgm-summary-actions .wgm-btn {border-radius: 16px; min-width: 445px; height: 65px; font-size: 20px; font-weight: 700; font-family: "Open Sans";}
.wgm-offer-card {
    padding: 24px 32px;
    background-color: #B5161B;
background-image: linear-gradient(180deg, #D9252A 0%, #B5161B 50%, #8F0D12 100%);
    border-radius: 12px;
    color: #fff;
    border: 2px solid #D02727;
    box-shadow: 0 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.wgm-offer-card h2 { margin: 21px 0 32px; font-size: 27px; font-weight: 700; line-height: 120%; }
.wgm-offer-card .wgm-upsell-eyebrow{font-size: 18px;}
.wgm-offer-body { display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: center; }
.wgm-offer-body > img { width: 100%; object-fit: cover; height: 246px;}
.wgm-offer-body.wgm-offer-body-no-image { grid-template-columns: minmax(0, 1fr); }
.wgm-offer-card.wgm-checkout-message {
    background-image: linear-gradient(110deg, #8F0D12 0%, #B5161B 48%, #D9252A 100%);
}
.wgm-offer-card.wgm-checkout-message h2 { margin: 0; }
.wgm-offer-card .wgm-offer-meta{display: flex; flex-direction: column; justify-content: start; align-items: start; gap: 24px;}
.wgm-offer-card .wgm-offer-meta .wgm-offer-save {
    display: inline-block;
    margin-bottom: 28px;
    padding: 12px 24px;
    background: #d8f3e2;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    color: #048136;
}

.wgm-offer-card .wgm-offer-meta .wgm-btn-white{border-radius: 12px; min-width: 275px; height: 60px; font-size: 20px; font-weight: 700;}
.wgm-offer-price { margin: 0 0 16px; font-size: 26px; font-weight: 700; }
.wgm-offer-price em { font-size: 16px; font-style: normal; font-weight: 600; }

.wgm-btn.is-added { opacity: .85; }

@media (max-width: 1024px) {
    .wgm-checkout-layout { grid-template-columns: 1fr; }
    .wgm-checkout-aside { position: static; }
}

@media (max-width: 560px) {
    .wgm-date-row { grid-template-columns: 1fr; width: 100%; }
    .wgm-offer-body { grid-template-columns: 1fr; }
    .wgm-offer-body > img { max-width: 150px; }
    .wgm-summary-actions .wgm-btn{max-width: 100%; min-width: auto;}
}

/* =====================================================================
   CONFIRMATION
   ===================================================================== */
@media screen and (min-width: 1025px){
    body.wgm-wizard-confirmation{min-height: calc(100vh / 0.8);}
}   

 body.wgm-wizard-confirmation  .wgm-progress{display: none;}
 body.wgm-wizard-confirmation .wgm-progress-step.is-current::after{top: 1px; right: -17px;}
 body.wgm-wizard-confirmation .wgm-cart-button{display: none;}

.wgm-step-confirmation .wgm-confirmation {
    max-width: 900px;
    margin: 40px auto;
    padding: 44px 40px;
    background: #fff;
    border: 1px solid var(--wgm-line);
    border-radius: var(--wgm-r-lg);
    text-align: center;
}

.wgm-step-confirmation .wgm-confirmation-tick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #1aa053;
    border-radius: 50%;
    color: #fff;
}

.wgm-step-confirmation .wgm-confirmation-tick svg{width: 22px;}

.wgm-step-confirmation .wgm-confirmation h1 {margin: 0 0 14px; font-size: 35px !important; font-weight: 700; color: var(--wgm-ink); display: inline; margin-left: 10px;}

.wgm-step-confirmation .wgm-confirmation-ref {display: flex; align-items: center; gap: 10px; padding: 10px 20px; background: var(--wgm-red-tint); border-radius: var(--wgm-r-pill); font-size: 15px; max-width: 400px; margin: 20px auto;}

.wgm-confirmation-ref strong { font-size: 16px; color: var(--wgm-red-dark); }

.wgm-confirmation-lead { margin: 0 0 30px; font-size: 16px; color: var(--wgm-muted); line-height: 1.6; }

.wgm-confirmation-steps {
    margin: 0 0 30px;
    padding: 0;
    text-align: left;
    counter-reset: wgm-step;
    list-style: none;
}

.wgm-confirmation-steps li {
    position: relative;
    padding: 0 0 18px 46px;
    counter-increment: wgm-step;
}

.wgm-confirmation-steps li::before {
    content: counter(wgm-step);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--wgm-red);
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.wgm-confirmation-steps strong { display: block; font-size: 16px; color: var(--wgm-ink); }
.wgm-confirmation-steps span { font-size: 14px; color: var(--wgm-muted); }

.wgm-confirmation-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.wgm-wizard-confirmation .wgm-main { padding-bottom: 80px; }


@media (max-width: 1024px) {
    .wgm-main { padding-left: 22px; padding-right: 22px; }
    .wgm-header-inner { padding-left: 22px; padding-right: 22px; }
    .wgm-cartbar-inner { padding-left: 22px; padding-right: 22px; }
}

/* --- Small tablet / large phone ------------------------------------ */

@media (max-width: 860px) {

    .wgm-header-address { display: none; }

    .wgm-header-item { padding: 0 14px; }
    .wgm-cart-button { padding-left: 14px; }
    .wgm-step-confirmation .wgm-confirmation{padding: 22px;}
    .wgm-step-confirmation .wgm-confirmation h1{font-size: 22px !important;}
    .wgm-step-confirmation .wgm-confirmation-tick{width: 35px; height: 35px;}
    .wgm-step-confirmation .wgm-confirmation-tick svg{width: 18px;}
    .wgm-step-confirmation .wgm-confirmation-ref{padding: 8px 16px;}
    .wgm-step-phone .wgm-porting .wgm-field label{font-size: 18px;}
}

/* --- Phone --------------------------------------------------------- */

@media (max-width: 640px) {
    .wgm-main { padding: 22px 16px 300px; }
    .wgm-header-inner { padding: 10px 16px; gap: 12px; }

    .wgm-logo img { max-height: 30px; }

    /* Drop the support label and keep just the tappable number. */
    .wgm-header-support .wgm-header-label { display: none; }
    .wgm-header-item { padding: 0 12px; }
    .wgm-header-item img { width: 18px; height: 18px; }
    .wgm-header-phone { font-size: 18px; }

    .wgm-step-head { margin-bottom: 24px; }

    /* Contract tabs stack rather than squeezing two long labels. */
    .wgm-term-toggle { flex-direction: column; align-items: stretch; }
    .wgm-term-option { width: 100%; }
    .wgm-plan-grid .wgm-plan{padding: 40px 24px 24px 24px;}
    .wgm-plan { padding: 30px 20px 22px; }
    .wgm-plan-name { font-size: 27px; }
    .wgm-plan-amount { font-size: 32px; }

    .wgm-wifi-copy,
    .wgm-wifi-media { padding: 22px; }

    .wgm-wifi-upsell { padding: 48px 20px; }

    .wgm-card { padding: 22px 18px; }
    .wgm-card-title { font-size: 20px; margin-bottom: 18px; }

    .wgm-confirmation { padding: 32px 22px; margin: 20px auto; }

    .wgm-modal { padding: 12px; }
    .wgm-modal-body { padding: 20px; }
    .wgm-modal-head { padding: 16px 20px; }
    .wgm-modal-head h2 { font-size: 19px; }
    .wgm-modal-foot { flex-direction: column-reverse; }
    .wgm-modal-foot .wgm-btn { width: 100%; }

    /* The exit-intent email field and its button stop fighting for room. */
    .wgm-exit-form { flex-direction: column; }
    .wgm-exit-form .wgm-btn { width: 100%; }
    .wgm-exit-actions { flex-direction: column; }
    .wgm-exit-actions .wgm-btn { width: 100%; }

    .wgm-confirmation-actions .wgm-btn { width: 100%; }
}

@media (max-width: 900px) {
    .wgm-cartbar-groups {
        gap: 16px;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

    .wgm-cartbar-group {
        flex: 0 0 auto;
        min-width: 0;
        max-width: 200px;
        padding-right: 16px;
    }

    .wgm-cartbar-group li {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .wgm-cartbar-title { font-size: 18px; }
    .wgm-cartbar-total-value strong { font-size: 24px; }
}

@media (max-width: 640px) {
    .wgm-header-label{font-size: 14px;}
    /* Buttons come first — they are why the bar exists. */
    .wgm-cartbar-actions { order: -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .wgm-cartbar-buttons { margin-top: 0; flex: 0 0 auto; }
    .wgm-cartbar-buttons .wgm-btn { padding: 11px 16px; font-size: 14px; }
    .wgm-cartbar-total-label { font-size: 16px; }

    .wgm-cartbar-summary .wgm-cartbar-title { display: none; }
}

/* --- Very narrow phones (≤360px) ----------------------------------- */

@media (max-width: 360px) {
    .wgm-main { padding-left: 12px; padding-right: 12px; }
    .wgm-header-inner { padding: 10px 12px; }
    .wgm-accordion-body { padding: 0 14px 18px; }
    .wgm-accordion-toggle { padding: 16px 14px; }
    .wgm-accordion-title { font-size: 18px; }

    .wgm-cartbar-buttons { flex-direction: column; width: 100%; }
    .wgm-cartbar-actions { flex-direction: column; align-items: stretch; }
    .wgm-cartbar-buttons .wgm-btn { width: 100%; }
}

@media (pointer: coarse) {
    .wgm-btn { min-height: 46px; }
    .wgm-stepper-btn { width: 44px; height: 44px; }
    .wgm-icon-button { width: 44px; height: 44px; }
    .wgm-channel-button { min-height: 44px; }
    .wgm-tab { min-height: 48px; }
    .wgm-autocomplete li { padding: 14px 12px; }
}


@media (max-height: 520px) {
    .wgm-modal { align-items: flex-start; overflow-y: auto; }
    .wgm-modal-panel { max-height: none; }
    .wgm-modal-body { max-height: none; }
    .wgm-terms-copy { max-height: 180px; }
}

/* Nothing in the wizard should ever produce a sideways scroll. */
.wgm-wrap { overflow-x: clip; }

.wgm-logo img { width: 100%; object-fit: cover; }

.wgm-logo-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--wgm-ink);
    white-space: nowrap;
}

.wgm-plan-grid { align-items: stretch; }

.wgm-wizard-checkout .wgm-main { padding-bottom: 60px; }



@media (max-width: 860px) {
    .wgm-progress-step { flex: 0 0 auto; }
    .wgm-progress-step.is-current { flex: 1 1 auto; min-width: 0; }
    .wgm-progress-link { padding: 0 14px; }
    .wgm-progress-step.is-current .wgm-progress-link { padding-right: 24px; }
    .wgm-progress-label { max-width: 100%; }
}

@media (max-width: 420px) {
    .wgm-progress-link { height: 46px; padding: 0 10px; }
    .wgm-progress-marker { width: 22px; height: 22px; font-size: 12px; }
    .wgm-progress-label { font-size: 13px; }

    .wgm-progress-step.is-current::after {
        right: -14px;
        border-top-width: 23px;
        border-bottom-width: 23px;
        border-left-width: 14px;
    }
}


@media (max-width: 560px) {
    .wgm-cartbar-actions { flex-direction: column; align-items: stretch; }
    .wgm-cartbar-buttons { flex-direction: column; width: 100%; margin-top: 10px; }
    .wgm-cartbar-buttons .wgm-btn { width: 100%; }

    /* With the buttons stacked the bar is taller, so give the page more
       breathing room underneath it. */
    .wgm-main { padding-bottom: 360px; }
    .wgm-wizard-checkout .wgm-main { padding-bottom: 40px; }

    .wgm-cartbar-groups { max-height: 74px; }
}


body.wgm-wizard > *:not(.wgm-wrap):not(.wgm-modal):not(.wgm-drawer):not(.wgm-toasts):not(.wgm-skeleton):not(script):not(noscript):not(style):not(template):not(link) {
    display: none !important;
}

.wgm-header-support { flex: 0 0 auto; }
.wgm-header-phone { white-space: nowrap; }
.wgm-header-support > span { min-width: 0; }

@media (max-width: 640px) {
    .wgm-header-meta { flex: 0 1 auto; min-width: 0; }
    .wgm-header-brand { flex: 0 1 auto; min-width: 0; }
    .wgm-logo-text { font-size: 17px; overflow: hidden; text-overflow: ellipsis; }
}

@media (max-width: 400px) {
    .wgm-header-support img { display: none; }
    .wgm-header-phone { font-size: 13px; }
    .wgm-header-item { padding: 0 8px; }
    .wgm-cart-button { padding-left: 8px; }
}


.wgm-logo { display: block; min-width: 0; overflow: hidden; }

@media (max-width: 480px) {
    .wgm-header-inner { gap: 8px; }
    .wgm-header-brand { flex: 1 1 auto; min-width: 0; overflow: hidden; }
    .wgm-header-meta { flex: 0 0 auto; }
    .wgm-logo-text { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (max-width: 380px) {

    .wgm-logo-text { display: none; }
    .wgm-logo img { max-width: 110px; }
}

@keyframes wgm-pop {
    0%   { transform: scale(.3); opacity: 0; }
    60%  { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes wgm-rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}

@keyframes wgm-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* A single ring that expands and fades — used to say "this just changed". */
@keyframes wgm-halo {
    from { box-shadow: 0 0 0 0 rgba(212, 0, 42, .38); }
    to   { box-shadow: 0 0 0 14px rgba(212, 0, 42, 0); }
}

@keyframes wgm-bump {
    0%   { transform: none; }
    35%  { transform: translateY(-4px) scale(1.06); }
    100% { transform: none; }
}


.wgm-step-head { animation: wgm-rise .42s var(--wgm-ease-out) both; }

.wgm-step .wgm-accordion { animation: wgm-rise .46s var(--wgm-ease-out) both; }
.wgm-step .wgm-accordion:nth-of-type(1) { animation-delay: .05s; }
.wgm-step .wgm-accordion:nth-of-type(2) { animation-delay: .11s; }
.wgm-step .wgm-accordion:nth-of-type(3) { animation-delay: .17s; }
.wgm-step .wgm-accordion:nth-of-type(n+4) { animation-delay: .22s; }

/* Card grids stagger too, but fast enough that it reads as one movement. */
.wgm-plan-grid > *,
.wgm-preset-grid > *,
.wgm-tier-grid > *,
.wgm-equipment-grid > *,
.wgm-feature-grid > * { animation: wgm-rise .44s var(--wgm-ease-out) both; }

.wgm-plan-grid > :nth-child(1),
.wgm-preset-grid > :nth-child(1),
.wgm-tier-grid > :nth-child(1),
.wgm-equipment-grid > :nth-child(1),
.wgm-feature-grid > :nth-child(1) { animation-delay: .04s; }

.wgm-plan-grid > :nth-child(2),
.wgm-preset-grid > :nth-child(2),
.wgm-tier-grid > :nth-child(2),
.wgm-equipment-grid > :nth-child(2),
.wgm-feature-grid > :nth-child(2) { animation-delay: .1s; }

.wgm-plan-grid > :nth-child(3),
.wgm-preset-grid > :nth-child(3),
.wgm-tier-grid > :nth-child(3),
.wgm-equipment-grid > :nth-child(3),
.wgm-feature-grid > :nth-child(3) { animation-delay: .16s; }

.wgm-plan-grid > :nth-child(n+4),
.wgm-preset-grid > :nth-child(n+4),
.wgm-tier-grid > :nth-child(n+4),
.wgm-equipment-grid > :nth-child(n+4),
.wgm-feature-grid > :nth-child(n+4) { animation-delay: .21s; }

/* The channel grid can hold 100+ tiles, so it fades as a block. */
.wgm-channel-grid { animation: wgm-fade .4s ease both; }


.wgm-accordion.is-complete .wgm-accordion-check {
    animation: wgm-pop .42s var(--wgm-ease-out) both;
}

.wgm-accordion-chevron {
    transition: transform var(--wgm-dur) var(--wgm-ease-out);
}

/* Head elements cross-fade as a panel unlocks. */
.wgm-accordion-title,
.wgm-accordion-hint { transition: color var(--wgm-dur) ease; }
.wgm-lock-pill,
.wgm-lock-icon { transition: opacity var(--wgm-dur) ease, transform var(--wgm-dur) ease; }

.wgm-accordion.wgm-just-unlocked {
    animation: wgm-halo .9s var(--wgm-ease-out) both;
}

.wgm-accordion.wgm-just-unlocked .wgm-accordion-chevron {
    animation: wgm-pop .4s var(--wgm-ease-out) both;
}

.wgm-plan,
.wgm-preset,
.wgm-tier,
.wgm-equipment,
.wgm-feature,
.wgm-channel {
    transition: border-color var(--wgm-dur) ease,
                box-shadow var(--wgm-dur) ease,
                transform var(--wgm-dur) var(--wgm-ease-out);
}

.wgm-preset:hover,
.wgm-tier:hover,
.wgm-equipment:hover,
.wgm-feature:hover { transform: translateY(-2px); }

.wgm-tier .wgm-radio,
.wgm-equipment .wgm-radio {
    transition: border-color var(--wgm-dur) ease, background-color var(--wgm-dur) ease;
}

.wgm-tier.is-selected .wgm-radio,
.wgm-equipment.is-selected .wgm-radio { animation: wgm-pop .34s var(--wgm-ease-out) both; }

/* Buttons that flip to "Added". */
.wgm-btn { transition: background-color var(--wgm-dur) ease, color var(--wgm-dur) ease,
                       border-color var(--wgm-dur) ease, opacity var(--wgm-dur) ease,
                       transform var(--wgm-dur) var(--wgm-ease-out); }
.wgm-btn:not(:disabled):active { transform: scale(.97); }
.wgm-btn.is-added { animation: wgm-pop .36s var(--wgm-ease-out) both; }

.wgm-channel-button { transition: background-color var(--wgm-dur) ease, color var(--wgm-dur) ease,
                                  border-color var(--wgm-dur) ease; }

.wgm-picker-counter { transition: border-color var(--wgm-dur) ease, color var(--wgm-dur) ease; }
.wgm-picker-counter.is-complete { animation: wgm-pop .38s var(--wgm-ease-out) both; }

[data-wgm-total].wgm-bumped,
[data-wgm-cart-count].wgm-bumped {
    animation: wgm-bump .42s var(--wgm-ease-out) both;
    display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
    .wgm-step-head,
    .wgm-step .wgm-accordion,
    .wgm-plan-grid > *,
    .wgm-preset-grid > *,
    .wgm-tier-grid > *,
    .wgm-equipment-grid > *,
    .wgm-feature-grid > *,
    .wgm-channel-grid,
    .wgm-accordion.is-complete .wgm-accordion-check,
    .wgm-accordion.wgm-just-unlocked,
    .wgm-accordion.wgm-just-unlocked .wgm-accordion-chevron,
    .wgm-tier.is-selected .wgm-radio,
    .wgm-equipment.is-selected .wgm-radio,
    .wgm-btn.is-added,
    .wgm-picker-counter.is-complete,
    [data-wgm-total].wgm-bumped,
    [data-wgm-cart-count].wgm-bumped {
        animation: none;
    }

    .wgm-accordion,
    .wgm-accordion-body,
    .wgm-accordion-chevron,
    .wgm-plan,
    .wgm-preset,
    .wgm-tier,
    .wgm-equipment,
    .wgm-feature,
    .wgm-channel,
    .wgm-btn,
    .wgm-channel-button,
    .wgm-picker-counter { transition: none; }

    .wgm-preset:hover,
    .wgm-tier:hover,
    .wgm-equipment:hover,
    .wgm-feature:hover,
    .wgm-btn:not(:disabled):active { transform: none; }

    /* Without the transition the body must still collapse instantly. */
    .wgm-accordion-body { transition: visibility 0s; }
}

.wgm-tabpanel.is-active,
[data-wgm-porting],
[data-wgm-provider-other],
[data-wgm-wifi-upsell],
[data-wgm-wifi-included] {
    animation: wgm-rise .36s var(--wgm-ease-out) both;
}

.wgm-drawer-group { animation: wgm-rise .34s var(--wgm-ease-out) both; }
.wgm-cartbar-group { animation: wgm-fade .3s ease both; }

@media (prefers-reduced-motion: reduce) {
    .wgm-tabpanel.is-active,
    [data-wgm-porting],
    [data-wgm-provider-other],
    [data-wgm-wifi-upsell],
    [data-wgm-wifi-included],
    .wgm-drawer-group,
    .wgm-cartbar-group { animation: none; }
}


.wgm-clickable-card,
.wgm-channel { cursor: pointer; }

.wgm-channel:hover .wgm-channel-button { border-color: var(--wgm-red); color: var(--wgm-red); }

.wgm-clickable-card:hover,
.wgm-channel:hover { border-color: var(--wgm-red); }


.wgm-skeleton {
    position: fixed;
    inset: 0 0 0 0;
    z-index: 60;
    overflow: hidden;
    background: var(--wgm-bg);
}

.wgm-sk-wrap {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 1224px;
    margin: 0 auto;
    padding: 40px 28px;
}

.wgm-sk {
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
    height: 14px;
    background: #e9ebef;
    border-radius: 6px;
}

/* One shimmer definition, reused by every shape. */
.wgm-sk::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .72), transparent);
    animation: wgm-shimmer 1.35s ease-in-out infinite;
}

@keyframes wgm-shimmer {
    to { transform: translateX(100%); }
}

.wgm-sk-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
}

.wgm-sk-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-bottom: 12px;
}

.wgm-sk-pill { height: 46px; border-radius: var(--wgm-r-pill); }

.wgm-sk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 20px;
}

.wgm-sk-split {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 20px;
}

.wgm-sk-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px;
    background: var(--wgm-surface);
    border: 1px solid var(--wgm-line);
    border-radius: var(--wgm-r-md);
}

.wgm-sk-btn { height: 48px; border-radius: var(--wgm-r-pill); margin-top: 10px; }
.wgm-sk-field { height: 44px; border-radius: var(--wgm-r-sm); }

.wgm-sk-panel {
    background: var(--wgm-surface);
    border: 1px solid var(--wgm-line);
    border-radius: var(--wgm-r-md);
    overflow: hidden;
}

.wgm-sk-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 26px 30px;
}

.wgm-sk-dot { width: 32px; height: 32px; border-radius: 50%; }
.wgm-sk-chev { width: 14px; height: 14px; margin-left: auto; }
.wgm-sk-body { padding: 0 30px 30px; }

@media (max-width: 860px) {
    .wgm-sk-split { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
    .wgm-sk-wrap { padding: 26px 18px; }
    .wgm-sk-head { padding: 20px; }
    .wgm-sk-body { padding: 0 20px 20px; }
    .wgm-sk-card { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .wgm-sk::after { animation: none; display: none; }
    .wgm-clickable-card:hover .wgm-btn:not(.is-added):not(:disabled) { filter: none; }
}

.wgm-basic-solo { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 769px) {
    .wgm-short { display: none !important; }
}

.wgm-summary-toggle { display: none; }

.wgm-addressbar,
.wgm-progress-label-short { display: none; }
.wgm-terms-copy p { margin: 0 0 14px; font-size: 16px; font-family: "Open Sans"; font-weight: 400; color: #595959; }
.wgm-terms-copy p:last-child { margin-bottom: 0; }
.wgm-terms-copy ul,
.wgm-terms-copy ol { margin: 0 0 14px; padding-left: 20px; }
.wgm-terms-copy li { margin-bottom: 6px; }
.wgm-terms-copy a { color: var(--wgm-red); text-decoration: underline; }
.wgm-terms-copy strong { font-weight: 700; }

@media (max-width: 768px) {

    .wgm-long { display: none !important; }

    /* --- header ------------------------------------------------------- */

    .wgm-header-inner {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 16px;
    }

    .wgm-header-brand { flex: 1 1 auto; min-width: 0; gap: 10px; }

    .wgm-logo img { max-height: 28px; width: auto; }
    .wgm-logo-text { font-size: 19px; }

    .wgm-header-meta { flex: 0 0 auto; gap: 4px; }
    .wgm-header-support {
        padding: 0;
        border: 0;
        background: none;
    }

    .wgm-header-support .wgm-header-label,
    .wgm-header-support .wgm-header-phone { display: none; }

    .wgm-header-support img { display: block; width: 22px; height: 22px; }

    .wgm-header-address { display: none !important; }

    .wgm-cart-button { padding: 0; border: 0; background: none; }
    .wgm-cart-button img { width: 24px; height: 24px; }

    /* --- service address row ------------------------------------------ */

    .wgm-addressbar {
        display: block;
        background: #f7f7f8;
        border-bottom: 1px solid #e6e7ea;
    }

    .wgm-addressbar-inner {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 16px;
        text-decoration: none;
        color: inherit;
    }

    .wgm-addressbar-pin { flex: 0 0 auto; width: 20px; height: 20px; }

    .wgm-addressbar-text { flex: 1 1 auto; min-width: 0; }

    .wgm-addressbar-label {
        display: block;
        font-size: 12px;
        line-height: 1.3;
        color: #6b7280;
    }


    .wgm-addressbar-text strong {
        display: block;
        font-size: 13.5px;
        font-weight: 700;
        line-height: 1.35;
        color: #101418;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .wgm-addressbar-chevron { flex: 0 0 auto; color: #9aa0a6; display: flex; display: none;}

    .wgm-progress { padding: 32px 0; margin: 0; }

    .wgm-progress-list,
    .wgm-progress-step.is-done,
    .wgm-progress-step.is-current {
        background: none;
        border-radius: 0;
        overflow: visible;
    }

    .wgm-progress-step.is-current::after { display: none; }
    .wgm-plan-grid{margin-top: 65px; gap: 46px;}

    .wgm-progress-step,
    .wgm-progress-step.is-current { flex: 1 1 0; min-width: 0; }

    .wgm-progress-link,
    .wgm-progress-step.is-current .wgm-progress-link { padding: 0; }

    .wgm-progress-step.is-done .wgm-progress-link,
    .wgm-progress-step.is-current .wgm-progress-link { height: auto; color: inherit; }
    .wgm-progress-list {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .wgm-progress-step {
        position: relative;
        flex: 1 1 0;
        min-width: 0;
        padding: 0;
        margin: 0;
        background: none;
        border: 0;
    }

    .wgm-progress-step::before {
        content: "";
        position: absolute;
        top: 15px;
        right: 50%;
        left: -50%;
        height: 4px;
        background: #e0e2e6;
    }

    .wgm-progress-step:first-child::before { display: none; }

    /* A rail is red only once the step on its right has been reached. */
    .wgm-progress-step.is-done::before,
    .wgm-progress-step.is-current::before { background: #e01f26; }

    .wgm-progress-link {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 0;
        background: none;
        border: 0;
        text-decoration: none;
    }

    .wgm-progress-marker {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        margin: 0;
        font-size: 13px;
        font-weight: 700;
        color: #9aa0a6;
        background: #fff;
        border: 2px solid #e0e2e6;
        border-radius: 50%;
    }

    .wgm-progress-step.is-done .wgm-progress-marker,
    .wgm-progress-step.is-current .wgm-progress-marker {
        color: #fff;
        background: #e01f26;
        border-color: #e01f26;
            z-index: 2;
    }


    .wgm-progress-label,
    .wgm-progress-step.is-current .wgm-progress-label { display: none; }

    .wgm-progress-label-short {
        display: block;
        font-size: 11.5px;
        line-height: 1.3;
        font-weight: 600;
        color: #6b7280;
        text-align: center;
    }

    .wgm-progress-step.is-current .wgm-progress-label-short { color: #e01f26; }
    .wgm-wifi-upsell .wgm-upsell-copy{order: 2;}
    .wgm-upsell-copy h2{font-size: 28px;}
    .wgm-upsell-media img{max-width: 160px;}
    .wgm-upsell-copy p{font-size: 16px;}
    .wgm-wifi-upsell .wgm-btn{text-align: left; line-height: 150%;}
    /* --- form controls --------------------------------------------------- */

    .wgm-gate {
        display: flex;
        flex-direction: column;
        min-height: 0;
        background: #fff;
        padding-top: 48px;
    }

    .wgm-gate-hero,
    .wgm-gate-hero-inner { display: contents; }

    .wgm-rating        { order: 1; }
    .wgm-gate-headline { order: 2; }
    .wgm-gate-form-col { order: 3; }
    .wgm-gate-quote    { order: 4; }

    .wgm-gate-bullets { display: none; }

    /* Off the black panel, these need ink instead of white. */
    .wgm-gate-hero .wgm-rating {
      align-self: flex-start;
        width: auto;
        padding: 14px 16px;
        gap: 8px;
        color: #333333;
        background: #fff;
        border-color: #333333;
        font-size: 15px;
        font-weight: 600;
        min-width: 320px;
        display: flex;
        justify-content: center;
        margin: 0 24px;
    }

    .wgm-rating span { white-space: nowrap; }
    .wgm-rating img { flex: 0 0 auto; }
    .wgm-gate-hero .wgm-gate-headline {
        font-size: 30px !important;
        line-height: 120%;
        color: #000000;
        margin: 0 24px;
    }

    .wgm-gate-form-col {
        display: block;
        padding: 32px 24px ;
    }

    .wgm-gate-form { max-width: none; }

    .wgm-gate-hero .wgm-gate-quote {
        margin: 0;
        padding: 48px 24px;
        background: #101010;
        color: #fff;
        border: 0;
        border-radius: 0;
    }

    .wgm-gate-hero .wgm-gate-quote blockquote {
        padding: 24px;
        border: 1px solid #EEEEEE;
        border-radius: 4px;
        margin: 0;
        font-size: 16px;
        border-bottom: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .wgm-gate-quote figcaption {
        padding: 0 20px 20px;
        border: 1px solid #EEEEEE;
        border-top: 0;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-radius: 4px;
    }

    .wgm-gate-page .wgm-header-support .wgm-header-label,
    .wgm-gate-page .wgm-header-support .wgm-header-phone { display: block; }

    .wgm-step-head { margin-bottom: 24px; text-align: center; }
    .wgm-step .wgm-step-head h1 { font-size: 28px !important; line-height: 1.22; }
    .wgm-step .wgm-step-head p { font-size: 16px; line-height: 1.5; }
    .wgm-basic-heading{font-size: 23px; padding: 27px 16px;}
    .wgm-basic-body{padding: 32px 16px;}
    .wgm-basic-card .wgm-basic-body .wgm-basic-features{order: 1;}
    .wgm-basic-card .wgm-basic-body .wgm-basic-features .wgm-basic-price strong{font-size: 33px;}
    /* --- checkout -------------------------------------------------------- */

    .wgm-wizard-checkout .wgm-progress,
    .wgm-wizard-checkout .wgm-addressbar { display: none; }

    .wgm-wizard-checkout .wgm-main { padding: 0 0 28px; }


    .wgm-checkout-layout {
        display: flex;
        flex-direction: column;
  
        align-items: stretch;
        gap: 0;
    }

    .wgm-checkout-aside,
    .wgm-summary { display: contents; }

    .wgm-summary-main    { order: 1; }
    .wgm-checkout-form   { order: 2; }
    .wgm-summary-actions { order: 3; }
    .wgm-offer-card      { order: 4; }

    /* The summary reads as a band across the top rather than a card. */
    .wgm-summary-main {
        background: #f6f6f7;
        border-bottom: 1px solid #e6e7ea;
    }

    .wgm-summary-main .wgm-card-title { display: none; }

    .wgm-summary-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        padding: 20px 16px;
        background: none;
        border: 0;
        cursor: pointer;
        font: inherit;
        text-align: left;
        border-bottom: 1px solid #BFBFBF;
        margin-bottom: 33px;
    }
    .wgm-checkout-aside .wgm-summary-toggle-label{font-size: 18px; font-weight: 700; color: #595959;}
    .wgm-summary-toggle-label {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 16px;
        font-weight: 600;
        color: var(--wgm-ink);
    }

    .wgm-summary-chevron { transition: transform .2s ease; }
    .wgm-summary-main.is-open .wgm-summary-chevron { transform: rotate(180deg); }

    .wgm-summary-toggle-total { font-size: 23px; font-weight: 600; color: #000; }
.wgm-summary-price{font-size: 18px !important;}
    .wgm-summary-body { display: block; }
    .wgm-summary-group li span{font-size: 14px;}
    .wgm-summary-main:not(.is-open) .wgm-summary-body { display: none; }
    .wgm-checkout-aside .wgm-summary-edit{font-size: 18px;}
    .wgm-summary-body { padding: 0 16px 16px; }
    .wgm-summary-group li strong{font-size: 18px;}
    .wgm-summary-total { align-items: center; padding-top: 14px; margin-bottom: 0; }
    .wgm-summary-total span{font-size: 16px;}
    .wgm-summary-total strong { font-size: 16px; font-weight: 600; }
    .wgm-summary-total .wgm-summary-amount span { font-size: 27px; }
    .wgm-summary-amount { font-size: 26px; }
    .wgm-summary-amount em { font-size: 14px; font-weight: 400; color:#000000; }

    .wgm-summary-actions { padding: 18px 16px 8px; background: #fff; }

    .wgm-wizard-checkout .wgm-checkout-form { padding: 18px 16px 0; background: #fff; }

    .wgm-wizard-checkout .wgm-offer-card { margin: 18px 16px 0; }
    .wgm-logo-row,
    .wgm-preset .wgm-logo-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        padding: 16px 16px 0;
    }

    .wgm-logo-tile {
        max-width: 100%;
        height: 96px;
        padding: 10px;
    }

    .wgm-tabs {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        margin-bottom: 16px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        border-radius: 4px;
    }

    .wgm-tabs::-webkit-scrollbar { display: none; }

    .wgm-tab {
        flex: 0 0 auto;
        padding: 14px 14px;
        font-size: 13px;
        white-space: nowrap;
        border-bottom: 0;
    }
    .wgm-tab.is-active{border-radius: 4px;}

    .wgm-accordion-title { font-size: 23px; }
    .wgm-accordion-body { padding: 0; }
    article.wgm-accordion.is-complete.is-open .wgm-accordion-body {padding: 0 16px 18px;}
    .wgm-step-phone  article.wgm-accordion.is-open .wgm-accordion-body{padding: 20px 16px 32px !important;}
    .wgm-exit-body {
        display: flex;
        flex-direction: column-reverse;
        gap: 16px;
        align-items: stretch;
    }

    .wgm-exit-media { display: block; }

    .wgm-modal-panel[aria-labelledby="wgm-exit-title"] .wgm-exit-media img {
        display: block;
        width: 100%;
        height: 300px;
        object-fit: cover;
    }

    .wgm-exit-copy h3 { font-size: 21px; }
    .wgm-exit-copy > p { font-size: 14px; margin-bottom: 16px; }

    .wgm-exit-form { flex-direction: column; gap: 10px; }
    .wgm-exit-form input { width: 100%; }
    .wgm-exit-form .wgm-btn { width: 100%; }

    .wgm-exit-actions { flex-direction: column; gap: 10px; margin-top: 16px; }
    .wgm-exit-actions .wgm-btn { width: 100%; }

    /* --- terms panel ----------------------------------------------------- */

    /* The design puts the title in a black bar across the top of the sheet. */
    .wgm-modal[data-wgm-modal="terms"] .wgm-modal-head {
        background: #101418;
        border-bottom: 0;
    }

    .wgm-modal[data-wgm-modal="terms"] .wgm-modal-head h2 { color: #fff; }
    .wgm-modal[data-wgm-modal="terms"] .wgm-icon-button { color: #fff; }

    .wgm-drawer-panel {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: none;
        box-shadow: none;
    }

    .wgm-drawer-header {
        position: sticky;
        top: 0;
        z-index: 2;
        padding: 14px 16px;
        background: #fff;
        border-bottom: 1px solid #e6e7ea;
    }

    .wgm-drawer-header h2 { font-size: 20px; }

    .wgm-drawer-body { padding: 25px 16px 16px; }

    .wgm-drawer-footer {
        padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
        border-top: 1px solid #e6e7ea;
    }

    .wgm-cartbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 35;
        background: #fff;
        border-top: 1px solid #e6e7ea;
        box-shadow: 0 -6px 18px rgba(16, 20, 24, .08);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .wgm-cartbar-inner {
        display: block;
        max-width: none;
        padding: 16px;
    }

    .wgm-cartbar-summary {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 4px 10px;
    }

    .wgm-cartbar-summary .wgm-cartbar-title {
        display: block;
        flex: 0 0 auto;
        margin: 0;
        font-size: 23px;
    }

    .wgm-cartbar-summary .wgm-link-button {
        flex: 0 0 auto;
        font-size: 16px;
        font-weight: 700;
        margin-left: 24px;
    }
    .wgm-cartbar-collapse {
        flex: 1 1 100%;
        flex-direction: column;
        gap: 0;
        max-height: 150px;
        overflow-x: hidden;
        overflow-y: auto;
        margin: 2px 0 0;
        padding-bottom: 0;
        font-size: 11.5px;
        line-height: 1.4;
    }

    .wgm-cartbar-group {
        max-width: none;
        padding: 6px 0;
        border-right: 0;
        border-bottom: 1px solid var(--wgm-line-soft);
    }

    .wgm-cartbar-group:first-child { padding-top: 0; }
    .wgm-cartbar-group:last-child { padding-bottom: 0; border-bottom: 0; }

    .wgm-cartbar-group li {
        overflow: visible;
        white-space: normal;
        text-overflow: clip;
    }

    .wgm-cartbar-actions {
        display: block;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid #eceef1;
    }

    .wgm-cartbar-total {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 20px !important;
    }

    .wgm-cartbar-total-label { font-size: 16px; color: #101418; flex: 1; }
    .wgm-cartbar-total-value{flex: 1; text-align: end;}
    .wgm-cartbar-total-value strong { font-size: 22px; }
    .wgm-cartbar-unit { font-size: 12px; }

    .wgm-cartbar-buttons {
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: 10px;
        margin-top: 0;
    }

    .wgm-cartbar-buttons .wgm-btn {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        padding: 11px 8px;
        font-size: 14px;
        border-radius: 999px;
        white-space: nowrap;
    }

    .wgm-cartbar-actions { flex-direction: row; align-items: stretch; }
    .wgm-main {
        padding: 18px 16px calc(var(--wgm-cartbar-h, 190px) + 24px + env(safe-area-inset-bottom));
    }
}

@media screen and (max-width: 400px){
    .wgm-gate-hero .wgm-rating{margin: 0 12px;}
}

.wgm-remove-list {
    margin: 14px 0 0;
    padding: 12px 16px;
    list-style: none;
    background: var(--wgm-red-tint);
    border-radius: var(--wgm-r-sm);
}

.wgm-remove-list:empty { display: none; }

.wgm-remove-list li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--wgm-red-dark);
}

.wgm-remove-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 10px;
    width: 8px;
    height: 1.5px;
    background: currentColor;
    opacity: .6;
}

.wgm-remove-note {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--wgm-muted);
}

.wgm-step-blocked { position: relative; }


.wgm-blocked-behind {
    filter: grayscale(1);
    opacity: .5;
    pointer-events: none;
    user-select: none;
}
.wgm-blocked-ghosts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.wgm-blocked-ghost {
    height: 300px;
    background: linear-gradient(180deg, #f3f5f7 0%, #eceef1 100%);
    border: 1px solid var(--wgm-line);
    border-radius: var(--wgm-r-md);
}

.wgm-modal-locked { z-index: 90; }
.wgm-modal-locked .wgm-modal-backdrop { background: rgba(0, 0, 0, 0.8); opacity: 1; }
.wgm-modal-locked .wgm-modal-panel { opacity: 1; transform: none; }
.wgm-modal-panel .wgm-icon-button{color: #ffffff;}
.wgm-unavailable-panel { max-width: 900px;width: 100%; }
.wgm-unavailable-panel .unavailable-modal-header{background: #F0F0F0; min-height: 75px; border-top-left-radius: 16px; border-top-right-radius: 16px;}

.wgm-unavailable-body {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: center;
    padding: 40px 36px;
}

.wgm-unavailable-body.is-solo { grid-template-columns: minmax(0, 1fr); }
.wgm-unavailable-body.is-solo .wgm-unavailable-copy { max-width: 42ch; }

.wgm-unavailable-copy h2 {
    margin: 0;
    font-size: 33px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -.01em;
    color: #000;
}
.wgm-unavailable-lede {
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--wgm-text);
}

.wgm-unavailable-lede > *:first-child { margin-top: 0; }
.wgm-unavailable-lede > *:last-child { margin-bottom: 0; }
.wgm-unavailable-lede p { margin: 0 0 10px; }
.wgm-unavailable-lede ul,
.wgm-unavailable-lede ol { margin: 0 0 10px; padding-left: 20px; }
.wgm-unavailable-lede li { margin-bottom: 4px; }
.wgm-unavailable-lede a { color: var(--wgm-red); }
.wgm-unavailable-lede strong { color: var(--wgm-ink); }

.wgm-unavailable-address {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 16px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--wgm-muted);
}

.wgm-unavailable-address img { flex: 0 0 auto; margin-top: 2px; }

.wgm-unavailable-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.wgm-unavailable-actions .wgm-btn { white-space: nowrap; font-size: 18px; font-weight: 700; }
.wgm-unavailable-actions .wgm-btn.wgm-btn-outline{border: 1px solid #000; color: #000;}

.wgm-unavailable-media img {
    display: block;
    width: 100%;
    max-height: 421px;
    object-fit: cover;
    border-radius: var(--wgm-r-md);
}

/* EXIT MODAL  */
.wgm-modal-panel[aria-labelledby="wgm-exit-title"] .wgm-modal-head{background: #F0F0F0;}
.wgm-modal-panel[aria-labelledby="wgm-exit-title"] .wgm-modal-head #wgm-exit-title{color: #000;}
.wgm-modal-panel[aria-labelledby="wgm-exit-title"] .wgm-modal-head .wgm-icon-button{color: #000;}
.wgm-modal-panel[aria-labelledby="wgm-exit-title"] .wgm-exit-body {padding: 40px 32px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: center; }

.wgm-modal-panel[aria-labelledby="wgm-exit-title"] .wgm-exit-copy h3 { margin: 0 0 12px; font-size: 33px; font-weight: 600; line-height: 1.25; color: #000; }
.wgm-modal-panel[aria-labelledby="wgm-exit-title"] .wgm-exit-copy > p { margin: 0 0 20px; font-size: 18px; color: #595959; line-height: 150%; }

.wgm-modal-panel[aria-labelledby="wgm-exit-title"] .wgm-exit-form { display: flex; gap: 16px; }
.wgm-modal-panel[aria-labelledby="wgm-exit-title"] .wgm-exit-form input { flex: 1 1 auto; padding: 15px 16px; border: 0.5px solid #595959; border-radius: 4px; font-size: 16px; background-color: transparent; }
.wgm-modal-panel[aria-labelledby="wgm-exit-title"] .wgm-exit-form .wgm-btn-dark{border-radius: 4px; min-width: 170px; height: 55px; background-color: #333333; color: #fff; font-size: 16px; font-weight: 700;}
.wgm-modal-panel[aria-labelledby="wgm-exit-title"] .wgm-exit-actions { display: flex; gap: 12px; margin-top: 32px; font-size: 18px; }
.wgm-modal-panel[aria-labelledby="wgm-exit-title"] .wgm-exit-actions a, .wgm-modal-panel[aria-labelledby="wgm-exit-title"] .wgm-exit-actions button{min-width: 210px; height: 55px;}
.wgm-modal-panel[aria-labelledby="wgm-exit-title"] .wgm-exit-actions .wgm-btn{font-size: 18px; font-weight: 700;}
.wgm-modal-panel[aria-labelledby="wgm-exit-title"] .wgm-exit-media img { border-radius: 12px; }


@media (max-width: 900px) {
    .wgm-blocked-ghosts { grid-template-columns: 1fr; }
    .wgm-blocked-ghost { height: 150px; }

    .wgm-unavailable-body { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 28px; }

    .wgm-unavailable-media { order: -1; }
    .wgm-unavailable-media img { max-height: 300px; object-fit: cover; }
}

@media screen and (max-width: 767px){
        .wgm-modal-panel[aria-labelledby="wgm-exit-title"] .wgm-exit-body{grid-template-columns: 1fr; padding: 24px;}
        .wgm-modal-panel[aria-labelledby="wgm-exit-title"] #wgm-exit-title{font-size: 20px;}
                .wgm-modal-panel[aria-labelledby="wgm-exit-title"] .wgm-exit-copy{order: 1;}
        .wgm-modal-panel[aria-labelledby="wgm-exit-title"] .wgm-exit-copy h3{font-size: 23px;}
}

@media (max-width: 768px), (pointer: coarse) {

    .wgm-field input[type="text"],
    .wgm-field input[type="email"],
    .wgm-field input[type="tel"],
    .wgm-field input[type="number"],
    .wgm-field input[type="search"],
    .wgm-field select,
    .wgm-field textarea,
    .wgm-exit-form input,
    .wgm-channel-search input,
    input[type="search"][data-wgm-channel-search] {
        font-size: 16px;
    }
    .wgm-cart-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-right: -10px;
    }

    .wgm-header-support {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
    }

    .wgm-back {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-left: -10px;
    }
    .wgm-link-button {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
        padding: 6px 2px;
    }
    .wgm-logo {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .wgm-header-phone,
    .wgm-gate-signin a {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
    }

    /* --- the address we cannot sell online ------------------------------- */

    .wgm-modal-locked { padding: 16px; align-items: center; overflow-y: auto; }

    .wgm-unavailable-body { padding: 30px 20px; gap: 18px; }

    .wgm-unavailable-body.is-solo { grid-template-columns: minmax(0, 1fr); }
.wgm-unavailable-body.is-solo .wgm-unavailable-copy { max-width: 42ch; }

.wgm-unavailable-copy h2 { font-size: 23px; line-height: 1.32; }
.wgm-unavailable-lede {
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--wgm-text);
}

.wgm-unavailable-lede > *:first-child { margin-top: 0; }
.wgm-unavailable-lede > *:last-child { margin-bottom: 0; }
.wgm-unavailable-lede p { margin: 0 0 10px; }
.wgm-unavailable-lede ul,
.wgm-unavailable-lede ol { margin: 0 0 10px; padding-left: 20px; }
.wgm-unavailable-lede li { margin-bottom: 4px; }
.wgm-unavailable-lede a { color: var(--wgm-red); }
.wgm-unavailable-lede strong { color: var(--wgm-ink); }

.wgm-unavailable-address { font-size: 13px; margin-top: 14px; }

    /* Stacked and full width: side by side, a phone number and a four word
       label each get about half of a 320px screen and both wrap. */
    .wgm-unavailable-actions { flex-direction: column; gap: 10px; margin-top: 20px; }
    .wgm-unavailable-actions .wgm-btn { width: 100%; justify-content: center; }

    .wgm-unavailable-media img { max-height: 300px; }

    .wgm-blocked-ghost { height: 120px; }

    .wgm-drawer-edit,
    .wgm-drawer-remove,
    .wgm-summary-edit {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
    }

    .wgm-drawer-edit { padding: 0 2px; margin-right: -2px; }
    .wgm-drawer-remove { margin-top: 0; padding: 0 2px; }
    .wgm-summary-edit { padding: 6px 14px; }
}



/* cart toggle icon add  */
/* Toggle button is hidden on desktop */
.wgm-cartbar-toggle { display: none; }

@media (max-width: 768px) {
  .wgm-cartbar-head {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
  }
  .wgm-cartbar-head-inner{display: flex; justify-content: center; align-items: center; gap: 24px;}
  .wgm-cartbar-head .wgm-link-button { margin-left: auto; }

  .wgm-cartbar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color .3s ease, color .3s ease,
                border-color .3s ease, transform .15s ease, box-shadow .3s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .wgm-cartbar-toggle:active { transform: scale(.88); }
  .wgm-cartbar-toggle svg {
    transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
  }
  .wgm-cartbar.is-open .wgm-cartbar-toggle {
    background: #d52b2b;
    border-color: #d52b2b;
    color: #fff;
    box-shadow: 0 4px 12px rgba(213, 43, 43, .35);
  }
  .wgm-cartbar.is-open .wgm-cartbar-toggle svg { transform: rotate(180deg); }

  /* Collapse animation */
  .wgm-cartbar-collapse {
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows .45s cubic-bezier(.4, 0, .2, 1),
                visibility 0s linear .45s;
  }
  .wgm-cartbar.is-open .wgm-cartbar-collapse {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows .45s cubic-bezier(.4, 0, .2, 1),
                visibility 0s;
  }

  .wgm-cartbar-groups {
    min-height: 0;
    max-height: 35vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .3s ease, transform .45s cubic-bezier(.4, 0, .2, 1);
    flex-direction: column;
    margin-top: 0;
  }
  .wgm-cartbar.is-open .wgm-cartbar-groups {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .08s;
    margin-top: 8px;
  }

  /* Items appear one after another */
  .wgm-cartbar-groups > * {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s ease, transform .35s ease;
  }
  .wgm-cartbar.is-open .wgm-cartbar-groups > * { opacity: 1; transform: none; }
  .wgm-cartbar.is-open .wgm-cartbar-groups > *:nth-child(1) { transition-delay: .12s; }
  .wgm-cartbar.is-open .wgm-cartbar-groups > *:nth-child(2) { transition-delay: .18s; }
  .wgm-cartbar.is-open .wgm-cartbar-groups > *:nth-child(3) { transition-delay: .24s; }
  .wgm-cartbar.is-open .wgm-cartbar-groups > *:nth-child(4) { transition-delay: .30s; }
  .wgm-cartbar.is-open .wgm-cartbar-groups > *:nth-child(n+5) { transition-delay: .36s; }
}

@media (prefers-reduced-motion: reduce) {
  .wgm-cartbar-collapse,
  .wgm-cartbar-groups,
  .wgm-cartbar-groups > *,
  .wgm-cartbar-toggle,
  .wgm-cartbar-toggle svg {
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}
/* =====================================================================
   ADDITIONAL SET-TOP BOXES
   The rental quantity and the set-top box add-ons (Cloud DVR) in one row,
   as in the approved design. The cards themselves are the step's own
   .wgm-equipment cards with their name, description and price styles;
   only the row and the parts that differ from a selectable option card
   are set here.
   ===================================================================== */

/* .wgm-stb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 16px;
    margin-top: 10px;
} */

/* These cards hold their own controls rather than being the control, so
   they read top-down and do not invite a click on the card itself. */
/* .wgm-stb-card {
    justify-content: flex-start;
    cursor: default;
} */

/* .wgm-stb-card .wgm-stepper { align-self: flex-start; margin-top: 6px; }

.wgm-stb-card .wgm-btn {
    align-self: flex-start;
    margin-top: auto;
}

.wgm-stb-card .wgm-equipment-price { margin-bottom: 8px; } */

/* Same entrance as the step's other card rows. */
.wgm-stb-grid > * { animation: wgm-rise .44s var(--wgm-ease-out) both; }
.wgm-stb-grid > :nth-child(1) { animation-delay: .04s; }
.wgm-stb-grid > :nth-child(2) { animation-delay: .1s; }
.wgm-stb-grid > :nth-child(n+3) { animation-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
    .wgm-stb-grid > * { animation: none; }
}

/* The consent box above Sign Up: the wizard's own checkbox, at the size of
   the form's small print. */
.wgm-gate-consent { margin-top: 20px; font-size: 14px; color: #333333; line-height: 1.45; }
.wgm-gate-consent input { margin-top: 1px; }


/* Optional router rental — scoped to its Internet-step dialog. */
/* The existing wizard applies 80% zoom at the document root. Keep this
   dialog at the design's native size without changing the rest of the page. */
.wgm-router-modal { zoom: 1.25; overflow-y: auto; align-items: safe center; }
.wgm-router-modal .wgm-router-panel { width: 987px; max-width: 100%; max-height: none; flex-shrink: 0; overflow: hidden; }
.wgm-router-body { display: flex; flex-direction: column; gap: 32px; padding: 40px 32px; margin: 0; }
.wgm-router-body #wgm-router-title { margin: 0; font: 600 33px/1.2 "Nunito", sans-serif; text-align: center; color: #000; }
.wgm-router-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.wgm-router-option { position: relative; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 24px; border-radius: 15px; box-shadow: 0 0 0 .5px #333 inset; color: #333; background: #fff; cursor: pointer; }
.wgm-router-option.is-selected { background: #fff7f7; box-shadow: 0 0 0 2px var(--wgm-red) inset; }
.wgm-router-option:has(input:focus-visible) { outline: 3px solid #333; outline-offset: 3px; }
.wgm-router-option input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); opacity: 0; }
.wgm-router-status { display: flex; align-items: center; gap: 8px; color: var(--wgm-red); font: 700 16px/1.5 "Open Sans", sans-serif; }
.wgm-router-indicator { position: relative; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; }
.wgm-router-empty { position: absolute; left: -1px; top: -1px; max-width: none; }
.wgm-router-check, .wgm-router-selected { display: none; }
.is-selected > .wgm-router-status .wgm-router-indicator { background: var(--wgm-red); }
.is-selected > .wgm-router-status .wgm-router-check, .is-selected > .wgm-router-status .wgm-router-selected { display: block; }
.is-selected > .wgm-router-status .wgm-router-empty, .is-selected > .wgm-router-status .wgm-router-select { display: none; }
.wgm-router-label { font: 700 20px/1.5 "Open Sans", sans-serif; }
.wgm-router-price { display: flex; gap: 4px; align-items: baseline; margin-top: 6px; color: #000; }
.wgm-router-price strong { font: 600 23px/1.2 "Nunito", sans-serif; }
.wgm-router-price > span { font: 400 20px/1.5 "Open Sans", sans-serif; }
.wgm-router-actions { display: flex; gap: 12px; justify-content: center; }
.wgm-router-actions .wgm-btn { min-height: 59px; padding: 15px 32px; border-radius: 43px; font: 700 18px/1.5 "Open Sans", sans-serif; cursor: pointer; }
.wgm-router-actions .wgm-btn-primary { border-width: 0; padding-top: 16px; padding-bottom: 16px; }
.wgm-router-actions .wgm-btn-primary:disabled { background: #e5e7eb; border-color: #e5e7eb; color: #7b818b; opacity: 1; cursor: not-allowed; }
.wgm-router-error { margin: 0; color: var(--wgm-red); font-size: 16px; }
@media (max-width: 767px) {
    .wgm-modal.wgm-router-modal { padding: 24px; align-items: safe center; }
    .wgm-router-modal .wgm-router-panel { width: 342px; }
    .wgm-router-body { gap: 32px; padding: 24px; }
    .wgm-router-body #wgm-router-title { font-size: 23px; text-align: left; margin-bottom: -16px; }
    .wgm-router-options { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .wgm-router-label { font-size: 18px; }
    .wgm-router-actions { flex-direction: column-reverse; }
    .wgm-router-actions .wgm-btn { width: 100%; padding-left: 12px; padding-right: 12px; }
}


/* Router-only cart action; other item controls keep their existing styles. */
.wgm-router-edit {
    display: block;
    width: fit-content;
    margin: 6px 0 0;
    padding: 0;
    min-height: 36px;
    border: 0;
    background: none;
    color: var(--wgm-red);
    font: inherit;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    text-decoration: underline;
    cursor: pointer;
}
.wgm-router-edit:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }


/* Only mobile eligible-router pages wait for a verified total before painting it. */
.wgm-cart-total-retry { display: none; }
@media (max-width: 768px) {
    .wgm-mobile-cart-pending [data-wgm-total] {
        display: inline-block;
        position: relative;
        min-width: 4em;
        visibility: hidden;
    }
    .wgm-mobile-cart-pending [data-wgm-total]::after {
        content: '';
        position: absolute;
        inset: 0.15em 0;
        background: #e9ebef;
        border-radius: 4px;
        visibility: visible;
    }
    .wgm-mobile-cart-pending .wgm-cartbar-unit { visibility: hidden; }
    .wgm-mobile-cart-pending.wgm-mobile-cart-failed [data-wgm-total] { display: none; }
    .wgm-mobile-cart-pending.wgm-mobile-cart-failed .wgm-cart-total-retry {
        display: inline-block;
        min-height: 24px;
        padding: 0;
        border: 0;
        background: none;
        color: var(--wgm-red);
        font: inherit;
        font-size: 14px;
        text-decoration: underline;
        cursor: pointer;
    }
}
