:root {
  --ap-yellow: #F6C343;
  --ap-yellow-hover: #D99A00;
  --ap-yellow-dark: var(--ap-yellow-hover);
  --ap-yellow-soft: #FFF7D6;
  --ap-ink: #1F2933;
  --ap-muted: #5F6B7A;
  --ap-blue: #0B3A66;
  --ap-surface: #FFFFFF;
  --ap-surface-soft: #F6F8FA;
  --ap-line: #D9DEE5;
  --ap-tariff-card-bg: var(--ap-surface);
  --ap-tariff-card-border: var(--ap-line);
  --ap-device-card-bg: linear-gradient(135deg, #fffef8 0%, #fff7d6 100%);
  --ap-device-media-bg: linear-gradient(145deg, #ffffff 0%, #fffaf0 100%);
  --ap-device-border: #ead79a;
  --ap-device-section-bg: #ffffff;
  --ap-related-card-bg: #ffffff;
  --ap-related-media-bg: #ffffff;
  --ap-list-highlight: var(--ap-yellow-soft);
  --ap-soft: var(--ap-yellow-soft);
  --ap-mint: #E8F4EC;
  --ap-violet: var(--ap-yellow-soft);
  --ap-focus: var(--ap-yellow-hover);
  --ap-check: var(--ap-yellow-hover);
  --ap-shadow: 0 16px 36px rgba(31, 41, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--ap-surface);
  color: var(--ap-ink);
  font-family: "Trebuchet MS", Arial, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.ap-site-header {
  position: relative;
  z-index: 30;
  background: var(--ap-surface);
  box-shadow: 0 2px 18px rgba(31, 41, 51, 0.1);
}

.ap-topbar,
.ap-mainnav,
.ap-breadcrumbs,
.ap-customer-card,
.ap-shop-layout,
.ap-form-section,
.ap-page-layout,
.ap-footer {
  width: min(100%, 1680px);
  margin: 0 auto;
}

.ap-topbar {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 42px;
}

.ap-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
}

.ap-logo-mark {
  width: 78px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--ap-yellow);
  color: var(--ap-ink);
  font-size: 30px;
  font-weight: 900;
}

.ap-logo-mark-image {
  overflow: hidden;
}

.ap-logo-icon {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 10px;
}

.ap-logo-text {
  font-size: 22px;
}

.ap-customer-switch {
  display: flex;
  gap: 28px;
  align-items: center;
}

.ap-customer-switch a,
.ap-header-links a {
  color: var(--ap-muted);
  font-size: 15px;
}

.ap-customer-switch .is-active {
  color: var(--ap-blue);
  font-weight: 800;
}

.ap-header-links {
  display: flex;
  gap: 24px;
  justify-self: end;
  color: var(--ap-muted);
  font-size: 15px;
  font-weight: 700;
}

.ap-menu-toggle {
  display: none;
}

.ap-menu-backdrop,
.ap-mobile-menu-head {
  display: none;
}

.ap-mainnav {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 0 42px;
  border-top: 1px solid var(--ap-line);
}

.ap-nav-list {
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 3vw, 54px);
  min-width: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: visible;
}

.ap-nav-list li {
  position: relative;
}

.ap-nav-list > li {
  display: flex;
  align-items: stretch;
}

.ap-nav-list a {
  display: grid;
  align-items: center;
  min-height: 76px;
  color: var(--ap-ink);
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
  border-bottom: 4px solid transparent;
}

.ap-nav-list .is-active > a,
.ap-nav-list a:hover {
  color: var(--ap-blue);
  border-bottom-color: var(--ap-yellow);
}

.ap-nav-list .has-submenu > a,
.ap-nav-list .menu-item-has-children > a {
  gap: 8px;
  grid-auto-flow: column;
}

.ap-nav-list .has-submenu > a::after,
.ap-nav-list .menu-item-has-children > a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.ap-submenu,
.ap-nav-list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  display: grid;
  min-width: 230px;
  padding: 8px;
  margin: 0;
  list-style: none;
  background: var(--ap-surface);
  border: 1px solid var(--ap-line);
  border-radius: 12px;
  box-shadow: var(--ap-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  visibility: hidden;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.ap-nav-list li:hover > .ap-submenu,
.ap-nav-list li:focus-within > .ap-submenu,
.ap-nav-list li.is-submenu-open > .ap-submenu,
.ap-nav-list li:hover > .sub-menu,
.ap-nav-list li:focus-within > .sub-menu,
.ap-nav-list li.is-submenu-open > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.ap-submenu a,
.ap-nav-list .sub-menu a {
  min-height: 44px;
  padding: 10px 14px;
  border-bottom: 0;
  border-radius: 8px;
  color: var(--ap-ink);
  font-size: 15px;
  font-weight: 800;
  white-space: normal;
}

.ap-submenu a:hover,
.ap-nav-list .sub-menu a:hover {
  background: var(--ap-yellow-soft);
  color: var(--ap-blue);
}

.ap-nav-actions {
  display: flex;
  gap: 16px;
  font-size: 28px;
}

.ap-nav-actions a,
.ap-nav-actions button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: var(--ap-ink);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.ap-nav-actions a:hover,
.ap-nav-actions button:hover {
  color: var(--ap-blue);
  background: var(--ap-yellow-soft);
  transform: translateY(-1px);
}

.ap-cart-menu {
  position: relative;
}

.ap-cart-link {
  background: var(--ap-yellow);
}

.ap-cart-link:hover {
  background: var(--ap-yellow-hover);
}

.ap-cart-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 90;
  width: min(330px, calc(100vw - 36px));
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--ap-line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(31, 41, 51, 0.18);
}

.ap-cart-popover[hidden] {
  display: none;
}

.ap-cart-popover::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 16px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-left: 1px solid var(--ap-line);
  border-top: 1px solid var(--ap-line);
  transform: rotate(45deg);
}

.ap-cart-kicker,
.ap-cart-row span,
.ap-cart-row small {
  display: block;
  color: var(--ap-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ap-cart-row {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--ap-line);
  border-radius: 10px;
  background: var(--ap-yellow-soft);
}

.ap-cart-row strong {
  display: block;
  margin-top: 4px;
  color: var(--ap-ink);
  font-size: 16px;
  line-height: 1.25;
}

.ap-cart-row small {
  margin-top: 4px;
  color: var(--ap-blue);
  text-transform: none;
}

.ap-site-header-order .ap-topbar {
  min-height: 76px;
  border-bottom: 1px solid var(--ap-line);
}

.ap-site-header-order .ap-header-links,
.ap-site-header-order .ap-mainnav,
.ap-site-header-order .ap-menu-toggle {
  display: none;
}

.ap-cart-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.ap-breadcrumbs {
  display: flex;
  gap: 16px;
  padding: 20px 42px;
  color: var(--ap-muted);
  font-size: 15px;
}

.ap-breadcrumbs strong {
  color: var(--ap-ink);
}

.ap-hero {
  width: min(100%, 1680px);
  min-height: 620px;
  margin: 0 auto;
  position: relative;
  background: var(--ap-yellow-soft) url("../images/senioren/hero-senioren-telefon.png") center right / cover no-repeat;
  overflow: hidden;
}

.ap-hero::before {
  content: "";
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  background:
    linear-gradient(90deg, rgba(255, 247, 214, 0.97) 0%, rgba(255, 247, 214, 0.9) 40%, rgba(255, 247, 214, 0.3) 62%, rgba(255, 247, 214, 0) 100%),
    radial-gradient(circle at 12% 52%, rgba(246, 195, 67, 0.22) 0 24%, transparent 25%);
}

.ap-hero-slider {
  position: relative;
  min-height: 620px;
}

.ap-hero-slide {
  position: absolute;
  inset: 0;
  background-image: var(--ap-hero-image);
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 350ms ease, transform 350ms ease;
}

.ap-hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  background:
    linear-gradient(90deg, rgba(255, 247, 214, 0.97) 0%, rgba(255, 247, 214, 0.9) 40%, rgba(255, 247, 214, 0.3) 62%, rgba(255, 247, 214, 0) 100%),
    radial-gradient(circle at 12% 52%, rgba(246, 195, 67, 0.22) 0 24%, transparent 25%);
}

.ap-hero-slide.is-active {
  opacity: 1;
  transform: translateX(0);
}

