/* MARK: Content page shell */

/* MARK: Page foundations */

.shop-content-page--v2 {
  overflow: hidden;
  background: var(--calabash-white);
  color: var(--calabash-navy);
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.65;
}

.shop-content-page--v2 *,
.shop-content-page--v2 *::before,
.shop-content-page--v2 *::after {
  box-sizing: border-box;
}

.shop-content-page--v2 a {
  color: var(--calabash-company-orange-a11y);
  font-weight: 700;
  text-decoration: underline;
}

.shop-content-page--v2 .site-container {
  width: min(
    calc(100% - (var(--calabash-page-padding) * 2)),
    var(--calabash-page-max-width)
  );
  margin-inline: auto;
}

.shop-content-v2-eyebrow {
  margin: 0 0 14px;
  color: var(--calabash-company-orange-a11y);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* MARK: Hero */

.shop-content-v2-hero {
  padding: clamp(48px, 6vw, 76px) 0 40px;
  background: linear-gradient(120deg, var(--calabash-turquoise-08) 0%, var(--calabash-off-white) 50%);
}

.shop-content-v2-hero__inner {
  max-width: 780px;
}

.shop-content-v2-hero h1 {
  margin: 0 0 16px;
  color: var(--calabash-navy);
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.shop-content-v2-hero__intro {
  max-width: 660px;
  margin: 0;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--calabash-muted);
}

/* MARK: Body layout — TOC (when present) + content */

.shop-content-v2-body {
  padding: 0 0 64px;
}

.shop-content-v2-body__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 820px;
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
}

.shop-content-v2-body__grid.has-toc {
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  max-width: none;
}

.shop-content-v2-toc {
  position: sticky;
  top: 24px;
  margin-top: 22px;
  padding: 22px 22px 24px;
  background: var(--calabash-off-white);
  border: 1px solid var(--calabash-border);
  border-radius: 12px;
}

.shop-content-v2-toc__heading {
  margin: 0 0 12px;
  color: var(--calabash-company-orange-a11y);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shop-content-v2-toc ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: shop-content-toc;
}

.shop-content-v2-toc li {
  counter-increment: shop-content-toc;
}

.shop-content-v2-toc a {
  display: block;
  color: var(--calabash-text);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
}

.shop-content-v2-toc a::before {
  content: counter(shop-content-toc) ". ";
  color: var(--calabash-company-orange-a11y);
  font-weight: 800;
}

.shop-content-v2-toc a:hover,
.shop-content-v2-toc a:focus-visible {
  color: var(--calabash-company-orange-a11y);
  text-decoration: underline;
}

.shop-content-v2-content {
  min-width: 0;
}

/* MARK: Sections */

.shop-content-v2-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--calabash-border);
  scroll-margin-top: 24px;
}

.shop-content-v2-section:first-child {
  padding-top: 0;
}

.has-toc .shop-content-v2-section:first-child {
  padding-top: 22px;
}

.shop-content-v2-section:last-child {
  border-bottom: 0;
}

.shop-content-v2-section h2 {
  margin: 0 0 14px;
  color: var(--calabash-navy);
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.shop-content-v2-section p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--calabash-text);
}

.shop-content-v2-section p:last-child {
  margin-bottom: 0;
}

.shop-content-v2-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.shop-content-v2-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--calabash-text);
}

.shop-content-v2-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--calabash-company-orange-a11y);
  border-radius: 50%;
}

/* MARK: Responsive layout */

@media (max-width: 900px) {
  .shop-content-v2-body__grid.has-toc {
    grid-template-columns: 1fr;
    max-width: 820px;
  }

  .shop-content-v2-toc {
    position: static;
    order: -1;
    margin-top: 0;
  }

  .has-toc .shop-content-v2-section:first-child {
    padding-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-content-page--v2 *,
  .shop-content-page--v2 *::before,
  .shop-content-page--v2 *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
