/*
Theme Name: Happy People Pilates
Theme URI: https://happypeoplegiftco.com/
Author: Happy People Gift Co.
Description: Happy People Pilates WordPress theme with wellness hero, gift concierge, product cards, lead story, The Hundred blog, story submission, and newsletter sections.
Version: 1.0.4
Text Domain: happy-people-pilates
*/

:root {
  --color-primary: #8FA99A;
  --color-secondary: #B8AEC9;
  --color-accent: #E8C8C3;
  --color-background: #FAF7F2;
  --color-text: #2E3440;
  --color-surface: #ffffff;
  --color-muted: #68736c;
  --color-border: #dedbd0;
  --shadow: 0 18px 45px rgba(23, 35, 29, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; margin-top: 0 !important; }
html, body { padding-top: 0; }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: Inter, Outfit, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.btn, .hero-btn, .modal-primary-btn, .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--color-accent);
  color: var(--color-text);
  border: 0;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
}
.btn:hover, .hero-btn:hover, .modal-primary-btn:hover, .nav-cta:hover {
  background: color-mix(in srgb, var(--color-accent) 86%, #000);
  color: var(--color-text);
}

.site-header {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 9998;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 8px 24px rgba(23, 35, 29, 0.08);
}
body.admin-bar .site-header { top: 0; }
body.admin-bar {
  margin-top: 0;
}
.announcement-bar {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  background: var(--color-secondary);
  color: var(--color-text);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}
.header-menu-row {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 0 max(28px, calc((100vw - 1180px) / 2));
  background: #fff;
}
.logo {
  color: var(--color-primary);
  font-weight: 900;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  white-space: nowrap;
}
.logo img { max-height: 46px; width: auto; }
.nav-center { min-width: 0; overflow-x: auto; }
.nav-list {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: max-content;
}
.nav-list a {
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--color-primary); }
.header-actions { display: flex; justify-content: flex-end; }
.header-menu-row .nav-cta {
  min-height: 40px;
  padding: 0 14px;
  gap: 7px;
  font-size: 0.82rem;
  white-space: nowrap;
}
.gift-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.gift-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.55)) drop-shadow(0 1px 1px rgba(83,56,18,0.22));
}
.anchor-target {
  display: block;
  position: relative;
  top: -112px;
  visibility: hidden;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--color-text);
}
.hero img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  opacity: 0.68;
  transform: scale(1.06);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.hero-content { color: #fff; }
.hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 5vw, 5.7rem);
  line-height: 0.98;
  font-weight: 900;
}
.hero p {
  max-width: 620px;
  margin: 0 0 28px;
  font-size: 1.14rem;
  color: rgba(255,255,255,0.9);
}

.products, .concierge-section, .lead-story-section, .story-submission, .blog, .newsletter-section, .archive-page { padding: 76px 0; }
.products {
  padding-bottom: 40px;
  background: #ffffff;
}
.story-tag, .tag, .product-label, .product-category, .blog-category {
  color: color-mix(in srgb, var(--color-secondary) 72%, var(--color-text));
  font-size: 0.74rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.featured-title, .products h2, .lead-story-content h2, .blog h2, .gift-story-cta h2, .newsletter-card h2 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.03;
  font-weight: 900;
}
.featured-excerpt, .products > .container > p, .blog-card p, .product-description, .editorial-body {
  color: var(--color-muted);
}
.blog-read, .featured-link { color: var(--color-primary); font-weight: 900; }
.secondary-btn {
  background: var(--color-primary);
}
.secondary-btn:hover {
  background: color-mix(in srgb, var(--color-primary) 86%, #000);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}
.tab {
  padding: 9px 13px;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 4px;
  color: var(--color-muted);
  font-weight: 800;
  cursor: pointer;
}
.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.section-heading-row h2 {
  margin-bottom: 0;
}
.section-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--color-primary);
  border-radius: 4px;
  color: var(--color-primary);
  font-weight: 900;
  white-space: nowrap;
}
.section-link:hover {
  background: var(--color-primary);
  color: #fff;
}
.tab.active {
  color: #fff;
  border-color: var(--color-primary);
  background: var(--color-primary);
}
.products-grid, .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.shopify-collection-buy-button {
  margin-top: 32px;
}

.shopify-collection-buy-button iframe {
  max-width: 100%;
}

