/* Premium Direct Storefront V1 */

.storefront-page {
  background: #f6f3ec;
}

.storefront-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
}

.storefront-page h1,
.storefront-page h2,
.catalog-page h1,
.catalog-page h2,
.catalog-page h3,
.storefront-detail-page h1,
.storefront-detail-page h2,
.storefront-detail-page h3 {
  text-wrap: balance;
}

.storefront-hero {
  border-bottom: 1px solid var(--line);
}

.storefront-hero-grid {
  display: grid;
  min-height: min(760px, calc(100vh - 86px));
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  gap: clamp(56px, 7vw, 108px);
  align-items: center;
  padding-block: clamp(70px, 8vw, 112px);
}

.storefront-hero-copy h1,
.catalog-hero h1,
.storefront-detail-hero h1 {
  margin: 0;
  font-size: clamp(3.5rem, 6vw, 6.65rem);
  font-weight: 460;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.storefront-hero-copy > p:not(.eyebrow),
.catalog-hero-copy > p:not(.section-kicker),
.storefront-detail-lede {
  max-width: 720px;
  margin: 32px 0 0;
  color: #41504a;
  font-size: clamp(1.06rem, 1.5vw, 1.25rem);
  line-height: 1.58;
}

.storefront-actions,
.detail-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 38px;
}

.storefront-text-link,
.product-card-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  color: var(--forest);
  font-size: 0.77rem;
  font-weight: 750;
  letter-spacing: 0.075em;
  text-decoration: none;
  text-transform: uppercase;
}

.storefront-text-link:hover,
.product-card-link:hover {
  text-decoration: underline;
}

.storefront-signal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 56px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.storefront-signal-row div {
  padding: 18px 16px 20px 0;
}

.storefront-signal-row div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.storefront-signal-row dt,
.current-review-compact dt,
.detail-facts dt {
  color: #64716c;
  font-size: 0.61rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.storefront-signal-row dd,
.current-review-compact dd,
.detail-facts dd {
  margin: 6px 0 0;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.35;
}

.hero-system-card {
  display: block;
  overflow: hidden;
  border: 1px solid #bfc6c2;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 24px 70px rgba(23, 32, 29, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-system-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(23, 32, 29, 0.17);
}

.hero-system-label {
  display: block;
  padding: 15px 18px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-system-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-system-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px;
  border-top: 1px solid var(--line);
}

.hero-system-bottom strong {
  font-size: 1.04rem;
  line-height: 1.3;
}

.hero-system-bottom b {
  color: var(--forest);
  font-size: 1.25rem;
}

.featured-system-section,
.storefront-products-section,
.storefront-standard-section,
.storefront-about,
.catalog-family-section,
.storefront-detail-section {
  padding-block: clamp(88px, 10vw, 140px);
}

.featured-system-section {
  background: var(--ink);
  color: var(--white);
}

.featured-system-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(60px, 8vw, 124px);
  align-items: center;
}

.featured-system-copy .section-kicker {
  color: #9fc0b4;
}

.featured-system-copy h2,
.storefront-section-heading h2,
.storefront-standard-grid h2,
.current-review-compact h2,
.storefront-about h2,
.catalog-family-heading h2,
.storefront-detail-section h2 {
  margin: 0;
  font-size: clamp(2.7rem, 4.9vw, 4.9rem);
  font-weight: 460;
  letter-spacing: -0.055em;
  line-height: 1;
}

.featured-system-copy > p:not(.section-kicker) {
  margin: 30px 0 0;
  color: #c9d0cd;
  font-size: 1.05rem;
}

.compact-proof-list {
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid #53615c;
  list-style: none;
}

.compact-proof-list li {
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid #45514d;
  color: #dce2df;
}

.compact-proof-list li::before {
  display: inline-block;
  width: 28px;
  margin-left: -28px;
  color: #9fc0b4;
  content: "↗";
}

.featured-system-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 36px;
}

.featured-system-actions > span {
  color: #9fc0b4;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.verified-proof-card,
.detail-proof-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid #55615d;
  background: #0f1513;
}

.verified-proof-card img,
.detail-proof-card img {
  display: block;
  width: 100%;
  height: auto;
}

.verified-proof-card figcaption,
.detail-proof-card figcaption {
  padding: 14px 18px;
  border-top: 1px solid #55615d;
  color: #adb8b3;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storefront-products-section {
  background: #eeeae1;
}

.storefront-section-heading,
.catalog-family-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: end;
}

.storefront-section-heading > p,
.catalog-family-heading > p {
  margin: 0;
  color: #53605b;
  font-size: 1.02rem;
}

.product-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: clamp(56px, 7vw, 88px);
}

