:root {
  --home-topic-main-header: 124px;
  --home-topic-bar-height: 58px;
}

.home-topic-nav {
  position: sticky;
  top: var(--home-topic-main-header);
  z-index: 45;
  width: 100%;
  min-height: var(--home-topic-bar-height);
  background: #07142d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 22px rgba(7, 20, 45, 0.14);
}

.home-topic-nav__inner {
  width: min(1240px, calc(100% - 48px));
  min-height: var(--home-topic-bar-height);
  margin: 0 auto;
  padding-inline: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  touch-action: pan-x pan-y;
}

.home-topic-nav__inner.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.home-topic-nav__inner::-webkit-scrollbar {
  display: none;
}

.home-topic-nav a {
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 6px;
  color: #f7f9fc;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

@media (min-width: 1101px) {
  .home-topic-nav__inner {
    width: min(1320px, calc(100% - 32px));
    gap: 5px;
  }

  .home-topic-nav a {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 12px;
  }
}

.home-topic-nav a:hover,
.home-topic-nav a[aria-current="true"] {
  color: #ffffff;
  background: #ff6800;
}

.home-topic-nav a:active {
  transform: translateY(1px);
}

.home-topic-nav a:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.92);
  outline-offset: -3px;
}

.home-topic-nav .home-topic-nav__arrow {
  width: 44px;
  padding: 0;
  color: #ff9b53;
  font-size: 22px;
  font-weight: 700;
}

.home-topic-nav .home-topic-nav__arrow:hover,
.home-topic-nav .home-topic-nav__arrow:focus-visible {
  color: #ffffff;
  background: rgba(255, 104, 0, 0.2);
}

#home-top,
#business-connectivity,
#mobile-connectivity,
#postpaid-plans,
#devices,
#bundle-plans,
#testimonials,
#reviews,
#why-choose-umobile,
#whatsapp,
#business-solutions,
#more-solutions,
#contact-section {
  scroll-margin-top: calc(
    var(--home-topic-main-header) + var(--home-topic-bar-height) + 18px
  );
}

@media (max-width: 1100px) {
  :root {
    --home-topic-main-header: 110px;
    --home-topic-bar-height: 54px;
  }

  .home-topic-nav__inner {
    width: min(1240px, calc(100% - 30px));
  }

  .home-topic-nav a {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 12.5px;
  }
}

