/*
  Shop hub (/products/) layout. One job per section: choose a kit, see what
  every kit shares, watch it work, trust the seller, answer the last doubts.
  Loaded after theme-apple.css, only by /products/.
*/

.sx {
  --sx-ink: #1d1d1f;
  --sx-muted: #6e6e73;
  --sx-line: rgba(0, 0, 0, 0.08);
  --sx-surface: #f5f5f7;
  --sx-red: #a91515;
  --sx-red-dark: #851111;
  --sx-radius: 24px;
  --sx-gap: clamp(56px, 8vw, 104px);
  color: var(--sx-ink);
}

.sx-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.sx-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sx-red);
}

.sx h1,
.sx h2,
.sx h3 {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.028em;
  text-wrap: balance;
  margin: 0;
}

.sx-head {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
}

.sx-head h2 {
  margin-top: 10px;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.08;
}

.sx-head p {
  margin: 14px auto 0;
  color: var(--sx-muted);
  font-size: 1.06rem;
  line-height: 1.55;
}

.sx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--sx-red);
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.sx-btn:hover,
.sx-btn:focus-visible {
  background: var(--sx-red-dark);
  color: #fff;
}

.sx-btn--ghost {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 1px currentColor;
}

.sx-btn--ghost:hover,
.sx-btn--ghost:focus-visible {
  background: rgba(127, 127, 127, 0.12);
  color: inherit;
}

.sx-link {
  color: var(--sx-red);
  font-weight: 600;
  text-decoration: none;
}

.sx-link:hover,
.sx-link:focus-visible {
  text-decoration: underline;
}

/* ---------------------------------------------------------------- Hero */

.sx-hero {
  background: radial-gradient(120% 90% at 78% 40%, #2a2a2e 0%, #0b0b0c 62%);
  color: #f5f5f7;
  padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}

.sx-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}

.sx-hero .sx-eyebrow {
  color: #ff8a80;
}

.sx-hero h1 {
  margin-top: 14px;
  font-size: clamp(2.3rem, 5.6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.02;
}

.sx-hero__lede {
  max-width: 520px;
  margin: 20px 0 0;
  color: #a1a1a6;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.55;
}

.sx-hero__price {
  margin: 26px 0 0;
  font-size: 1rem;
  color: #d2d2d7;
}

.sx-hero__price strong {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-right: 6px;
}

.sx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.sx-hero__bnpl {
  margin: 14px 0 0;
  color: #86868b;
  font-size: 0.86rem;
}

.sx-hero__media {
  margin: 0;
  position: relative;
}

.sx-hero__media::before {
  content: "";
  position: absolute;
  inset: 12% 8% 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(169, 21, 21, 0.35), transparent);
  filter: blur(24px);
}

.sx-hero__media img {
  position: relative;
  display: block;
  width: min(100%, 520px);
  height: auto;
  margin: 0 auto;
}

.sx-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 36px 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #a1a1a6;
  font-size: 0.9rem;
}

.sx-hero__proof strong {
  display: block;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---------------------------------------------------------------- Kits */

.sx-kits {
  padding: var(--sx-gap) 0;
  background: #fff;
}

.sx-kit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.sx-kit {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--sx-radius);
  background: #fff;
  box-shadow: 0 0 0 1px var(--sx-line);
  overflow: hidden;
}

.sx-kit--featured {
  box-shadow: 0 0 0 2px var(--sx-ink), 0 24px 60px rgba(0, 0, 0, 0.1);
}

.sx-kit__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--sx-ink);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.sx-kit__media {
  display: block;
  aspect-ratio: 1 / 1;
  background: #fff;
}

.sx-kit__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8%;
  transition: transform 0.4s ease;
}

.sx-kit:hover .sx-kit__media img {
  transform: scale(1.03);
}

.sx-kit__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 26px;
}

.sx-kit__zones {
  color: var(--sx-muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.sx-kit h3 {
  margin-top: 6px;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.15;
}

.sx-kit h3 a {
  color: inherit;
  text-decoration: none;
}

.sx-kit__for {
  margin: 8px 0 0;
  color: var(--sx-muted);
  font-size: 0.97rem;
  line-height: 1.5;
}

.sx-kit__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 20px 0 0;
}

.sx-kit__price strong {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.sx-kit__price span {
  color: var(--sx-muted);
  font-size: 0.88rem;
}

.sx-kit__save {
  display: inline-block;
  margin-top: 6px;
  color: #1e7e34;
  font-size: 0.86rem;
  font-weight: 600;
}

.sx-kit__list {
  margin: 18px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--sx-line);
  display: grid;
  gap: 8px;
  font-size: 0.94rem;
  line-height: 1.45;
}

.sx-kit__list li {
  position: relative;
  padding-left: 22px;
}

.sx-kit__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--sx-ink);
  border-bottom: 2px solid var(--sx-ink);
  transform: rotate(-45deg);
}

.sx-kit__actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.sx-kit__actions .sx-btn {
  width: 100%;
}

.sx-kit__actions .sx-link {
  justify-self: center;
  font-size: 0.94rem;
}

.sx-kit__bnpl {
  margin: 8px 0 0;
  color: var(--sx-muted);
  font-size: 0.82rem;
}

.sx-addon {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding: 18px 24px;
  border-radius: var(--sx-radius);
  background: var(--sx-surface);
}

.sx-addon img {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
  padding: 8px;
}

.sx-addon h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.sx-addon h3 a {
  color: inherit;
  text-decoration: none;
}

