/*
 * Enter any custom CSS here.
 * This file will not be overwritten by theme updates.
 *
 * ── Semantic class hooks (sa-*) ────────────────────────────────────────────
 * Every section, snippet and key element carries a stable `sa-` class you can
 * target with plain CSS — no Tailwind rebuild needed. These classes ship with
 * NO styles of their own; they exist purely as selectors for you to hook onto.
 *
 * Page scope   body.sa-tpl-<template>      e.g. .sa-tpl-product, .sa-tpl-shop
 *              body.sa-no-product-images / .sa-no-category-images when the
 *              matching theme setting is off
 * Chrome       .sa-header .sa-navbar .sa-footer
 *              .sa-navbar-link .sa-navbar-logo .sa-navbar-cart .sa-footer-link
 * Sections     .sa-<component>             e.g. .sa-hero, .sa-features, .sa-faq
 *   variant    .sa-<component>--<variant>  e.g. .sa-hero--split-media
 *   inner      .sa-<component>-title / -subtitle / -eyebrow / -media /
 *              -items / -item / -actions / -link / -price / -badge / -icon
 * Primitives   .sa-btn (+ .sa-btn--<variant>), .sa-section-header
 *              (.sa-section-title / -eyebrow / -subtitle),
 *              .sa-product-card (+ .sa-product-card--<style>,
 *              .sa-product-card-title / -price / -stock / -status / -badges),
 *              .sa-product-form + .sa-add-to-cart, .sa-product-gallery,
 *              .sa-cart-panel + .sa-cart-item, .sa-searchbar, .sa-pagination,
 *              .sa-breadcrumbs, .sa-toasts + .sa-toast, .sa-feedback-card
 *
 * Example — bigger hero heading only on the product page:
 *   .sa-tpl-product .sa-hero-title { font-size: 3rem; }
 * ───────────────────────────────────────────────────────────────────────────
*/

/* Hide platform "Powered by SellAuth" badge (injected outside theme on Base). */
.sa-powered-by,
.sa-powered-by a,
[class*="powered-by"],
[class*="powered_by"],
[class*="sa-powered"],
[data-powered-by],
.powered-by-sellauth,
a[href*="utm_sellauth=powered_by"],
a[href*="sellauth.com/?ref="] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

:root {
  --brand-teal: #2ee6d0;
  --brand-purple: #9b5cff;
  --brand-ink: #0a0714;
}

/* Dual turquoise ↔ purple brand wordmark */
.sa-brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.02em;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.sa-brand-wordmark__escrow {
  background: linear-gradient(120deg, var(--brand-teal) 0%, #7ef0e4 42%, var(--brand-purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sa-brand-wordmark__account {
  color: var(--t-primary, #f3f0ff);
  opacity: 0.92;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.sa-brand-mark--fallback {
  color: var(--brand-ink);
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-purple));
}

/* Soft purple ambient wash over the teal accent system */
html[data-scheme="dark"] body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 12% -10%, rgba(155, 92, 255, 0.16), transparent 60%),
    radial-gradient(ellipse 45% 35% at 88% 0%, rgba(46, 230, 208, 0.08), transparent 55%);
}

html[data-scheme="dark"] #app {
  position: relative;
  z-index: 1;
}

/* Cursor-follow light orb on the page background */
.sa-cursor-orb {
  position: fixed;
  top: 0;
  left: 0;
  width: 14rem;
  height: 14rem;
  margin: -7rem 0 0 -7rem;
  border-radius: 9999px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background:
    radial-gradient(circle at center,
      rgba(46, 230, 208, 0.32) 0%,
      rgba(46, 230, 208, 0.14) 28%,
      rgba(155, 92, 255, 0.12) 52%,
      transparent 72%);
  mix-blend-mode: screen;
  filter: blur(1px);
  will-change: transform, opacity;
  transition: opacity 0.35s ease;
}

.sa-cursor-orb.is-active {
  opacity: 1;
}

@media (pointer: coarse), (max-width: 768px) {
  .sa-cursor-orb {
    display: none !important;
  }
}

.sa-brand-mark--ea {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  object-fit: cover;
  object-position: center center;
  background: #1a1a1a;
  aspect-ratio: 1 / 1;
}

/* Featured accounts sits first — tighten top spacing under sticky nav */
.sa-tpl-shop .sa-products {
  padding-top: calc(var(--section-py, 88px) * 0.72);
}

/* Purchase social-proof toast (bottom-left) */
.sa-purchase-toast {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 40;
  width: calc(100vw - 2rem);
  max-width: 22rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(0.85rem);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.sa-purchase-toast.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.sa-purchase-toast.is-leaving {
  opacity: 0;
  transform: translateY(0.55rem);
}

.sa-purchase-toast__card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 2.25rem 0.85rem 0.85rem;
  border-radius: 1rem;
  background: rgba(12, 16, 28, 0.96);
  border: 1px solid rgba(46, 230, 208, 0.35);
  box-shadow:
    0 0 0 1px rgba(46, 230, 208, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(46, 230, 208, 0.12);
  backdrop-filter: blur(10px);
}

.sa-purchase-toast__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  background: rgba(46, 230, 208, 0.1);
  color: var(--brand-teal, #2ee6d0);
  border: 1px solid rgba(46, 230, 208, 0.18);
}

.sa-purchase-toast__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.sa-purchase-toast__body {
  min-width: 0;
  flex: 1;
}

.sa-purchase-toast__eyebrow {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.2;
  color: rgba(163, 155, 191, 0.95);
}

.sa-purchase-toast__product {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  color: #f5f7ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sa-purchase-toast__time {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-teal, #2ee6d0);
}

.sa-purchase-toast__close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  color: rgba(163, 155, 191, 0.85);
  cursor: pointer;
}

