.cart-page {
  padding: 2rem 0 4rem;
  min-height: 60vh;
}

.cart-page__inner {
  max-width: 1100px;
}

.cart-page__head {
  margin-bottom: 2rem;
}

.cart-page__head h1 {
  font-family: var(--font-display, "Bebas Neue", sans-serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: 0.02em;
  margin: 0.35rem 0 0.5rem;
}

.cart-page__lead {
  color: var(--text-muted, #9ca3af);
  max-width: 42rem;
  margin: 0;
  line-height: 1.55;
}

.cart-breadcrumb {
  font-size: 0.875rem;
  color: var(--text-muted, #9ca3af);
}

.cart-breadcrumb a {
  color: var(--blue, #4d9fff);
  text-decoration: none;
}

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

.cart-breadcrumb__sep {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.cart-layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .cart-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    align-items: start;
  }
}

.cart-panel,
.cart-summary {
  background: rgba(12, 14, 22, 0.85);
  border: 1px solid var(--border, #2a2f3d);
  border-radius: var(--radius, 10px);
  padding: 1.25rem 1.5rem;
  min-width: 0;
}

.cart-panel__title,
.cart-summary__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--text, #f0f2f8);
}

.cart-empty {
  color: var(--text-muted, #9ca3af);
  margin: 0;
}

.cart-empty a {
  color: var(--blue, #4d9fff);
}

.cart-table-wrap {
  overflow-x: auto;
}

.cart-item__meta {
  font-size: 0.8rem;
  color: var(--muted, #94a3b8);
  margin-top: 0.2rem;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.cart-table th {
  text-align: left;
  font-weight: 600;
  color: var(--text-muted, #9ca3af);
  padding: 0 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border, #2a2f3d);
}

.cart-table td {
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--border, #2a2f3d);
  vertical-align: middle;
}

.cart-table tr:last-child td {
  border-bottom: none;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--border, #2a2f3d);
  border-radius: 6px;
  overflow: hidden;
}

.cart-qty__btn {
  width: 2rem;
  height: 2rem;
  border: none;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text, #f0f2f8);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.cart-qty__btn:hover {
  background: rgba(77, 159, 255, 0.15);
}

.cart-qty__val {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 600;
}

.cart-remove {
  background: none;
  border: none;
  color: #ff6b6b;
  cursor: pointer;
  font-size: 0.875rem;
  text-decoration: underline;
  padding: 0;
}

.cart-remove:hover {
  color: #ff9999;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.cart-summary__row--discount {
  color: #5eead4;
}

.cart-summary__row--discount strong {
  color: #5eead4;
}

.cart-summary__row--total {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.1));
}

.cart-promo {
  margin: 0 0 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.1));
}

.cart-promo__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-muted, #9ca3af);
}

.cart-promo__row {
  display: block;
  margin-bottom: 0.5rem;
}

.cart-promo__actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
}

.cart-promo__input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--border, #2a2f3d);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  font: inherit;
  text-transform: uppercase;
}

.cart-promo__msg {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted, #9ca3af);
}

.cart-promo__msg.is-success {
  color: #5eead4;
}

.cart-promo__msg.is-error {
  color: #f87171;
}

.cart-customer-notes {
  margin: 0 0 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.1));
}

.cart-customer-notes__label {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-muted, #9ca3af);
}