.ap-hero-copy {
  position: relative;
  z-index: 1;
  width: min(720px, 48%);
  padding: 88px 0 94px 58px;
  color: var(--ap-ink);
}

.ap-badge {
  display: inline-flex;
  padding: 8px 13px;
  background: #ffffff;
  color: var(--ap-ink);
  font-weight: 800;
  border-radius: 7px;
}

.ap-hero h1 {
  margin: 18px 0;
  font-size: clamp(42px, 4.1vw, 64px);
  line-height: 1.07;
}

.ap-hero p {
  max-width: 600px;
  margin: 0 0 26px;
  font-size: 21px;
  line-height: 1.42;
}

.ap-button {
  border: 0;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 12px;
  background: var(--ap-yellow);
  color: var(--ap-ink);
  font-weight: 800;
  font-size: 17px;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ap-button:hover,
.ap-button:focus-visible {
  background: var(--ap-yellow-hover);
  color: var(--ap-ink);
  box-shadow: 0 8px 20px rgba(217, 154, 0, 0.22);
  transform: translateY(-1px);
}

.ap-button-outline {
  border: 2px solid var(--ap-ink);
  background: var(--ap-surface);
}

.ap-button-light {
  border: 2px solid var(--ap-yellow-hover);
  background: var(--ap-surface);
  color: var(--ap-ink);
}

.ap-hero-nav {
  width: min(100%, 1680px);
  margin: 0 auto;
  padding: 12px 42px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ap-slider-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.ap-slider-dots button {
  width: 34px;
  height: 5px;
  border: 0;
  border-radius: 99px;
  background: var(--ap-line);
  cursor: pointer;
}

.ap-slider-dots .is-active {
  background: var(--ap-yellow);
}

.ap-slider-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid var(--ap-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ap-ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.ap-slider-arrow:hover,
.ap-slider-arrow:focus-visible {
  background: var(--ap-yellow-soft);
  border-color: var(--ap-yellow-hover);
  transform: translateY(-1px);
}

.ap-customer-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 26px;
  padding: 24px 42px;
  background: #ffffff;
  box-shadow: var(--ap-shadow);
}

.ap-customer-card strong,
.ap-customer-card span {
  display: block;
}

.ap-customer-card strong {
  font-size: 21px;
}

.ap-customer-card span {
  margin-top: 4px;
  color: var(--ap-muted);
}

.ap-home-overview,
.ap-offer-section,
.ap-steps-section,
.ap-direct-section {
  width: min(100%, 1680px);
  margin: 0 auto;
  padding: 64px 42px;
  background: #ffffff;
}

.ap-home-overview {
  padding-top: 54px;
  padding-bottom: 42px;
}

.ap-quick-tariff-section {
  padding-top: 62px;
  padding-bottom: 46px;
}

.ap-quick-tariff-section .ap-section-head {
  justify-items: center;
  text-align: center;
}

.ap-quick-tariff-section .ap-section-head > div {
  max-width: 780px;
}

.ap-quick-tariff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ap-quick-tariff-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 330px;
  padding: 28px;
  border: 2px solid var(--ap-tariff-card-border);
  border-radius: 16px;
  background: var(--ap-tariff-card-bg);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ap-quick-tariff-card:hover,
.ap-quick-tariff-card:focus-within {
  box-shadow: 0 16px 34px rgba(31, 41, 51, 0.14);
  transform: translateY(-2px);
}

.ap-quick-tariff-card > strong {
  max-width: calc(100% - 92px);
  color: var(--ap-ink);
  font-size: 20px;
  line-height: 1.2;
}

.ap-quick-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  padding: 10px 16px;
  border-radius: 0 14px 0 12px;
  background: var(--ap-badge-bg, var(--ap-yellow));
  color: var(--ap-badge-color, var(--ap-ink));
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ap-quick-price {
  display: grid;
  gap: 2px;
}

.ap-quick-price span {
  color: var(--ap-blue);
  font-size: clamp(38px, 3.4vw, 52px);
  font-weight: 900;
  line-height: 0.98;
}

.ap-quick-price small {
  color: var(--ap-muted);
  font-size: 16px;
  font-weight: 800;
}

.ap-quick-tariff-card .ap-feature-list {
  margin: 0;
}

.ap-quick-tariff-card .ap-button {
  align-self: end;
  justify-self: stretch;
  margin-top: auto;
  min-height: 52px;
  border-color: var(--ap-ink);
  background: #ffffff;
  color: var(--ap-ink);
}

.ap-quick-tariff-card .ap-button:hover,
.ap-quick-tariff-card .ap-button:focus {
  border-color: var(--ap-yellow-hover);
  background: var(--ap-yellow);
}

.ap-home-tariff-card .ap-plan-name {
  margin-right: 0;
}

.ap-overview-grid,
.ap-steps-grid,
.ap-direct-grid {
  display: grid;
  gap: 18px;
}

.ap-overview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ap-overview-card,
.ap-step-card,
.ap-offer-card,
.ap-direct-column {
  border: 2px solid var(--ap-line);
  border-radius: 10px;
  background: #ffffff;
}

.ap-overview-card {
  display: grid;
  gap: 12px;
  min-height: 214px;
  padding: 24px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.ap-overview-card:hover,
.ap-overview-card:focus {
  border-color: var(--ap-yellow);
  transform: translateY(-2px);
}

.ap-overview-card span,
.ap-step-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ap-yellow);
  color: var(--ap-ink);
  font-weight: 900;
}

.ap-overview-card strong,
.ap-step-card strong,
.ap-offer-card strong,
.ap-direct-column strong {
  color: var(--ap-ink);
  font-size: 22px;
  line-height: 1.2;
}

.ap-overview-card small,
.ap-step-card p,
.ap-offer-card p {
  margin: 0;
  color: var(--ap-muted);
  font-size: 16px;
  line-height: 1.5;
}

.ap-shop-layout {
  display: block;
  padding: 28px 0 68px;
  background: #ffffff;
  overflow: visible;
}

.ap-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: start;
  gap: 28px;
  padding: 0 42px 68px;
  background: #ffffff;
  overflow: visible;
}

.ap-page-layout-no-summary {
  grid-template-columns: minmax(0, 1fr);
}

.ap-order-page-layout-success {
  grid-template-columns: minmax(0, 1fr);
}

.ap-order-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.ap-page-content {
  min-width: 0;
}

.ap-tariff-area {
  min-width: 0;
}

.ap-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 22px;
}

.ap-kicker {
  margin: 0 0 8px;
  color: var(--ap-blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ap-section-head h2,
.ap-form-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.15;
}

.ap-select {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--ap-ink);
  border-radius: 7px;
  white-space: nowrap;
}

.ap-select select {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ap-ink);
  font: inherit;
  font-weight: 800;
}

.ap-tabs {
  display: flex;
  max-width: 100%;
  overflow-x: auto;
  border-bottom: 1px solid var(--ap-line);
  margin-bottom: 42px;
  -webkit-overflow-scrolling: touch;
}

.ap-tabs button {
  min-width: 180px;
  min-height: 58px;
  border: 1px solid var(--ap-line);
  border-bottom: 0;
  background: #ffffff;
  font-size: 17px;
  font-weight: 800;
}

.ap-tabs .is-muted {
  background: var(--ap-surface-soft);
  color: var(--ap-muted);
}

.ap-tabs .is-active {
  border-color: var(--ap-ink);
  background: var(--ap-list-highlight);
}

.ap-tariff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ap-tariff-card {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 560px;
  padding: 28px 22px 26px;
  border: 2px solid var(--ap-tariff-card-border);
  border-radius: 10px;
  background: var(--ap-tariff-card-bg);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ap-tariff-card:hover,
.ap-tariff-card.is-selected {
  border-color: var(--ap-yellow);
  box-shadow: 0 12px 28px rgba(246, 195, 67, 0.24);
  transform: translateY(-2px);
}

.ap-tariff-card.is-featured {
  border-color: var(--ap-badge-bg, var(--ap-yellow));
}

.ap-recommendation {
  position: absolute;
  top: -2px;
  right: -2px;
  padding: 10px 16px;
  border-radius: 0 8px 0 10px;
  background: var(--ap-badge-bg, var(--ap-yellow));
  color: var(--ap-badge-color, var(--ap-ink));
  text-transform: uppercase;
  font-weight: 900;
}

.ap-radio {
  position: absolute;
  top: 48px;
  right: 22px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--ap-ink);
  border-radius: 50%;
  background: #ffffff;
}