.sx-addon p {
  margin: 4px 0 0;
  color: var(--sx-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.sx-addon__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.sx-addon__cta strong {
  font-size: 1.2rem;
}

.sx-kits__note {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--sx-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  text-align: center;
}

/* ---------------------------------------------------------------- Core specs */

.sx-core {
  padding: var(--sx-gap) 0;
  background: var(--sx-surface);
}

.sx-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sx-spec {
  padding: 28px 24px;
  border-radius: var(--sx-radius);
  background: #fff;
}

.sx-spec strong {
  display: block;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.sx-spec strong small {
  font-size: 0.5em;
  letter-spacing: -0.01em;
  margin-left: 2px;
}

.sx-spec span {
  display: block;
  margin-top: 10px;
  font-weight: 600;
}

.sx-spec p {
  margin: 6px 0 0;
  color: var(--sx-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.sx-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 16px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--sx-radius);
  background: #fff;
}

.sx-box img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.sx-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.sx-box ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.97rem;
}

.sx-box li {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--sx-line);
}

.sx-box p {
  margin: 16px 0 0;
  color: var(--sx-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ---------------------------------------------------------------- Trust */

.sx-trust {
  padding: var(--sx-gap) 0;
  background: #fff;
}

.sx-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sx-trust-grid article {
  padding: 26px 22px;
  border-radius: var(--sx-radius);
  background: var(--sx-surface);
}

.sx-trust-grid svg {
  width: 28px;
  height: 28px;
  color: var(--sx-red);
}

.sx-trust-grid strong {
  display: block;
  margin-top: 12px;
  font-size: 1.02rem;
}

.sx-trust-grid p {
  margin: 6px 0 0;
  color: var(--sx-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.sx-seller {
  margin: 24px 0 0;
  color: var(--sx-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
}

.sx-trust .assurance-payments {
  margin-top: 20px;
}

/* ---------------------------------------------------------------- Uses */

.sx-uses {
  padding: var(--sx-gap) 0;
  background: var(--sx-surface);
}

.sx-uses__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sx-uses__grid div {
  padding: 22px;
  border-radius: var(--sx-radius);
  background: #fff;
}

.sx-uses__grid h3 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sx-muted);
}

.sx-uses__grid ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.sx-uses__grid a {
  color: var(--sx-ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.sx-uses__grid a:hover,
.sx-uses__grid a:focus-visible {
  color: var(--sx-red);
  text-decoration: underline;
}

/* ---------------------------------------------------------------- FAQ */

.sx .shop-faq {
  padding: var(--sx-gap) 0;
  background: #fff;
}

.sx-faq {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--sx-line);
}

.sx-faq details {
  border-bottom: 1px solid var(--sx-line);
}

.sx-faq summary {
  position: relative;
  padding: 22px 44px 22px 0;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.sx-faq summary::-webkit-details-marker {
  display: none;
}

.sx-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--sx-muted);
}

.sx-faq details[open] summary::after {
  content: "\2212";
}

.sx-faq details p {
  margin: 0 0 20px;
  color: #424245;
  font-size: 1rem;
  line-height: 1.6;
}

/* ---------------------------------------------------------------- Final CTA */

.sx-final {
  padding: clamp(56px, 8vw, 96px) 0;
  background: #0b0b0c;
  color: #f5f5f7;
  text-align: center;
}

.sx-final h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.06;
}

.sx-final p {
  margin: 14px auto 0;
  max-width: 560px;
  color: #a1a1a6;
  line-height: 1.55;
}

.sx-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

/* ---------------------------------------------------------------- Responsive */

@media (max-width: 980px) {
  .sx-kit-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .sx-kit__media {
    aspect-ratio: 4 / 3;
  }

  .sx-spec-grid,
  .sx-trust-grid,
  .sx-uses__grid {
    grid-template-columns: 1fr 1fr;
  }

  .sx-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .sx-hero__grid {
    grid-template-columns: 1fr;
  }

  .sx-hero__media {
    order: -1;
  }

  .sx-hero__media img {
    width: min(56%, 240px);
  }

  .sx-hero__proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .sx-kit__media {
    aspect-ratio: 16 / 10;
  }

  .sx-kit__media img {
    padding: 4% 12%;
  }

  .sx-kit__body {
    padding: 18px 20px 22px;
  }

  .sx-addon {
    grid-template-columns: 64px 1fr;
    padding: 16px;
  }

  .sx-addon img {
    width: 64px;
    height: 64px;
  }

  .sx-addon__cta {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .sx-box ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .sx-spec {
    padding: 20px 16px;
  }

  .sx-spec p {
    font-size: 0.84rem;
  }

  .sx-trust-grid,
  .sx-uses__grid {
    grid-template-columns: 1fr;
  }

  .sx-hero__actions .sx-btn {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sx-kit__media img,
  .sx-btn {
    transition: none;
  }
}

/* ---------------------------------------------------------------- Demo watch page */

.sx-watch {
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px);
  background: radial-gradient(120% 90% at 50% 0%, #2a2a2e 0%, #0b0b0c 60%);
  color: #f5f5f7;
  text-align: center;
}

.sx-watch .sx-eyebrow {
  color: #ff8a80;
}

.sx-watch h1 {
  margin-top: 12px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.04;
}

.sx-watch__lede {
  max-width: 620px;
  margin: 16px auto 0;
  color: #a1a1a6;
  font-size: 1.08rem;
  line-height: 1.55;
}

.sx-watch__frame {
  position: relative;
  max-width: 960px;
  margin: 32px auto 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--sx-radius);
  background: #050607;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.sx-watch__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sx-watch__caption {
  margin: 14px 0 0;
  color: #86868b;
  font-size: 0.86rem;
}

.sx-spec-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 760px) {
  .sx-spec-grid--3 {
    grid-template-columns: 1fr;
  }
}
