/* AFI WIRELESS demo — original styling inspired by common router brand layouts */

:root {
  --bg: #0b0f14;
  --bg-elevated: #121922;
  --surface: #161e2a;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8edf5;
  --muted: #9aa7b8;
  --accent: #3d9cff;
  --accent-2: #7c5cff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --header-h: 64px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(61, 156, 255, 0.18), transparent),
    radial-gradient(900px 500px at 90% 0%, rgba(124, 92, 255, 0.15), transparent), var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

a:hover {
  color: var(--accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #041018;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  left: 16px;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.container.narrow {
  max-width: 720px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
  background: rgba(11, 15, 20, 0.72);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.logo-image {
  display: block;
  height: 26px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  border: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  border-radius: 8px;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.chev {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--muted);
  margin-top: 2px;
}

.nav-item.has-mega {
  position: relative;
}

.mega {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h);
  bottom: auto;
  width: 100%;
  max-width: none;
  height: auto;
  max-height: min(72vh, 720px);
  margin: 0;
  padding: 1.25rem 0 1.75rem;
  background: #f3f3f3;
  border: 1px solid #c4c4c4;
  border-radius: 0;
  box-shadow: none;
  z-index: 150;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mega-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.mega-sidebar {
  border-right: 1px solid #dfdfdf;
  padding-right: 0.75rem;
}

.mega-side-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega-side-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.68rem 0.72rem;
  border-radius: 10px;
  color: #5f5f5f;
  font-size: 0.98rem;
  font-weight: 600;
}

.mega-side-list li a::after {
  content: "›";
  font-size: 1.15rem;
  line-height: 1;
  color: #8d8d8d;
}

.mega-side-list li a:hover {
  background: #e9e9e9;
  color: #2b2b2b;
}

.mega-side-list li.is-active a {
  background: #e8f7f2;
  color: #22a57f;
}

.mega-side-list li.is-active a::after {
  color: #22a57f;
}

.mega-main {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mega-top-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  color: #757575;
  font-size: 0.95rem;
  font-weight: 600;
}

.mega-top-links a {
  color: #6b6b6b;
}

.mega-top-links a:hover {
  color: #1e1e1e;
}

.mega-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.mega-cards[hidden] {
  display: none !important;
}

.mega-product-card {
  position: relative;
  background: #ececec;
  border: 1px solid #e1e1e1;
  border-radius: 16px;
  padding: 0.7rem 0.72rem 0.78rem;
  min-height: 214px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.mega-product-card:hover {
  border-color: #c9c9c9;
  transform: translateY(-1px);
}

.mega-product-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-top: 0.2rem;
}

.mega-badge {
  position: absolute;
  top: 9px;
  right: 10px;
  border-radius: 999px;
  padding: 0.18rem 0.48rem;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #6f5cff;
}

.mega-badge--award {
  color: #1a1a1a;
  background: #ffd54a;
}

.mega-product-visual {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  margin-top: 0.2rem;
  min-height: 120px;
}

.mega-product-visual img {
  flex: 1 1 auto;
  width: auto;
  max-width: 58%;
  height: 120px;
  margin-top: 0;
  object-fit: contain;
}

.mega-ces-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 3.75rem;
  font-size: 0.5rem;
  font-weight: 800;
  line-height: 1.08;
  color: #111;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

.mega-ces-logo__line--small {
  font-size: 0.38rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.15;
}

.mega-product-slot--empty {
  min-height: 178px;
  visibility: hidden;
  pointer-events: none;
}

/* Business mega — full width, white panel, grey border, 3×2 + footer */
.mega--business {
  max-height: none;
  padding: 0;
  background: #fff;
  border-color: #c4c4c4;
}

.mega-business-wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  padding: 1.35rem 0 0;
}

.mega-business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  padding-bottom: 1.25rem;
}

.mega-business-cell {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1rem;
  min-width: 0;
}

.mega-business-thumb {
  position: relative;
  flex: 0 0 42%;
  max-width: 220px;
  border-radius: 15px;
  overflow: hidden;
  align-self: flex-start;
  aspect-ratio: 4 / 3;
}

.mega-business-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mega-business-thumb-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.1) 50%, transparent 100%);
}

.mega-business-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 0.15rem;
}

.mega-business-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega-business-list li {
  margin: 0 0 0.38rem;
}

.mega-business-list a {
  font-size: 0.84rem;
  font-weight: 500;
  color: #4a4a4a;
  line-height: 1.35;
}

.mega-business-list a:hover {
  color: #1e1e1e;
}

.mega-business-featured {
  margin-top: auto;
  font-size: 0.84rem;
  font-weight: 600;
  color: #22a57f;
}

.mega-business-featured:hover {
  color: #1a8f6a;
}

.mega-business-footer {
  border-top: 1px solid #e0e0e0;
  background: #f0f0f0;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  padding: 0.85rem 1.25rem;
}

.mega-business-foot-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.mega-business-foot-nav a {
  color: #3d3d3d;
}

.mega-business-foot-nav a:hover {
  color: #22a57f;
}

.mega-business-foot-sep {
  color: #9a9a9a;
  font-weight: 400;
  user-select: none;
}

/* Support mega — three link columns + teal promo (reference layout) */
.mega--support {
  max-height: none;
  padding: 0;
  background: #fff;
  border-color: #c4c4c4;
}

.mega-support-wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  padding: 1.5rem 0 1.65rem;
}

.mega-support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr minmax(240px, 300px);
  gap: 2rem 2.25rem;
  align-items: start;
}

.mega-support-col {
  min-width: 0;
}

.mega-support-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  font-size: 0.94rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.25;
}

.mega-support-icon {
  display: flex;
  color: #333;
  flex-shrink: 0;
}

.mega-support-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega-support-list li {
  margin: 0 0 0.42rem;
}

