/* Buyer-facing storefront clarity. Loaded after the compiled stylesheet.
   Iran activation uses its own document and does not include this file. */

html[lang="fa"] [class*="tracking-"]:not(.brand-hero-mark):not(.brand-logo) {
  letter-spacing: 0;
}

.hero-actions {
  margin-top: 1.75rem;
}

.hero-guide-nav a {
  color: rgba(255, 255, 255, 0.88);
  text-underline-offset: 0.22em;
}

.hero-guide-nav a:hover,
.hero-guide-nav a:focus-visible {
  color: #fff;
}

.hero-cta-primary:focus-visible,
.hero-cta-secondary:focus-visible,
.plan-cta-btn:focus-visible,
.plan-details-link:focus-visible,
.catalog-chip:focus-visible,
.trust-rail-item:focus-visible,
.buyer-path-grid a:focus-visible,
.hero-guide-nav a:focus-visible {
  outline: 2px solid rgba(110, 231, 183, 0.95);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .hero-section {
    align-items: flex-start;
    min-height: 0;
    padding-bottom: 3.25rem;
  }

  .hero-content .brand-hero-mark {
    margin-bottom: 0.85rem;
    font-size: 2.15rem;
  }

  .hero-lead {
    margin-top: 1rem;
  }

  .hero-actions {
    margin-top: 1.35rem;
  }

  .hero-guide-nav {
    margin-top: 1.15rem;
    gap: 0.55rem 0.85rem;
  }
}

.plan-price-label {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  line-height: 1.4;
}

.kit-box-note {
  margin-top: 0.85rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(110, 231, 183, 0.32);
  background: rgba(16, 185, 129, 0.1);
  color: rgba(236, 253, 245, 0.96);
  font-size: 0.82rem;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
}

.plan-cta-btn {
  min-height: 2.75rem;
}

.spec-chip-lbl {
  color: rgba(255, 255, 255, 0.74);
}

.plans-scroll-hint {
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0;
}

.buyer-path-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
}

.kit-compare {
  padding-bottom: 0.5rem;
}

.kit-compare-table {
  width: 100%;
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.kit-compare-table caption {
  display: block;
  width: 100%;
  caption-side: top;
  text-align: start;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 0.75rem;
}

.kit-compare-table th,
.kit-compare-table td {
  text-align: start;
  vertical-align: top;
  padding: 0.85rem 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow-wrap: anywhere;
}

.kit-compare-table thead th {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 600;
}

.kit-compare-table tbody th {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 650;
}

.kit-compare-table th:nth-child(1),
.kit-compare-table td:nth-child(1) { width: 30%; }
.kit-compare-table th:nth-child(2),
.kit-compare-table td:nth-child(2) { width: 18%; }
.kit-compare-table th:nth-child(3),
.kit-compare-table td:nth-child(3) { width: 34%; }
.kit-compare-table th:nth-child(4),
.kit-compare-table td:nth-child(4) { width: 18%; }

.kit-compare-price {
  display: inline-block;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: #fff;
  letter-spacing: 0;
}

.kit-compare-key {
  display: none;
}

.kit-compare-note {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.55;
}

@media (max-width: 767px) {
  .kit-compare {
    padding-bottom: 5.75rem;
  }

  .kit-compare-table,
  .kit-compare-table tbody,
  .kit-compare-table tr,
  .kit-compare-table td,
  .kit-compare-table tbody th,
  .kit-compare-table th:nth-child(n),
  .kit-compare-table td:nth-child(n) {
    display: block;
    width: 100%;
    overflow-wrap: break-word;
  }

  .kit-compare-table {
    table-layout: auto;
  }

  .kit-compare-table thead {
    display: none;
  }

  .kit-compare-table tr {
    margin: 0 0 0.75rem;
    padding: 0.85rem 0.95rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.035);
  }

  .kit-compare-table td {
    padding: 0.28rem 0;
    border: 0;
  }

  .kit-compare-table tr > :first-child {
    margin-bottom: 0.35rem;
    font-size: 1rem;
  }

  .kit-compare-key {
    display: block;
    margin-bottom: 0.12rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.72rem;
    font-weight: 600;
  }

  .shop-pdp {
    padding-bottom: 6.5rem;
  }
}

.catalog-photo {
  display: block;
  width: 100%;
  height: 12rem;
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(circle at 30% 18%, rgba(52, 211, 153, 0.12), transparent 48%),
    #07080a;
}

.en-kit-price {
  font-size: 1.65rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

/* The offer banner is fixed. Reserve its measured height before JS runs,
   or the commerce column and the navbar jump on the first paint. */
body.has-top-banner {
  --top-banner-h: 53px;
}
@media (min-width: 1100px) {
  body.has-top-banner {
    --top-banner-h: 56px;
  }
}

/* The hero entrance starts at opacity 0, so the largest text cannot paint
   until the animation finishes. Paint it immediately. */
.hero-content > *:nth-child(n),
.brand-hero-mark {
  animation: none;
}

/* Keep the hero and the kit row in the first layout. Later sections stay
   out of that work until they are near the viewport. */
#service-plans,
#features,
#coverage,
#how,
#stats,
#accessories,
#why-starping,
#install-help,
#support {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

.shop-pdp-media {
  min-height: 260px;
}
.shop-pdp-media img {
  aspect-ratio: 1000 / 751;
}
@media (min-width: 640px) {
  .shop-pdp-media {
    min-height: 320px;
  }
}
