.home-layout {
  width: 100%;
  /* The footer is fixed, so keep the final home block visibly clear of it. */
  padding-bottom: clamp(20px, 2vw, 32px);
}

/* Home content uses flat cards: shadows inside the configurable layout make
   clipped rails look like grey remnants at their edges. */
.page-home .home-layout,
.page-home .home-layout *,
.page-home .home-layout *::before,
.page-home .home-layout *::after {
  box-shadow: none !important;
}

.home-layout-item {
  min-width: 0;
  margin-top: var(--home-layout-margin-top, 0);
  margin-bottom: var(--home-layout-margin-bottom, 0);
}

.home-layout-item--contained {
  width: min(100%, 1200px);
  margin-inline: auto;
  padding-inline: 12px;
}

.home-layout-item--wide {
  width: min(calc(100vw - 72px), 1748px);
  margin-inline: auto;
}

.home-layout-item--full {
  width: 100%;
}

@media (min-width: 768px) {
  .home-layout-item--desktop-hidden {
    display: none;
  }
}

.home-layout-item .home-showcase {
  padding-block: clamp(20px, 3vw, 36px) clamp(12px, 2.5vw, 28px);
}

/* Do not add the full vertical padding of both adjacent sections. */
.home-layout-item--collection .home-collection {
  padding-bottom: 8px;
}

.home-layout-item--collection + .home-layout-item--carousel .home-showcase {
  padding-top: 12px;
}

.home-layout-item--portal + .home-layout-item--carousel .home-showcase {
  padding-top: 12px;
}