.mega-support-list a {
  font-size: 0.84rem;
  font-weight: 500;
  color: #5f5f5f;
  line-height: 1.4;
}

.mega-support-list a:hover {
  color: #1a1a1a;
}

.mega-support-promo {
  background: #2ec4a8;
  border-radius: 12px;
  padding: 1.85rem 1.35rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.mega-support-promo-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.mega-support-promo-sub {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
}

.mega-support-promo-btn {
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  background: #fff;
  color: #1a5c52;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.mega-support-promo-btn:hover {
  background: #f5fafa;
  color: #0f3d36;
}

.mega-product-name {
  margin: 0.62rem 0 0.22rem;
  color: #3c3c3c;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.28;
}

.mega-product-desc {
  margin: 0;
  color: #565656;
  font-size: 0.83rem;
  line-height: 1.32;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #5a7dff);
  color: #041018;
}

.btn-primary:hover {
  filter: brightness(1.06);
  color: #041018;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--text);
}

.nav-store {
  margin-left: 0.5rem;
}

.btn-primary.nav-store {
  background: #22a57f;
  color: #ffffff;
}

.btn-primary.nav-store:hover {
  background: #1a8f6a;
  color: #ffffff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero — full-bleed image carousel */

.hero {
  padding: 0;
}

.hero-slider {
  position: relative;
  width: 100%;
  margin-inline: 0;
  min-height: clamp(280px, 52vh, 560px);
  overflow: hidden;
}

.hero-slide {
  display: none;
  position: absolute;
  inset: 0;
}

.hero-slide.is-active {
  display: block;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media-link {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
  text-decoration: none;
}

.hero-media-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  z-index: 1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-scrim {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  min-height: clamp(280px, 52vh, 560px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 1rem) 0 3.25rem;
  pointer-events: none;
}

.hero-inner .hero-copy {
  pointer-events: auto;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.hero .eyebrow {
  display: none;
}

.hero-copy h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.25rem, 4.5vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-sub {
  margin: 0 0 1.5rem;
  color: #fff;
  max-width: 36ch;
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions .btn-ghost {
  display: none;
}

.hero-actions .btn-primary {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.72rem 1.35rem;
  font-size: 1.02rem;
}

.hero-actions .btn-primary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  filter: none;
}

.hero-slide-lwr02 .hero-copy h1,
.hero-slide-lwr02 .hero-sub {
  color: #111;
}

.hero-slide-lwr02 .hero-actions .btn-primary {
  border-color: #111;
  color: #111;
}

.hero-slide-lwr02 .hero-actions .btn-primary:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #111;
}

.hero-slide-beryl7 .hero-actions .btn-ghost {
  display: inline-flex;
  border: 1px solid #fff;
  background: #fff;
  color: #111;
}

.hero-slide-beryl7 .hero-actions .btn-ghost:hover {
  background: #f4f4f4;
  color: #111;
}

.hero-slide-simpoyo .hero-copy h1,
.hero-slide-simpoyo .hero-sub {
  color: #111;
}

.hero-slide-simpoyo .hero-actions .btn-primary {
  border-color: #111;
  color: #111;
}

.hero-slide-simpoyo .hero-actions .btn-primary:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #111;
}

.hero-controls {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: calc(100% - 32px);
}

.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
}

.slider-dot.is-active {
  background: #22a57f;
  transform: scale(1.15);
}

/* Sections */

.strip {
  padding: 2.5rem 0;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0;
  color: var(--muted);
}

#travel {
  text-align: center;
  background: #f5f5f5;
  color: #111;
}

#travel .container.narrow {
  max-width: 1180px;
}

#travel .section-title {
  margin-bottom: 0.9rem;
  color: #111;
}

#travel .section-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

.story-cta-wrap {
  margin: 1.15rem 0 0;
}

.story-cta {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #3e3e3e;
}

.categories {
  padding: 0 0 2rem;
}

.cat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.cat-chip {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
  color: var(--text);
}

.cat-chip:hover {
  border-color: rgba(61, 156, 255, 0.45);
  color: var(--accent);
}

.products {
  padding: 1.5rem 0 2.2rem;
  background: #f2f2f2;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-head h2 {
  margin: 0;
  font-size: 1.35rem;
}

.text-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.product-card {
  min-height: 380px;
  padding: 1.1rem 1.1rem 0.9rem;
  border-radius: 2px;
  border: 1px solid #e5e5e5;
  background: #ececec;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: #dadada;
}

.travel-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #ececec;
}

.travel-card .product-shot {
  position: absolute;
  inset: 0;
  height: 100%;
  margin-top: 0;
}

.travel-card .product-name {
  position: absolute;
  top: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  width: calc(100% - 2.7rem);
  text-align: center;
  z-index: 2;
}

.home-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #ececec;
}

.home-card .product-shot {
  position: absolute;
  inset: 0;
  height: 100%;
  margin-top: 0;
}

.home-card .product-name {
  position: absolute;
  top: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  width: calc(100% - 2.7rem);
  text-align: center;
  z-index: 2;
}

.cellular-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #ececec;
}

.cellular-card .product-shot {
  position: absolute;
  inset: 0;
  height: 100%;
  margin-top: 0;
}

.cellular-card .product-name {
  position: absolute;
  top: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  width: calc(100% - 2.7rem);
  text-align: center;
  z-index: 2;
}

.remote-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #ececec;
}

.remote-card .product-shot {
  position: absolute;
  inset: 0;
  height: 100%;
  margin-top: 0;
}

.remote-card .product-name {
  position: absolute;
  top: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  width: calc(100% - 2.7rem);
  text-align: center;
  z-index: 2;
}

.product-shot {
  margin-top: auto;
  height: 205px;
  border-radius: 0;
  border: none;
  position: relative;
  overflow: hidden;
}

.shot-1 {
  background: url("image/008.png") center / cover no-repeat;
}