@media (max-width: 680px) {
  :root {
    --home-topic-main-header: 104px;
    --home-topic-bar-height: 52px;
  }

  .home-topic-nav__inner {
    width: 100%;
    padding: 0 14px;
    gap: 5px;
  }

  .home-topic-nav a {
    min-height: 38px;
    padding-inline: 13px;
    font-size: 12px;
  }

  .home-topic-nav .home-topic-nav__arrow {
    width: 38px;
    font-size: 20px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .home-topic-nav a {
    transition: none;
  }

}
/* Homepage device catalogue: exact visual match to the 5G Devices page. */
body[data-page="home"] .home-device-catalog {
  position: relative;
  overflow: hidden;
  padding: 92px 0 104px;
  color: #111a2d;
  background: #f4f5f7;
}

body[data-page="home"] .home-device-catalog::before {
  display: none;
}

body[data-page="home"] .home-device-catalog-shell {
  position: relative;
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

body[data-page="home"] .home-device-catalog-heading {
  width: 100%;
  margin: 0;
  text-align: center;
}

body[data-page="home"] .home-device-catalog-heading h2 {
  margin: 0 0 34px;
  color: #10182b;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: clamp(31.2px, 2.65vw, 38.16px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}

body[data-page="home"] .home-device-plan-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: min(620px, 100%);
  min-height: 60px;
  margin: 0 auto 32px;
  padding: 5px;
  border: 1px solid #dde2ea;
  border-radius: 17px;
  background: #e9edf3;
  box-shadow:
    inset 0 2px 5px rgba(16, 24, 43, .06),
    0 10px 28px rgba(16, 24, 43, .07);
}

body[data-page="home"] .home-device-plan-tabs button {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #536178;
  background: transparent;
  cursor: pointer;
  font: 800 18px/1.55 "Roboto", Arial, Helvetica, sans-serif;
  transition:
    color .24s ease,
    border-color .24s ease,
    background .24s ease,
    box-shadow .24s ease,
    transform .24s ease;
}

body[data-page="home"] .home-device-plan-tabs button:hover {
  color: #10182b;
  background: rgba(255, 255, 255, .44);
}

body[data-page="home"] .home-device-plan-tabs button.is-active,
body[data-page="home"] .home-device-plan-tabs button.is-active:hover {
  color: #fff;
  border-color: #ff6900;
  background: linear-gradient(135deg, #ff7900, #ff5200);
  box-shadow: 0 9px 22px rgba(255, 91, 0, .28);
}

body[data-page="home"] .home-device-term-tabs {
  position: relative;
  display: flex;
  gap: 36px;
  width: min(1000px, 100%);
  min-height: 34px;
  margin: 0 auto 38px;
  padding: 0 12px;
  border-bottom: 1px solid #cfd6e0;
}

body[data-page="home"] .home-device-term-tabs button {
  position: relative;
  min-height: 33px;
  margin: 0;
  padding: 0 4px 12px;
  border: 0;
  color: #303a4d;
  background: transparent;
  cursor: pointer;
  font: 700 15px/18px "Roboto", Arial, Helvetica, sans-serif;
}

body[data-page="home"] .home-device-term-tabs button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #ff6600;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .28s ease;
}

body[data-page="home"] .home-device-term-tabs button.is-active {
  color: #ff6600;
}

body[data-page="home"] .home-device-term-tabs button.is-active::after {
  transform: scaleX(1);
}

body[data-page="home"] .home-device-carousel {
  position: relative;
}

body[data-page="home"] .home-device-track {
  display: flex;
  gap: 22px;
  width: min(1000px, 100%);
  margin: 0 auto;
  padding: 2px 0 70px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-padding-inline: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  touch-action: pan-x pan-y;
}

body[data-page="home"] .home-device-track::-webkit-scrollbar {
  display: none;
}

body[data-page="home"] .home-device-card {
  position: relative;
  display: flex;
  flex: 0 0 270px;
  flex-direction: column;
  min-width: 270px;
  min-height: 473px;
  height: 473px;
  margin: 0;
  padding: 4px 18px 14px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  color: #111a2d;
  background: transparent;
  box-shadow: none;
  text-align: center;
  scroll-snap-align: start;
  transition: none;
}

body[data-page="home"] .home-device-card:hover {
  transform: none;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .home-device-image {
  display: grid;
  place-items: center;
  width: 100%;
  height: 285px;
  margin: 0 0 16px;
  padding: 20px;
}

body[data-page="home"] .home-device-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
  transform: none;
  transition: none;
}

body[data-page="home"] .home-device-card:hover .home-device-image img {
  transform: none;
}

body[data-page="home"] .home-device-new {
  align-self: center;
  min-width: 54px;
  margin: 3px auto 8px;
  padding: 4px 16px;
  border: 1px solid #111;
  border-radius: 5px;
  color: #111;
  background: #fff;
  font: 500 10px/12px "Roboto", Arial, Helvetica, sans-serif;
}

body[data-page="home"] .home-device-brand {
  color: #232323;
  font: 700 16px/18.4px "Roboto", Arial, Helvetica, sans-serif;
}

body[data-page="home"] .home-device-card h3 {
  min-height: 30px;
  margin: 3px 0 7px;
  color: #202020;
  font: 700 27px/1.1 "Roboto", Arial, Helvetica, sans-serif;
  letter-spacing: -.02em;
}

body[data-page="home"] .home-device-price {
  display: block;
  margin: 0;
  color: #252525;
  font: 12px/14.4px "Roboto", Arial, Helvetica, sans-serif;
}

body[data-page="home"] .home-device-price strong {
  display: block;
  color: inherit;
  font: inherit;
}

body[data-page="home"] .home-device-price span {
  display: block;
  color: #6d7480;
  font: 10px/14px "Roboto", Arial, Helvetica, sans-serif;
  text-decoration: line-through;
}

body[data-page="home"] .home-device-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 12px;
  min-height: 21px;
  margin: 12px auto 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #ff6800;
  background: transparent;
  font: 400 16px/17.6px "Roboto", Arial, Helvetica, sans-serif;
  text-decoration: none;
  transition: color .2s ease, gap .2s ease;
}

body[data-page="home"] .home-device-buy:hover {
  gap: 18px;
  border-color: transparent;
  color: #e85e00;
  background: transparent;
}

body[data-page="home"] .home-device-buy span {
  font-size: 18px;
  line-height: 1;
}

body[data-page="home"] .home-device-controls {
  position: absolute;
  right: 50px;
  bottom: 5px;
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin: 0;
}

body[data-page="home"] .home-device-controls button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;
  border: 2px solid #ff6a00;
  border-radius: 50%;
  color: #ff6a00;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  font: 400 24px/1 "Roboto", Arial, Helvetica, sans-serif;
  transition: color .2s ease, background .2s ease, opacity .2s ease;
}