.product-card, .blog-card, .gift-story-cta, .newsletter-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(23,35,29,0.07);
}
.product-card { display: flex; flex-direction: column; min-height: 100%; }
.compact-product-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
}
.product-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9e6db;
}
.compact-product-card .product-image { height: 100%; aspect-ratio: auto; }
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}
.product-card:hover .product-image img { transform: scale(1.04); }
.product-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 18px;
  background: rgba(14, 30, 22, 0.66);
  opacity: 0;
  transition: opacity 180ms ease;
}
.product-card:hover .product-overlay { opacity: 1; }
.specs-trigger, .modal-secondary-link {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.product-overlay .specs-trigger {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}
.product-overlay .specs-trigger:hover {
  background: color-mix(in srgb, var(--color-primary) 86%, #000);
}
.product-info { display: grid; gap: 10px; padding: 18px; }
.product-meta-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-price, .rating-number { font-weight: 900; color: var(--color-primary); }
.product-title { margin: 0; font-size: 1.12rem; line-height: 1.2; }
.stars { color: color-mix(in srgb, var(--color-secondary) 78%, var(--color-text)); letter-spacing: 0.03em; }
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 6px 9px;
  border-radius: 4px;
  background: var(--color-secondary);
  color: var(--color-text);
  font-weight: 900;
  font-size: 0.72rem;
}

.lead-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 34px;
  align-items: start;
}
.lead-story-content .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}
.lead-story-content .date {
  color: var(--color-text);
  font-weight: 800;
}
.lead-product-box {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(23,35,29,0.07);
  padding: 22px;
}
.lead-product-box h3 {
  margin: 10px 0 10px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.1;
}
.lead-product-box p {
  color: var(--color-muted);
}
.lead-product-box img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: 16px 0;
  border-radius: 4px;
}
.lead-product-box ul {
  margin: 10px 0;
  padding-left: 20px;
  color: var(--color-muted);
}
.lead-product-box .price {
  margin: 14px 0;
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 900;
}

.blog-card { color: var(--color-text); }
.blog-image { aspect-ratio: 16 / 10; overflow: hidden; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-content { padding: 18px; }
.blog-content h3 { margin: 8px 0; font-size: 1.15rem; }
.pagination-nav {
  margin-top: 34px;
}
.pagination-nav .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pagination-nav a,
.pagination-nav span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: #fff;
  color: var(--color-text);
  font-weight: 900;
}
.pagination-nav .current,
.pagination-nav a:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}
.gift-story-cta {
  padding: 24px 28px;
}
.story-submission {
  padding-bottom: 24px;
}

.gift-story-cta p {
  max-width: 820px;
  color: var(--color-muted);
}
.newsletter-section {
  padding-top: 24px;
}