.storefront-product-card {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr;
  border: 1px solid #c7c8c2;
  background: var(--white);
}

.storefront-product-card.is-featured {
  border-top: 4px solid var(--forest);
}

.product-card-media {
  display: grid;
  min-height: 244px;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid #d2d5d1;
  background: #e9eceb;
}

.product-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 244px;
  object-fit: cover;
  object-position: top left;
  transition: transform 220ms ease;
}

.product-card-media:hover img {
  transform: scale(1.015);
}

.proof-media-wide img {
  object-position: top left;
}

.proof-media-contain {
  padding: 26px 18px;
  background: #edf0ef;
}

.proof-media-contain img {
  min-height: 0;
  object-fit: contain;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.product-card-meta {
  display: flex;
  gap: 22px;
  align-items: baseline;
  justify-content: space-between;
}

.product-card-meta span {
  color: var(--forest);
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.product-card-meta strong {
  flex: 0 0 auto;
  font-size: 1.15rem;
}

.product-availability {
  align-self: flex-start;
  margin: 18px 0 0 !important;
  padding: 7px 9px;
  border: 1px solid #bfc5c0;
  background: #f1f0eb;
  color: #5b6762 !important;
  font-size: 0.61rem;
  font-weight: 750;
  letter-spacing: 0.075em;
  line-height: 1.35;
  text-transform: uppercase;
}

.product-availability.is-launch {
  border-color: #8faf9f;
  background: #e5efe9;
  color: var(--forest) !important;
}

.storefront-product-card h3 {
  margin: 20px 0 0;
  font-size: clamp(1.55rem, 2.25vw, 2.25rem);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.storefront-product-card p {
  margin: 20px 0 0;
  color: #505d58;
}

.product-card-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 30px;
}

.catalog-cta-row {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid #c6c7c1;
}

.catalog-cta-row p {
  margin: 0;
  color: #53605b;
}

.storefront-standard-section {
  background: var(--white);
}

.storefront-standard-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(64px, 10vw, 150px);
}

.storefront-standard-grid ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.storefront-standard-grid li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 24px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

.storefront-standard-grid li > span {
  color: var(--forest);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.storefront-standard-grid h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.storefront-standard-grid li p {
  margin: 9px 0 0;
  color: #56625d;
}

.current-review-compact {
  padding-block: clamp(70px, 8vw, 110px);
  background: #dfe5e0;
}

.current-review-compact-grid,
.storefront-about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(64px, 9vw, 138px);
}

.current-review-compact-grid > div:last-child > p,
.storefront-about-grid > div:last-child > p {
  margin: 0;
  color: #46534e;
  font-size: 1.05rem;
}

.current-review-compact dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 30px 0 24px;
  border-top: 1px solid #b5beb9;
  border-bottom: 1px solid #b5beb9;
}

.current-review-compact dl div {
  padding: 18px 0;
}

.current-review-compact dl div + div {
  padding-left: 22px;
  border-left: 1px solid #b5beb9;
}

.storefront-about {
  background: #f6f3ec;
}

.storefront-about-grid > div:last-child > p + p {
  margin-top: 24px;
}

.storefront-contact {
  background: var(--forest-deep);
}

.storefront-footer-grid .footer-contact {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 28px;
}

/* Catalog */

.catalog-page,
.storefront-detail-page {
  background: #f6f3ec;
}

.catalog-hero,
.storefront-detail-hero {
  border-bottom: 1px solid var(--line);
}

.catalog-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.55fr);
  gap: clamp(70px, 10vw, 150px);
  align-items: end;
  padding-block: clamp(90px, 11vw, 150px);
}

