.sg-planos-mobile,
.sg-mobile-layer {
  display: none;
}

@media (max-width: 767px) {
  :root {
    --sg-mobile-inline: clamp(16px, 7.64vw, 30px);
    --sg-mobile-card-gap: clamp(18px, 6.36vw, 25px);
    --sg-mobile-nav-height: 50px;
  }

  body.sg-mobile-layer-open {
    overflow: hidden;
  }

  html,
  body {
    min-width: 0;
    overflow-x: hidden;
    width: 100%;
  }

  .sg-planos {
    overflow: visible;
    padding: 0;
  }

  .sg-planos__stage {
    display: none;
  }

  .sg-planos-mobile {
    display: block;
    margin: 0 auto;
    max-width: 560px;
    padding:
      clamp(56px, 20vw, 100px)
      var(--sg-mobile-inline)
      clamp(64px, 20vw, 100px);
    width: 100%;
  }

  .sg-planos-mobile__intro h1 {
    font-size: clamp(36px, 10.18vw, 46px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1;
    margin: 0;
    max-width: 10ch;
  }

  .sg-planos-mobile__intro p {
    font-size: clamp(14px, 3.82vw, 17px);
    font-weight: 400;
    line-height: 1.16;
    margin: 10px 0 0;
    max-width: 34ch;
  }

  .sg-planos-mobile__speeds {
    display: grid;
    gap: var(--sg-mobile-card-gap);
    margin-top: clamp(36px, 11.45vw, 50px);
  }

  .sg-mobile-speed {
    align-items: flex-start;
    appearance: none;
    background: #fff;
    border: 2px solid var(--sg-planos-green);
    border-radius: 30px;
    color: #000;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: clamp(164px, 45.8vw, 190px);
    padding: clamp(24px, 7.64vw, 34px);
    text-align: left;
    width: 100%;
  }

  .sg-mobile-speed:hover,
  .sg-mobile-speed:focus,
  .sg-mobile-speed:active {
    background: #fff;
    color: #000;
  }

  .sg-mobile-speed:focus-visible,
  .sg-mobile-layer__icon-button:focus-visible,
  .sg-mobile-plan-channels-button:focus-visible {
    outline: 4px solid rgb(255 102 0 / 32%);
    outline-offset: 4px;
  }

  .sg-mobile-layer__icon-button:focus-visible {
    outline-width: 2px;
    outline-offset: 1px;
  }

  .sg-mobile-speed__tag {
    background: var(--sg-planos-orange);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    padding: 6px 10px;
  }

  .sg-mobile-speed__number {
    font-size: clamp(70px, 20.36vw, 88px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.73;
    margin-top: 24px;
  }

  .sg-mobile-speed__unit {
    font-size: clamp(25px, 7.12vw, 31px);
    font-weight: 650;
    line-height: 1;
    margin-top: 5px;
  }

  .sg-mobile-layer {
    background: #fff;
    bottom: 0;
    display: flex;
    flex-direction: column;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateY(100%);
    transition:
      transform 460ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 260ms ease-out;
    visibility: hidden;
    z-index: 1000;
  }

  .sg-mobile-layer--channels {
    z-index: 1010;
  }

  .sg-mobile-layer[hidden] {
    display: none;
  }

  .sg-mobile-layer.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .sg-mobile-layer__bar {
    align-items: center;
    background: rgb(255 255 255 / 96%);
    border-bottom: 1px solid #ededed;
    display: grid;
    flex: 0 0 auto;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    min-height: calc(var(--sg-mobile-nav-height) + env(safe-area-inset-top));
    padding:
      env(safe-area-inset-top)
      max(8px, env(safe-area-inset-right))
      0
      max(8px, env(safe-area-inset-left));
    position: relative;
    z-index: 6;
  }

  .sg-mobile-layer__bar-title {
    font-size: 15px;
    font-weight: 650;
    line-height: 1.1;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sg-mobile-layer__icon-button {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: #000;
    cursor: pointer;
    display: flex;
    height: 44px;
    justify-content: center;
    padding: 0;
    width: 44px;
  }

  .sg-mobile-layer__icon-button svg {
    fill: none;
    height: 20px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 20px;
  }

  .sg-mobile-layer__scroller {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding:
      14px
      max(var(--sg-mobile-inline), env(safe-area-inset-right))
      max(40px, calc(24px + env(safe-area-inset-bottom)))
      max(var(--sg-mobile-inline), env(safe-area-inset-left));
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
  }

  .sg-mobile-summary-sticky {
    background: transparent;
    container-type: inline-size;
    margin: -14px calc(var(--sg-mobile-inline) * -1) 0;
    padding: 10px var(--sg-mobile-inline);
    position: sticky;
    top: -14px;
    z-index: 5;
  }

  .sg-mobile-summary {
    background: #fff;
    border: 2px solid var(--sg-planos-green);
    border-radius: 30px;
    box-shadow:
      0 7px 18px rgb(77 255 38 / 16%),
      0 0 9px 8px rgb(255 255 255 / 92%),
      0 3px 8px rgb(0 0 0 / 5%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 163px;
    padding: 18px;
    position: relative;
  }

  .sg-mobile-summary--1000 {
    min-height: 184px;
  }

  .sg-mobile-summary__content {
    display: contents;
  }

  .sg-mobile-summary__close {
    background: #fff;
    border: 1px solid rgb(0 0 0 / 55%);
    box-shadow: 0 1px 3px rgb(0 0 0 / 12%);
    height: 30px;
    position: absolute;
    right: 9px;
    top: 9px;
    width: 30px;
    z-index: 2;
  }

  .sg-mobile-summary__close svg {
    height: 14px;
    width: 14px;
  }

  .sg-mobile-summary__headline {
    align-items: center;
    display: flex;
    flex: 0 0 50px;
    gap: clamp(8px, 3.8cqw, 15px);
    min-width: 0;
    padding-right: 20px;
  }

  .sg-mobile-summary__tag {
    background: var(--sg-planos-orange);
    border-radius: 999px;
    display: inline-block;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
    padding: 6px 13px;
    white-space: nowrap;
  }

  .sg-mobile-summary__metric {
    align-items: baseline;
    display: flex;
    flex: 0 1 auto;
    margin: 0;
    min-width: 0;
    white-space: nowrap;
  }

  .sg-mobile-summary__number {
    font-size: 60px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 50px;
  }

  .sg-mobile-summary__unit {
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
  }

  .sg-mobile-summary__included {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
  }

  .sg-mobile-summary__included--regional {
    justify-content: center;
  }

  .sg-mobile-summary__logos--light {
    grid-template-columns: repeat(2, minmax(0, 90px));
    max-width: 186px;
  }

  .sg-mobile-summary--200 .sg-mobile-summary__benefit-row {
    gap: 16px;
  }

  .sg-mobile-summary__logos {
    align-items: center;
    align-self: center;
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 90px));
    justify-content: stretch;
    max-width: 282px;
    width: 100%;
  }

  .sg-mobile-summary__logos img {
    display: block;
    height: 18px;
    object-fit: contain;
    width: 100%;
  }

  .sg-mobile-summary__benefit-row {
    align-items: center;
    display: flex;
    gap: 6px;
    justify-content: center;
    min-height: 40px;
  }

  .sg-mobile-summary__features {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 20px;
    justify-content: center;
  }

  .sg-mobile-summary__feature {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 6px;
    justify-content: center;
    min-width: 0;
  }

  .sg-mobile-summary__feature img {
    height: 40px;
    object-fit: contain;
    width: 35px;
  }

  .sg-mobile-summary__routers {
    align-items: center;
    display: flex;
  }

  .sg-mobile-summary__routers img + img {
    margin-left: -6px;
  }

  .sg-mobile-summary__feature strong {
    font-size: 13px;
    font-weight: 600;
    line-height: 13px;
    white-space: nowrap;
  }

  .sg-mobile-summary__notes {
    font-size: 12px;
    font-weight: 500;
    line-height: 12px;
    display: grid;
    flex: 0 1 auto;
    gap: 0;
    margin: 0;
    padding-left: 18px;
    white-space: nowrap;
  }

  .sg-mobile-summary--1000 .sg-mobile-summary__benefit-row {
    flex-direction: column;
    gap: 3px;
  }

  .sg-mobile-summary--1000 .sg-mobile-summary__notes {
    min-height: 18px;
    padding-block: 3px;
  }

  .sg-mobile-summary__feature--phone img {
    height: 31px;
    width: 39px;
  }

  .sg-mobile-offers {
    --sg-mobile-app-flow-gap: clamp(
      4px,
      calc((100cqw - 300px) / 15 + 4px),
      8px
    );
    --sg-mobile-app-grid-gap: clamp(
      6px,
      calc((100cqw - 300px) / 15 + 6px),
      10px
    );
    --sg-mobile-app-size: clamp(
      54px,
      calc((100cqw - 68px) / 4),
      64px
    );
    container-type: inline-size;
    display: grid;
    gap: var(--sg-mobile-card-gap);
    margin-top: 11px;
  }

  .sg-mobile-layer__scroller[data-mobile-plans-scroller] {
    padding-top: calc(14px + env(safe-area-inset-top));
    padding-left: 15px;
    padding-right: 15px;
    scrollbar-gutter: auto;
  }

  .sg-mobile-layer__scroller[data-mobile-plans-scroller] .sg-mobile-summary-sticky {
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .sg-mobile-offers--plan-cards {
    gap: 25px;
    margin-top: 17px;
  }

  .sg-mobile-plan-card {
    align-items: center;
    background: #fff;
    border: 1px solid var(--sg-planos-orange);
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
    width: 100%;
  }

  .sg-mobile-plan-card--base {
    flex-direction: row;
    gap: 20px;
    height: 106px;
  }

  .sg-mobile-plan-card--top {
    gap: 20px;
    height: auto;
  }

  .sg-mobile-plan-card--premium {
    gap: 25px;
    height: auto;
  }

  .sg-mobile-plan-card--elite {
    gap: 20px;
    height: auto;
  }

  .sg-mobile-plan-card__base-copy {
    align-items: flex-start;
    background: #ededed;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 700;
    height: 62px;
    justify-content: center;
    line-height: 14px;
    padding: 10px;
    width: 149px;
  }

  .sg-mobile-plan-card__base-copy span {
    display: block;
    white-space: nowrap;
  }

  .sg-mobile-plan-price {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    height: 35px;
    justify-content: center;
  }

  .sg-mobile-plan-price__currency {
    font-size: 15px;
    line-height: 15px;
    margin-right: 2px;
  }

  .sg-mobile-plan-price__whole {
    font-size: 35px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 35px;
  }

  .sg-mobile-plan-price__fraction {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    font-size: 15px;
    line-height: 15px;
    margin-left: 2px;
    width: 35px;
  }

  .sg-mobile-plan-price__fraction small {
    font-size: 10px;
    line-height: 10px;
  }

  .sg-mobile-plan-card__top-content,
  .sg-mobile-plan-card__premium-content,
  .sg-mobile-plan-card__elite-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .sg-mobile-plan-card__top-content {
    gap: 10px;
    height: auto;
  }

  .sg-mobile-plan-card__premium-content,
  .sg-mobile-plan-card__elite-content {
    gap: 15px;
    height: auto;
  }

  .sg-mobile-plan-package {
    display: flex;
    flex-direction: column;
    gap: 2px;
    height: 48px;
    width: 100%;
  }

  .sg-mobile-plan-package__choice,
  .sg-mobile-plan-package__name,
  .sg-mobile-plan-elite-title {
    align-items: center;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .sg-mobile-plan-package__choice {
    background: var(--sg-planos-orange);
    font-size: 12px;
    font-weight: 700;
    height: 23px;
    line-height: 12px;
  }

  .sg-mobile-plan-package__name,
  .sg-mobile-plan-elite-title {
    background: var(--sg-planos-package-green);
    font-size: 14px;
    font-weight: 700;
    height: 23px;
    line-height: 14px;
  }

  .sg-mobile-plan-top-grid {
    align-content: flex-start;
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: var(--sg-mobile-app-flow-gap);
    height: calc(
      (var(--sg-mobile-app-size) * 2) +
      14px +
      (var(--sg-mobile-app-flow-gap) * 3)
    );
    justify-content: center;
    width: 100%;
  }

  .sg-mobile-plan-app {
    flex: 0 0 auto;
    height: var(--sg-mobile-app-size);
    width: var(--sg-mobile-app-size);
  }

  .sg-mobile-plan-app img {
    border-radius: 14px;
    display: block;
    height: var(--sg-mobile-app-size);
    object-fit: cover;
    width: var(--sg-mobile-app-size);
  }

  .sg-mobile-plan-app--ad {
    align-items: center;
    background: #ff8630;
    border-radius: 16px 16px 10px 10px;
    display: flex;
    flex-direction: column;
    height: calc(var(--sg-mobile-app-size) + 14px);
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .sg-mobile-plan-app--ad img {
    flex: 0 0 auto;
  }

  .sg-mobile-plan-app--ad span {
    font-size: 9px;
    font-weight: 600;
    line-height: 9px;
    margin-top: 1px;
    white-space: nowrap;
  }

  .sg-mobile-plan-top-grid__gray {
    align-items: center;
    background: #d9d9d9;
    border-radius: 10px;
    display: flex;
    flex: 0 0 auto;
    gap: var(--sg-mobile-app-flow-gap);
    height: calc(
      var(--sg-mobile-app-size) +
      (var(--sg-mobile-app-flow-gap) * 2)
    );
    padding: var(--sg-mobile-app-flow-gap);
    width: calc(
      (var(--sg-mobile-app-size) * 2) +
      (var(--sg-mobile-app-flow-gap) * 3)
    );
  }

  .sg-mobile-plan-package-stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 126px;
    width: 100%;
  }

  .sg-mobile-plan-package-stack > img {
    align-self: center;
    height: 22px;
    width: 22px;
  }

  .sg-mobile-plan-premium-grid {
    display: grid;
    gap: var(--sg-mobile-app-grid-gap);
    grid-template-columns: repeat(4, var(--sg-mobile-app-size));
    grid-template-rows: repeat(2, var(--sg-mobile-app-size));
    height: calc(
      (var(--sg-mobile-app-size) * 2) +
      var(--sg-mobile-app-grid-gap)
    );
    justify-content: center;
    width: 100%;
  }

  .sg-mobile-plan-elite-title {
    flex: 0 0 auto;
  }

  .sg-mobile-plan-elite-body {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: auto;
    width: 100%;
  }

  .sg-mobile-plan-elite-grid {
    display: grid;
    gap: var(--sg-mobile-app-grid-gap);
    grid-template-columns: repeat(3, var(--sg-mobile-app-size));
    grid-template-rows: repeat(2, var(--sg-mobile-app-size));
    height: calc(
      (var(--sg-mobile-app-size) * 2) +
      var(--sg-mobile-app-grid-gap)
    );
    justify-content: center;
  }

  .sg-mobile-plan-channels {
    align-items: center;
    background: #8bc594;
    border-radius: 12px;
    display: flex;
    gap: 4px;
    height: 48px;
    justify-content: center;
    padding: 12px;
    width: min(246px, 100%);
  }

  .sg-mobile-plan-channels__count {
    align-items: center;
    display: flex;
    gap: 3px;
    white-space: nowrap;
  }

  .sg-mobile-plan-channels__count img {
    height: 22px;
    width: 22px;
  }

  .sg-mobile-plan-channels__count strong {
    font-size: 26px;
    line-height: 22px;
  }

  .sg-mobile-plan-channels__count > span {
    font-size: 15px;
    font-weight: 600;
    line-height: 15px;
  }

  .sg-mobile-plan-channels__copy {
    font-size: 13px;
    font-weight: 500;
    line-height: 13px;
    text-align: center;
    width: 98px;
  }

  .sg-mobile-plan-channels-button {
    appearance: none;
    background: #ff8000;
    border: 0;
    border-radius: 16px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    height: 30px;
    line-height: 14px;
    padding: 0 20px;
  }

  @container (max-width: 345px) {
    .sg-mobile-summary {
      min-height: 159px;
      padding: 18px;
    }

    .sg-mobile-summary--1000 {
      min-height: 178px;
    }

    .sg-mobile-summary__headline {
      gap: 8px;
    }

    .sg-mobile-summary__tag {
      font-size: 10px;
      line-height: 10px;
      padding: 5px 10px;
    }

    .sg-mobile-summary__number {
      font-size: 54px;
      line-height: 46px;
    }

    .sg-mobile-summary--1000 .sg-mobile-summary__number {
      font-size: 52px;
    }

    .sg-mobile-summary__unit {
      font-size: 18px;
      line-height: 18px;
    }

    .sg-mobile-summary__logos {
      gap: 4px;
    }

    .sg-mobile-summary__logos img {
      height: 16px;
    }

    .sg-mobile-summary__benefit-row {
      gap: 4px;
    }

    .sg-mobile-summary__features {
      gap: 14px;
    }

    .sg-mobile-summary__feature {
      gap: 4px;
    }

    .sg-mobile-summary__feature img {
      height: 36px;
      width: 31px;
    }

    .sg-mobile-summary__feature strong {
      font-size: 12px;
      line-height: 12px;
    }

    .sg-mobile-summary__feature--phone img {
      height: 28px;
      width: 35px;
    }

    .sg-mobile-summary__notes {
      font-size: 11px;
      line-height: 11px;
      padding-left: 16px;
    }
  }

  @container (max-width: 315px) {
    .sg-mobile-summary {
      gap: 8px;
      min-height: 151px;
      padding: 14px;
    }

    .sg-mobile-summary--1000 {
      min-height: 171px;
    }

    .sg-mobile-summary__close {
      height: 26px;
      right: 7px;
      top: 7px;
      width: 26px;
    }

    .sg-mobile-summary__headline {
      flex-basis: 46px;
      padding-right: 16px;
    }

    .sg-mobile-summary__number {
      font-size: 50px;
      line-height: 44px;
    }

    .sg-mobile-summary--1000 .sg-mobile-summary__number {
      font-size: 46px;
    }

    .sg-mobile-summary__unit {
      font-size: 17px;
      line-height: 17px;
    }

    .sg-mobile-summary__included {
      gap: 2px;
    }

    .sg-mobile-summary__logos {
      gap: 3px;
    }

    .sg-mobile-summary__logos img {
      height: 14px;
    }

    .sg-mobile-summary__features {
      gap: 8px;
    }

    .sg-mobile-summary__feature {
      gap: 3px;
    }

    .sg-mobile-summary__feature img {
      height: 32px;
      width: 28px;
    }

    .sg-mobile-summary__routers img + img {
      margin-left: -5px;
    }

    .sg-mobile-summary__feature strong {
      font-size: 11px;
      line-height: 11px;
    }

    .sg-mobile-summary__feature--phone img {
      height: 25px;
      width: 31px;
    }

    .sg-mobile-summary__notes {
      font-size: 10px;
      line-height: 10px;
      padding-left: 14px;
    }

    .sg-mobile-plan-card--base {
      gap: 10px;
    }

    .sg-mobile-plan-card__base-copy {
      font-size: 13px;
      width: 132px;
    }
  }

  .sg-mobile-layer__scroller--channels {
    padding:
      clamp(40px, 13vw, 66px)
      max(clamp(14px, 5.1vw, 20px), env(safe-area-inset-right))
      max(60px, calc(35px + env(safe-area-inset-bottom)))
      max(clamp(14px, 5.1vw, 20px), env(safe-area-inset-left));
  }

  .sg-mobile-channels {
    margin: 0 auto;
    max-width: 520px;
  }

  .sg-mobile-channel-group + .sg-mobile-channel-group {
    margin-top: 54px;
  }

  .sg-mobile-channel-group__title {
    background: var(--sg-planos-package-green);
    border-radius: 999px;
    font-size: clamp(14px, 4.07vw, 18px);
    font-weight: 650;
    line-height: 1;
    margin: 0 auto 22px;
    padding: 9px 22px;
    text-align: center;
    width: fit-content;
  }

  .sg-mobile-channel-grid {
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .sg-mobile-channel {
    align-items: center;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
  }

  .sg-mobile-channel img {
    border-radius: 10px;
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
  }

  @media (max-width: 350px) {
    .sg-mobile-layer__bar-title {
      font-size: 13px;
    }

    .sg-mobile-plan-card {
      padding: 14px;
    }

    .sg-mobile-plan-card--base {
      gap: 8px;
    }

    .sg-mobile-plan-card__base-copy {
      font-size: 13px;
      width: 136px;
    }

    .sg-mobile-plan-price__whole {
      font-size: 30px;
      line-height: 30px;
    }

    .sg-mobile-plan-app,
    .sg-mobile-plan-app img {
      height: 52px;
      width: 52px;
    }

    .sg-mobile-plan-app--ad {
      height: 66px;
    }

    .sg-mobile-plan-top-grid__gray {
      height: 66px;
      width: 124px;
    }

    .sg-mobile-plan-premium-grid {
      gap: 8px;
      grid-template-columns: repeat(4, 52px);
      grid-template-rows: repeat(2, 52px);
      height: 112px;
    }

    .sg-mobile-plan-elite-grid {
      gap: 8px;
      grid-template-columns: repeat(3, 52px);
      grid-template-rows: repeat(2, 52px);
      height: 112px;
    }

    .sg-mobile-plan-channels {
      width: 220px;
    }
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .sg-mobile-layer {
    transition-duration: 1ms;
  }
}