.product-card:hover .shot-1 {
  background-image: url("image/004.png");
}
.shot-2 {
  background: url("image/007.png") center / cover no-repeat;
}

.home-card:hover .shot-2 {
  background-image: url("image/003.png");
}
.shot-3 {
  background: url("image/006.png") center / cover no-repeat;
}

.cellular-card:hover .shot-3 {
  background-image: url("image/002.png");
}
.shot-4 {
  background: url("image/005.png") center / cover no-repeat;
}

.remote-card:hover .shot-4 {
  background-image: url("image/001.png");
}

.shot-1::after,
.shot-2::after,
.shot-3::after,
.shot-4::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #1e232b;
}

.shot-1::after {
  display: none;
}

.home-card .shot-2::after {
  display: none;
}

.cellular-card .shot-3::after {
  display: none;
}

.remote-card .shot-4::after {
  display: none;
}

.shot-2::after,
.shot-3::after {
  bottom: 20%;
  width: 70%;
  height: 32%;
  border-radius: 14px;
}

.shot-4::after {
  bottom: 23%;
  width: 58%;
  height: 28%;
  border-radius: 24px;
}

.product-name {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
  color: #212121;
  text-align: center;
  font-weight: 700;
}

.product-meta {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.comparison-wrap {
  text-align: center;
  margin: 1.45rem 0 0;
}

.comparison-link {
  font-size: 0.95rem;
  color: #3e3e3e;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-underline-offset: 10px;
}

/* Products page — catalog + filters (aligned with gl-inet.com/products) */
.products-page-inner {
  max-width: 1280px;
}

.products-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem 0 0.5rem;
  font-size: 0.88rem;
  color: #5a5a5a;
}

.products-breadcrumb a {
  color: #22a57f;
  font-weight: 600;
}

.products-breadcrumb a:hover {
  text-decoration: underline;
}

.products-breadcrumb-sep {
  color: #b0b0b0;
  user-select: none;
}

.products-breadcrumb-current {
  color: #2b2b2b;
  font-weight: 600;
}

.products-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0 1.25rem;
  border-bottom: 1px solid #ddd;
  margin-bottom: 1.25rem;
}

.products-page-title {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.products-compare-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #22a57f;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.products-compare-link:hover {
  color: #1a8f6a;
}

.products-catalog {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 1.75rem 2rem;
  align-items: start;
}

.products-filters {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  align-self: start;
  max-height: calc(100vh - var(--header-h) - 24px);
  overflow-y: auto;
  padding: 0 0.25rem 1rem 0;
  border-right: 1px solid #e3e3e3;
}

.products-filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.filters-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
}

.filters-reset {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: #22a57f;
  cursor: pointer;
  text-decoration: underline;
}

.filters-reset:hover {
  color: #1a8f6a;
}

.filters-close {
  display: none;
  border: none;
  background: #eaeaea;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: #333;
}

.filter-group {
  border-bottom: 1px solid #ececec;
  padding: 0.35rem 0 0.85rem;
}

.filter-group-summary {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a1a1a;
  cursor: pointer;
  list-style: none;
}

.filter-group-summary::-webkit-details-marker {
  display: none;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  margin-top: 0.55rem;
  padding-left: 0.1rem;
}

.filter-options--dense {
  gap: 0.32rem;
}

.filter-label {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: #4a4a4a;
  line-height: 1.35;
  cursor: pointer;
}

.filter-label input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.products-results {
  min-width: 0;
}

.products-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.products-count {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

.products-count span {
  font-weight: 700;
  color: #1a1a1a;
}

.filters-toggle {
  display: none;
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  border: 1px solid #c4c4c4;
  background: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  color: #222;
  cursor: pointer;
}

.filters-toggle:hover {
  border-color: #22a57f;
  color: #22a57f;
}

.products-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.catalog-card {
  position: relative;
  background: #ececec;
  border: 1px solid #e1e1e1;
  border-radius: 14px;
  min-height: 200px;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.catalog-card:hover {
  border-color: #c9c9c9;
  transform: translateY(-1px);
}

.catalog-card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 0.65rem 0.7rem 0.85rem;
  color: inherit;
  text-decoration: none;
}

.catalog-card-link:hover {
  color: inherit;
}

.catalog-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  border-radius: 999px;
  padding: 0.16rem 0.42rem;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #6f5cff;
}

.catalog-card img {
  width: 100%;
  height: 76px;
  object-fit: contain;
  margin-top: 0.35rem;
}

.catalog-name {
  margin: 0.55rem 0 0.2rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #3c3c3c;
  line-height: 1.25;
}

.catalog-desc {
  margin: 0;
  font-size: 0.8rem;
  color: #565656;
  line-height: 1.3;
}

.products-comparison {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid #ddd;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.products-comparison-title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
}

.products-comparison-lead {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: #5f5f5f;
  max-width: 62ch;
}

.products-comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
}

.products-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.products-comparison-table th,
.products-comparison-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: top;
}

.products-comparison-table thead th {
  background: #efefef;
  font-weight: 700;
  color: #222;
}

.products-comparison-table tbody th {
  font-weight: 600;
  color: #333;
  width: 8.5rem;
}

.products-comparison-muted {
  color: #888;
}

.recommended {
  padding: 2rem 0 2.1rem;
  background: #e7e7e7;
}

.recommended-title {
  margin: 0 0 0.95rem;
  text-align: center;
  color: #1e1e1e;
  font-size: 1.95rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.recommended-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.72rem;
}