.catalog-index {
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.catalog-index p {
  margin: 0 0 18px;
  color: var(--forest);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-index a {
  display: block;
  min-height: 44px;
  padding-block: 10px;
  border-top: 1px solid var(--line);
  font-weight: 650;
  text-decoration: none;
}

.catalog-index a:hover {
  color: var(--forest);
}

.catalog-family-section:nth-child(even) {
  background: #ece8df;
}

.catalog-family-heading {
  align-items: start;
}

.catalog-family-heading h2 {
  font-size: clamp(2.5rem, 4.2vw, 4.2rem);
}

.catalog-family-section .product-card-grid {
  margin-top: 52px;
}

.catalog-family-section.single-product .product-card-grid {
  grid-template-columns: minmax(0, 0.72fr);
}

.catalog-boundary-note {
  padding-block: 44px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.catalog-boundary-note p {
  max-width: 850px;
  margin: 0;
  color: #4e5a55;
}

/* Storefront product details */

.storefront-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  gap: clamp(60px, 8vw, 124px);
  align-items: center;
  padding-block: clamp(74px, 9vw, 126px);
}

.detail-family-label {
  margin: 0 0 26px;
  color: var(--forest);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.detail-price-line {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 32px;
}

.detail-price-line strong {
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.detail-price-line span {
  color: #66726d;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-local-state {
  max-width: 630px;
  margin: 20px 0 0;
  color: #69746f;
  font-size: 0.82rem;
}

.detail-proof-card {
  border-color: #c2c7c4;
  background: #e9eceb;
  box-shadow: 0 22px 64px rgba(23, 32, 29, 0.1);
}

.detail-proof-card[id] {
  scroll-margin-top: 100px;
}

.detail-proof-card img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: top left;
}

.detail-proof-card figcaption {
  border-color: #c2c7c4;
  background: var(--white);
  color: #5f6b66;
}

.storefront-detail-section:nth-child(even) {
  background: #ece8df;
}

.detail-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(60px, 9vw, 138px);
}

.detail-capabilities {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.detail-capabilities li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

.detail-capabilities li > span {
  color: var(--forest);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.detail-capabilities h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 650;
}

.detail-capabilities p {
  margin: 8px 0 0;
  color: #53605b;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  border-top: 1px solid var(--ink);
}

.detail-facts div {
  min-height: 120px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-facts div:nth-child(even) {
  border-right: 0;
}

.detail-support-note {
  margin-top: 30px;
  padding: 20px 22px;
  border-left: 3px solid var(--forest);
  background: var(--white);
  color: #4d5a55;
}

.related-products {
  padding-block: clamp(64px, 8vw, 96px);
  background: var(--ink);
  color: var(--white);
}

.related-products-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(50px, 8vw, 120px);
}

.related-products h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  font-weight: 460;
  letter-spacing: -0.05em;
  line-height: 1;
}

.related-products nav {
  border-top: 1px solid #53615c;
}

.related-products nav a {
  display: flex;
  min-height: 58px;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #53615c;
  color: #dce2df;
  text-decoration: none;
}

.related-products nav a:hover {
  color: var(--white);
}

@media (max-width: 1050px) {
  .storefront-hero-grid,
  .featured-system-grid,
  .storefront-detail-hero-grid {
    grid-template-columns: 1fr;
  }

  .storefront-hero-grid {
    min-height: 0;
  }

  .hero-system-card,
  .verified-proof-card,
  .detail-proof-card {
    max-width: 820px;
  }
}

@media (max-width: 760px) {
  .storefront-hero-grid,
  .catalog-hero-grid,
  .storefront-detail-hero-grid {
    padding-block: 58px 70px;
  }

  .storefront-hero-copy h1,
  .catalog-hero h1,
  .storefront-detail-hero h1 {
    font-size: clamp(3rem, 14vw, 4.35rem);
  }

  .storefront-actions,
  .detail-hero-actions,
  .catalog-cta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .storefront-actions .button,
  .detail-hero-actions .button,
  .catalog-cta-row .button {
    width: 100%;
  }

  .storefront-signal-row,
  .product-card-grid,
  .storefront-section-heading,
  .storefront-standard-grid,
  .current-review-compact-grid,
  .storefront-about-grid,
  .catalog-hero-grid,
  .catalog-family-heading,
  .catalog-family-section.single-product .product-card-grid,
  .detail-section-grid,
  .related-products-grid {
    grid-template-columns: 1fr;
  }

  .storefront-signal-row div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .featured-system-grid {
    gap: 54px;
  }

  .product-card-grid {
    gap: 20px;
  }

  .product-card-media,
  .product-card-media img {
    min-height: 190px;
  }

  .proof-media-contain {
    padding: 18px 12px;
  }

  .storefront-standard-grid,
  .current-review-compact-grid,
  .storefront-about-grid,
  .detail-section-grid,
  .related-products-grid {
    gap: 48px;
  }

  .storefront-footer-grid .footer-contact {
    grid-template-columns: 1fr;
  }

  .detail-facts {
    grid-template-columns: 1fr;
  }

  .detail-facts div,
  .detail-facts div:nth-child(even) {
    border-right: 0;
  }
}

@media (max-width: 480px) {
  .storefront-hero-copy h1,
  .catalog-hero h1,
  .storefront-detail-hero h1 {
    font-size: 3rem;
  }

  .hero-system-bottom {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .product-card-body {
    padding: 22px;
  }

  .product-card-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .current-review-compact dl {
    grid-template-columns: 1fr;
  }

  .current-review-compact dl div + div {
    padding-left: 0;
    border-top: 1px solid #b5beb9;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-system-card,
  .product-card-media img {
    transition: none;
  }
}