.ap-tariff-card.is-selected .ap-radio {
  border: 8px solid var(--ap-yellow);
}

.ap-tariff-card h3 {
  margin: 8px 0 2px;
  font-size: clamp(31px, 2.8vw, 40px);
  line-height: 1;
}

.ap-download,
.ap-plan-name {
  font-size: 21px;
  font-weight: 800;
}

.ap-tariff-card p {
  color: var(--ap-muted);
  font-size: 18px;
}

.ap-plan-name {
  display: block;
  margin: 20px 48px 14px 0;
}

.ap-feature-list {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 18px 0 24px;
  list-style: none;
}

.ap-feature-list li {
  position: relative;
  padding-left: 25px;
  color: var(--ap-muted);
  font-size: 16px;
  line-height: 1.42;
}

.ap-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ap-check);
  font-weight: 900;
}

.ap-benefits {
  display: grid;
  gap: 5px;
  margin-bottom: 36px;
}

.ap-benefits span,
.ap-summary-benefits span {
  display: flex;
  min-height: 54px;
  align-items: center;
  padding: 0 18px;
  border-radius: 5px;
  background: var(--ap-violet);
  color: var(--ap-blue);
  font-weight: 800;
}

.ap-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.ap-price strong {
  font-size: 32px;
}

.ap-small {
  line-height: 1.45;
}

.ap-link {
  display: block;
  width: fit-content;
  margin-top: 20px;
  color: var(--ap-blue);
  font-size: 19px;
  font-weight: 900;
  text-decoration: underline;
}

.ap-order-panel {
  position: -webkit-sticky;
  position: sticky;
  top: var(--ap-summary-top, 188px);
  align-self: start;
  z-index: 4;
  height: fit-content;
  max-height: calc(100vh - var(--ap-summary-top, 188px) - 18px);
  margin-top: 28px;
  overflow-y: auto;
}

@media (min-width: 1201px) {
  .ap-summary-slick {
    margin-top: 18px;
  }

  .ap-page-content .ap-info-section,
  .ap-page-content .ap-device-section,
  .ap-page-content .ap-faq-section,
  .ap-page-content .ap-form-section,
  .ap-page-content .ap-offer-section,
  .ap-page-content .ap-steps-section,
  .ap-page-content .ap-direct-section {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .ap-page-content .ap-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ap-stepper,
.ap-summary-slick {
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid var(--ap-line);
}

.ap-summary-slick {
  margin-top: var(--ap-summary-panel-offset, 18px);
  overflow: hidden;
}

.ap-stepper {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0 16px;
  padding: 24px;
  align-items: center;
}

.ap-stepper span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ap-soft);
  color: var(--ap-muted);
  font-weight: 900;
}

.ap-stepper .is-active {
  background: var(--ap-yellow);
  color: var(--ap-ink);
}

.ap-stepper span.is-complete {
  background: var(--ap-yellow-soft);
  color: var(--ap-ink);
}

.ap-stepper strong {
  min-height: 66px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--ap-line);
  color: var(--ap-muted);
}

.ap-stepper strong.is-active-label {
  color: var(--ap-ink);
}

.ap-stepper strong.is-complete-label {
  color: var(--ap-blue);
}

.ap-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 0;
  padding: 28px 24px;
  background: transparent;
}

.ap-summary span,
.ap-summary small {
  display: block;
  color: var(--ap-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.ap-summary strong {
  display: block;
  margin-top: 6px;
  font-size: 28px;
}

.ap-summary small {
  margin-top: 12px;
  text-transform: none;
}

.ap-summary-mobile-name {
  display: none;
}

.ap-summary-once-note {
  color: var(--ap-muted);
  font-size: 12px;
  line-height: 1.25;
  text-transform: none;
}

.ap-summary-selection {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--ap-line);
  border-radius: 10px;
  background: var(--ap-list-highlight);
}

.ap-order-panel .ap-summary .ap-summary-selection strong {
  margin-top: 7px;
  color: var(--ap-ink);
  font-size: 17px;
  line-height: 1.25;
}

.ap-order-panel .ap-summary .ap-summary-selection small {
  margin-top: 5px;
  color: var(--ap-blue);
  font-size: 15px;
  font-weight: 900;
  text-transform: none;
}

.ap-summary .ap-button {
  grid-column: 1 / -1;
}

.ap-summary-price-once {
  order: 1;
}

.ap-summary-price-monthly {
  order: 2;
}

.ap-summary-old-price {
  color: var(--ap-muted);
  font-size: 23px !important;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.ap-summary-free-price {
  margin-top: 2px !important;
  color: var(--ap-ink);
}

.ap-summary-detail-link {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid var(--ap-line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ap-blue);
  font-size: 15px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.ap-summary-detail-link:hover,
.ap-summary-detail-link:focus {
  border-color: var(--ap-yellow-dark);
  color: var(--ap-yellow-dark);
}

.ap-summary-benefits {
  display: none;
  gap: 12px;
  margin-top: 28px;
}

.ap-summary-popup[hidden] {
  display: none !important;
}

.ap-summary-popup {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.ap-summary-popup-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: rgba(31, 41, 51, 0.54);
  cursor: pointer;
}

.ap-summary-popup-card {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(760px, calc(100vh - 48px));
  display: grid;
  gap: 18px;
  overflow: auto;
  padding: 30px;
  border: 1px solid var(--ap-line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(31, 41, 51, 0.24);
}

.ap-summary-popup-card h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.08;
}

.ap-summary-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ap-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ap-ink);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.ap-summary-popup-price {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 10px;
  background: var(--ap-yellow-soft);
}

.ap-summary-popup-price strong {
  font-size: 32px;
  line-height: 1;
}

.ap-summary-popup-price span,
.ap-summary-popup-price small {
  color: var(--ap-muted);
  font-weight: 900;
}

body.has-ap-popup-open {
  overflow: hidden;
}

.ap-form-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 42px;
  padding: 76px 42px;
  background: var(--ap-blue);
  color: #ffffff;
}

.ap-form-copy p:not(.ap-kicker) {
  color: rgba(255, 255, 255, 0.74);
  font-size: 19px;
  line-height: 1.6;
}

.ap-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  background: #ffffff;
  color: var(--ap-ink);
  border-radius: 8px;
}

.ap-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ap-form label {
  display: grid;
  gap: 7px;
  color: var(--ap-muted);
  font-weight: 800;
}

.ap-form input,
.ap-form textarea {
  width: 100%;
  border: 1px solid var(--ap-line);
  border-radius: 6px;
  padding: 15px 14px;
  color: var(--ap-ink);
  font: inherit;
}

.ap-form input:focus,
.ap-form textarea:focus {
  outline: 2px solid var(--ap-focus);
  outline-offset: 1px;
}

.ap-success {
  margin: 0;
  padding: 14px 16px;
  border-radius: 6px;
  background: var(--ap-mint);
  color: #007b4d;
  font-weight: 900;
}

.ap-info-section,
.ap-device-section,
.ap-faq-section,
.ap-offer-section,
.ap-steps-section,
.ap-direct-section {
  width: min(100%, 1680px);
  margin: 0 auto;
  padding: 72px 42px;
}

.ap-offer-section {
  padding-top: 48px;
  padding-bottom: 48px;
  background: var(--ap-surface-soft);
}

.ap-offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ap-offer-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 210px;
  padding: 24px;
}

.ap-offer-card span {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--ap-yellow-soft);
  color: var(--ap-blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ap-info-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  background: #ffffff;
}

.ap-info-section h2,
.ap-device-section h2,
.ap-faq-section h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.15;
}

.ap-info-copy p {
  margin: 0;
  color: var(--ap-muted);
  font-size: 20px;
  line-height: 1.55;
}

.ap-device-section {
  background: var(--ap-device-section-bg);
}

.ap-steps-section {
  background: #ffffff;
}

.ap-steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ap-step-card {
  display: grid;
  gap: 14px;
  padding: 26px;
}

.ap-device-grid {
  display: grid;
  gap: 22px;
}