.rec-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d7d7d7;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rec-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.rec-media {
  height: 170px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.rec-body {
  position: relative;
  min-height: 184px;
  padding: 0.82rem 0.82rem 1.85rem;
  color: #202020;
}

.rec-author {
  margin-bottom: 0.52rem;
  display: flex;
  align-items: center;
  gap: 0.72rem;
}

.rec-avatar {
  display: inline-block;
  width: 56px !important;
  height: 56px !important;
  border-radius: 6px;
  flex: 0 0 56px !important;
  background-size: cover;
  background-position: center;
  border: 1px solid #d9d9d9;
}

.rec-avatar-1 {
  background-image: linear-gradient(135deg, #212121, #f5a623);
}

.rec-avatar-2 {
  background-image: linear-gradient(135deg, #ef6d1d, #ffffff);
}

.rec-avatar-3 {
  background-image: linear-gradient(135deg, #f4f4f4, #000000);
}

.rec-avatar-4 {
  background-image: linear-gradient(135deg, #f3df5b, #8b8b8b);
}

.rec-author-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.rec-name {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.1;
}

.rec-followers {
  margin: 0;
  color: #767676;
  font-size: 0.82rem;
  line-height: 1.1;
}

.rec-text {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.42;
  font-weight: 700;
}

.rec-icon {
  position: absolute;
  right: 0.8rem;
  bottom: 0.65rem;
  font-size: 1.05rem;
  color: #1d1d1d;
}

.recommended-controls {
  margin-top: 1.18rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.rec-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid #d0d0d0;
  background: #ececec;
  color: #8c8c8c;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.rec-nav-btn:hover {
  background: #fff;
}

/* White feature strip below RECOMMENDED BY */
.support-strip {
  padding: 2.25rem 0 2.35rem;
  background: #fff;
  border-top: 1px solid #e4e4e4;
}

.support-strip-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  /* One column per strip item (was 6 when Community existed; now 4) */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 1rem;
  align-items: start;
  text-align: center;
}

.support-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #1e1e1e;
}

.support-strip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.58rem;
  color: #1a1a1a;
}

.support-strip-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.support-strip-title {
  margin: 0 0 0.32rem;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
}

.support-strip-text {
  margin: 0;
  max-width: 14rem;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.35;
  color: #3a3a3a;
}

@media (max-width: 1100px) {
  .support-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1rem;
  }
}

@media (max-width: 640px) {
  .support-strip {
    padding: 1.75rem 0 1.85rem;
  }

  .support-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 0.85rem;
  }

  .support-strip-text {
    font-size: 0.8rem;
  }
}

.rec-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.rec-modal[hidden] {
  display: none !important;
}

/* YouTube-style embed popup */
.rec-yt-card {
  position: relative;
  width: min(920px, 100%);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.rec-yt-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  flex-shrink: 0;
}

.rec-yt-thumb {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.rec-yt-embed-wrap {
  position: absolute;
  inset: 0;
  z-index: 8;
  background: #000;
}

.rec-yt-embed-wrap[hidden] {
  display: none !important;
}

.rec-yt-embed-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.rec-yt-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.08) 42%,
    rgba(0, 0, 0, 0.35) 100%
  );
  pointer-events: none;
}

.rec-yt-close-x {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.rec-yt-close-x:hover {
  background: rgba(0, 0, 0, 0.65);
}

.rec-yt-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 56px;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  pointer-events: none;
}

