/* GreenRadius visual refinement, 2026-10-31.
   Keep the approved seasonal artwork. Give the surrounding interface one calm rhythm. */

.gr-homepage.gr-storefront {
  --gr-refine-ink: #20352a;
  --gr-refine-muted: #5f6c63;
  --gr-refine-line: #e1e6df;
  --gr-refine-ease: cubic-bezier(.2, .7, .2, 1);
}

/* The primary seasonal CTA already leads to the same category. */
.gr-homepage.gr-storefront .hero .home-scroll-cue,
.gr-homepage.gr-storefront .hero .hero-model-link { display: none !important; }
.gr-homepage.gr-storefront .hero .product-caption { box-shadow: none; }

.gr-homepage.gr-storefront .category-grid { padding-top: 48px; padding-bottom: 48px; }
.gr-homepage.gr-storefront .category-grid__heading,
.gr-homepage.gr-storefront .gr-winter-selection-v12__header h2 {
  font-size: clamp(28px, 2.65vw, 36px);
  line-height: 1.15;
  letter-spacing: -.035em;
  font-weight: 650;
}
.gr-homepage.gr-storefront .gr-winter-card-v12 {
  border-color: var(--gr-refine-line);
  border-radius: 12px;
  box-shadow: none;
}

.gr-homepage.gr-storefront .gr-service-home {
  padding-top: 16px;
  padding-bottom: 56px;
}
.gr-service-home__intro {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-top: 48px;
  border-top: 1px solid var(--gr-refine-line);
  scroll-margin-top: 100px;
}
.gr-service-home__copy { min-width: 0; }
.gr-homepage.gr-storefront .gr-service-home__copy h2 {
  margin: 0 0 20px;
  color: var(--gr-refine-ink);
  font-family: inherit;
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: -.035em;
}
.gr-homepage.gr-storefront .gr-service-home__lead {
  max-width: 43ch;
  margin: 0 0 28px;
  color: var(--gr-refine-muted);
  font-size: 16px;
  line-height: 1.65;
}
.gr-service-home__facts { display: grid; gap: 20px; margin: 0; padding: 0; }
.gr-service-home__facts > div { margin: 0; }
.gr-service-home__facts dt {
  margin: 0 0 5px;
  color: var(--gr-refine-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
.gr-service-home__facts dd {
  max-width: 48ch;
  margin: 0;
  color: var(--gr-refine-muted);
  font-size: 14px;
  line-height: 1.65;
}
.gr-service-home__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; }
.gr-service-home__button,
.gr-service-home__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}
.gr-service-home__button {
  padding: 12px 20px;
  border: 1px solid #234d32;
  background: #234d32;
  color: #fff;
}
.gr-service-home__link { gap: 12px; padding: 8px 0; border: 0; background: transparent; color: var(--gr-refine-ink); }
.gr-service-home__link span { display: inline-block; }
.gr-service-home__photo { min-width: 0; margin: 0; padding: 0; }
.gr-service-home__photo > a {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background: #f4f6f2;
}
.gr-service-home__photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  object-fit: contain;
}
.gr-service-home__photo figcaption {
  margin: 0;
  padding: 12px 0 0;
  color: var(--gr-refine-muted);
  font-size: 13px;
  line-height: 1.5;
}
.gr-service-home .gr-trust-v1__details { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--gr-refine-line); border-bottom: 0; }
.gr-service-home .gr-trust-v1__details .gr-trust-v1__detail { min-height: 0; margin-bottom: 0; padding-inline: 24px; border-color: var(--gr-refine-line); }
.gr-service-home .gr-trust-v1__details .gr-trust-v1__detail:first-child { padding-left: 0; border-left: 0; }
.gr-service-home .gr-trust-v1__details .gr-trust-v1__detail:last-child { padding-right: 0; }
.gr-service-home .gr-trust-v1__detail strong { display: flex; align-items: baseline; gap: 12px; font-size: 15px; }
.gr-service-home .gr-trust-v1__detail strong span { color: inherit; font-size: 16px; }
.gr-service-home .gr-trust-v1__detail > span { color: var(--gr-refine-muted); font-size: 13px; }
.gr-service-home__button:focus-visible,
.gr-service-home__link:focus-visible,
.gr-service-home__photo > a:focus-visible { outline: 3px solid #4f8a2e; outline-offset: 4px; }

@media (hover: hover) and (pointer: fine) {
  .gr-service-home__button:hover { background: #183b24; border-color: #183b24; }
  .gr-service-home__link:hover { color: #316a25; }
  .gr-service-home__link:hover span { transform: translate(2px, -2px); }
}
@media (prefers-reduced-motion: no-preference) {
  .gr-service-home__button { transition: background-color 180ms ease, border-color 180ms ease, transform 180ms var(--gr-refine-ease); }
  .gr-service-home__link { transition: color 180ms ease; }
  .gr-service-home__link span { transition: transform 180ms var(--gr-refine-ease); }
  .gr-service-home__button:active { transform: translateY(1px); }
}
@media (max-width: 900px) {
  .gr-service-home__intro { gap: 28px; }
  .gr-homepage.gr-storefront .gr-service-home__copy h2 { font-size: 30px; }
  .gr-homepage.gr-storefront .gr-service-home__lead { font-size: 15px; }
  .gr-service-home__actions { gap: 4px 20px; }
  .gr-service-home .gr-trust-v1__details .gr-trust-v1__detail { padding-inline: 16px; }
}
@media (max-width: 720px) {
  .gr-homepage.gr-storefront .category-grid { padding-top: 32px; padding-bottom: 32px; }
  .gr-homepage.gr-storefront .gr-service-home { padding-top: 8px; padding-bottom: 36px; }
  .gr-service-home__intro { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 32px; }
  .gr-homepage.gr-storefront .gr-service-home__copy h2 { margin-bottom: 16px; font-size: 29px; }
  .gr-homepage.gr-storefront .gr-service-home__lead { margin-bottom: 24px; }
  .gr-service-home__facts { gap: 16px; }
  .gr-service-home__actions { margin-top: 24px; }
  .gr-service-home .gr-trust-v1__details { margin-top: 28px; padding-top: 0; }
  .gr-service-home .gr-trust-v1__details .gr-trust-v1__detail { margin: 0; padding: 20px 0; border-left: 0; }
  .gr-service-home .gr-trust-v1__details .gr-trust-v1__detail:last-child { padding-bottom: 0; border-bottom: 0; }
}
/* Keep the seasonal assortment accessible without six full mobile screens. */
@media (max-width: 540px) {
  .gr-homepage.gr-storefront .gr-winter-selection-v12__grid {
    display: grid;
    grid-template-columns: none;
    grid-template-rows: auto;
    grid-auto-flow: column;
    grid-auto-columns: calc(100% - 28px);
    align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    padding: 0 0 12px;
    scrollbar-width: thin;
    scrollbar-color: #afbea5 #edf1e9;
  }
  .gr-homepage.gr-storefront .gr-winter-selection-v12__grid > .gr-winter-card-v12 {
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }
  .gr-homepage.gr-storefront .gr-winter-card-v12__body h3 { font-size: 13px; }
  .gr-homepage.gr-storefront .gr-winter-card-v12__price { font-size: 22px; }
  .gr-homepage.gr-storefront .gr-winter-card-v12__action { padding-inline: 10px; }
}
@media (max-width: 380px) {
  .gr-service-home__actions { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .gr-service-home__button,
  .gr-service-home__link,
  .gr-service-home__link span { transition: none; transform: none; }
}

/* GreenRadius: quiet PDP and catalogue surfaces.
   Load after product v26 / tabs v34 / catalogue polish / callback styles.
   Gallery, seasonal artwork, tab geometry and carousel transforms stay native. */

.gr-pdp .gr-pdp__heading h1 {
  font-size: clamp(30px, 2.2vw, 32px);
  font-weight: 650;
  line-height: 1.24;
  letter-spacing: -.02em;
}

.gr-pdp .gr-pdp__badges {
  gap: 4px 16px;
}

.gr-pdp .gr-pdp__badge--brand,
.gr-pdp .gr-pdp__badge--warranty {
  padding-inline: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #586257;
}

.gr-pdp .gr-pdp__badge--warranty,
.gr-pdp .gr-pdp__badges .gr-pdp__document-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.gr-pdp .gr-pdp__summary > .gr-pdp__purchase {
  border: 1px solid #dfe5db;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

.gr-pdp .gr-pdp__brief-column > .gr-pdp__bundle-preview:not([hidden]) {
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid #e3e7df;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.gr-pdp .gr-pdp__purchase :is(.gr-pdp__add, .gr-pdp__quick, .gr-pdp__quantity, .gr-pdp__variant) {
  border-radius: 8px;
}

.gr-pdp .gr-pdp__purchase .gr-pdp__quick {
  min-height: 44px;
  border-color: #c8d3c0;
  background: #fff;
  color: #36552b;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.gr-pdp .gr-pdp__purchase .gr-pdp__consult,
.gr-pdp .gr-pdp__purchase .gr-pdp__favorite {
  min-height: 44px;
  align-items: center;
}

.gr-pdp .gr-pdp__purchase .gr-pdp__favorite {
  border-radius: 8px;
}

/* The existing callback action remains available, with less visual weight. */
.gr-pdp .gr-callback-card-v12,
[data-gr-catalogue] .gr-callback-card-v12 {
  border: 1px solid #e0e5dc;
  border-radius: 12px;
  background: #fff;
  color: #253322;
  box-shadow: none;
}

.gr-pdp .gr-callback-card-v12 {
  gap: 12px;
  padding: 18px;
}

.gr-pdp .gr-callback-card-v12 .gr-callback-card-v12__kicker {
  margin: 0 0 6px;
  color: #646d5f;
  font-size: 11px;
  line-height: 1.5;
}

.gr-pdp .gr-callback-card-v12 .gr-callback-card-v12__copy h2 {
  margin: 0;
  color: #253322;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.015em;
}

.gr-pdp .gr-callback-card-v12 .gr-callback-card-v12__copy > p:not(.gr-callback-card-v12__kicker) {
  margin: 8px 0 0;
  color: #586257;
  font-size: 13px;
  line-height: 1.55;
}

.gr-pdp .gr-callback-card-v12 .gr-callback-card-v12__button,
[data-gr-catalogue] .gr-callback-card-v12 .gr-callback-card-v12__button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #bdcdb2;
  border-radius: 8px;
  background: #fff;
  color: #365b27;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

/* Only the catalogue's outer frames: no image, grid or scene overrides. */
[data-gr-catalogue] [data-gr-filter-panel] {
  border-color: #dfe5db;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

[data-gr-catalogue] #gr-results > .gr-product-grid > .gr-product-card {
  border-color: #dfe5db;
  border-radius: 12px;
  box-shadow: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

[data-gr-catalogue] #gr-results .gr-product-card__buy {
  min-height: 44px;
  border-radius: 8px;
}

@media (hover: hover) and (pointer: fine) {
  .gr-pdp .gr-pdp__purchase .gr-pdp__quick:hover:not(:disabled),
  .gr-pdp .gr-callback-card-v12 .gr-callback-card-v12__button:hover:not(:disabled),
  [data-gr-catalogue] .gr-callback-card-v12 .gr-callback-card-v12__button:hover:not(:disabled) {
    border-color: #91aa80;
    background: #f5f8f2;
  }

  [data-gr-catalogue] #gr-results > .gr-product-grid > .gr-product-card:hover {
    border-color: #b1c1a5;
    box-shadow: 0 3px 12px rgb(34 53 25 / 5%);
  }
}

.gr-pdp .gr-pdp__purchase :is(.gr-pdp__add, .gr-pdp__quick, .gr-pdp__consult, .gr-pdp__favorite):focus-visible,
.gr-pdp .gr-pdp__heading :is(.gr-pdp__badge--warranty, .gr-pdp__document-link):focus-visible,
.gr-pdp .gr-callback-card-v12 .gr-callback-card-v12__button:focus-visible,
[data-gr-catalogue] .gr-callback-card-v12 .gr-callback-card-v12__button:focus-visible,
[data-gr-catalogue] #gr-results .gr-product-card :is(a, button):focus-visible {
  outline: 2px solid #356b24;
  outline-offset: 3px;
}

[data-gr-catalogue] #gr-results > .gr-product-grid > .gr-product-card:focus-within {
  border-color: #93ac81;
}

@media (max-width: 767px) {
  .gr-pdp .gr-pdp__heading h1 {
    font-size: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gr-pdp .gr-pdp__purchase .gr-pdp__quick,
  .gr-pdp .gr-callback-card-v12 .gr-callback-card-v12__button,
  [data-gr-catalogue] .gr-callback-card-v12 .gr-callback-card-v12__button,
  [data-gr-catalogue] #gr-results > .gr-product-grid > .gr-product-card {
    transition: none;
    transform: none;
  }
}

/* Navigation only; the existing seasonal grid and artwork remain untouched. */
.gr-homepage.gr-storefront .gr-winter-rail-controls {
  display: none;
}

@media (max-width: 540px) {
  .gr-homepage.gr-storefront .gr-winter-selection-v12__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px 10px;
  }

  .gr-homepage.gr-storefront .gr-winter-selection-v12__header > div:first-child {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .gr-homepage.gr-storefront .gr-winter-selection-v12__header > .gr-winter-selection-v12__all {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-self: start;
    white-space: normal;
    line-height: 1.4;
  }

  .gr-homepage.gr-storefront .gr-winter-rail-controls:not([hidden]) {
    display: flex;
    grid-column: 2;
    grid-row: 2;
    align-items: center;
    justify-self: end;
    gap: 5px;
  }

  .gr-homepage.gr-storefront .gr-winter-rail-controls__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid #dfe5db;
    border-radius: 8px;
    background: #fff;
    color: #36552b;
    box-shadow: none;
    cursor: pointer;
    touch-action: manipulation;
    transition: background-color 140ms ease, border-color 140ms ease;
  }

  .gr-homepage.gr-storefront .gr-winter-rail-controls__button svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .gr-homepage.gr-storefront .gr-winter-rail-controls__button:disabled {
    color: #899383;
    background: #f7f8f5;
    cursor: default;
    opacity: .65;
  }

  .gr-homepage.gr-storefront .gr-winter-rail-controls__button:active:not(:disabled) {
    background: #edf3e8;
    border-color: #9ab18c;
  }

  .gr-homepage.gr-storefront .gr-winter-rail-controls__button:focus-visible {
    outline: 2px solid #356b24;
    outline-offset: 3px;
  }

  .gr-homepage.gr-storefront .gr-winter-rail-controls__counter {
    min-width: 35px;
    color: #586257;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gr-homepage.gr-storefront .gr-winter-rail-controls__button { transition: none; }
}

/* Compact service banners share the existing product/category page grid. */
.gr-homepage.gr-storefront .gr-trust-v1.gr-trust-compact {
  max-width: none;
  margin: 0;
  padding: 8px var(--gr-section-gutter, clamp(20px, 4vw, 72px)) 36px;
  background: #fff;
}
.gr-trust-compact .gr-trust-v1__banners { gap: 20px; }
.gr-trust-compact .gr-trust-v1__banner { min-height: 264px; border-radius: 12px; }
.gr-trust-compact .gr-trust-v1__content { padding: 26px 28px; }
.gr-trust-v1.gr-trust-compact .gr-trust-v1__content h2 {
  max-width: 26ch;
  margin-bottom: 14px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.025em;
}
.gr-trust-v1.gr-trust-compact .gr-trust-v1__content p {
  max-width: 46ch;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.55;
}
.gr-trust-compact .gr-trust-v1__content .gr-trust-v1__button {
  width: 224px;
  min-width: 0;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 13px;
}
.gr-trust-compact .gr-trust-v1__details { margin-top: 24px; column-gap: 20px; }
.gr-trust-compact .gr-trust-v1__details .gr-trust-v1__detail { min-height: 0; margin-bottom: 20px; padding-inline: 0; border-left: 0; }
.gr-trust-compact .gr-trust-v1__detail strong { font-size: 15px; }
@media (max-width: 900px) {
  .gr-trust-compact .gr-trust-v1__content { padding: 24px; }
  .gr-trust-v1.gr-trust-compact .gr-trust-v1__content h2 { font-size: 24px; }
}
@media (max-width: 720px) {
  .gr-homepage.gr-storefront .gr-trust-v1.gr-trust-compact { padding: 4px var(--gr-section-gutter, 16px) 28px; }
  .gr-trust-compact .gr-trust-v1__banners { gap: 16px; }
  .gr-trust-compact .gr-trust-v1__banner { min-height: 0; }
  .gr-trust-compact .gr-trust-v1__content { padding: 24px; }
  .gr-trust-v1.gr-trust-compact .gr-trust-v1__content h2 { font-size: 23px; }
  .gr-trust-v1.gr-trust-compact .gr-trust-v1__content p { font-size: 13px; }
  .gr-trust-compact .gr-trust-v1__details { margin-top: 12px; row-gap: 0; }
  .gr-trust-compact .gr-trust-v1__details .gr-trust-v1__detail { margin: 0; padding: 16px 0; }
}