.ap-device-card {
  position: relative;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 34px;
  align-items: center;
  padding: 28px;
  border: 2px solid var(--ap-device-border);
  border-radius: 10px;
  background: var(--ap-device-card-bg);
  box-shadow: var(--ap-shadow);
}

.ap-device-card.is-selected,
.ap-order-device-card:has(.ap-card-input:checked) {
  border-color: var(--ap-yellow);
  box-shadow: none;
}

.ap-device-card.is-selected .ap-radio,
.ap-order-device-card:has(.ap-card-input:checked) .ap-radio {
  border: 8px solid var(--ap-yellow);
}

.ap-device-card > div {
  padding-right: 56px;
}

.ap-device-card .ap-radio {
  top: 28px;
  right: 28px;
}

.ap-order-device-card .ap-radio {
  border-radius: 50%;
}

.ap-order-device-card.is-selected .ap-radio,
.ap-order-device-card:has(.ap-card-input:checked) .ap-radio {
  border: 8px solid var(--ap-yellow);
  background: #ffffff;
}

.ap-order-device-card.is-selected .ap-radio::after,
.ap-order-device-card:has(.ap-card-input:checked) .ap-radio::after {
  content: none;
}

.ap-device-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid rgba(234, 215, 154, 0.72);
  border-radius: 10px;
}

.ap-device-card h3,
.ap-faq-grid h3 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.15;
}

.ap-device-card strong {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 10px 14px;
  background: var(--ap-yellow);
  color: var(--ap-ink);
  border-radius: 10px;
}

.ap-device-shipping {
  margin: 0 0 12px;
  color: var(--ap-muted);
  font-size: 15px;
  font-weight: 800;
}

.ap-faq-section {
  background: #ffffff;
}

.ap-direct-section {
  background: var(--ap-blue);
  color: #ffffff;
}

.ap-direct-section .ap-kicker,
.ap-direct-section h2 {
  color: #ffffff;
}

.ap-direct-section h2 {
  margin: 0 0 28px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.15;
}

.ap-direct-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ap-direct-column {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 260px;
  padding: 26px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.ap-direct-column strong {
  color: #ffffff;
}

.ap-direct-column a {
  color: #ffffff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ap-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.ap-faq-grid article {
  padding: 26px;
  border: 2px solid var(--ap-line);
  border-radius: 8px;
  background: #ffffff;
}

.ap-faq-grid p {
  margin: 0;
  color: var(--ap-muted);
  font-size: 18px;
  line-height: 1.5;
}

.ap-detail-hero {
  width: min(100%, 1680px);
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: stretch;
  gap: 0;
  margin: 0 auto;
  background: #ffffff;
  overflow: hidden;
}

.ap-detail-hero-copy {
  display: grid;
  align-content: center;
  padding: 64px 42px;
}

.ap-detail-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ap-ink);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.06;
}

.ap-detail-intro {
  max-width: 760px;
  margin-top: 24px;
  color: var(--ap-ink);
  font-size: 21px;
  line-height: 1.48;
}

.ap-detail-intro p {
  margin: 0 0 12px;
}

.ap-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.ap-detail-media {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 42px;
}

.ap-detail-media img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 10px;
}

.ap-detail-gallery {
  width: min(100%, 560px);
  display: grid;
  gap: 16px;
  justify-self: center;
}

.ap-detail-gallery-track {
  position: relative;
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(234, 215, 154, 0.72);
}

.ap-detail-gallery-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(16px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.ap-detail-gallery-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.ap-detail-gallery-slide img {
  width: 100%;
  height: 100%;
  max-width: 520px;
  max-height: 520px;
  object-fit: contain;
  padding: 18px;
}

.ap-detail-gallery-controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  pointer-events: none;
  z-index: 4;
}

.ap-detail-gallery-controls button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--ap-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ap-ink);
  cursor: pointer;
  font-size: 24px;
  font-weight: 900;
  pointer-events: auto;
  transition: background 180ms ease, border-color 180ms ease;
}

.ap-detail-gallery-controls button:hover,
.ap-detail-gallery-controls button:focus {
  border-color: var(--ap-yellow-dark);
  background: var(--ap-yellow);
}

.ap-detail-gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  pointer-events: auto;
}

.ap-detail-gallery-dots button {
  width: 10px;
  height: 10px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: #d9dee5;
  font-size: 0;
}

.ap-detail-gallery-dots button.is-active {
  background: var(--ap-yellow-dark);
}

.ap-detail-layout {
  width: min(100%, 1680px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: start;
  gap: 28px;
  margin: 0 auto;
  padding: 58px 42px 74px;
  background: #ffffff;
}

.ap-detail-main {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.ap-detail-card {
  padding: 30px;
  border: 2px solid var(--ap-line);
  border-radius: 10px;
  background: linear-gradient(180deg, #fffef8 0%, #ffffff 100%);
}

.ap-detail-card h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.14;
}

.ap-detail-card .ap-feature-list {
  margin-bottom: 0;
}

.ap-detail-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ap-detail-list li {
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--ap-list-highlight);
  color: var(--ap-ink);
  font-weight: 800;
}

.ap-detail-link-list a {
  color: var(--ap-blue);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.ap-detail-link-list a:hover,
.ap-detail-link-list a:focus {
  color: var(--ap-yellow-dark);
}

.ap-detail-pdf-link {
  margin: 18px 0 0;
}

.ap-detail-pdf-link .ap-link {
  display: inline-flex;
  width: fit-content;
  font-weight: 900;
}

.ap-detail-sidebar {
  position: sticky;
  top: var(--ap-summary-top, 188px);
  display: grid;
  gap: 16px;
  align-self: start;
}

.ap-detail-price {
  display: grid;
  gap: 10px;
  padding: 28px 24px;
  border: 1px solid var(--ap-line);
  border-radius: 10px;
  background: #ffffff;
}

.ap-detail-price span,
.ap-detail-price small {
  color: var(--ap-muted);
  font-weight: 800;
  text-transform: uppercase;
}

.ap-detail-price strong {
  color: var(--ap-ink);
  font-size: 36px;
  line-height: 1;
}

.ap-detail-price small {
  margin-bottom: 12px;
  text-transform: none;
}

.ap-detail-price .ap-detail-price-type {
  margin: -4px 0 0;
  color: var(--ap-muted);
  font-size: 15px;
  text-transform: none;
}

.ap-detail-price .ap-detail-shipping-fee {
  margin: 0 0 12px;
  color: var(--ap-muted);
  font-size: 14px;
  line-height: 1.35;
  text-transform: none;
}

.ap-detail-summary-slick {
  margin-top: 0;
}

.ap-detail-summary-slick .ap-summary {
  gap: 18px;
  padding: 22px;
}

.ap-detail-summary-slick .ap-summary strong {
  font-size: 26px;
}

.ap-detail-related {
  width: min(100%, 1680px);
  margin: 0 auto;
  padding: 72px 42px;
  background: var(--ap-surface-soft);
}

.ap-detail-related h2 {
  margin: 0 0 26px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.15;
}

.ap-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ap-related-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  min-height: 150px;
  align-content: center;
  align-items: center;
  padding: 26px;
  border: 2px solid var(--ap-device-border);
  border-radius: 10px;
  background: var(--ap-related-card-bg);
  transition: border-color 180ms ease, transform 180ms ease;
}

.ap-related-card.has-image {
  grid-template-columns: 88px minmax(0, 1fr);
}

.ap-related-card:hover {
  border-color: var(--ap-yellow);
  transform: translateY(-2px);
}

.ap-related-media {
  display: grid;
  width: 76px;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--ap-line);
  border-radius: 10px;
  background: var(--ap-related-media-bg);
}

.ap-related-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.ap-related-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.ap-related-card strong {
  color: var(--ap-ink);
  font-size: 24px;
  line-height: 1.16;
}

.ap-related-price {
  color: var(--ap-blue);
  font-size: 20px;
  font-weight: 900;
}

.ap-order-hero,
.ap-order-form-section {
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: 58px 42px;
}