.cart-customer-notes__label span,
.cart-customer-notes__hint {
  color: var(--text-muted, #9ca3af);
  font-size: 0.78rem;
  font-weight: 500;
}

.cart-customer-notes__input {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  box-sizing: border-box;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border, #2a2f3d);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  font: inherit;
}

.cart-customer-notes__input:focus {
  outline: none;
  border-color: var(--blue, #4d9fff);
  box-shadow: 0 0 0 3px rgba(77, 159, 255, 0.14);
}

.cart-customer-notes__hint {
  margin: 0.45rem 0 0;
  line-height: 1.45;
}

.cart-summary__note {
  font-size: 0.875rem;
  color: var(--text-muted, #9ca3af);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.cart-summary__note a {
  color: var(--blue, #4d9fff);
}

.cart-summary__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cart-summary__actions .btn {
  width: 100%;
  box-sizing: border-box;
}

.cart-summary__fine {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  min-height: 1.25rem;
}

.cart-summary__fine.is-success {
  color: #5ee89a;
}

.cart-summary__fine.is-error {
  color: #ff6b6b;
}

.nav__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.nav__cart:hover {
  color: var(--blue, #4d9fff);
}

.nav__cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--gold, #d4af37);
  color: #030306;
  border-radius: 999px;
}

.nav__cart-badge[hidden] {
  display: none;
}

.build-plan-page {
  padding: calc(var(--header-h, 72px) + 2.75rem) 0 4rem;
  min-height: 60vh;
}

.build-plan-page__head {
  margin-bottom: 2.75rem;
}

.build-plan-page__head h1 {
  font-family: var(--font-display, "Bebas Neue", sans-serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 0.5rem;
}

.build-plan-page__lead {
  color: var(--muted, #94a3b8);
  max-width: 36rem;
  margin: 0.5rem 0 0;
}

.build-plan-layout {
  max-width: 920px;
}

.build-plan-card {
  background: rgba(12, 14, 22, 0.92);
  border: 1px solid #2a2f3d;
  border-radius: 14px;
  padding: 1.5rem;
}

.build-plan-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.build-plan-card__grid--single {
  grid-template-columns: 1fr;
  max-width: 420px;
  margin: 0 auto;
}

.build-plan-card__col {
  min-width: 0;
}

.build-plan-card__col--screens {
  padding-left: 1.5rem;
  border-left: 1px solid rgba(42, 47, 61, 0.85);
}

.build-plan-card__grid--single .build-plan-card__col--screens {
  display: none;
}

.build-plan-card__title {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
}

.build-plan-card__term {
  margin: 0 0 1.25rem;
  color: var(--muted, #94a3b8);
  font-size: 0.9rem;
}

.build-plan-price {
  border: 1px solid rgba(42, 47, 61, 0.95);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  margin-bottom: 1.25rem;
  background: rgba(8, 11, 18, 0.4);
}

.build-plan-card__col--summary .build-plan-actions {
  margin-top: 0.25rem;
}

.build-plan-price__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: #9ca3af;
}

.build-plan-price__row strong {
  color: #f0f2f8;
}

.build-plan-price__total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.65rem;
  padding-top: 0.75rem;
  border-top: 1px solid #2a2f3d;
  font-size: 1.05rem;
  font-weight: 600;
}

.build-plan-price__total strong {
  color: #7dd3fc;
  font-size: 1.25rem;
}

.build-plan-price__row--promo strong {
  color: #86efac;
}

.build-plan-price__promo-note {
  margin: -0.35rem 0 0.65rem;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.4;
}

.cart-payment-note {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(71, 85, 105, 0.45);
}

.cart-payment-note__title {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}

.cart-payment-note__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #cbd5e1;
}

.cart-gateway-list {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-gateway-option {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(71, 85, 105, 0.5);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.cart-gateway-option:has(input:checked) {
  border-color: rgba(56, 189, 248, 0.65);
  background: rgba(14, 165, 233, 0.08);
}

.cart-gateway-option input {
  margin-top: 0.2rem;
  accent-color: #38bdf8;
}

.cart-gateway-option__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.cart-gateway-option__name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.35;
}

.cart-gateway-option__badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-left: 0.35rem;
}

.cart-gateway-option__hint {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.4;
}

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

.cart-item__meta a {
  color: #7dd3fc;
  font-size: 0.8rem;
  text-decoration: none;
}

.cart-item__meta a:hover {
  text-decoration: underline;
}

/* —— Build plan: screens / connections (right column) —— */
.build-plan-screens {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.build-plan-screens__header {
  margin-bottom: 1.15rem;
}

.build-plan-screens__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #60a5fa;
}

.build-plan-screens__header h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f0f2f8;
}

.build-plan-screens__lead {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #94a3b8;
}

.build-plan-screens__picker {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.15rem 1rem 1.05rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.65) 0%, rgba(8, 12, 22, 0.9) 100%);
  border: 1px solid rgba(71, 85, 105, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.build-plan-screens__tiers {
  flex: 1;
}

.build-plan-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.build-plan-stepper__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.85);
  color: #e2e8f0;
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.build-plan-stepper__btn:hover:not(:disabled) {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
}

.build-plan-stepper__btn:active:not(:disabled) {
  transform: scale(0.96);
}

.build-plan-stepper__btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.build-plan-stepper__display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  padding: 0.15rem 0.5rem;
}

.build-plan-stepper__value {
  font-size: 2.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #f8fafc;
}

.build-plan-stepper__unit {
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.build-plan-screens__status {
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(51, 65, 85, 0.55);
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: center;
  color: #94a3b8;
}

.build-plan-screens__status strong {
  color: #e2e8f0;
  font-weight: 600;
}

.build-plan-screens__status-term {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #64748b;
}

.build-plan-screens__tiers-label {
  margin: 0 0 0.65rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.build-plan-tier-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.build-plan-tier {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: center;
  gap: 0.65rem 0.75rem;
  padding: 0.7rem 0.85rem;
  text-align: left;
  border-radius: 10px;
  border: 1px solid rgba(42, 47, 61, 0.9);
  background: rgba(8, 11, 18, 0.55);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.build-plan-tier.is-active {
  border-color: rgba(56, 189, 248, 0.55);
  background: linear-gradient(135deg, rgba(14, 116, 144, 0.18) 0%, rgba(8, 11, 18, 0.75) 100%);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.12);
}

.build-plan-tier__range {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.8);
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #94a3b8;
  letter-spacing: -0.02em;
}

.build-plan-tier.is-active .build-plan-tier__range {
  background: rgba(56, 189, 248, 0.2);
  color: #7dd3fc;
}

.build-plan-tier__copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.build-plan-tier__title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
}

.build-plan-tier__desc {
  font-size: 0.65rem;
  line-height: 1.3;
  color: #64748b;
}

.build-plan-tier.is-active .build-plan-tier__desc {
  color: #94a3b8;
}

.build-plan-tier__rate {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  white-space: nowrap;
}

.build-plan-tier__amount {
  font-size: 0.95rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #f1f5f9;
}

.build-plan-tier.is-active .build-plan-tier__amount {
  color: #7dd3fc;
}

.build-plan-tier__per {
  font-size: 0.65rem;
  font-weight: 500;
  color: #64748b;
  margin-top: 0.05rem;
}

@media (max-width: 720px) {
  .build-plan-card__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .build-plan-card__col--screens {
    padding-left: 0;
    border-left: none;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(42, 47, 61, 0.85);
  }

  .build-plan-card__grid--single {
    max-width: none;
  }
}

.build-plan-note {
  font-size: 0.85rem;
  color: #9ca3af;
  margin: 0 0 1rem;
}

.build-plan-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.build-plan-status {
  margin-top: 0.75rem;
}

.pricing__cart-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.pricing__cart-actions .btn--outline {
  border-color: var(--border, #2a2f3d);
}

.cart-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: rgba(12, 14, 22, 0.95);
  border: 1px solid rgba(94, 232, 154, 0.4);
  border-radius: 8px;
  color: #5ee89a;
  font-size: 0.9rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  animation: cart-toast-in 0.25s ease;
}

@keyframes cart-toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.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;
}

.cart-summary .recaptcha-field {
  margin: 0 0 1rem;
  min-height: 78px;
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.cart-summary .recaptcha-field .g-recaptcha {
  display: inline-block;
  max-width: 100%;
  transform-origin: center top;
}

@media (max-width: 420px) {
  .cart-summary .recaptcha-field .g-recaptcha {
    transform: scale(0.92);
  }
}
