/* Shared palette for the storefront, customer accounts and staff workspace. */
:root {
  --solar-leaf: #48a73f;
  --solar-action: #287b31;
  --solar-hover: #1d6126;
  --solar-mint: #e3f7e8;
  --solar-stone: #f6f6f5;
  --solar-carbon: #202225;
  --ink: var(--solar-carbon);
  --green: var(--solar-action);
  --pine: #213528;
  --mint: var(--solar-mint);
  --line: #dde3dd;
  --muted: #525956;
  --dash-text: var(--ink);
  --dash-line: var(--line);
  accent-color: var(--solar-action);
}

.mast, .dash-bar { border-top: 4px solid var(--solar-leaf); }
.wide-nav a { color: var(--ink); text-transform: uppercase; font-size: .79rem; font-weight: 750; letter-spacing: .035em; }
.header-actions :is(.glass,.basket,.person) { color: var(--green); }
.btn, .dash-primary, .account-detail .primary, .access-card button,
.installer-body :is(button,.button):not(.secondary), .quote-inner .btn {
  background: var(--solar-action);
  border-radius: .3rem;
  color: #fff;
}
.btn:hover, .dash-primary:hover, .access-card button:hover, .quote-inner .btn:hover { background: var(--solar-hover); color: white; }
.text-link, .quiet-link { color: var(--green); text-decoration-color: #95bc96; }
.home-page .eyebrow, .refined-page .eyebrow { color: var(--green); font-weight: 720; }
.home-page .section-title, .refined-page .section-title,
.refined-page .section-heading .section-title, .home-page .section-heading .section-title {
  font-weight: 770;
  letter-spacing: -.04em;
  line-height: 1.12;
}
.display em, .home-page .display em, .refined-page .display em {
  color: var(--ink);
  font-family: inherit;
  font-style: italic;
  font-weight: 450;
}
.refined-page .display { font-weight: 780; }
.refined-page { --page-tint: var(--solar-stone); }

.solar-hero { background: var(--solar-stone); }
.solar-hero::before {
  background: linear-gradient(90deg, #f6f6f5 16%, #f6f6f5 38%, rgba(246,246,245,.88) 48%, transparent 68%);
}
.home-page .solar-hero .display { font-size: clamp(2.65rem,4.2vw,4.2rem); line-height: 1.04; }
.solar-hero h1 > span { font-weight: 820; text-transform: uppercase; }
.home-page .solar-hero .display em { margin-top: .12em; font-size: 1em; }
.home-page .solar-hero-copy .lead { color: #475048; max-width: 39ch; }
.home-page .solar-hero .eyebrow { margin-bottom: .9rem; }
.photo-caption { display: flex; gap: .6rem; align-items: center; border-color: var(--solar-leaf); background: #222625; border-radius: .2rem; }
.photo-caption img { width: 3.2rem; height: 2.5rem; object-fit: cover; border-radius: .15rem; }
@media (min-width: 601px) {
  .solar-hero-photo { left: 20%; }
  .solar-hero-photo img { object-position: right 8%; }
}
.home-page .home-benefits { background: #fff; border-color: var(--line); }
.home-page .home-benefits > div { padding-block: .8rem; font-size: .82rem; }
.home-benefits .container > :is(a,span)::before, .story-resources li::before {
  display: inline-block;
  content: "";
  width: .42rem;
  height: .42rem;
  border: 2px solid var(--solar-leaf);
  border-radius: 50%;
  margin-right: .55rem;
}

.home-page .range-section { padding-top: clamp(1.2rem, 2.4vw, 2rem); }
.home-page .family {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap: .45rem;
  min-height: 9.7rem;
  padding: clamp(.85rem,1.5vw,1.45rem);
  background: var(--solar-mint);
  border: 0;
  color: var(--ink);
}
.home-page .family small { color: #865034; font-size: .78rem; font-weight: 700; }
.home-page .family h3 { margin: .32rem 0 .78rem; font-size: clamp(1.12rem,1.65vw,1.55rem); font-weight: 760; }
.series-action {
  display: inline-block;
  padding: .36rem .6rem;
  border-radius: .25rem;
  background: var(--solar-action);
  color: white;
  font-size: .77rem;
  font-weight: 650;
}
.family:is(:hover,:focus-visible) .series-action { background: var(--solar-hover); }
.home-page .family-art { position: static; width: 100%; }
.home-page .family-art img { width: 100%; height: auto; max-height: 8.5rem; border-radius: .25rem; }

.home-page .featured-models { padding-block: clamp(3.4rem,6.5vw,6.4rem); }
.home-page .featured-models .section-heading { display: block; text-align: center; margin-bottom: 2.5rem; }
.featured-models .section-heading :is(.eyebrow,.section-intro,.section-title) { margin-inline: auto; justify-content: center; }
.featured-models .section-heading .eyebrow::before {
  content: "";
  display: inline-block;
  width: .45rem;
  height: .45rem;
  background: var(--solar-leaf);
  border-radius: 50%;
  box-shadow: 0 0 0 .22rem var(--solar-mint);
}
.featured-models > .actions { justify-content: center; margin-top: 2.2rem; }
:is(.home-page,.refined-page) .product-art {
  background: var(--solar-stone);
  border: 0;
  border-radius: .38rem;
  aspect-ratio: 1.04;
}
.product-art img { width: 78%; max-height: 82%; }
.product-card { display: flex; flex-direction: column; min-width: 0; }
.product-copy { display: flex; flex: 1; flex-direction: column; text-align: center; overflow-wrap: anywhere; }
:is(.home-page,.refined-page) .product-family { color: var(--green); font-size: .72rem; font-weight: 740; letter-spacing: .07em; }
:is(.home-page,.refined-page) .product-copy h3 { color: var(--ink); font-weight: 700; line-height: 1.32; }
.product-highlight { display: block; margin-block: .35rem; font-size: .83rem; line-height: 1.45; color: var(--muted); }
.product-copy .price { margin-top: auto; color: var(--ink); }
.product-copy .product-availability { margin-top: .25rem; font-size: .84rem; color: var(--muted); }

.home-page .story-band, .home-page .home-applications, .home-page .home-enquiry,
.home-page .home-process { background: var(--solar-stone); }
.story-photo { position: relative; }
.story-photo::after {
  content: "";
  position: absolute;
  top: 0;
  right: -.8rem;
  width: .22rem;
  height: 56%;
  background: var(--solar-leaf);
}
.story-resources { margin: 1.25rem 0; padding: 0; list-style: none; }
.story-resources li + li { margin-top: .5rem; }
.story-resources a { color: var(--ink); font-weight: 600; text-decoration-color: #bdc7be; }
.story-band .actions .text-link, .featured-models > .actions .text-link {
  padding: .7rem 1rem;
  border-radius: .25rem;
  color: white;
  background: var(--solar-action);
  text-decoration: none;
}
.story-band .actions .text-link:hover, .featured-models > .actions .text-link:hover { background: var(--solar-hover); }
.home-network, .refined-page .facts-band { background: #252d28; }
.home-page .network-heading .eyebrow { color: #c3eebd; }
.basket-summary, .empty-basket, .policies-page .policy-index { background: var(--solar-mint); }
.dash-intro h1, .access-card h1 { font-weight: 760; letter-spacing: -.04em; }
body:has(.access-shop) .access-page { background: var(--solar-stone); }
:is(.dash-rail,.dash-menu) nav a[aria-current], .case-filter a[aria-current] { background: var(--solar-mint); color: var(--solar-hover); }

@media (max-width: 600px) {
  .home-page .solar-hero .display { font-size: clamp(2.15rem,8.7vw,3rem); }
  .home-page .solar-hero-copy { padding-block: 1.8rem 1.25rem; }
  .photo-caption { left: 1rem; right: auto; max-width: calc(100% - 2rem); }
  .home-page .family { min-height: 8.75rem; grid-template-columns: minmax(0,1fr) 38%; gap: .2rem; padding: .75rem; }
  .home-page .family h3 { font-size: 1.06rem; }
  .series-action { font-size: .73rem; padding: .32rem .42rem; }
  .home-page .featured-models .section-heading { margin-bottom: 1.6rem; }
}
@media (max-width: 520px) {
  .header-actions .account-link { justify-content: center; width: 36px; height: 38px; border: 0; padding: 0; }
  .account-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (max-width: 420px) {
  .home-page .family { grid-template-columns: 1fr; align-content: start; padding: .85rem; }
  .home-page .family-art { grid-row: 1; height: 4.75rem; }
  .home-page .family-art img { width: auto; max-width: 100%; max-height: 4.45rem; }
}

.product-sale-tag {
  display: inline-block; align-self: center; margin: .4rem 0; padding: .25rem .65rem;
  border-radius: .35rem; color: #1a5744; background: #e5f3eb; font-size: .82rem; font-weight: 650;
}
.product-offers { margin-block: 1rem; padding: .9rem 1rem; border: 1px solid #cddfd5; border-radius: .6rem; background: #f6faf7; }
.product-offers strong { color: #205644; }
.product-offers small, .offer-saving { display: block; margin-top: .25rem; color: #50665b; line-height: 1.5; }
.product-offers nav { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.product-offers nav a, .cart-offer-select {
  max-width: 100%; padding: .45rem .7rem; border: 1px solid #b2c7bd; border-radius: .4rem;
  background: white; color: #26493d; font: inherit; font-size: .875rem; text-decoration: none;
}
.product-offers nav a[aria-current], .product-offers nav a:hover { background: #215844; border-color: #215844; color: white; }
.product-offers a:focus-visible { outline: 2px solid #187760; outline-offset: 2px; }
.review-lines .cart-offer-select { width: 100%; }
.basket-summary .review-offers { padding: .45rem .8rem; background: white; color: #205644; border: 1px solid #b2c7bd; border-radius: .4rem; cursor: pointer; }
