/* Fox Run Eye Care: Sunglasses page. Colors only via tokens. */

/* ─── Hero: image left, text right ──────────────────────── */
.sg-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.sg-hero__img-wrap {
  border-radius: var(--radius-img);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 72, 92, 0.15);
}
.sg-hero__img {
  display: block;
  width: 100%;
  height: auto;
}
.sg-hero__text h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan);
  margin-bottom: 0.4rem;
}
.sg-hero__text h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--teal-dark);
  line-height: var(--lh-tight);
  text-wrap: balance;
  margin-bottom: 1rem;
}
.sg-hero__text p {
  font-family: var(--font-body);
  color: var(--text);
  line-height: var(--lh-body);
  margin-bottom: 0.85rem;
}
.sg-hero__text .btn-row { margin-top: 1.5rem; }
.sg-hero__text a:not(.btn) {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}
.sg-hero__text a:not(.btn):hover { color: var(--teal-hover); }

/* ─── Brand product grid ─────────────────────────────────── */
.sg-brands-intro {
  text-align: left;
  max-width: none;
  margin: 0 0 2.5rem;
}
.sg-brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}
.sg-brand-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.sg-brand-card__img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  display: block;
}
.sg-brand-card__name {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-dark);
  padding: 0.75rem 1rem;
  text-align: center;
}

/* ─── Description text below brand grid ─────────────────── */
.sg-brands-desc {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.sg-brands-desc p {
  font-family: var(--font-body);
  color: var(--text);
  line-height: var(--lh-body);
  margin-bottom: 0.85rem;
}
.sg-brands-desc .btn-row { justify-content: center; margin-top: 1.5rem; }

/* ─── In-store CTA ───────────────────────────────────────── */
.sg-cta {
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}
.sg-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 1rem;
  text-wrap: balance;
}
.sg-cta p {
  font-family: var(--font-body);
  color: var(--text);
  line-height: var(--lh-body);
  margin-bottom: 0.85rem;
}
.sg-cta .btn-row { justify-content: center; margin-top: 1.5rem; }
.sg-cta a:not(.btn) {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}
.sg-cta a:not(.btn):hover { color: var(--teal-hover); }

/* ─── Gallery brand banners ──────────────────────────────── */
.sg-gallery-intro {
  text-align: left;
  max-width: none;
  margin: 0 0 2rem;
}
.sg-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.sg-gallery-item {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sg-gallery-item__img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  background: var(--white);
  display: block;
}
.sg-gallery-item__name {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
  padding: 0.6rem 1rem;
  text-align: center;
}

/* ─── Intro (centered text under hero) ─────────────────── */
.sg-intro {
  text-align: left;
  max-width: var(--content-narrow);
  margin: 0 auto;
}
.sg-intro h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--teal-dark);
  line-height: var(--lh-tight);
  text-wrap: balance;
  margin: 0 0 1rem;
}
.sg-intro p {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text);
  line-height: var(--lh-body);
  margin: 0;
}
.sg-intro a:not(.btn) {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}
.sg-intro a:not(.btn):hover { color: var(--teal-hover); }


.faq a:not(.btn) {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}
.faq a:not(.btn):hover { color: var(--teal-hover); }



/* ─── Mobile ─────────────────────────────────────────────── */
@media (max-width: 767px) {
  .sg-hero { grid-template-columns: 1fr; }
  .sg-hero__img-wrap {
    order: 2;
    aspect-ratio: auto;
  }
  .sg-hero__text { order: 1; }
  .sg-brand-grid { grid-template-columns: 1fr 1fr; }
  .sg-gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .sg-brand-grid { grid-template-columns: 1fr; }
  .sg-gallery-grid { grid-template-columns: 1fr; }
}