.rec-yt-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: 0 0 44px;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.rec-yt-header-text {
  min-width: 0;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.rec-yt-title {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.18;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rec-yt-channel {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.15;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
}

.rec-yt-play[hidden] {
  display: none !important;
}

.rec-yt-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 72px;
  height: 72px;
  border: none;
  border-radius: 50%;
  background: #f00;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.rec-yt-play:hover {
  background: #e00;
}

.rec-yt-play-triangle {
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

.rec-yt-bar-left,
.rec-yt-bar-right {
  position: absolute;
  bottom: 10px;
  z-index: 4;
}

.rec-yt-bar-left {
  left: 10px;
}

.rec-yt-bar-right {
  right: 10px;
}

.rec-yt-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 0.75rem;
}

.rec-yt-pill-yt {
  gap: 8px;
  padding: 6px 12px 6px 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.rec-yt-pill-yt span {
  color: #fff;
  font-size: 0.78rem;
}

a.rec-yt-pill-yt {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.rec-yt-pill-yt[hidden] {
  display: none !important;
}

.rec-yt-ico {
  color: #fff;
  opacity: 0.95;
}

.rec-yt-footer {
  flex-shrink: 0;
  background: #fff;
  padding: 18px 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #e8e8e8;
}

.rec-yt-close-btn {
  appearance: none;
  margin: 0;
  padding: 11px 42px;
  border-radius: 999px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  font-family: inherit;
}

.rec-yt-close-btn:hover {
  background: #f2f2f2;
}

body.modal-open {
  overflow: hidden;
}

.press {
  padding: 2.5rem 0 3rem;
}

.press-title {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 1.1rem;
  color: var(--muted);
}

.press-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.press-logos li {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px dashed var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.press-note {
  text-align: center;
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.support {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.support-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.support-list a {
  display: inline-block;
  padding: 0.25rem 0;
  color: var(--accent);
  font-weight: 600;
}

.support-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(61, 156, 255, 0.08), rgba(124, 92, 255, 0.06));
}

.support-card h3 {
  margin-top: 0;
}

.support-card p {
  color: var(--muted);
}

/* Footer — AFI WIRELESS style dark band */

.site-footer {
  --footer-bg: #1a203c;
  --footer-muted: #8a95ae;

  margin-top: 0;
  padding: 0;
  border-top: none;
  background: var(--footer-bg);
  color: #fff;
}

.site-footer a {
  color: var(--footer-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-main {
  padding: 3rem 0 2.5rem;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Only “Connect” + “About”: full-width row, two columns side by side */
.footer-nav-grid:has(> .footer-col-aside:only-child) {
  grid-template-columns: 1fr;
  margin-inline: auto;
}

.footer-col.footer-col-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 3rem;
  align-items: start;
  width: 100%;
}

/* Company / address: sit on the right edge of the footer band, text right-aligned */
.footer-block--company {
  justify-self: end;
  text-align: right;
  max-width: 22rem;
}

.footer-block .footer-heading:first-child {
  margin-top: 0;
}

.footer-heading {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.45;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-links li:last-child {
  margin-bottom: 0;
}

.footer-col-aside .footer-block:first-child .footer-heading {
  margin-bottom: 0.85rem;
}

.footer-newsletter {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0 0 1.25rem;
  padding: 3px;
  border-radius: 999px;
  background: #fff;
  box-sizing: border-box;
}

.footer-newsletter input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.85rem;
  border: 0;
  border-radius: 999px 0 0 999px;
  font-family: inherit;
  font-size: 0.88rem;
  color: #1a203c;
  background: transparent;
}

.footer-newsletter input::placeholder {
  color: #8892a8;
}

.footer-newsletter input:focus {
  outline: none;
}

.footer-newsletter button {
  flex-shrink: 0;
  padding: 0.55rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: var(--footer-bg);
  color: #fff;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.footer-newsletter button:hover {
  background: #0f1428;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.95;
}

.footer-social a:hover {
  opacity: 1;
  color: #fff;
}

.footer-social svg {
  display: block;
}

.footer-address {
  margin: 0 0 0.65rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--footer-muted);
}

.footer-address:last-child {
  margin-bottom: 0;
}

.footer-legal-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.15rem 0 1.75rem;
}

.footer-legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
}

.footer-copyright {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--footer-muted);
  max-width: 62ch;
}

.footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.25rem;
  font-size: 0.72rem;
}

.footer-legal-nav a {
  color: var(--footer-muted);
}

.footer-legal-sep {
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-slider {
    min-height: clamp(240px, 44vh, 420px);
  }

  .hero-inner {
    min-height: clamp(240px, 44vh, 420px);
    padding: calc(var(--header-h) + 0.5rem) 0 2.5rem;
    align-items: flex-end;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recommended-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
  }

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

  .footer-nav-grid:has(> .footer-col-aside:only-child) {
    grid-template-columns: 1fr;
  }

  .mega-layout {
    grid-template-columns: 190px 1fr;
  }

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

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

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

  .mega-support-promo {
    grid-column: 1 / -1;
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }

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

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: none;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav-item.has-mega {
    position: static;
  }

  .mega-layout {
    grid-template-columns: 1fr;
  }

  .mega-sidebar {
    border-right: none;
    border-bottom: 1px solid #dfdfdf;
    padding-right: 0;
    padding-bottom: 0.5rem;
  }

  .mega-top-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

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

  .mega-business-grid {
    grid-template-columns: 1fr;
  }

  .mega-business-cell {
    flex-direction: column;
    align-items: stretch;
  }

  .mega-business-thumb {
    flex: none;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }

  .mega-business-footer {
    margin: 0;
    width: 100%;
  }

  .mega-support-grid {
    grid-template-columns: 1fr;
  }

  .mega-support-promo {
    grid-column: auto;
    max-width: none;
  }

  .products-catalog {
    grid-template-columns: 1fr;
  }

  .products-filters {
    position: fixed;
    left: 0;
    top: var(--header-h);
    bottom: 0;
    width: min(100%, 320px);
    z-index: 130;
    background: #fff;
    border-right: 1px solid #ccc;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.12);
    transform: translateX(-102%);
    transition: transform 0.22s ease;
    max-height: none;
    padding: 1rem 1rem 2rem;
  }

  .products-filters.is-drawer-open {
    transform: translateX(0);
  }

  .filters-toggle {
    display: inline-flex;
  }

  .products-filters:not(.is-drawer-open) .filters-close {
    display: none;
  }

  .products-filters.is-drawer-open .filters-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

  .nav-store {
    margin-left: 0;
    text-align: center;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .recommended-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr;
  }

  .footer-col.footer-col-aside {
    grid-template-columns: 1fr;
  }

  .footer-block--company {
    justify-self: end;
    max-width: none;
  }

  .footer-legal-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Force larger product visuals in Products mega menu */
#mega-products .mega-product-card {
  min-height: 258px !important;
}

#mega-products .mega-product-card img {
  width: auto !important;
  max-width: 92% !important;
  height: 168px !important;
  max-height: none !important;
  object-fit: contain !important;
}

#mega-products .mega-product-visual {
  min-height: 168px !important;
}

#mega-products .mega-product-visual img {
  height: 168px !important;
}

.wifi7-page {
  background: #fff;
  color: #222;
}

.wifi7-hero {
  padding: calc(var(--header-h) + 4rem) 0 3.25rem;
  background: radial-gradient(850px 360px at 50% -5%, rgba(76, 118, 255, 0.28), transparent 70%),
    linear-gradient(180deg, #f1f6ff 0%, #ffffff 100%);
  text-align: center;
}

.wifi7-eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5f6b84;
}

.wifi7-hero h1 {
  margin: 0;
  color: #1a2540;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(2.6rem, 6vw, 4.1rem);
}

.wifi7-lead {
  margin: 1rem 0 0;
  color: #3f4f71;
  font-size: 1.25rem;
}

.wifi7-watch {
  margin: 1.4rem 0 0;
}

.wifi7-page .section-title {
  color: #1b2a4a;
}

.wifi7-question {
  margin: 0.15rem 0 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: #1f2f56;
}

.wifi7-page p {
  color: #3c4459;
  line-height: 1.7;
}

.wifi7-page .strip {
  padding: 3.25rem 0;
}

.wifi7-page .container.narrow {
  max-width: 920px;
}

.wifi7-page .section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  letter-spacing: -0.02em;
}

.wifi7-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.05rem;
}