.newsletter-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
}
.newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.newsletter-form input {
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 0 14px;
}
.concierge-section { background: color-mix(in srgb, var(--color-primary) 10%, #fff); }
.concierge-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: center;
}
.concierge-content h2 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.03;
  font-weight: 900;
}
.concierge-content p { color: var(--color-muted); }
.quiz-card {
  padding: 26px;
  min-height: 300px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(23,35,29,0.07);
}
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-step p {
  margin: 0 0 16px;
  font-weight: 900;
  font-size: 1.25rem;
}
.quiz-options { display: grid; gap: 10px; }
.quiz-options button {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: #fff;
  color: var(--color-text);
  font-weight: 800;
  cursor: pointer;
}
.quiz-options button:hover, .quiz-options button.selected {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}
.quiz-progress {
  height: 8px;
  margin-top: 22px;
  background: #d4dacd;
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar {
  width: 0;
  height: 100%;
  background: var(--color-accent);
  transition: width 220ms ease;
}
.quiz-loading { display: none; margin-top: 18px; color: var(--color-primary); font-weight: 900; }
.quiz-loading.active { display: block; }

.specs-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(9, 18, 13, 0.72);
}
.specs-modal.active { display: flex; }
.specs-modal-content {
  position: relative;
  width: min(980px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.specs-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}
.specs-left { padding: 24px; background: #f0eee7; }
.specs-left img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; }
.specs-right { padding: 34px; }
.specs-header-meta { display: grid; gap: 8px; padding-right: 54px; }
.specs-price { justify-self: start; font-size: 1.5rem; font-weight: 900; color: var(--color-primary); }
.specs-right h2 { margin: 10px 0 20px; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.08; }
.specs-list { margin: 0 0 22px; padding-left: 20px; color: var(--color-muted); }
.modal-primary-btn { margin-top: 16px; width: 100%; }
.modal-secondary-link {
  width: 100%;
  margin-top: 10px;
  color: #fff;
  border-color: var(--color-primary);
  background: var(--color-primary);
}
.modal-secondary-link:hover {
  background: color-mix(in srgb, var(--color-primary) 86%, #000);
}

.blog-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(280px, 340px);
  gap: 38px;
  align-items: start;
  padding: 72px 0;
}
.blog-post-layout .single-post { min-width: 0; }
.post-hero {
  max-width: 900px;
}
.post-hero .featured-title {
  max-width: 880px;
}
.post-hero .featured-excerpt {
  max-width: 760px;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}
.post-hero img {
  width: 100%;
  margin-top: 28px;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(23,35,29,0.12);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.standard-page {
  padding: 72px 0;
}
.page-content,
.page-section {
  max-width: 860px;
}
.page-section {
  margin: 34px 0;
  padding: 30px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(23,35,29,0.06);
}
.page-section h2 {
  margin: 0 0 14px;
  color: var(--color-secondary);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}
.page-section h3 {
  margin: 0 0 8px;
  color: var(--color-accent);
}
.page-section p {
  color: var(--color-muted);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.values-grid > div {
  padding: 18px;
  background: color-mix(in srgb, var(--color-primary) 8%, #fff);
  border-radius: 6px;
}
.article-overview,
.article-next-step,
.seo-summary, .related-links {
  margin: 22px 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
}
.article-overview {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  background: color-mix(in srgb, var(--color-secondary) 9%, #fff);
}
.article-overview h2,
.article-next-step h2 {
  margin: 8px 0 0;
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
}
.article-overview ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}
.article-overview a,
.sidebar-toc a {
  color: var(--color-text);
  font-weight: 900;
}
.article-overview a:hover,
.sidebar-toc a:hover {
  color: var(--color-primary);
}
.editorial-body {
  max-width: 760px;
  font-size: clamp(1.04rem, 1.35vw, 1.17rem);
  line-height: 1.78;
}
.editorial-body > * + * {
  margin-top: 1.1em;
}
.editorial-body h2,
.editorial-body h3 {
  color: var(--color-text);
  line-height: 1.12;
}
.editorial-body h2 {
  margin-top: 2.2em;
  padding: 22px 24px;
  background: #fff;
  border-left: 6px solid var(--color-primary);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(23,35,29,0.06);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}
.editorial-body h3 {
  margin-top: 1.8em;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}
.editorial-body blockquote {
  margin: 30px 0;
  padding: 28px;
  background: color-mix(in srgb, var(--color-primary) 10%, #fff);
  border: 0;
  border-radius: 8px;
  color: var(--color-text);
  font-size: 1.18em;
  font-weight: 800;
}
.editorial-body ul,
.editorial-body ol {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding-left: 0;
  list-style: none;
}
.editorial-body li {
  position: relative;
  padding: 14px 16px 14px 44px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}
.editorial-body li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 1.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}
.editorial-body a {
  color: var(--color-primary);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.article-next-step {
  max-width: 760px;
  margin-top: 42px;
  background: var(--color-text);
  color: #fff;
}
.article-next-step p {
  color: rgba(255,255,255,0.74);
}
.blog-sidebar {
  display: grid;
  gap: 18px;
}
.sidebar-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(23,35,29,0.06);
}
.sidebar-card p {
  margin: 10px 0 0;
  color: var(--color-muted);
}
.sidebar-toc ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.sidebar-toc li {
  padding-top: 10px;
  border-top: 1px solid var(--color-border);
}
.blog-sidebar {
  position: sticky;
  top: 112px;
}
.affiliate-ad-slot {
  min-height: 480px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-muted);
  font-weight: 900;
  text-align: center;
  box-shadow: 0 8px 22px rgba(23,35,29,0.07);
}
.affiliate-ad-slot img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 7;
  object-fit: cover;
  border-radius: 4px;
}
.featured-product { margin: 42px 0 20px; }

.site-footer {
  padding: 56px 0 24px;
  background: var(--color-text);
  color: #fff;
  border-top: 6px solid var(--color-secondary);
}
.footer-bottom span {
  display: block;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.35;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
}
.footer-links ul, .footer-nav {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.site-footer h3, .site-footer h4 { color: var(--color-secondary); }
.footer-links a { color: rgba(255,255,255,0.76); font-weight: 700; }
.footer-links a:hover { color: var(--color-accent); }
.footer-links p, .footer-brand p { color: rgba(255,255,255,0.72); }
.footer-network {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.footer-network h4 {
  margin: 0 0 12px;
  color: var(--color-secondary);
}
.footer-network ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-network a {
  color: rgba(255,255,255,0.78);
  font-weight: 800;
}
.footer-network a:hover { color: var(--color-accent); }
.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}
.footer-date {
  font-size: 0.72em;
}

.legal-page {
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(250,247,242,0.98));
}
.legal-hero {
  padding: 84px 0 54px;
  border-bottom: 1px solid rgba(46,52,64,0.1);
}
.legal-hero .featured-title {
  max-width: 920px;
  margin-bottom: 18px;
}
.legal-hero .featured-excerpt {
  max-width: 820px;
}
.policy-effective {
  display: inline-flex;
  margin: 18px 0 0;
  padding: 9px 14px;
  border: 1px solid rgba(46,52,64,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.74);
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 800;
}
.legal-layout {
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding-top: 56px;
  padding-bottom: 84px;
}
.legal-sidebar {
  position: sticky;
  top: 118px;
  align-self: start;
  display: grid;
  gap: 10px;
}
.legal-sidebar a,
.legal-index-card a {
  color: var(--color-primary);
  font-weight: 900;
  text-decoration: none;
}
.legal-sidebar a {
  padding: 12px 14px;
  border: 1px solid rgba(46,52,64,0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.72);
}
.legal-sidebar a:hover,
.legal-index-card a:hover {
  color: var(--color-accent);
}
.policy-content {
  display: grid;
  gap: 28px;
  max-width: 920px;
}
.policy-intro,
.policy-section {
  margin: 0;
}
.policy-section {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(46,52,64,0.1);
  border-top: 6px solid var(--color-secondary);
  border-radius: 10px;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 18px 46px rgba(46,52,64,0.06);
}
.policy-section h2,
.legal-index-card h2 {
  margin: 0 0 14px;
  color: var(--color-text);
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: 0;
}
.policy-section p,
.policy-section li,
.policy-intro,
.legal-index-card p {
  color: var(--color-muted);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.75;
}
.policy-section p:last-child,
.legal-index-card p:last-child {
  margin-bottom: 0;
}
.policy-section ul {
  margin: 14px 0;
  padding-left: 1.2rem;
}
.legal-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 56px;
  padding-bottom: 84px;
}
.legal-index-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(46,52,64,0.1);
  border-top: 6px solid var(--color-secondary);
  border-radius: 10px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 18px 46px rgba(46,52,64,0.06);
}
.legal-index-card a {
  margin-top: auto;
}