.sa-purchase-toast__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.sa-purchase-toast__close svg {
  width: 0.85rem;
  height: 0.85rem;
}

@media (max-width: 480px) {
  .sa-purchase-toast {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    width: auto;
    max-width: none;
  }
}

/* Trust stats glass panel */
.sa-trust-stats__panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
  border-radius: 1.35rem;
  background: linear-gradient(180deg, rgba(30, 23, 51, 0.88), rgba(15, 10, 28, 0.92));
  border: 1px solid rgba(155, 92, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(46, 230, 208, 0.06) inset,
    0 18px 40px rgba(0, 0, 0, 0.35),
    0 0 28px rgba(155, 92, 255, 0.1);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.sa-trust-stats__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-align: center;
  padding: 1.35rem 0.85rem;
}

.sa-trust-stats__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 0;
  width: 1px;
  height: 64%;
  background: linear-gradient(180deg, transparent, rgba(46, 230, 208, 0.28), rgba(155, 92, 255, 0.35), transparent);
}

.sa-trust-stats__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.75rem;
  color: var(--brand-teal, #2ee6d0);
  background: rgba(46, 230, 208, 0.08);
  border: 1px solid rgba(46, 230, 208, 0.35);
  box-shadow: 0 0 16px rgba(46, 230, 208, 0.12);
}

.sa-trust-stats__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.sa-trust-stats__value {
  margin: 0;
  font-family: var(--ff-heading, inherit);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #f5f3ff;
}

.sa-trust-stats__label {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.2;
  color: rgba(163, 155, 191, 0.95);
}

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

  .sa-trust-stats__item:nth-child(5) {
    grid-column: 1 / -1;
  }

  .sa-trust-stats__item:not(:last-child)::after {
    display: none;
  }

  .sa-trust-stats__item {
    border-bottom: 1px solid rgba(155, 92, 255, 0.16);
  }

  .sa-trust-stats__item:nth-last-child(-n + 1) {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .sa-trust-stats__panel {
    grid-template-columns: 1fr;
  }

  .sa-trust-stats__item:nth-child(5) {
    grid-column: auto;
  }
}

/* Why EscrowAccount comparison */
.sa-why-compare__header {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.sa-why-compare__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-teal, #2ee6d0);
}

.sa-why-compare__eyebrow-line {
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 230, 208, 0.7), transparent);
}

.sa-why-compare__title {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #f5f3ff;
  line-height: 1.1;
}

.sa-why-compare__subtitle {
  display: inline-block;
  margin: 0.9rem 0 0;
  padding: 0.35rem 0.7rem;
  border-radius: 0.45rem;
  font-size: 0.95rem;
  color: #0a0714;
  background: linear-gradient(120deg, var(--brand-teal, #2ee6d0), #7b5cff);
  font-weight: 600;
}

.sa-why-compare__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.1rem;
  align-items: stretch;
}

.sa-why-compare__card {
  border-radius: 1.25rem;
  padding: 1.25rem 1.25rem 1.1rem;
  background: linear-gradient(180deg, rgba(30, 23, 51, 0.92), rgba(12, 8, 24, 0.96));
  border: 1px solid rgba(155, 92, 255, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.sa-why-compare__card--us {
  border-color: rgba(46, 230, 208, 0.45);
  box-shadow:
    0 0 0 1px rgba(46, 230, 208, 0.08) inset,
    0 0 28px rgba(46, 230, 208, 0.12),
    0 18px 40px rgba(0, 0, 0, 0.32);
}

.sa-why-compare__card--them {
  opacity: 0.92;
  background: linear-gradient(180deg, rgba(22, 18, 34, 0.88), rgba(10, 8, 18, 0.94));
}

.sa-why-compare__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.sa-why-compare__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.sa-why-compare__brand-mark {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.45rem;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.sa-why-compare__brand-name {
  font-family: var(--ff-heading, inherit);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f5f3ff;
}

.sa-why-compare__brand-name--muted {
  color: rgba(163, 155, 191, 0.95);
}

.sa-why-compare__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #0a0714;
  background: linear-gradient(120deg, var(--brand-teal, #2ee6d0), #8d6bff);
  box-shadow: 0 0 16px rgba(46, 230, 208, 0.25);
}

.sa-why-compare__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sa-why-compare__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.sa-why-compare__icon {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
}

.sa-why-compare__icon svg {
  width: 0.78rem;
  height: 0.78rem;
}

.sa-why-compare__row--good .sa-why-compare__icon {
  color: #0a0714;
  background: #34d399;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.35);
}

.sa-why-compare__row--bad .sa-why-compare__icon {
  color: #fff;
  background: #f43f5e;
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.28);
}

.sa-why-compare__label {
  display: block;
  font-size: 0.75rem;
  color: rgba(163, 155, 191, 0.95);
  margin-bottom: 0.15rem;
}

.sa-why-compare__value {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #f5f3ff;
  line-height: 1.25;
}

.sa-why-compare__card--them .sa-why-compare__value {
  color: rgba(214, 184, 196, 0.92);
}

@media (max-width: 860px) {
  .sa-why-compare__grid {
    grid-template-columns: 1fr;
  }
}