.wifi7-card {
  border: 1px solid #e3e7f1;
  border-radius: 14px;
  background: linear-gradient(180deg, #f9fcff 0%, #f2f7ff 100%);
  padding: 1.15rem 1.1rem;
}

.wifi7-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  color: #22345a;
}

.wifi7-card p {
  margin: 0;
  font-size: 0.95rem;
}

.wifi7-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.wifi7-compare .products-comparison-table-wrap {
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #dbe5f6;
  box-shadow: 0 18px 44px rgba(31, 58, 120, 0.08);
}

.wifi7-compare .products-comparison-table thead th {
  background: #eef3ff;
  color: #233a67;
  font-weight: 800;
}

.wifi7-compare .products-comparison-table th,
.wifi7-compare .products-comparison-table td {
  border-color: #dbe5f6;
  padding: 0.9rem 0.95rem;
  vertical-align: middle;
}

@media (max-width: 960px) {
  .wifi7-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wifi7-grid,
  .wifi7-showcase {
    grid-template-columns: 1fr;
  }
}

/* --- Store page (store.html) --- */

.page-store {
  background: #eef1f8;
  color: #1a2540;
}

.page-store a:hover {
  color: #2563eb;
}

.page-store .site-header {
  top: 0;
}

.store-topbar {
  background: linear-gradient(90deg, #0f172a, #1e3a5f);
  color: #e8eef8;
  font-size: 0.875rem;
  padding: 0.45rem 0;
  text-align: center;
}

.store-topbar a {
  color: #93c5fd;
  font-weight: 600;
}

.store-topbar a:hover {
  color: #bfdbfe;
}

.store-topbar-inner p {
  margin: 0;
}

.store-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 0.35rem;
}

.store-search-wrap {
  display: flex;
  align-items: center;
}

.store-search-input {
  width: min(200px, 38vw);
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
}

.store-search-input::placeholder {
  color: rgba(232, 237, 245, 0.55);
}

.store-search-input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.store-account {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.store-auth-btn {
  font-size: 0.875rem;
  padding: 0.4rem 0.65rem;
}

.store-account-email-wrap {
  font-size: 0.8rem;
  color: var(--muted);
  margin-right: 0.25rem;
}

.store-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.store-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.75rem;
  font-weight: 700;
}

.store-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.store-icon-btn:hover {
  background: rgba(15, 23, 42, 0.06);
}

.store-icon-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.page-store--AFIWIRELESS .store-icon-btn:focus-visible {
  outline-color: #0f766e;
}

.store-icon-btn-svg {
  display: block;
  flex-shrink: 0;
}

.store-cart-icon-btn .store-cart-badge {
  position: absolute;
  top: 0.05rem;
  right: -0.05rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.28rem;
  font-size: 0.65rem;
  line-height: 1.1rem;
}

.page-store--AFIWIRELESS .store-icon-btn {
  color: #ffffff;
}

.page-store--AFIWIRELESS .store-icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-store--AFIWIRELESS .store-cart-icon-btn .store-cart-badge {
  background: #22a57f;
  color: #fff;
}

.page-store--AFIWIRELESS .btn-primary {
  background: #22a57f;
  color: #ffffff;
  border-color: transparent;
}

.page-store--AFIWIRELESS .btn-primary:hover {
  background: #1a8f6a;
  color: #ffffff;
  filter: none;
}

.store-main {
  padding-bottom: 3rem;
}

.store-hero {
  position: relative;
  overflow: hidden;
}

.store-hero-slider {
  position: relative;
  min-height: 280px;
}

.store-hero-slide {
  display: none;
  min-height: 280px;
  padding: 2.5rem 0;
  background: var(--store-hero-bg, #0f172a);
  color: #f8fafc;
}

.store-hero-slide.is-active {
  display: block;
}

.store-hero-inner {
  display: flex;
  align-items: center;
  min-height: 220px;
}

.store-hero-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.store-hero-copy h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.store-hero-sub {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  opacity: 0.92;
}

.store-hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0 1rem;
  background: #eef1f8;
}

.store-hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #cbd5e1;
  cursor: pointer;
}

.store-hero-dot.is-active {
  background: #2563eb;
  transform: scale(1.15);
}

.store-trust {
  padding: 2rem 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.store-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.store-trust-item h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.store-trust-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}

.store-section-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.store-scenarios {
  padding: 2.5rem 0;
}

.store-scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.store-scenario-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  color: #0f172a;
  font-weight: 600;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.store-scenario-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.store-scenario-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2563eb;
}

.store-products-section {
  padding: 1rem 0 3rem;
}

.store-demo-note {
  margin: -0.5rem 0 1.5rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #7c2d12;
  font-size: 0.9rem;
  line-height: 1.55;
}

.store-demo-note a {
  color: #c2410c;
  font-weight: 600;
}

.store-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.store-product-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.store-product-media {
  display: block;
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
  overflow: hidden;
}

.store-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-product-body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.store-product-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.store-product-name a {
  color: #0f172a;
}

.store-product-name a:hover {
  color: #2563eb;
}

.store-product-desc {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
  flex: 1;
}