.ap-order-page-layout {
  width: min(100%, 1680px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: start;
  gap: 28px;
  margin: 0 auto;
  padding: 42px 42px 68px;
  background: #ffffff;
  overflow: visible;
}

.ap-cart-page-layout {
  width: min(100%, 1680px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: start;
  gap: 28px;
  margin: 0 auto;
  padding: 42px 42px 68px;
  background: #ffffff;
  overflow: visible;
}

.ap-cart-page-main {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.ap-cart-intro {
  display: grid;
  gap: 10px;
}

.ap-cart-intro h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.05;
}

.ap-cart-intro p:not(.ap-kicker) {
  max-width: 760px;
  margin: 0;
  color: var(--ap-muted);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

.ap-cart-tariff-section {
  display: grid;
  gap: 20px;
  padding: 34px;
  border: 2px solid var(--ap-line);
  border-radius: 12px;
  background: #ffffff;
}

.ap-cart-tariff-section .ap-section-head {
  align-items: end;
}

.ap-cart-tariff-section .ap-section-head p:not(.ap-kicker) {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--ap-muted);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}

.ap-cart-tariff-grid .ap-cart-tariff-card {
  min-height: 430px;
}

.ap-cart-tariff-card .ap-button {
  align-self: end;
  justify-self: stretch;
  margin-top: auto;
}

.ap-cart-selected-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 2px solid var(--ap-yellow);
  border-radius: 12px;
  background: var(--ap-list-highlight);
}

.ap-cart-selected-card h2 {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
}

.ap-cart-selected-card > div > strong {
  display: block;
  color: var(--ap-blue);
  font-size: 23px;
}

.ap-cart-porting-note {
  margin: 10px 0 0;
  color: var(--ap-muted);
  font-size: 17px;
  font-weight: 800;
}

.ap-cart-card-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.ap-cart-card-actions .ap-link {
  margin-top: 0;
}

.ap-cart-main-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  padding: 28px;
  border: 2px solid var(--ap-yellow);
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, var(--ap-yellow-soft) 100%);
}

.ap-cart-main-media {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.ap-cart-main-sim,
.ap-cart-main-device {
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 18px;
  border: 1px solid rgba(234, 215, 154, 0.9);
  border-radius: 12px;
  background: #ffffff;
}

.ap-cart-main-sim {
  gap: 10px;
  align-content: center;
}

.ap-cart-main-sim img,
.ap-cart-main-device img {
  width: 100%;
  max-height: 190px;
  object-fit: contain;
}

.ap-cart-main-sim strong {
  color: var(--ap-blue);
  font-size: 15px;
  text-align: center;
}

.ap-cart-main-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.ap-cart-main-copy h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
}

.ap-cart-main-lines {
  display: grid;
  gap: 10px;
}

.ap-cart-main-lines span {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #ffffff;
  color: var(--ap-muted);
  font-size: 16px;
  font-weight: 800;
}

.ap-cart-main-lines strong {
  color: var(--ap-ink);
  font-size: 13px;
  text-transform: uppercase;
}

.ap-cart-main-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.ap-cart-main-actions .ap-link {
  margin-top: 0;
}

.ap-cart-device-section {
  display: grid;
  gap: 20px;
  padding: 34px;
  border-radius: 12px;
  background: var(--ap-soft);
}

.ap-cart-device-section .ap-section-head {
  align-items: end;
}

.ap-cart-device-section .ap-section-head .ap-button {
  justify-self: end;
  min-width: 210px;
}

.ap-cart-device-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.ap-cart-device-grid .ap-order-device-card {
  grid-template-columns: 1fr;
  align-content: start;
  align-items: start;
  gap: 18px;
  min-height: 100%;
}

.ap-cart-device-grid .ap-device-card > div {
  display: grid;
  align-content: start;
  gap: 10px;
  padding-right: 0;
}

.ap-cart-device-grid .ap-device-card img {
  height: 210px;
}

.ap-cart-device-grid .ap-device-card h3 {
  font-size: 26px;
}

.ap-cart-device-grid .ap-feature-list {
  margin-top: 6px;
}

.ap-device-select-link {
  width: 100%;
  justify-content: center;
}

.ap-cart-summary-links {
  grid-column: 1 / -1;
  order: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.ap-cart-summary-links .ap-summary-detail-link {
  grid-column: auto;
}

.ap-cart-summary-actions {
  grid-column: 1 / -1;
  order: 4;
  display: grid;
  gap: 10px;
}

.ap-cart-summary-actions .ap-button {
  width: 100%;
  justify-content: center;
}

.ap-porting-preview {
  display: grid;
  gap: 10px;
}

.ap-porting-preview span {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--ap-yellow-soft);
  color: var(--ap-muted);
  font-weight: 800;
}

.ap-porting-preview strong {
  color: var(--ap-ink);
}

.ap-order-hero {
  background: linear-gradient(135deg, var(--ap-yellow-soft) 0%, var(--ap-yellow) 100%);
  color: var(--ap-ink);
}

.ap-order-hero h1 {
  max-width: 850px;
  margin: 0 0 14px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.04;
}

.ap-order-hero p:not(.ap-kicker) {
  max-width: 760px;
  margin: 0;
  font-size: 21px;
  line-height: 1.45;
}

.ap-order-form-section {
  width: 100%;
  min-width: 0;
  background: #ffffff;
}

.ap-order-page-layout .ap-order-form-section {
  padding-left: 0;
  padding-right: 0;
}

.ap-order-page-layout .ap-order-panel {
  margin-top: 58px;
}

.ap-order-message {
  margin-bottom: 24px;
}

.ap-trust-box {
  display: grid;
  gap: 5px;
  margin-bottom: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(246, 195, 67, 0.75);
  border-radius: 10px;
  background: var(--ap-yellow-soft);
  color: var(--ap-ink);
}

.ap-trust-box strong {
  font-size: 18px;
}

.ap-trust-box span {
  color: var(--ap-muted);
  font-weight: 700;
}

.ap-error {
  padding: 14px 16px;
  border-radius: 6px;
  background: #ffe2e4;
  color: #9c1118;
  font-weight: 900;
}

.ap-order-form,
.ap-form-block {
  display: grid;
  gap: 22px;
}