@media (max-width: 900px) {
  .header-menu-row { grid-template-columns: 1fr; padding: 14px 16px; justify-items: center; }
  .header-actions { justify-content: center; }
  .nav-list { gap: 18px; }
  .products-grid, .blog-grid, .footer-grid, .specs-modal-content, .blog-post-layout, .newsletter-card, .concierge-grid, .lead-story-grid { grid-template-columns: 1fr; }
  .article-overview { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .section-heading-row { align-items: start; flex-direction: column; }
  .editorial-body,
  .article-next-step { max-width: none; }
  .compact-product-card { grid-template-columns: 1fr; }
  .compact-product-card .product-image { aspect-ratio: 4 / 3; }
  .blog-sidebar { position: static; }
  .affiliate-ad-slot { min-height: 260px; }
  .hero, .hero img { min-height: 540px; height: 540px; }
  .legal-layout,
  .legal-index-grid { grid-template-columns: 1fr; }
  .legal-sidebar { position: static; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 0; }
}

@media (max-width: 560px) {
  .products, .concierge-section, .lead-story-section, .story-submission, .blog, .newsletter-section, .archive-page { padding: 52px 0; }
  .story-submission { padding-bottom: 20px; }
  .newsletter-section { padding-top: 20px; }
  .newsletter-form { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.35rem, 14vw, 4rem); }
}