.store-product-price {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.store-add-btn {
  width: 100%;
  justify-content: center;
}

.store-membership {
  padding: 2.5rem 0;
  background: linear-gradient(135deg, #1e3a5f, #0f172a);
  color: #e8eef8;
}

.store-membership-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.store-membership h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.store-membership p {
  margin: 0;
  max-width: 52ch;
  opacity: 0.92;
  line-height: 1.6;
}

.store-testimonials {
  padding: 2.5rem 0;
}

.store-quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.store-quote {
  margin: 0;
  padding: 1.25rem 1.35rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.store-quote p {
  margin: 0 0 0.75rem;
  color: #334155;
  font-style: italic;
}

.store-quote footer {
  font-size: 0.88rem;
  color: #64748b;
}

/* Full-screen hit target behind the cart drawer (replaces fragile overlay stacking). */
.store-cart-scrim {
  position: fixed;
  inset: 0;
  z-index: 8050;
  margin: 0;
  padding: 0;
  border: 0;
  display: none;
  background: rgba(15, 23, 42, 0.45);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.store-cart-scrim:not([hidden]) {
  display: block !important;
}

.store-cart-scrim[hidden] {
  display: none !important;
}

.store-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 8100;
  width: min(100%, 440px);
  height: 100%;
  background: #ffffff;
  color: #0f172a;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
}

.store-cart-drawer:not([hidden]) {
  display: flex !important;
}

.store-cart-drawer[hidden] {
  display: none !important;
}

.store-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid #e2e8f0;
}

.store-cart-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.store-cart-toolbar {
  padding: 0 1.1rem 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.store-cart-continue {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f766e;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.store-cart-continue:hover {
  color: #0d5c56;
}

.store-cart-close {
  position: relative;
  z-index: 2;
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
  padding: 0 0.25rem;
}

.store-cart-empty {
  flex: 1;
  padding: 2.25rem 1.35rem;
  text-align: center;
  color: #64748b;
}

.store-cart-empty-title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}

.store-cart-empty-lead {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.store-cart-empty-btn {
  width: 100%;
  max-width: 280px;
  justify-content: center;
}

.store-cart-has-items {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.store-cart-lines {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 1rem 0.75rem;
}

.store-cart-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-rows: auto auto;
  gap: 0.5rem 0.85rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid #eef2f7;
}

.store-cart-row:last-child {
  border-bottom: none;
}

.store-cart-row-media {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #e5e7eb;
}

.store-cart-row-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store-cart-row-main {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.store-cart-row-title {
  display: block;
  font-weight: 600;
  color: #0f172a;
  font-size: 0.9rem;
  line-height: 1.35;
  text-decoration: none;
}

.store-cart-row-title:hover {
  color: #0f766e;
  text-decoration: underline;
}

.store-cart-row-unit {
  margin: 0.2rem 0 0.45rem;
  font-size: 0.84rem;
  color: #64748b;
}

.store-cart-row-qty-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
}

.store-cart-qty-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
}

.store-cart-qty {
  width: 3.75rem;
  padding: 0.3rem 0.4rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font: inherit;
}

.store-cart-remove {
  border: none;
  background: none;
  color: #b91c1c;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0;
}

.store-cart-remove:hover {
  color: #991b1b;
}

.store-cart-row-total {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.15rem;
}

.store-cart-row-total-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-cart-row-total-value {
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f172a;
}

.store-cart-tips {
  margin: 0 1rem 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.store-cart-tips-title {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.store-cart-tips-text {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #475569;
}

.store-cart-tips-text code {
  font-size: 0.76rem;
  padding: 0.05rem 0.2rem;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.store-cart-footer {
  padding: 1rem 1.1rem 1.5rem;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

.store-cart-guest-hint {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #64748b;
}

.store-cart-subtotal-row {
  margin: 0 0 0.75rem;
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
}

.store-cart-subtotal-block {
  margin: 0 0 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.store-cart-subtotal-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
}

.store-cart-subtotal-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}

.store-checkout-btn {
  width: 100%;
  justify-content: center;
}

.store-modal {
  position: fixed;
  inset: 0;
  z-index: 8200;
  display: none;
}

.store-modal:not([hidden]) {
  display: block !important;
}

.store-modal[hidden] {
  display: none !important;
}

/* Full-screen dim + click target behind the white panel */
.store-modal-scrim {
  position: fixed;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.45);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.store-modal-panel {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: min(100% - 2rem, 400px);
  max-height: min(92vh, 640px);
  overflow: auto;
  padding: 1.5rem 1.35rem 1.75rem;
  border-radius: 14px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

.store-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  z-index: 2;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
  padding: 0.15rem 0.35rem;
}

.store-modal-panel h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.store-modal-lead {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: #64748b;
}

.store-auth-tabs {
  display: flex;
  gap: 0;
  margin: 0 0 1rem;
  padding: 0.2rem;
  border-radius: 10px;
  background: #f1f5f9;
}

.store-auth-tab {
  flex: 1;
  margin: 0;
  padding: 0.5rem 0.65rem;
  border: none;
  border-radius: 8px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  background: transparent;
  cursor: pointer;
}

.store-auth-tab:hover {
  color: #0f172a;
}

.store-auth-tab[aria-selected="true"] {
  color: #0f172a;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.store-auth-panel {
  margin: 0;
}

.store-form label {
  display: block;
  margin: 0.5rem 0 0.25rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.store-form input {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: inherit;
  margin-bottom: 0.35rem;
}

.store-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.75rem;
}

.page-store .site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 960px) {
  .store-trust-grid,
  .store-scenarios-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .store-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .store-search-input {
    width: 100%;
  }

  .store-quote-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .store-trust-grid,
  .store-scenarios-grid {
    grid-template-columns: 1fr;
  }

  .store-cart-line {
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
  }

  .store-cart-line-total {
    grid-column: 2;
    justify-self: end;
  }
}

/* Store — minimal “New Arrivals” layout (store.html) */

.page-store--simple .store-simple-main {
  padding-top: 1.25rem;
}

.store-simple-intro {
  max-width: 720px;
}

.store-simple-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.store-simple-note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #64748b;
}

.store-simple-note a {
  color: #2563eb;
  font-weight: 600;
}

.store-product-grid--simple {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.35rem;
}

.page-store--simple .store-product-card {
  position: relative;
  padding-top: 0.25rem;
}

.page-store--simple .store-product-name {
  font-size: 1rem;
  line-height: 1.35;
}

.page-store--simple .store-product-name a {
  color: #0f172a;
}

.page-store--simple .store-product-name a:hover {
  color: #2563eb;
}

.store-stock {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(15, 23, 42, 0.88);
  color: #f8fafc;
}

.store-stock--low {
  background: #b45309;
  color: #fffbeb;
}

.store-product-rating {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  color: #64748b;
}

.store-price-block {
  margin: 0.35rem 0 0.65rem;
}

.store-price-was {
  margin: 0 0 0.15rem;
  font-size: 0.82rem;
  color: #64748b;
}

.store-price-strike {
  text-decoration: line-through;
  color: #94a3b8;
}

.store-price-current {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}

.store-nav--simple {
  gap: 0.35rem;
}

.store-simple-footer .footer-legal-bar {
  border-top: none;
  padding-top: 1.5rem;
}

/* Store — AFI WIRELESS-style product grid (store.html one-page shop) */

.page-store--AFIWIRELESS {
  background: #f6f7f9;
  color: #1a1a1a;
}

.page-store--AFIWIRELESS a:hover {
  color: #0f766e;
}

.store-AFIWIRELESS-main {
  padding: 1.75rem 0 3rem;
}

.store-AFIWIRELESS-wrap {
  max-width: 1280px;
}

.store-AFIWIRELESS-page-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
}

.store-AFIWIRELESS-lead {
  margin: 0 0 1.75rem;
  max-width: 62ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #4b5563;
}

.store-AFIWIRELESS-nav {
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.AFIWIRELESS-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.AFIWIRELESS-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.1rem 1.2rem;
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.AFIWIRELESS-card-media {
  display: block;
  margin: 0 0 0.75rem;
  text-align: center;
  background: #fafafa;
  border-radius: 2px;
  overflow: hidden;
}

.AFIWIRELESS-card-media img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  vertical-align: middle;
}

.AFIWIRELESS-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.AFIWIRELESS-badge {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.25rem;
  padding: 0.2rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  background: #c62828;
  border-radius: 2px;
}

.AFIWIRELESS-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.65rem;
  min-height: 1.6rem;
}

.AFIWIRELESS-price-was {
  font-size: 0.9rem;
  color: #9ca3af;
  text-decoration: line-through;
}

.AFIWIRELESS-price-sale {
  font-size: 1.05rem;
  font-weight: 700;
  color: #c62828;
}

.AFIWIRELESS-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f766e;
}

.AFIWIRELESS-card-title {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: #111827;
}

.AFIWIRELESS-card-title a {
  color: inherit;
  text-decoration: none;
}

.AFIWIRELESS-card-title a:hover {
  text-decoration: underline;
  color: #0f766e;
}

.AFIWIRELESS-stock {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #15803d;
}

.AFIWIRELESS-stock--out {
  color: #b91c1c;
}

.AFIWIRELESS-rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0.15rem 0 0.5rem;
}