.ap-form-block {
  padding: 28px;
  border: 2px solid var(--ap-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(31, 41, 51, 0.08);
}

.ap-form-block-shop,
.ap-form-block-devices {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ap-form-step,
.ap-form-step-customer {
  min-width: 0;
}

.ap-form-step.is-active,
.ap-form-step-customer.is-active {
  display: grid;
  gap: 22px;
}

.ap-form-step[hidden] {
  display: none;
}

.ap-form-step-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 4px;
}

.ap-form-step-actions .ap-button {
  min-width: 220px;
}

.ap-order-tariff-card,
.ap-order-device-card {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.ap-card-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ap-order-tariff-card:has(.ap-card-input:checked) {
  border-color: var(--ap-yellow);
  box-shadow: 0 10px 28px rgba(246, 195, 67, 0.24);
  transform: translateY(-2px);
}

.ap-order-tariff-card:has(.ap-card-input:checked) .ap-radio {
  border: 8px solid var(--ap-yellow);
}

.ap-order-device-card .ap-button {
  width: fit-content;
  margin-top: 4px;
}

.ap-card-detail-link {
  position: relative;
  z-index: 3;
  width: fit-content;
  margin-top: 8px;
  color: var(--ap-blue);
  font-size: 16px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ap-card-detail-link:hover,
.ap-card-detail-link:focus {
  color: var(--ap-yellow-dark);
}

.ap-order-sim-card .ap-sim-icon {
  min-height: 260px;
}

.ap-form-block h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.16;
}

.ap-form-block p {
  margin: 0;
  color: var(--ap-muted);
  font-size: 17px;
  line-height: 1.5;
}

.ap-form-block-shop .ap-section-head h2,
.ap-form-block-devices .ap-section-head h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.15;
}

.ap-form-block .ap-order-tariff-card,
.ap-form-block .ap-order-device-card {
  color: var(--ap-ink);
  font-weight: 400;
}

.ap-form-block .ap-order-tariff-card {
  gap: 0;
}

.ap-form-block .ap-order-tariff-card p {
  color: var(--ap-muted);
  font-size: 18px;
}

.ap-form-block .ap-order-device-card {
  gap: 34px;
}

.ap-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ap-choice-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 100%;
  padding: 20px;
  border: 2px solid var(--ap-line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.ap-choice-card:has(input:checked) {
  border-color: var(--ap-yellow);
  box-shadow: 0 8px 24px rgba(246, 195, 67, 0.2);
}

.ap-choice-card input[type="radio"] {
  width: 22px;
  height: 22px;
  accent-color: var(--ap-yellow-hover);
}

.ap-choice-title {
  font-size: 24px;
  font-weight: 900;
}

.ap-choice-card strong {
  font-size: 20px;
}

.ap-choice-card ul {
  display: grid;
  gap: 8px;
  padding-left: 19px;
  margin: 0;
  color: var(--ap-muted);
}

.ap-device-choice img {
  width: 100%;
  height: 130px;
  object-fit: contain;
}

.ap-sim-icon {
  width: 100%;
  height: 130px;
  display: grid;
  place-items: center;
  border: 2px dashed var(--ap-yellow-hover);
  border-radius: 8px;
  color: var(--ap-ink);
  font-size: 28px;
  font-weight: 900;
}

.ap-radio-row,
.ap-checkline {
  display: grid;
  gap: 12px;
}

.ap-conditional-fields {
  display: grid;
  gap: 18px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--ap-line);
}

.ap-conditional-fields[hidden] {
  display: none !important;
}

.ap-conditional-fields h3 {
  margin: 0;
  color: var(--ap-ink);
  font-size: 22px;
  line-height: 1.2;
}

.ap-radio-row label,
.ap-checkline {
  color: var(--ap-muted);
  font-weight: 800;
  line-height: 1.4;
}

.ap-radio-row input,
.ap-checkline input {
  margin-right: 8px;
  accent-color: var(--ap-yellow-hover);
}

.ap-form-block label {
  display: grid;
  gap: 7px;
  color: var(--ap-muted);
  font-weight: 800;
}

.ap-form-block input,
.ap-form-block select,
.ap-form-block textarea {
  width: 100%;
  border: 1px solid var(--ap-line);
  border-radius: 6px;
  padding: 15px 14px;
  color: var(--ap-ink);
  font: inherit;
}

.ap-form-block input:focus,
.ap-form-block select:focus,
.ap-form-block textarea:focus {
  outline: 2px solid var(--ap-focus);
  outline-offset: 1px;
}

.ap-form-block .ap-card-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.ap-form-block .ap-card-input:focus {
  outline: 0;
}

.ap-form-block .ap-radio-row label,
.ap-form-block label.ap-checkline {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.ap-form-block .ap-radio-row input,
.ap-form-block .ap-checkline input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  justify-self: start;
}

.ap-honeypot {
  position: absolute;
  left: -9999px;
}

.ap-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 42px;
  background: #ffffff;
  border-top: 1px solid var(--ap-line);
}

.ap-footer strong,
.ap-footer span {
  display: block;
}

.ap-footer span {
  color: var(--ap-muted);
  margin-top: 5px;
}

.ap-footer-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.ap-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: flex-end;
}

.ap-footer a,
.ap-cookie-link {
  color: var(--ap-blue);
  font-weight: 900;
}

.ap-cookie-link {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: right;
  text-decoration: underline;
}

.ap-legal-page {
  padding: 54px 42px 72px;
  background: var(--ap-surface);
}

.ap-legal-page-inner {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 34px;
  background: #ffffff;
  border: 1px solid var(--ap-line);
  border-radius: 12px;
}

.ap-legal-page h1 {
  margin: 0 0 22px;
  color: var(--ap-ink);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.ap-legal-content {
  color: var(--ap-ink);
  font-size: 18px;
  line-height: 1.65;
}

.ap-legal-content h2,
.ap-legal-content h3 {
  margin: 1.6em 0 0.45em;
}

.ap-legal-content a,
.ap-order-legal-links a {
  color: var(--ap-blue);
  font-weight: 900;
}

.ap-order-legal-links {
  display: inline;
}

.ap-order-legal-hint {
  margin-top: 10px;
  color: var(--ap-muted);
  font-size: 14px;
}

.ap-cookie-consent {
  position: fixed;
  inset: auto 18px 18px;
  z-index: 80;
  display: flex;
  justify-content: center;
}

.ap-cookie-consent[hidden] {
  display: none;
}

.ap-cookie-panel {
  width: min(100%, 980px);
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--ap-line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(31, 41, 51, 0.22);
}

.ap-cookie-copy strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ap-ink);
  font-size: 23px;
}

.ap-cookie-copy p {
  margin: 0;
  color: var(--ap-muted);
  font-size: 17px;
  line-height: 1.5;
}

.ap-cookie-settings {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 10px;
  background: var(--ap-surface-soft);
}

.ap-cookie-settings[hidden] {
  display: none;
}

.ap-cookie-settings label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  color: var(--ap-muted);
  line-height: 1.45;
}

.ap-cookie-settings input {
  width: 22px;
  height: 22px;
  accent-color: var(--ap-yellow-hover);
}

.ap-cookie-settings strong {
  display: block;
  color: var(--ap-ink);
}

.ap-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ap-button-secondary,
.ap-button-ghost {
  border: 2px solid;
  background: #ffffff;
  color: var(--ap-ink);
}

.ap-button-secondary {
  border-color: var(--ap-yellow);
}

.ap-button-ghost {
  border-color: var(--ap-line);
}

.ap-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