body[data-page="home"] .home-device-controls button:hover:not(:disabled) {
  color: #fff;
  background: #ff6a00;
  transform: none;
}

body[data-page="home"] .home-device-controls button:disabled {
  cursor: default;
  opacity: .3;
}

body[data-page="home"] .home-device-plan-tabs button:focus-visible,
body[data-page="home"] .home-device-term-tabs button:focus-visible,
body[data-page="home"] .home-device-controls button:focus-visible,
body[data-page="home"] .home-device-buy:focus-visible,
body[data-page="home"] .home-device-track:focus-visible {
  outline: 3px solid rgba(255, 104, 0, .34);
  outline-offset: 3px;
}

@media (max-width: 680px) {
  body[data-page="home"] .home-device-catalog {
    padding: 64px 0;
  }

  body[data-page="home"] .home-device-catalog-shell {
    width: calc(100% - 28px);
  }

  body[data-page="home"] .home-device-catalog-heading h2 {
    margin-bottom: 26px;
    font-size: 31.2px;
    line-height: 1.08;
  }

  body[data-page="home"] .home-device-plan-tabs {
    gap: 4px;
    min-height: 54px;
    margin-bottom: 26px;
    padding: 4px;
  }

  body[data-page="home"] .home-device-plan-tabs button {
    min-height: 44px;
    padding: 8px 5px;
    font-size: 18px;
  }

  body[data-page="home"] .home-device-term-tabs {
    gap: 26px;
    min-height: 31px;
    margin-bottom: 30px;
    padding: 0 8px;
  }

  body[data-page="home"] .home-device-term-tabs button {
    min-height: 30px;
    padding: 0 4px 10px;
    font-size: 14px;
    line-height: 16.8px;
  }

  body[data-page="home"] .home-device-track {
    display: flex;
    gap: 0;
    width: 100%;
    height: 476px;
    margin: 0;
    padding: 2px 0 70px;
    overflow: hidden;
    scroll-snap-type: none;
  }

  body[data-page="home"] .home-device-card {
    flex: 0 0 270px;
    width: 270px;
    min-width: 270px;
    min-height: 404px;
    height: 404px;
    padding: 4px 18px 14px;
  }

  body[data-page="home"] .home-device-image {
    height: 225px;
    margin-bottom: 16px;
    padding: 20px;
  }

  body[data-page="home"] .home-device-brand {
    font-size: 14px;
    line-height: 16.1px;
  }

  body[data-page="home"] .home-device-card h3 {
    min-height: 23px;
    font-size: 21px;
    line-height: 23.1px;
  }

  body[data-page="home"] .home-device-buy {
    font-size: 15px;
    line-height: 16.5px;
  }

  body[data-page="home"] .home-device-controls {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .home-device-track {
    scroll-behavior: auto;
  }

  body[data-page="home"] .home-device-plan-tabs button,
  body[data-page="home"] .home-device-term-tabs button::after,
  body[data-page="home"] .home-device-controls button,
  body[data-page="home"] .home-device-buy {
    transition: none !important;
  }
}