.AFIWIRELESS-stars {
  display: inline-flex;
  gap: 0.05rem;
  line-height: 1;
  font-size: 0.95rem;
  letter-spacing: -0.12em;
}

.AFIWIRELESS-star {
  color: #d1d5db;
}

.AFIWIRELESS-star.is-on {
  color: #ea580c;
}

.AFIWIRELESS-rating-meta {
  font-size: 0.8rem;
  color: #6b7280;
}

.AFIWIRELESS-add {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.store-pay-note {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #64748b;
}

.store-pay-note code {
  font-size: 0.78rem;
  padding: 0.1rem 0.25rem;
  background: #f1f5f9;
  border-radius: 4px;
  color: #0f172a;
}

@media (max-width: 720px) {
  .AFIWIRELESS-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (max-width: 480px) {
  .AFIWIRELESS-grid {
    grid-template-columns: 1fr;
  }
}

.store-checkout-main {
  padding: 1.5rem 0 3rem;
}

.store-checkout-wrap {
  max-width: 1220px;
}

.store-checkout-breadcrumb {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #64748b;
}

.store-checkout-breadcrumb a {
  color: #0f766e;
}

.store-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.store-checkout-form-card,
.store-checkout-summary-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  padding: 1rem 1rem 1.15rem;
}

.store-checkout-form-card h1 {
  margin: 0 0 0.9rem;
  font-size: 1.55rem;
  color: #111827;
}

.store-checkout-form h2 {
  margin: 1rem 0 0.5rem;
  font-size: 1rem;
  color: #111827;
}

.store-field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

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

.store-field-span-2 {
  grid-column: span 2;
}

.store-field-grid label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

.store-field-grid input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.58rem 0.65rem;
  font: inherit;
}

.store-field-grid input:focus-visible {
  outline: 2px solid #0f766e;
  outline-offset: 1px;
}

.store-payment-methods {
  margin: 0.5rem 0 0.75rem;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.5rem;
}

.store-radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  font-size: 0.92rem;
}

.store-checkout-note {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: #64748b;
}

.store-checkout-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
}

.store-checkout-summary-card h2 {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
}

.store-checkout-empty {
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.9rem;
}

.store-checkout-lines {
  display: grid;
  gap: 0.75rem;
}

.store-checkout-line {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.6rem;
  align-items: center;
}

.store-checkout-line img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.store-checkout-line-title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
}

.store-checkout-line-meta {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: #64748b;
}

.store-checkout-line-total {
  font-size: 0.9rem;
  color: #111827;
}

.store-checkout-totals {
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid #e5e7eb;
}

.store-checkout-totals > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  margin: 0.45rem 0;
  font-size: 0.92rem;
  color: #334155;
}

.store-checkout-total {
  margin-top: 0.65rem !important;
  padding-top: 0.6rem;
  border-top: 1px solid #e5e7eb;
  font-size: 1.08rem !important;
  font-weight: 700;
  color: #111827 !important;
}

@media (max-width: 980px) {
  .store-checkout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .store-field-grid-2 {
    grid-template-columns: 1fr;
  }
  .store-field-span-2 {
    grid-column: span 1;
  }
  .store-checkout-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