@media (max-width: 1200px) {
  .ap-page-layout {
    display: block;
    padding: 0;
  }

  .ap-detail-hero,
  .ap-detail-layout {
    grid-template-columns: 1fr;
  }

  .ap-detail-sidebar {
    position: static;
    order: -1;
  }

  .ap-order-page-layout {
    display: block;
    padding: 32px 42px 68px;
  }

  .ap-shop-layout {
    padding: 28px 42px 68px;
    background: #ffffff;
  }

  .ap-cart-page-layout {
    display: grid;
    grid-template-columns: 1fr;
    padding: 32px 42px 68px;
  }

  .ap-cart-page-main {
    display: contents;
  }

  .ap-cart-intro {
    order: 1;
  }

  .ap-cart-tariff-section {
    order: 2;
  }

  .ap-cart-main-card {
    order: 3;
  }

  .ap-cart-page-layout > .ap-order-panel {
    order: 4;
  }

  .ap-cart-device-section {
    order: 5;
  }

  .ap-order-panel {
    position: static;
  }

  .ap-order-page-layout .ap-order-panel {
    margin-top: 0;
  }

  .ap-tariff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ap-info-section,
  .ap-device-card,
  .ap-faq-grid,
  .ap-choice-grid {
    grid-template-columns: 1fr;
  }

  .ap-cart-device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.has-ap-menu-open {
    overflow: hidden;
  }

  .ap-site-header,
  .ap-site-main,
  .ap-topbar,
  .ap-mainnav,
  .ap-breadcrumbs,
  .ap-customer-card,
  .ap-shop-layout,
  .ap-page-layout,
  .ap-order-page-layout,
  .ap-cart-page-layout,
  .ap-detail-hero,
  .ap-detail-layout,
  .ap-detail-related,
  .ap-form-section,
  .ap-home-overview,
  .ap-offer-section,
  .ap-steps-section,
  .ap-direct-section,
  .ap-footer,
  .ap-info-section,
  .ap-device-section,
  .ap-faq-section,
  .ap-order-hero,
  .ap-order-form-section {
    width: 100%;
    max-width: 100%;
  }

  .ap-topbar,
  .ap-mainnav,
  .ap-section-head,
  .ap-customer-card,
  .ap-overview-grid,
  .ap-steps-grid,
  .ap-direct-grid,
  .ap-detail-actions,
  .ap-form-section,
  .ap-footer {
    grid-template-columns: 1fr;
  }

  .ap-topbar,
  .ap-mainnav,
  .ap-breadcrumbs,
  .ap-customer-card,
  .ap-home-overview,
  .ap-shop-layout,
  .ap-offer-section,
  .ap-steps-section,
  .ap-direct-section,
  .ap-order-page-layout,
  .ap-cart-page-layout,
  .ap-form-section,
  .ap-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .ap-footer-actions {
    justify-items: start;
  }

  .ap-cookie-consent {
    inset: auto 10px 10px;
  }

  .ap-cookie-panel {
    max-height: calc(100vh - 20px);
    overflow: auto;
    padding: 18px;
  }

  .ap-cookie-actions {
    display: grid;
  }

  .ap-shop-layout {
    display: block;
    padding-left: 14px;
    padding-right: 14px;
    overflow: hidden;
  }

  .ap-cart-page-layout {
    padding-left: 14px;
    padding-right: 14px;
  }

  .ap-cart-page-main {
    display: grid;
    gap: 18px;
  }

  .ap-cart-tariff-section,
  .ap-cart-selected-card,
  .ap-cart-main-card,
  .ap-cart-device-section {
    padding: 20px;
  }

  .ap-cart-selected-card {
    grid-template-columns: 1fr;
  }

  .ap-cart-main-card,
  .ap-cart-main-media {
    grid-template-columns: 1fr;
  }

  .ap-cart-main-sim,
  .ap-cart-main-device {
    min-height: 150px;
  }

  .ap-cart-device-grid {
    grid-template-columns: 1fr;
  }

  .ap-cart-device-section .ap-section-head .ap-button {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  .ap-cart-card-actions {
    justify-items: stretch;
  }

  .ap-tariff-area,
  .ap-section-head,
  .ap-select,
  .ap-tabs,
  .ap-tariff-grid,
  .ap-tariff-card {
    width: 100%;
    max-width: 100%;
  }

  .ap-order-panel {
    position: static;
    width: 100%;
    max-width: 100%;
  }

  body.has-ap-mobile-summary .ap-summary-slick {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--ap-summary-bottom-offset, 0px);
    z-index: 45;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--ap-line);
    box-shadow: 0 -12px 30px rgba(31, 41, 51, 0.14);
  }

  body.has-ap-mobile-summary .ap-site-main {
    padding-bottom: calc(var(--ap-mobile-summary-height, 0px) + 18px);
  }

  .ap-order-panel .ap-stepper {
    display: none;
  }

  .ap-form-step-actions {
    display: grid;
    justify-content: stretch;
  }

  .ap-form-step-actions .ap-button {
    width: 100%;
    min-width: 0;
  }

  .ap-order-panel .ap-summary {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 70px;
    align-items: stretch;
    gap: 8px;
    margin: 0 auto;
    max-width: 460px;
    padding: 9px 12px;
    box-shadow: none;
  }

  body.has-ap-mobile-summary .ap-order-panel .ap-summary {
    margin-top: 0;
  }

  body.has-ap-mobile-summary .ap-summary-benefits {
    max-width: 460px;
    margin: 8px auto 0;
    gap: 6px;
  }

  body.has-ap-mobile-summary .ap-summary-benefits span {
    min-height: 42px;
  }

  .ap-order-panel .ap-summary span,
  .ap-order-panel .ap-summary small {
    font-size: 11px;
  }

  .ap-order-panel .ap-summary strong {
    font-size: 21px;
  }

  .ap-order-panel .ap-summary small:not(.ap-summary-mobile-name):not(.ap-summary-once-note) {
    display: none;
  }

  .ap-order-panel .ap-summary .ap-summary-mobile-name,
  .ap-order-panel .ap-summary .ap-summary-once-note {
    display: -webkit-box;
    max-width: 100%;
    margin-top: 2px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--ap-muted);
    font-size: 10.5px;
    font-weight: 900;
    line-height: 1.15;
    text-transform: none;
  }

  .ap-order-panel .ap-summary .ap-summary-once-note {
    -webkit-line-clamp: 1;
    font-size: 10px;
  }

  .ap-order-panel .ap-summary .ap-summary-selection,
  .ap-order-panel .ap-summary-detail-link,
  .ap-order-panel .ap-cart-summary-links {
    display: none;
  }

  .ap-order-panel .ap-summary-price-monthly {
    order: 2;
  }

  .ap-order-panel .ap-summary-price-once {
    order: 1;
  }

  .ap-order-panel .ap-summary .ap-button {
    grid-column: auto;
    order: 3;
    display: grid;
    min-height: 58px;
    width: 64px;
    align-content: center;
    justify-content: center;
    padding: 0;
    border-radius: 14px;
    font-size: 0;
    line-height: 1;
  }

  .ap-order-panel .ap-summary .ap-button::before {
    content: "→";
    color: var(--ap-ink);
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
  }

  .ap-order-panel .ap-summary .ap-button::after {
    content: "Starten";
    margin-top: 3px;
    color: var(--ap-ink);
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
  }

  .ap-order-panel .ap-summary .ap-cart-summary-actions {
    grid-column: 1 / -1;
    order: 3;
    display: grid;
    gap: 8px;
  }

  .ap-order-panel .ap-summary .ap-cart-summary-actions .ap-button {
    display: flex;
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.2;
  }

  .ap-order-panel .ap-summary .ap-cart-summary-actions .ap-button::before,
  .ap-order-panel .ap-summary .ap-cart-summary-actions .ap-button::after {
    content: none;
  }

  .ap-header-links {
    display: none;
  }

  .ap-site-header {
    position: sticky;
    top: 0;
  }

  body.has-ap-menu-open .ap-site-header {
    z-index: 90;
  }

  .ap-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: block;
    width: 100%;
    min-height: 100vh;
    padding: 0;
    background: rgba(31, 41, 51, 0.54);
    border: 0;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  body.has-ap-menu-open .ap-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .ap-topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    min-height: 60px;
  }

  .ap-menu-toggle {
    justify-self: end;
    width: 46px;
    height: 42px;
    display: grid;
    place-items: center;
    gap: 4px;
    padding: 8px;
    border: 1px solid var(--ap-line);
    border-radius: 10px;
    background: #ffffff;
    color: var(--ap-ink);
    cursor: pointer;
  }

  .ap-menu-toggle span {
    width: 22px;
    height: 2px;
    display: block;
    background: currentColor;
    border-radius: 999px;
  }

  .ap-menu-toggle strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .ap-logo,
  .ap-customer-switch,
  .ap-section-head,
  .ap-select,
  .ap-tabs,
  .ap-tariff-grid,
  .ap-tariff-card {
    min-width: 0;
  }

  .ap-logo-text {
    font-size: 19px;
    overflow-wrap: anywhere;
  }

  .ap-customer-switch {
    gap: 18px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ap-mainnav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    width: min(86vw, 390px);
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 0;
    padding: 0;
    overflow-y: auto;
    background: #ffffff;
    border-top: 0;
    box-shadow: -22px 0 48px rgba(31, 41, 51, 0.22);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }

  .ap-site-header.is-menu-open .ap-mainnav {
    transform: translateX(0);
    visibility: visible;
  }

  .ap-mobile-menu-head {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--ap-line);
    background: #ffffff;
  }

  .ap-mobile-menu-head strong {
    color: var(--ap-ink);
    font-size: 20px;
  }

  .ap-mobile-menu-close {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--ap-yellow);
    color: var(--ap-ink);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
  }

  .ap-nav-list {
    width: 100%;
    display: grid;
    gap: 0;
    padding: 0;
    overflow-x: visible;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
  }

  .ap-nav-list > li,
  .ap-nav-list li {
    display: block;
  }

  .ap-nav-list a {
    min-height: 56px;
    padding: 0 18px;
    border-bottom: 1px solid var(--ap-line);
    font-size: 18px;
  }

  .ap-nav-list .has-submenu > a,
  .ap-nav-list .menu-item-has-children > a {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 12px;
  }

  .ap-nav-list .has-submenu > a::after,
  .ap-nav-list .menu-item-has-children > a::after {
    width: 10px;
    height: 10px;
    justify-self: center;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 160ms ease;
  }

  .ap-nav-list li.is-submenu-open > a::after {
    transform: rotate(225deg) translate(-2px, -2px);
  }

  .ap-nav-actions {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    padding: 16px 18px 22px;
    border-top: 1px solid var(--ap-line);
  }

  .ap-cart-popover {
    left: 0;
    right: auto;
  }

  .ap-cart-popover::before {
    left: 18px;
    right: auto;
  }

  .ap-submenu,
  .ap-nav-list .sub-menu {
    position: static;
    min-width: 0;
    max-height: 0;
    display: grid;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--ap-surface-soft);
    opacity: 1;
    pointer-events: none;
    transform: none;
    visibility: visible;
    transition: max-height 220ms ease;
  }

  .ap-nav-list li:hover > .ap-submenu,
  .ap-nav-list li:focus-within > .ap-submenu,
  .ap-nav-list li:hover > .sub-menu,
  .ap-nav-list li:focus-within > .sub-menu {
    max-height: 0;
    pointer-events: none;
  }

  .ap-nav-list li.is-submenu-open > .ap-submenu,
  .ap-nav-list li.is-submenu-open > .sub-menu {
    max-height: 70vh;
    pointer-events: auto;
  }

  .ap-submenu a,
  .ap-nav-list .sub-menu a {
    min-height: 50px;
    padding: 11px 18px 11px 32px;
    border-bottom: 1px solid var(--ap-line);
    border-radius: 0;
    background: transparent;
    color: var(--ap-blue);
    font-size: 16px;
    font-weight: 900;
  }

  .ap-logo-mark {
    width: 58px;
    font-size: 22px;
  }

  .ap-hero,
  .ap-hero-slider {
    min-height: 600px;
  }

  .ap-hero-slide {
    background-image: var(--ap-hero-mobile-image, var(--ap-hero-image));
    background-position: center top;
  }

  .ap-hero-slide::before {
    background:
      linear-gradient(180deg, rgba(255, 247, 214, 0.98) 0%, rgba(255, 247, 214, 0.92) 54%, rgba(255, 247, 214, 0.08) 100%),
      radial-gradient(circle at 12% 30%, rgba(246, 195, 67, 0.22) 0 24%, transparent 25%);
  }

  .ap-hero-nav {
    padding: 10px 18px 0;
  }

  .ap-slider-arrow {
    width: 34px;
    height: 34px;
    font-size: 21px;
  }

  .ap-hero-copy {
    width: 100%;
    padding: 42px 24px 76px;
  }

  .ap-detail-hero {
    min-height: auto;
  }

  .ap-detail-hero-copy,
  .ap-detail-media,
  .ap-detail-layout,
  .ap-detail-related {
    padding-left: 18px;
    padding-right: 18px;
  }

  .ap-detail-hero-copy {
    padding-top: 42px;
    padding-bottom: 28px;
  }

  .ap-detail-hero h1 {
    font-size: 40px;
  }

  .ap-detail-intro {
    font-size: 18px;
  }

  .ap-detail-media {
    min-height: 260px;
    padding-top: 12px;
    padding-bottom: 32px;
  }

  .ap-detail-media img {
    max-height: 320px;
  }

  .ap-detail-gallery-track {
    min-height: 300px;
  }

  .ap-detail-gallery-slide img {
    padding: 12px;
  }

  .ap-detail-gallery-controls button {
    width: 36px;
    height: 36px;
  }

  .ap-detail-layout {
    padding-top: 34px;
    padding-bottom: 44px;
  }

  .ap-detail-card {
    padding: 22px;
  }

  .ap-related-grid {
    grid-template-columns: 1fr;
  }

  .ap-related-card.has-image {
    grid-template-columns: 78px minmax(0, 1fr);
    padding: 20px;
  }

  .ap-related-media {
    width: 68px;
  }

  .ap-tariff-grid,
  .ap-form-row,
  .ap-info-section,
  .ap-faq-grid,
  .ap-offer-grid {
    grid-template-columns: 1fr;
  }

  .ap-section-head {
    gap: 18px;
  }

  .ap-section-head h2,
  .ap-form-copy h2 {
    font-size: 31px;
  }

  .ap-select {
    width: 100%;
    max-width: calc(100vw - 28px);
    min-height: auto;
    flex-wrap: wrap;
    align-items: start;
    padding: 12px 14px;
    white-space: normal;
    overflow: hidden;
  }

  .ap-select select {
    width: 100%;
    max-width: 100%;
    font-size: 15px;
    text-overflow: ellipsis;
  }

  .ap-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    overflow: hidden;
    margin-bottom: 32px;
  }

  .ap-tabs button {
    min-width: 0;
    width: 100%;
    padding: 0 14px;
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .ap-tariff-card {
    width: 100%;
    max-width: calc(100vw - 28px);
    min-height: auto;
    padding: 24px 18px;
    overflow: hidden;
    transform: none;
  }

  .ap-tariff-card:hover,
  .ap-tariff-card.is-selected {
    transform: none;
  }

  .ap-info-section,
  .ap-device-section,
  .ap-faq-section,
  .ap-home-overview,
  .ap-offer-section,
  .ap-steps-section,
  .ap-direct-section,
  .ap-order-hero,
  .ap-order-form-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .ap-form-block {
    padding: 20px;
  }

  .ap-form-block-shop {
    padding: 0;
  }

  .ap-device-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .ap-device-card img {
    height: 210px;
  }
}