.home-layout-item .home-showcase__head h2 {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.home-layout-item .home-showcase-card__text {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.home-layout-item .home-showcase-card__text strong,
.home-layout-item .home-showcase-card__text small {
  min-width: 0;
  width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.home-layout-item .home-showcase-card__text strong {
  max-width: min(100%, 22ch);
}

.home-layout-item .home-showcase-card__text small {
  max-width: min(100%, 30ch);
}

.home-collection {
  padding-block: clamp(20px, 3vw, 36px) clamp(12px, 2.5vw, 28px);
  background: transparent;
  color: var(--home-collection-text-color, #fff);
  font-family: var(--home-collection-font, Manrope), Arial, sans-serif;
}

.banner-collection-group,
.banner-collection-group [data-banner-tab-panel],
.banner-grid,
.banner-grid__canvas,
.home-collection,
.home-collection__viewport,
.home-collection__items {
  background-color: transparent !important;
  background-image: none;
}

.home-collection--untitled,
.banner-grid--untitled {
  padding-top: clamp(20px, 3vw, 36px);
}

.home-collection__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.home-collection__head h2 {
  margin: 0;
  color: var(--home-collection-title-color, #222222);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.home-collection__open-all {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid var(--hogart-green, #408d47);
  border-radius: 10px;
  background: transparent;
  color: var(--hogart-green, #408d47);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
}

.home-collection__open-all:hover,
.home-collection__open-all:focus-visible {
  background: var(--hogart-green, #408d47);
  color: #fff;
  outline: none;
}

.home-collection__items {
  display: grid;
  grid-template-columns: repeat(var(--home-collection-columns, 3), minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
}

.home-rail-viewport,
.home-collection__viewport,
.home-showcase__viewport,
.home-feed-tabs__viewport {
  position: relative;
  min-width: 0;
}

.home-rail-nav {
  position: absolute;
  top: 50%;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(32, 41, 55, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #39414d;
  box-shadow: 0 6px 20px rgba(20, 28, 38, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(-50%);
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.home-rail-nav[hidden] {
  display: none;
}

.home-rail-nav--prev {
  left: 12px;
}

.home-rail-nav--next {
  right: 12px;
}

.home-rail-nav:hover,
.home-rail-nav:focus-visible {
  border-color: rgba(47, 117, 56, 0.32);
  background: #fff;
  color: #2f7538;
  box-shadow: 0 8px 24px rgba(20, 28, 38, 0.14);
  transform: translateY(-50%) scale(1.04);
  outline: none;
}

.home-rail-nav i {
  font-size: 12px;
}

.home-collection--rail .home-collection__items {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-gutter: stable;
  padding-bottom: 6px;
}

.home-collection--rail .home-collection-card {
  flex: 0 0 min(calc(var(--home-collection-row-height, 320px) * var(--home-collection-card-ratio, 16 / 9)), 90vw);
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .home-showcase__rail,
  .home-feed-tabs__rail,
  .home-collection--rail .home-collection__items {
    scrollbar-width: none;
  }

  .home-showcase__rail {
    min-height: calc(var(--home-showcase-block-height, 420px) + 4px);
    padding-bottom: 2px;
  }

  .home-feed-tabs__rail,
  .home-collection--rail .home-collection__items {
    padding-bottom: 0;
    scrollbar-gutter: auto;
  }

  .home-showcase__rail::-webkit-scrollbar,
  .home-feed-tabs__rail::-webkit-scrollbar,
  .home-collection--rail .home-collection__items::-webkit-scrollbar {
    display: none;
  }
}

.home-collection-card {
  width: min(100%, var(--home-collection-explicit-card-width, 100%));
  min-width: 0;
}

.home-collection-product-card {
  align-self: stretch;
  --home-collection-card-ratio: 0.82;
}

.home-collection-product-card .catalog-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: var(--home-collection-row-height, 320px);
  padding: 14px;
  overflow: hidden;
  border: 1px solid #e4e8ed;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 28, 38, 0.1);
}

.home-collection-product-card .catalog-product-card__link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.home-collection-product-card .catalog-product-card__media {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  aspect-ratio: 1 / 1;
  padding: 20px !important;
  border-radius: 18px;
  --promo-inset: 20px;
}

.home-collection-product-card .catalog-product-card__image {
  position: absolute;
  inset: var(--promo-inset);
  width: calc(100% - (2 * var(--promo-inset)));
  height: calc(100% - (2 * var(--promo-inset)));
  object-fit: contain;
}

.home-collection-product-card .catalog-product-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  max-width: calc(100% - 24px);
  pointer-events: none;
}

.home-collection-product-card .catalog-product-card__status-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 20px;
  padding: 2px 6px;
  border: 1px solid var(--badge-border, transparent) !important;
  border-radius: 4px;
  background: var(--badge-bg, #4caf50) !important;
  color: var(--badge-text, #fff) !important;
  box-shadow: none;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-collection-product-card .catalog-product-card__status-badge::before {
  content: none;
}

.home-collection-product-card .catalog-product-card__mobile-badges {
  display: none;
}

.home-collection-product-card .catalog-product-card__link:hover .product-name-title,
.home-collection-product-card .catalog-product-card__link:focus-visible .product-name-title {
  color: var(--hogart-green, #2f7d45) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-collection-product-card .catalog-stock {
  margin-top: 8px;
}

.home-collection-product-card .catalog-stock__summary {
  pointer-events: none;
}

.home-collection-product-card .catalog-stock__details {
  display: none !important;
}

.home-collection-product-card__brand {
  min-height: 18px;
  overflow: hidden;
  color: var(--hogart-green, #2f7d45);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-collection-product-card__brand span {
  margin-right: 6px;
  color: #9aa3b7;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-collection-product-card .list-product-sku__badge {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--hogart-green, #2f7d45) !important;
  font-weight: 600;
}

.home-collection-product-card .catalog-price {
  display: flex;
  min-height: 42px;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 3px 7px;
  overflow: hidden;
}

.home-collection-product-card .catalog-price__current {
  max-width: 100%;
  flex-wrap: wrap;
  white-space: normal;
}

.home-collection-product-card .catalog-price__value {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.home-collection-product-card > .catalog-product-card > .product-action-group {
  width: 100%;
  margin-top: 8px;
}

.home-collection-product-card .product-name-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* Shrink banner artwork proportionally; mobile and product cards keep their layout. */
@media (min-width: 768px) {
  .home-collection--content-banners .home-collection-card:not(.home-collection-card--text-below) .home-collection-card__link {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: var(--home-collection-card-ratio, 16 / 9);
  }
}

.home-collection-card--lead {
  grid-column: span 2;
  grid-row: span 2;
}

.home-collection-card__link {
  position: relative;
  display: grid;
  min-height: 0;
  height: var(--home-collection-row-height, 320px);
  aspect-ratio: var(--home-collection-card-ratio, 16 / 9);
  overflow: hidden;
  border-radius: var(--home-collection-radius, 8px);
  background: transparent;
  color: var(--home-collection-card-text-color, var(--home-collection-text-color, #fff));
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(20, 28, 38, 0.14);
}

.home-collection--full {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-inline: clamp(14px, 3vw, 48px);
}

.banner-collection-group__title,
.banner-grid__heading {
  margin: 0 0 16px;
}

.banner-collection-group__tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 18px;
  padding: 2px 0 8px;
  scrollbar-width: thin;
}

.banner-collection-group__tabs--center { justify-content: center; }
.banner-collection-group__tabs--right { justify-content: flex-end; }

.banner-collection-group__tabs button {
  flex: 0 0 auto;
  padding: 9px 16px;
  border: 1px solid color-mix(in srgb, var(--banner-tab-color, #202020) 30%, transparent);
  border-radius: 999px;
  background: transparent;
  color: var(--banner-tab-color, #202020);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.banner-collection-group__tabs button[aria-selected="true"] {
  background: var(--banner-tab-color, #202020);
  color: #fff;
}

.banner-grid__heading {
  color: var(--banner-grid-heading-color, #202020);
  font-size: var(--banner-grid-heading-size, 32px);
}

.banner-grid__heading--center { text-align: center; }
.banner-grid__heading--right { text-align: right; }

.banner-grid__canvas {
  position: relative;
  overflow: hidden;
  background: transparent;
  border-radius: var(--banner-grid-radius, 0);
}

.banner-grid__canvas > img {
  display: block;
  width: 100%;
  height: auto;
}

.banner-grid__hotspot {
  position: absolute;
  z-index: 1;
  display: block;
  border: 2px solid transparent;
}

.banner-grid__hotspot:focus-visible {
  border-color: #fff;
  outline: 3px solid #2f7538;
  outline-offset: -4px;
}

body.banner-action-modal-open { overflow: hidden; }

.banner-action-modal__panel { position: relative; }
.banner-action-modal__close { position: absolute; top: 18px; right: 20px; z-index: 3; }
.banner-action-modal__body { padding-top: clamp(42px, 5vw, 68px); }
.banner-article-modal { width: min(100%, 960px); margin: 0 auto; color: #374151; line-height: 1.7; }
.banner-article-modal__header h2 { margin: 0 52px 24px 0; color: #1f2937; font-size: clamp(26px, 3vw, 42px); font-weight: 700; line-height: 1.2; }
.banner-article-modal__hero { width: 100%; height: auto; max-height: min(520px, 58vh); display: block; margin: 0 0 28px; border-radius: 12px; object-fit: contain; }
.banner-article-modal__content { font-size: clamp(16px, 1.2vw, 19px); }
.banner-article-modal__content > :first-child { margin-top: 0; }
.banner-article-modal__content > :last-child { margin-bottom: 0; }
.banner-article-modal__content p { margin: 0 0 1em; }
.banner-article-modal__content h1,
.banner-article-modal__content h2,
.banner-article-modal__content h3,
.banner-article-modal__content h4 { margin: 1.35em 0 .55em; color: #1f2937; line-height: 1.25; }
.banner-article-modal__content ul,
.banner-article-modal__content ol { margin: 0 0 1em; padding-left: 1.5em; }
.banner-article-modal__content img { max-width: 100%; height: auto; display: block; margin: 24px auto; border-radius: 10px; }
.banner-article-modal__content table { width: 100%; margin: 24px 0; border-collapse: collapse; }
.banner-article-modal__content th,
.banner-article-modal__content td { padding: 10px 12px; border: 1px solid #e5e7eb; text-align: left; }
.banner-article-modal__content th { background: #f5f6f7; font-weight: 700; }
.banner-article-modal__content a { color: #2f7538; text-decoration: underline; }

@media (max-width: 767.98px) {
  .banner-action-modal__close { top: 8px; right: 8px; }
  .banner-action-modal__body { padding: 42px 16px 24px; }
  .banner-article-modal__header h2 { margin-right: 38px; font-size: 25px; }
}

.home-collection-card__link:hover,
.home-collection-card__link:focus-visible {
  color: var(--home-collection-card-text-color, var(--home-collection-text-color, #fff));
}

.home-collection-card__media,
.home-collection-card__shade,
.home-collection-card__text {
  grid-area: 1 / 1;
}

.home-collection-card__media {
  z-index: 0;
  min-width: 0;
  min-height: 0;
}

.home-collection-card__media picture,
.home-collection-card__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.home-collection-card__media img {
  object-fit: var(--home-collection-image-fit-desktop, cover);
  object-position: 50% 50%;
  filter: brightness(var(--home-collection-image-brightness, 1));
  transform: translate(
    var(--home-collection-image-offset-desktop-x, 0%),
    var(--home-collection-image-offset-desktop-y, 0%)
  ) scale(var(--home-collection-image-zoom-desktop, 1));
  transform-origin: 50% 50%;
  transition: transform 180ms ease;
}

.home-collection-card__link:hover .home-collection-card__media img,
.home-collection-card__link:focus-visible .home-collection-card__media img {
  transform: translate(
    var(--home-collection-image-offset-desktop-x, 0%),
    var(--home-collection-image-offset-desktop-y, 0%)
  ) scale(var(--home-collection-image-zoom-desktop, 1));
}

.home-collection-card__shade {
  display: none;
}

.home-collection-card__text {
  position: relative;
  z-index: 2;
  align-self: var(--home-collection-text-vertical, end);
  justify-self: var(--home-collection-text-horizontal, start);
  display: grid;
  gap: 6px;
  box-sizing: border-box;
  width: var(--home-collection-text-width, 75%);
  max-width: calc(100% - 2 * var(--home-collection-text-inset, 20px));
  min-width: 0;
  margin: var(--home-collection-text-inset, 20px);
  padding: 0;
  border-radius: var(--home-collection-radius, 8px);
  background: rgb(0 0 0 / var(--home-collection-text-backdrop-alpha, 0));
  color: inherit;
  text-align: var(--home-collection-text-align, left);
  transform: translateY(calc(-1 * var(--home-collection-text-raise, 0px)));
  pointer-events: none;
}

.home-collection-card__text strong,
.home-collection-card__text small {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-align: inherit;
  text-shadow: var(--home-collection-text-shadow, none);
}

.home-collection-card__text strong {
  font-family: var(--home-collection-title-font, var(--home-collection-font, Manrope)), sans-serif;
  font-size: var(--home-collection-title-size, var(--home-collection-text-size, 28px));
  font-weight: 800;
  line-height: 1.08;
}

.home-collection-card__text small {
  max-width: 100%;
  font-family: var(--home-collection-subtitle-font, var(--home-collection-font, Manrope)), sans-serif;
  font-size: var(--home-collection-subtitle-size, 13px);
  font-weight: 600;
  line-height: 1.35;
}

.home-collection--large .home-collection-card__text strong {
  line-height: 1.04;
}

.home-layout-item .home-feed-tabs {
  width: 100%;
  max-width: none;
  margin-left: 0;
  transform: none;
}

.home-layout-item--full .home-feed-tabs,
.home-layout-item--full .home-showcase,
.home-layout-item--full .home-collection {
  width: 100%;
  margin-inline: auto;
  padding-inline: 12px;
}

@media (max-width: 991.98px) {
  .home-layout-item--wide {
    width: min(calc(100vw - 24px), 1748px);
  }

  .page-home .catalog-sections-tabs--desktop {
    display: flex;
  }

  .page-home .catalog-sections-legacy-mobile {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .page-home .home-layout-item--hero {
    width: min(calc(100vw - 32px), 1464px);
    margin-inline: auto;
    padding-inline: 0;
  }

  .page-home .home-layout-item--hero .site-search-band--hero,
  .page-home .home-layout-item--hero .site-search-band--hero-contained,
  .page-home .home-layout-item--hero .site-search-band--hero-wide,
  .page-home .home-layout-item--hero .site-search-band--hero-full {
    width: 100%;
    margin-inline: 0;
    margin-bottom: 10px;
    padding-inline: 0;
  }

  .page-home .home-layout-item--hero .hero-section,
  .page-home .home-layout-item--hero .hero-section--contained,
  .page-home .home-layout-item--hero .hero-section--layout-wide,
  .page-home .home-layout-item--hero .hero-section--full-width {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    overflow: hidden;
  }

  .page-home .home-layout-item--hero .hero-media-swiper .swiper-slide,
  .page-home .home-layout-item--hero .hero-media-slide-frame,
  .page-home .home-layout-item--hero .hero-media-slide-link,
  .page-home .home-layout-item--hero .hero-media-slide-frame picture {
    height: clamp(215px, 29.7vw, 300px);
    min-height: 0;
  }

  .page-home .home-layout-item--hero .hero-media-slider img,
  .page-home .home-layout-item--hero .hero-media-slider video {
    width: 100%;
    height: 100%;
    max-height: none;
  }

  .page-home .catalog-sections-tabs {
    --catalog-tabs-scroll-h: clamp(340px, 58vh, 520px);
    --catalog-tabs-card-min-h: 176px;
    display: grid;
    grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }

  .page-home .catalog-sections-tabs__tablist {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 10px;
    border-right: 1px solid #d7dde8;
    border-bottom: 0;
    padding: 4px 8px 4px 0;
    max-height: var(--catalog-tabs-scroll-h);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
  }

  .page-home .catalog-sections-tabs__tab {
    width: 100%;
    margin: 0;
    padding: 10px 8px 10px 0;
    border-radius: 10px;
    text-align: left;
  }

  .page-home .catalog-sections-tabs__tab.is-active::after {
    left: 58px;
    bottom: 7px;
    width: calc(50% - 24px);
    min-width: 42px;
  }

  .page-home .catalog-sections-tabs__panels {
    border-top: 0;
    padding-top: 0;
  }

  .page-home .catalog-child-bubbles--tabs {
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    max-height: calc((var(--catalog-tabs-card-min-h) * 2) + var(--catalog-tabs-grid-gap) + 10px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2px 8px 2px 0;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) and (orientation: portrait) {
  .page-home .home-layout-item--hero {
    width: min(calc(100vw - 40px), 1464px);
    margin-inline: auto;
    padding-inline: 0;
  }

  .page-home .home-layout-item--hero .site-search-band--hero,
  .page-home .home-layout-item--hero .site-search-band--hero-contained,
  .page-home .home-layout-item--hero .site-search-band--hero-wide,
  .page-home .home-layout-item--hero .site-search-band--hero-full {
    width: 100%;
    margin-inline: 0;
    margin-bottom: 10px;
    padding-inline: 0;
  }

  .page-home .home-layout-item--hero .hero-section,
  .page-home .home-layout-item--hero .hero-section--contained,
  .page-home .home-layout-item--hero .hero-section--layout-wide,
  .page-home .home-layout-item--hero .hero-section--full-width {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    overflow: hidden;
  }

  .page-home .home-layout-item--hero .hero-media-swiper .swiper-slide,
  .page-home .home-layout-item--hero .hero-media-slide-frame,
  .page-home .home-layout-item--hero .hero-media-slide-link,
  .page-home .home-layout-item--hero .hero-media-slide-frame picture {
    height: clamp(280px, 29.7vw, 345px);
    min-height: 0;
  }

  .page-home .home-layout-item--hero .hero-media-slider img,
  .page-home .home-layout-item--hero .hero-media-slider video {
    width: 100%;
    height: 100%;
    max-height: none;
  }
}

@media (max-width: 767.98px) {
  .home-rail-nav {
    display: none !important;
  }

  .home-layout-item,
  .home-layout-item--contained,
  .home-layout-item--wide,
  .home-layout-item--full {
    width: 100%;
    margin-inline: 0;
    padding-inline: 12px;
  }

  .home-layout-item--hero,
  .home-layout-item--video {
    padding-inline: 0;
  }

  .home-layout-item--mobile-hidden {
    display: none;
  }

  .page-home .catalog-sections-tabs--desktop {
    display: none;
  }

  .page-home .catalog-sections-legacy-mobile {
    display: block;
  }

  .home-layout-item .home-showcase,
  .home-layout-item--full .home-showcase,
  .home-layout-item .home-collection,
  .home-layout-item--full .home-collection,
  .home-layout-item .home-feed-tabs,
  .home-layout-item--full .home-feed-tabs {
    width: 100%;
    margin-inline: 0;
    padding-inline: 0;
    padding-block: 18px 12px;
  }

  .home-layout-item .home-showcase__head h2 {
    font-size: clamp(22px, 7vw, 28px);
  }

  .home-layout-item .home-showcase-card__text {
    padding-inline: 10px;
  }

  .home-layout-item .home-showcase-card__text strong,
  .home-layout-item .home-showcase-card__text small {
    max-width: 100%;
  }

  .home-layout-item .home-showcase-card__text strong {
    font-size: clamp(13px, 4vw, 16px);
    line-height: 1.18;
    -webkit-line-clamp: 3;
  }

  .home-layout-item .home-showcase-card__text small {
    font-size: clamp(11px, 3.2vw, 12px);
    line-height: 1.25;
  }

  .home-collection__head h2 {
    font-size: 28px;
    line-height: 1.12;
  }

  .home-collection__items,
  .home-collection--rail .home-collection__items {
    display: grid;
    grid-template-columns: repeat(var(--home-collection-mobile-columns, 1), minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }

  .home-collection-card--lead {
    grid-column: auto;
    grid-row: auto;
  }

  .home-collection-card__media img {
    object-fit: var(--home-collection-image-fit-mobile, contain);
    object-position: 50% 50%;
    transform: translate(
      var(--home-collection-image-offset-mobile-x, 0%),
      var(--home-collection-image-offset-mobile-y, 0%)
    ) scale(var(--home-collection-image-zoom-mobile, 1));
    transform-origin: 50% 50%;
  }

  .home-collection-card__link:hover .home-collection-card__media img,
  .home-collection-card__link:focus-visible .home-collection-card__media img {
    transform: translate(
      var(--home-collection-image-offset-mobile-x, 0%),
      var(--home-collection-image-offset-mobile-y, 0%)
    ) scale(var(--home-collection-image-zoom-mobile, 1));
  }

  .home-collection-card__link {
    width: min(100%, var(--home-collection-mobile-card-width, 100%));
    height: min(var(--home-collection-row-height, 320px), 72vw);
    margin-inline: auto;
  }

  .banner-collection-group__tabs--center,
  .banner-collection-group__tabs--right { justify-content: flex-start; }

  .home-collection-card {
    width: min(100%, var(--home-collection-mobile-card-width, 100%));
    margin-inline: auto;
  }

  .home-collection--rail .home-collection__items {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .home-collection--rail .home-collection__items::-webkit-scrollbar {
    display: none;
  }

  .home-collection--rail .home-collection-card {
    flex: 0 0 min(calc(min(var(--home-collection-row-height, 320px), 72vw) * var(--home-collection-card-ratio, 16 / 9)), 88vw);
    width: auto;
    margin-inline: 0;
  }

  .home-collection-card__text strong,
  .home-collection-card__text small {
    max-width: 100%;
  }

  .home-feed-tabs {
    display: block;
    padding-block: 18px 16px;
  }

  .home-feed-tabs__head {
    display: grid;
    align-items: start;
    gap: 12px;
    margin-bottom: 12px;
  }

  .home-feed-tabs__head h2 {
    font-size: 28px;
    line-height: 1.12;
  }

  .home-feed-tabs__tablist {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .home-feed-tabs__tablist::-webkit-scrollbar {
    display: none;
  }

  .home-feed-tabs__tab {
    flex: 0 0 auto;
    min-height: 34px;
    padding-inline: 12px;
  }

  .home-feed-tabs__rail {
    grid-auto-columns: minmax(220px, 78vw);
    gap: 10px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .home-feed-tabs__rail::-webkit-scrollbar {
    display: none;
  }

  .home-feed-card__link {
    grid-template-rows: 132px minmax(142px, auto);
  }
}

/* Collection title links and source-style text placeholders. */
.home-collection__title-link,
.home-collection__title-text {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--home-collection-title-color, #222);
  font: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.home-collection__title-link::before {
  content: "";
  flex: 0 0 auto;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 11px solid var(--hogart-green, #408d47);
}

.home-collection__title-link:hover,
.home-collection__title-link:focus-visible {
  color: var(--hogart-green, #408d47) !important;
}

.home-collection__title-link:focus-visible {
  border-radius: 5px;
  outline: 2px solid rgba(47, 125, 72, .32);
  outline-offset: 5px;
}

.home-collection-card--placeholder .home-collection-card__media {
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, .23) 0 13%, transparent 13.5%),
    radial-gradient(circle at 18% 84%, rgba(255, 255, 255, .16) 0 19%, transparent 19.5%),
    linear-gradient(135deg, #245f38 0%, #408d47 48%, #77ad67 100%);
}

.home-collection-card--placeholder:nth-child(4n + 2) .home-collection-card__media {
  background:
    radial-gradient(circle at 78% 76%, rgba(255, 255, 255, .2) 0 18%, transparent 18.5%),
    linear-gradient(135deg, #2e526f 0%, #3f7693 52%, #6fa7a3 100%);
}

.home-collection-card--placeholder:nth-child(4n + 3) .home-collection-card__media {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, .22) 0 16%, transparent 16.5%),
    linear-gradient(135deg, #665329 0%, #a48038 52%, #c4aa69 100%);
}

.home-collection-card--placeholder:nth-child(4n) .home-collection-card__media {
  background:
    radial-gradient(circle at 84% 22%, rgba(255, 255, 255, .18) 0 17%, transparent 17.5%),
    linear-gradient(135deg, #463c63 0%, #75658e 52%, #9b8faf 100%);
}

.home-collection-card--placeholder .home-collection-card__shade {
  display: block;
  background: linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .28));
}

.home-collection-card--placeholder .home-collection-card__text {
  width: min(82%, 34ch);
  align-self: center;
  justify-self: center;
  margin: 0;
  color: #fff;
  text-align: center;
}

.home-collection--grid .home-collection__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(14px, 2vw, 24px);
  overflow: visible;
}

.home-collection--grid .home-collection-card {
  width: 100%;
}

.home-collection--grid .home-collection-card__link {
  width: 100%;
  height: auto;
  min-height: 220px;
  aspect-ratio: var(--home-collection-card-ratio, 16 / 9);
}

.collection-page {
  min-height: 70vh;
  padding: clamp(86px, 10vw, 118px) 0 56px;
  background: #fff;
}

.collection-page__header {
  width: min(calc(100% - 32px), 1320px);
  margin: 0 auto 8px;
}

.collection-page__back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  color: var(--hogart-green, #408d47);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.collection-page__header h1 {
  margin: 0;
  color: var(--hogart-ink, #1e1e1e);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}

.collection-page__body {
  width: min(calc(100% - 32px), 1320px);
  margin: 0 auto;
}

@media (max-width: 767.98px) {
  .home-collection__title-link,
  .home-collection__title-text {
    gap: 10px;
  }

  .home-collection__title-link::before {
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 9px;
  }

  .home-collection--grid .home-collection__items {
    grid-template-columns: 1fr;
  }

  .home-collection--grid .home-collection-card__link {
    min-height: 190px;
  }

  .collection-page {
    padding: 76px 0 34px;
  }
}

/* Keep the collection heading and its action in one stable row. */
.home-collection__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 20px;
}

.home-collection__head h2 {
  min-width: 0;
}

.home-collection__open-all {
  grid-column: 2;
  margin-left: auto;
  white-space: nowrap;
}

.home-collection__head > .home-collection__open-all:only-child {
  grid-column: 1 / -1;
  justify-self: start;
  margin-left: 0;
}

@media (max-width: 480px) {
  .home-collection__head {
    gap: 10px;
  }

  .home-collection__open-all {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* Collection detail: the same banner language as the home page, arranged as a stable responsive grid. */
.collection-page {
  min-height: 70vh;
  padding-bottom: clamp(42px, 6vw, 76px);
  background:
    radial-gradient(circle at 100% 0, rgba(62, 147, 73, .055), transparent 28rem),
    #fff;
}

.collection-page__header {
  padding-bottom: clamp(16px, 2vw, 24px);
  border-bottom: 1px solid rgba(47, 125, 72, .14);
}

.collection-page__back {
  width: fit-content;
  min-height: 34px;
  margin-bottom: 14px;
  padding: 6px 11px;
  border: 1px solid rgba(47, 125, 72, .18);
  border-radius: 999px;
  background: #f4faf5;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.collection-page__back:hover,
.collection-page__back:focus-visible {
  border-color: var(--hogart-green, #408d47);
  background: var(--hogart-green, #408d47);
  color: #fff;
  outline: 0;
}

.collection-page__body .home-collection {
  padding-top: clamp(18px, 2.4vw, 30px);
}

.collection-page .home-collection__viewport {
  overflow: visible;
}

.collection-page .home-collection--content-banners .home-collection__items {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}

.collection-page .home-collection--content-banners .home-collection-card {
  min-width: 0;
}

.collection-page .home-collection--content-banners .home-collection-card__link {
  min-height: 0;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(31, 41, 55, .09);
  border-radius: clamp(12px, 1.2vw, 16px);
  background: #f5f7f5;
  box-shadow: 0 8px 24px rgba(31, 41, 55, .09);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.collection-page .home-collection--content-banners .home-collection-card__link:hover,
.collection-page .home-collection--content-banners .home-collection-card__link:focus-visible {
  border-color: rgba(47, 125, 72, .34);
  box-shadow: 0 14px 34px rgba(31, 41, 55, .14);
  transform: translateY(-3px);
  outline: 0;
}

.collection-page .home-collection--content-banners .home-collection-card__media {
  background: #f5f7f5;
}

.collection-page .home-collection--content-banners .home-collection-card__text {
  max-width: calc(100% - 28px);
  margin: 14px;
}

.collection-page .home-collection--content-banners .home-collection-card__text strong {
  font-size: clamp(17px, 1.5vw, 24px);
  line-height: 1.12;
}

@media (max-width: 991.98px) {
  .collection-page .home-collection--content-banners .home-collection__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .collection-page {
    padding-top: 70px;
    padding-bottom: 28px;
  }

  .collection-page__header,
  .collection-page__body {
    width: min(calc(100% - 24px), 1320px);
  }

  .collection-page__header h1 {
    font-size: clamp(27px, 9vw, 34px);
  }

  .collection-page .home-collection--content-banners .home-collection__items {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .collection-page .home-collection--content-banners .home-collection-card__link {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
  }

  .collection-page .home-collection--content-banners .home-collection-card__text {
    width: min(88%, 30ch);
    max-width: calc(100% - 24px);
    margin: 12px;
  }

  .collection-page .home-collection--content-banners .home-collection-card__text strong {
    font-size: clamp(17px, 5vw, 21px);
  }
}

/* Imported promotions can have no artwork or very light product photography. */
.collection-page .home-collection--content-banners .home-collection-card__text {
  padding: clamp(9px, 1vw, 13px);
  background: rgba(24, 40, 30, .76);
  color: #fff;
  box-shadow: 0 5px 18px rgba(19, 30, 23, .16);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.collection-page .home-collection--content-banners .home-collection-card--placeholder .home-collection-card__media {
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, .15) 0 16%, transparent 16.5%),
    linear-gradient(135deg, #286f40 0%, #3e9349 52%, #72b37a 100%);
}

.collection-page .home-collection--content-banners .home-collection-card--placeholder .home-collection-card__text {
  background: rgba(16, 50, 28, .28);
  box-shadow: none;
}

@media (max-width: 575.98px) {
  .collection-page .home-collection--content-banners .home-collection-card__text {
    padding: 9px 10px;
  }
}


/* Editorial cards can reuse the banner component with source-style captions below artwork. */
.home-collection-card--text-below {
  align-self: start;
  height: auto;
}

.home-collection-card--text-below .home-collection-card__link {
  display: block;
  height: auto;
  min-height: 0;
  /* The base banner card has a fixed aspect ratio. Keeping it here makes
     overflow:hidden clip the caption even though the caption is in the DOM. */
  aspect-ratio: auto;
  padding: 8px;
  margin: -8px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: #152016;
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.home-collection-card--text-below .home-collection-card__link:hover,
.home-collection-card--text-below .home-collection-card__link:focus-visible {
  border-color: rgba(47, 125, 72, .24);
  background: #fff;
  box-shadow: 0 10px 28px rgba(27, 55, 34, .11);
  transform: translateY(-2px);
  outline: 0;
}

.home-collection-card--text-below .home-collection-card__media {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 0 0 11px;
  overflow: hidden;
  border-radius: 7px;
  background: #f0f2f0;
}

.home-collection-card--text-below .home-collection-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-collection-card--text-below.home-collection-card--placeholder .home-collection-card__media {
  min-height: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.18) 0 15%, transparent 15.5%),
    linear-gradient(135deg, #e7f1e8 0%, #cde3d0 52%, #eef5ef 100%);
}

.home-collection-card__caption,
.home-collection-card__date,
.home-collection-card__caption-title,
.home-collection-card__caption-copy {
  display: block;
}

.home-collection-card__caption {
  padding: 0 1px 2px;
  text-align: left;
}

.home-collection-card__date {
  min-height: 16px;
  margin-bottom: 5px;
  color: #2f7d48;
  font: 500 13px/1.35 var(--home-collection-font, inherit);
}

.home-collection-card__caption-title {
  color: #111b14;
  font: 500 clamp(16px, 1.02vw, 18px)/1.31 var(--home-collection-title-font, var(--home-collection-font, inherit));
  overflow-wrap: anywhere;
}

.home-collection-card__caption-copy {
  margin-top: 6px;
  color: #657066;
  font: 400 13px/1.42 var(--home-collection-subtitle-font, var(--home-collection-font, inherit));
}

.home-collection--rail .home-collection-card--text-below {
  flex-basis: clamp(280px, 30vw, 410px);
}

.collection-page .home-collection--content-banners .home-collection-card--text-below .home-collection-card__link {
  aspect-ratio: auto;
  border-radius: 11px;
  background: transparent;
  box-shadow: none;
}

.collection-page .home-collection--content-banners .home-collection-card--text-below .home-collection-card__link:hover,
.collection-page .home-collection--content-banners .home-collection-card--text-below .home-collection-card__link:focus-visible {
  background: #fff;
  box-shadow: 0 10px 28px rgba(27, 55, 34, .11);
}

@media (max-width: 575.98px) {
  .home-collection-card--text-below .home-collection-card__link,
  .collection-page .home-collection--content-banners .home-collection-card--text-below .home-collection-card__link {
    padding: 6px;
    margin: -6px;
    border-radius: 10px;
  }

  .home-collection-card--text-below .home-collection-card__media {
    aspect-ratio: 16 / 9;
    margin-bottom: 9px;
  }

  .home-collection-card__date {
    font-size: 12px;
  }

  .home-collection-card__caption-title {
    font-size: 18px;
  }

  .home-collection--rail .home-collection-card--text-below {
    flex-basis: min(86vw, 360px);
  }
}