.ap-card-slider {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-top: 30px;
}

.ap-card-slider-controls {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.ap-card-slider-controls button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ap-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ap-ink);
  box-shadow: 0 8px 18px rgba(31, 41, 51, 0.08);
  cursor: pointer;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.ap-card-slider-controls button:hover,
.ap-card-slider-controls button:focus {
  border-color: var(--ap-yellow-dark);
  background: var(--ap-yellow);
  color: var(--ap-ink);
}

.ap-card-slider-controls button:disabled {
  opacity: 0.38;
  background: #ffffff;
  cursor: default;
  pointer-events: none;
}

.ap-card-slider-status {
  min-width: 54px;
  color: var(--ap-muted);
  font-size: 15px;
  font-weight: 900;
  text-align: center;
}

.ap-card-slider-track.ap-tariff-grid,
.ap-card-slider-track.ap-device-grid,
.ap-card-slider-track.ap-offer-grid,
.ap-card-slider-track.ap-quick-tariff-grid {
  order: 1;
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 24px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.ap-card-slider-track.ap-device-grid {
  gap: 22px;
}

.home .ap-card-slider:not(.is-scrollable) .ap-card-slider-track.ap-quick-tariff-grid,
.home .ap-card-slider:not(.is-scrollable) .ap-card-slider-track.ap-tariff-grid {
  justify-content: center;
}

.ap-card-slider-track::-webkit-scrollbar {
  display: none;
}

.ap-card-slider-track > * {
  flex: 0 0 auto;
  min-width: 0;
  max-width: none;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

@media (min-width: 1201px) {
  .ap-card-slider-track.ap-tariff-grid > * {
    flex-basis: min(340px, calc((100% - 36px) / 3));
  }

  .ap-card-slider-track.ap-device-grid > * {
    flex-basis: min(720px, calc((100% - 22px) / 2));
  }

  .ap-card-slider-track.ap-offer-grid > * {
    flex-basis: min(280px, calc((100% - 54px) / 4));
  }

  .ap-card-slider-track.ap-quick-tariff-grid > * {
    flex-basis: min(320px, calc((100% - 44px) / 3));
  }

  .ap-order-page-layout .ap-card-slider-track.ap-device-grid > *,
  .ap-form-block-devices .ap-card-slider-track.ap-device-grid > * {
    flex-basis: min(760px, 82%);
  }
}

@media (max-width: 1200px) and (min-width: 761px) {
  .ap-card-slider-track.ap-tariff-grid > * {
    flex-basis: min(360px, calc((100% - 18px) / 2));
  }

  .ap-card-slider-track.ap-device-grid > * {
    flex-basis: min(640px, 82%);
  }

  .ap-card-slider-track.ap-offer-grid > * {
    flex-basis: min(320px, calc((100% - 18px) / 2));
  }

  .ap-card-slider-track.ap-quick-tariff-grid > * {
    flex-basis: min(340px, calc((100% - 18px) / 2));
  }
}

@media (max-width: 760px) {
  .ap-card-slider {
    margin-top: 24px;
  }

  .ap-card-slider-controls button {
    width: 42px;
    height: 42px;
    font-size: 26px;
  }

  .ap-card-slider-track.ap-tariff-grid,
  .ap-card-slider-track.ap-device-grid,
  .ap-card-slider-track.ap-offer-grid,
  .ap-card-slider-track.ap-quick-tariff-grid {
    gap: 14px;
    padding: 2px 0 18px;
  }

  .ap-card-slider-track.ap-tariff-grid > *,
  .ap-card-slider-track.ap-device-grid > *,
  .ap-card-slider-track.ap-offer-grid > *,
  .ap-card-slider-track.ap-quick-tariff-grid > * {
    flex-basis: min(86vw, 340px);
    width: min(86vw, 340px);
    max-width: none;
  }
}
