/* Homepage-only refresh. Load after home-bundle.css.
 * The main ID deliberately outranks historical !important theme layers.
 * Product content, image URLs, prices, reviews and color behavior stay data-driven.
 */
body.home #bn-home-refresh {
  --bn-refresh-gutter: clamp(20px, 3.5vw, 56px);
  --bn-refresh-space: 52px;
  --bn-refresh-grid-gap: 20px;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
}

body.home #bn-home-refresh *,
body.home #bn-home-refresh *::before,
body.home #bn-home-refresh *::after {
  box-sizing: border-box;
}

/* Each content section contributes one gap, avoiding stacked 48px paddings. */
body.home #bn-home-refresh > .section,
body.home #bn-home-refresh > #shop {
  width: 100% !important;
  max-width: 1440px !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  padding: var(--bn-refresh-space) var(--bn-refresh-gutter) 0 !important;
  background: #fff !important;
}

body.home #bn-home-refresh .bn-deferred-section {
  content-visibility: visible !important;
  contain-intrinsic-size: auto 0 !important;
}

body.home #bn-home-refresh > .section > h2,
body.home #bn-home-refresh > #shop > h2,
body.home #bn-home-refresh .title-row > h2,
body.home #bn-home-refresh .bn-section-intro > h2 {
  margin: 0 0 24px !important;
  padding: 0 !important;
  font-size: clamp(24px, 2.5vw, 34px) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: -.025em !important;
  overflow-wrap: break-word;
}

body.home #bn-home-refresh .title-row {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px 24px !important;
  width: 100% !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
}

body.home #bn-home-refresh .title-row > h2 {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  text-align: left !important;
}

body.home #bn-home-refresh .title-row > a {
  position: static !important;
  inset: auto !important;
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 4px 0 !important;
  color: #252525 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  letter-spacing: .04em !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
  white-space: nowrap !important;
}

/* Rail buttons are enabled and labelled by the homepage enhancement script. */
body.home #bn-home-refresh .title-row > .bn-home-rail-controls {
  display: flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.home #bn-home-refresh .bn-home-rail-controls .bn-home-rail-prev,
body.home #bn-home-refresh .bn-home-rail-controls .bn-home-rail-next {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 36px !important;
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #bdbdb7 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #252525 !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

body.home #bn-home-refresh .bn-home-rail-controls button:enabled:hover {
  border-color: #252525 !important;
  background: #f6f5ee !important;
}

body.home #bn-home-refresh .bn-home-rail-controls button:disabled {
  border-color: #ddd !important;
  background: #fff !important;
  color: #b9b9b3 !important;
  opacity: .6 !important;
  cursor: default !important;
}

body.home #bn-home-refresh .bn-home-rail-controls button > svg {
  display: block;
  width: 16px;
  height: 16px;
}

/* Desktop follows the source photograph ratio; mobile keeps its editorial crop. */
body.home #bn-home-refresh .hero.bn-editorial-hero {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1280 / 713 !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #e6ebe7 !important;
}

body.home #bn-home-refresh .bn-editorial-hero > .bn-hero-media,
body.home #bn-home-refresh .bn-editorial-hero .bn-hero-media > picture,
body.home #bn-home-refresh .bn-editorial-hero .bn-hero-media img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center center !important;
}

body.home #bn-home-refresh .bn-editorial-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(12, 26, 26, .56));
  pointer-events: none;
}

body.home #bn-home-refresh .bn-editorial-hero > .bn-hero-copy {
  position: absolute !important;
  z-index: 2 !important;
  inset: auto var(--bn-refresh-gutter) 42px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  text-align: center !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .25) !important;
  transform: none !important;
}

body.home #bn-home-refresh .bn-hero-copy h1 {
  width: 100% !important;
  max-width: 760px !important;
  margin: 0 0 12px !important;
  color: #fff !important;
  font-size: clamp(30px, 3.3vw, 46px) !important;
  font-weight: 600 !important;
  line-height: 1.08 !important;
  letter-spacing: -.025em !important;
}

body.home #bn-home-refresh .bn-hero-copy p {
  display: block !important;
  max-width: 520px !important;
  margin: 0 0 22px !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body.home #bn-home-refresh .bn-hero-copy .bn-hero-actions {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 550px !important;
  margin: 0 !important;
}

body.home #bn-home-refresh .bn-hero-copy .bn-hero-actions > a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 12px !important;
  border: 1px solid #fff !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #171717 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: .025em !important;
  text-decoration: none !important;
  text-shadow: none !important;
  white-space: normal !important;
}

/* Store information remains fully readable, including on narrow screens. */
body.home #bn-home-refresh .benefits.bn-home-benefits {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 var(--bn-refresh-gutter) !important;
  background: #f6f5ee !important;
  border-bottom: 1px solid #e7e5db !important;
}

body.home #bn-home-refresh .bn-home-benefits > article {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  min-width: 0 !important;
  min-height: 90px !important;
  padding: 18px 20px !important;
  border-right: 1px solid #e2e0d7 !important;
}

body.home #bn-home-refresh .bn-home-benefits > article:last-child {
  border-right: 0 !important;
}

body.home #bn-home-refresh .bn-home-benefits .bn-benefit-icon {
  flex: 0 0 24px !important;
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
}

body.home #bn-home-refresh .bn-home-benefits > article > div {
  display: grid !important;
  gap: 5px !important;
  min-width: 0 !important;
}

body.home #bn-home-refresh .bn-home-benefits b,
body.home #bn-home-refresh .bn-home-benefits small,
body.home #bn-home-refresh .bn-home-benefits a {
  display: block !important;
  overflow: visible !important;
  color: #333 !important;
  text-align: left !important;
  line-height: 1.4 !important;
  -webkit-line-clamp: unset !important;
}

body.home #bn-home-refresh .bn-home-benefits b {
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .035em !important;
}

body.home #bn-home-refresh .bn-home-benefits small,
body.home #bn-home-refresh .bn-home-benefits a {
  font-size: 11px !important;
  font-weight: 400 !important;
}

/* Seven category links use equal portrait frames at each breakpoint. */
body.home #bn-home-refresh #shop .categories.bn-getaway-mosaic {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-template-rows: none !important;
  grid-auto-rows: auto !important;
  gap: 10px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.home #bn-home-refresh #shop .bn-getaway-mosaic > article {
  position: relative !important;
  grid-column: auto !important;
  grid-row: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 3 / 4 !important;
  overflow: hidden !important;
}

body.home #bn-home-refresh #shop .bn-getaway-mosaic > article.is-lead {
  grid-column: auto !important;
  grid-row: auto !important;
}

body.home #bn-home-refresh #shop .bn-getaway-mosaic article > a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

body.home #bn-home-refresh #shop .bn-getaway-mosaic img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center top !important;
}

body.home #bn-home-refresh #shop .bn-getaway-mosaic article::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .5));
  pointer-events: none;
}

body.home #bn-home-refresh #shop .bn-getaway-mosaic h3,
body.home #bn-home-refresh #shop .bn-getaway-mosaic span {
  position: absolute !important;
  z-index: 2 !important;
  left: 16px !important;
  right: 12px !important;
  margin: 0 !important;
  color: #fff !important;
  text-align: left !important;
  line-height: 1.25 !important;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .25) !important;
}

body.home #bn-home-refresh #shop .bn-getaway-mosaic h3 {
  bottom: 36px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: .025em !important;
}

body.home #bn-home-refresh #shop .bn-getaway-mosaic span {
  bottom: 16px !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* One horizontal product row at every width; visible cards scale from four to two. */
body.home #bn-home-refresh ul.bn-home-product-grid {
  display: grid !important;
  grid-template-columns: none !important;
  grid-template-rows: auto !important;
  grid-auto-flow: column !important;
  grid-auto-columns: calc((100% - 3 * var(--bn-refresh-grid-gap)) / 4) !important;
  align-items: start !important;
  gap: 0 var(--bn-refresh-grid-gap) !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 4px 0 10px !important;
  list-style: none !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity !important;
  scroll-behavior: smooth;
  scrollbar-width: thin !important;
  scrollbar-color: #bdbdb7 transparent;
}

body.home #bn-home-refresh ul.bn-home-product-grid::-webkit-scrollbar {
  display: block !important;
  height: 4px !important;
}

body.home #bn-home-refresh ul.bn-home-product-grid::-webkit-scrollbar-thumb {
  background: #bdbdb7;
  border-radius: 4px;
}

body.home #bn-home-refresh ul.bn-home-product-grid a:focus-visible {
  outline-offset: -2px !important;
}

body.home #bn-home-refresh ul.bn-home-product-grid::before,
body.home #bn-home-refresh ul.bn-home-product-grid::after {
  content: none !important;
  display: none !important;
}

body.home #bn-home-refresh ul.bn-home-product-grid > li.product {
  position: relative !important;
  display: flex !important;
  flex: none !important;
  flex-direction: column !important;
  align-items: stretch !important;
  float: none !important;
  clear: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #fff !important;
  text-align: left !important;
  list-style: none !important;
  overflow: visible !important;
  scroll-snap-align: start !important;
}

body.home #bn-home-refresh .bn-home-product-grid a.woocommerce-LoopProduct-link {
  position: relative !important;
  order: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #202020 !important;
  text-decoration: none !important;
}

body.home #bn-home-refresh .bn-home-product-grid .woocommerce-LoopProduct-link > picture {
  order: 0 !important;
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

body.home #bn-home-refresh .bn-home-product-grid .woocommerce-LoopProduct-link > img,
body.home #bn-home-refresh .bn-home-product-grid .woocommerce-LoopProduct-link > picture > img,
body.home #bn-home-refresh .bn-home-product-grid img.bn-product-image-fallback {
  order: 0 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  aspect-ratio: 3 / 4 !important;
  object-fit: contain !important;
  object-position: center top !important;
  background: #f3f1ee !important;
}

/* WooCommerce's native SALE is redundant with the theme's real product badge. */
body.home #bn-home-refresh .bn-home-product-grid > li.product .onsale {
  display: none !important;
}

body.home #bn-home-refresh .bn-home-product-grid .bn-loop-card-actions {
  position: absolute !important;
  z-index: 2 !important;
  inset: 10px auto auto 10px !important;
  display: flex !important;
  align-items: flex-start !important;
  width: auto !important;
  max-width: calc(100% - 20px) !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}

body.home #bn-home-refresh .bn-home-product-grid .bn-loop-badge {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 24px !important;
  margin: 0 !important;
  padding: 5px 8px !important;
  background: #fff !important;
  color: #202020 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: .045em !important;
}

/* Both the original loop anchor and the MU swatch script's direct children
 * use these orders. Swatch buttons stay outside the product anchor after init. */
body.home #bn-home-refresh .bn-home-product-grid .bn-card-colors {
  position: relative !important;
  order: 10 !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 7px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 26px !important;
  margin: 8px 0 0 !important;
  padding: 3px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: thin;
  color: #666 !important;
  font-size: 11px !important;
}

body.home #bn-home-refresh .bn-home-product-grid .bn-card-colors .bn-card-swatch {
  position: relative !important;
  display: inline-block !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

body.home #bn-home-refresh .bn-home-product-grid .bn-card-colors .bn-card-swatch-static {
  cursor: default !important;
}

body.home #bn-home-refresh .bn-home-product-grid .bn-loop-title-link {
  order: 20 !important;
  display: block !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: #202020 !important;
  text-decoration: none !important;
}

body.home #bn-home-refresh .bn-home-product-grid .woocommerce-loop-product__title {
  order: 20 !important;
  display: -webkit-box !important;
  width: 100% !important;
  min-height: 2.8em !important;
  height: 2.8em !important;
  max-height: 2.8em !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: #202020 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

body.home #bn-home-refresh .bn-home-product-grid .price {
  order: 30 !important;
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 3px 7px !important;
  min-height: 22px !important;
  margin: 6px 0 0 !important;
  padding: 0 !important;
  color: #202020 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  text-align: left !important;
}

body.home #bn-home-refresh .bn-home-product-grid .price del {
  order: 1 !important;
  color: #777 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  opacity: 1 !important;
  text-decoration: line-through !important;
}

body.home #bn-home-refresh .bn-home-product-grid .price ins {
  order: 0 !important;
  background: transparent !important;
  color: #b63838 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

body.home #bn-home-refresh .bn-home-product-grid .price .amount,
body.home #bn-home-refresh .bn-home-product-grid .price bdi {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

body.home #bn-home-refresh .bn-home-product-grid .price ins * {
  text-decoration: none !important;
}

body.home #bn-home-refresh .bn-home-product-grid .bn-card-rating {
  order: 40 !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  min-height: 18px !important;
  margin: 4px 0 0 !important;
  padding: 0 !important;
  color: #444 !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
}

body.home #bn-home-refresh .bn-home-product-grid .bn-card-rating b,
body.home #bn-home-refresh .bn-home-product-grid .bn-card-rating em {
  font-size: 11px !important;
  font-weight: 400 !important;
  font-style: normal !important;
}

body.home #bn-home-refresh .bn-home-product-grid .bn-card-rating span {
  letter-spacing: .025em !important;
}

/* Existing source only emits a custom rating for products with real reviews. */
body.home #bn-home-refresh .bn-home-product-grid .star-rating {
  display: none !important;
}

body.home #bn-home-refresh .bn-home-product-grid .bn-card-shipping,
body.home #bn-home-refresh .bn-home-product-grid .bn-card-perks {
  order: 50 !important;
}

/* Editorial blocks share the same space and readable text scale. */
body.home #bn-home-refresh > .wide-banner,
body.home #bn-home-refresh > .bn-club,
body.home #bn-home-refresh > .signup {
  margin-top: var(--bn-refresh-space) !important;
}

body.home #bn-home-refresh > .wide-banner {
  height: clamp(300px, 35vw, 470px) !important;
}

body.home #bn-home-refresh > .wide-banner > img {
  object-position: center 25% !important;
}

body.home #bn-home-refresh > .bn-club {
  display: grid !important;
  grid-template-columns: 1.15fr 1fr !important;
  align-items: stretch !important;
  height: clamp(480px, 44vw, 560px) !important;
  min-height: 0 !important;
  max-height: none !important;
}

body.home #bn-home-refresh > .bn-club > img {
  display: block !important;
  align-self: stretch !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center top !important;
}

body.home #bn-home-refresh .wide-banner h2 {
  margin: 10px 20px 22px !important;
  font-size: clamp(28px, 3.5vw, 46px) !important;
  line-height: 1.15 !important;
  text-align: center !important;
}

body.home #bn-home-refresh .wide-banner p {
  margin: 0 !important;
  font-size: 12px !important;
  letter-spacing: .08em !important;
}

body.home #bn-home-refresh .bn-section-intro {
  max-width: 680px !important;
  margin: 0 auto 24px !important;
}

body.home #bn-home-refresh .bn-section-intro > p {
  margin: 0 0 8px !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  letter-spacing: .12em !important;
}

body.home #bn-home-refresh .bn-section-intro > h2 {
  margin-bottom: 0 !important;
}

body.home #bn-home-refresh .bn-occasion-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: var(--bn-refresh-grid-gap) !important;
  min-width: 0 !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
}

body.home #bn-home-refresh .bn-occasion-grid > article {
  position: relative !important;
  flex: none !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden !important;
}

body.home #bn-home-refresh .bn-occasion-grid article > img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center top !important;
}

body.home #bn-home-refresh .bn-occasion-grid article > div {
  inset: auto 26px 26px !important;
  width: auto !important;
  padding: 0 !important;
}

body.home #bn-home-refresh .bn-occasion-grid h3 {
  color: #fff !important;
  margin: 0 0 9px !important;
  font-size: clamp(22px, 2.2vw, 30px) !important;
  line-height: 1.15 !important;
  letter-spacing: -.015em !important;
}

body.home #bn-home-refresh .bn-occasion-grid p {
  color: #fff !important;
  display: block !important;
  margin: 0 0 14px !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body.home #bn-home-refresh .bn-occasion-grid a {
  color: #fff !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
}

body.home #bn-home-refresh a:focus-visible,
body.home #bn-home-refresh button:focus-visible,
body.home #bn-home-refresh input:focus-visible {
  outline: 2px solid #185c68 !important;
  outline-offset: 4px !important;
}

body.home #bn-home-refresh .bn-editorial-hero a:focus-visible,
body.home #bn-home-refresh .bn-getaway-mosaic a:focus-visible,
body.home #bn-home-refresh .bn-occasion-grid a:focus-visible {
  outline-color: #fff !important;
  outline-offset: -4px !important;
}

@media (min-width: 768px) and (max-width: 1099px) {
  body.home #bn-home-refresh #shop .categories.bn-getaway-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body.home #bn-home-refresh ul.bn-home-product-grid {
    grid-auto-columns: calc((100% - 2 * var(--bn-refresh-grid-gap)) / 3) !important;
  }

  body.home #bn-home-refresh .bn-home-benefits > article {
    gap: 10px !important;
    padding: 16px 12px !important;
  }
}

@media (max-width: 767px) {
  body.home #bn-home-refresh {
    --bn-refresh-gutter: 16px;
    --bn-refresh-space: 36px;
    --bn-refresh-grid-gap: 12px;
  }

  body.home #bn-home-refresh ul.bn-home-product-grid {
    grid-auto-columns: calc((100% - var(--bn-refresh-grid-gap)) / 2) !important;
  }

  body.home #bn-home-refresh .title-row {
    gap: 6px 8px !important;
    margin-bottom: 18px !important;
  }

  body.home #bn-home-refresh .title-row > h2 {
    flex-basis: auto !important;
    font-size: 20px !important;
  }

  body.home #bn-home-refresh .title-row > a {
    min-height: 32px !important;
    font-size: 11px !important;
  }

  body.home #bn-home-refresh .hero.bn-editorial-hero {
    height: clamp(440px, 116vw, 530px) !important;
    aspect-ratio: auto !important;
  }

  body.home #bn-home-refresh .bn-editorial-hero .bn-hero-media img {
    object-position: 68% center !important;
  }

  body.home #bn-home-refresh .bn-editorial-hero > .bn-hero-copy {
    bottom: 26px !important;
  }

  body.home #bn-home-refresh .bn-hero-copy h1 {
    max-width: 380px !important;
    margin-bottom: 10px !important;
    font-size: 29px !important;
  }

  body.home #bn-home-refresh .bn-hero-copy p {
    max-width: 340px !important;
    margin-bottom: 18px !important;
    font-size: 12px !important;
  }

  body.home #bn-home-refresh .bn-hero-copy .bn-hero-actions {
    gap: 8px !important;
    max-width: 380px !important;
  }

  body.home #bn-home-refresh .bn-hero-copy .bn-hero-actions > a {
    min-height: 44px !important;
    padding: 10px 6px !important;
    font-size: 10px !important;
  }

  body.home #bn-home-refresh .benefits.bn-home-benefits {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 4px var(--bn-refresh-gutter) !important;
  }

  body.home #bn-home-refresh .bn-home-benefits > article {
    justify-content: flex-start !important;
    min-height: 0 !important;
    padding: 13px 2px !important;
    border-right: 0 !important;
    border-bottom: 1px solid #e2e0d7 !important;
  }

  body.home #bn-home-refresh .bn-home-benefits > article:last-child {
    border-bottom: 0 !important;
  }

  body.home #bn-home-refresh #shop .categories.bn-getaway-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    grid-auto-rows: auto !important;
    gap: 10px !important;
  }

  body.home #bn-home-refresh #shop .bn-getaway-mosaic > article.is-lead {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  body.home #bn-home-refresh #shop .bn-getaway-mosaic h3,
  body.home #bn-home-refresh #shop .bn-getaway-mosaic span {
    left: 12px !important;
  }

  body.home #bn-home-refresh #shop .bn-getaway-mosaic h3 {
    font-size: 13px !important;
  }

  body.home #bn-home-refresh .bn-home-product-grid .woocommerce-loop-product__title {
    font-size: 13px !important;
  }

  body.home #bn-home-refresh .bn-home-product-grid .price {
    gap: 3px 5px !important;
    font-size: 14px !important;
  }

  body.home #bn-home-refresh .bn-home-product-grid .price del {
  order: 1 !important;
    font-size: 11px !important;
  }

  body.home #bn-home-refresh .bn-home-product-grid .bn-loop-card-actions {
    inset: 7px auto auto 7px !important;
    max-width: calc(100% - 14px) !important;
  }

  body.home #bn-home-refresh .bn-home-product-grid .bn-loop-badge {
    min-height: 22px !important;
    padding: 4px 7px !important;
    font-size: 9px !important;
  }

  body.home #bn-home-refresh > .bn-club {
    grid-template-columns: minmax(0, 1fr) !important;
    height: auto !important;
  }

  body.home #bn-home-refresh > .bn-club > img {
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
  }

  body.home #bn-home-refresh .bn-occasion-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  body.home #bn-home-refresh .bn-occasion-grid article > div {
    inset: auto 20px 20px !important;
  }
}

/* On small phones the heading and arrows share one row; the shop link
 * gets its own short, right-aligned row instead of squeezing the heading. */
@media (max-width: 389px) {
  body.home #bn-home-refresh .title-row {
    gap: 4px 10px !important;
  }

  body.home #bn-home-refresh .title-row > h2 {
    order: 0 !important;
    flex-basis: calc(100% - 88px) !important;
  }

  body.home #bn-home-refresh .title-row > .bn-home-rail-controls {
    order: 1 !important;
  }

  body.home #bn-home-refresh .title-row > a {
    order: 2 !important;
    min-height: 24px !important;
    margin-left: auto !important;
    padding: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home #bn-home-refresh ul.bn-home-product-grid {
    scroll-behavior: auto;
  }

  body.home #bn-home-refresh #shop .bn-getaway-mosaic img {
    transition: none !important;
    transform: none !important;
  }
}
body.home #bn-home-refresh .title-row > .bn-home-rail-controls[hidden] { display: none !important; }
body.home #bn-home-refresh ul.bn-home-product-grid:focus-visible { outline: 2px solid #185c68; outline-offset: 4px; }

/* Homepage font authority: reuse the existing verified storefront font asset.
 * This stylesheet is enqueued only for the front page; scope every use to its main.
 */
@font-face {
  font-family: 'Figtree';
  src: url('./fonts/figtree-variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

body.home #bn-home-refresh {
  --bn-storefront-font: 'Figtree', Arial, sans-serif;
}

body.home #bn-home-refresh,
body.home #bn-home-refresh *,
body.home #bn-home-refresh *::before,
body.home #bn-home-refresh *::after {
  font-family: var(--bn-storefront-font) !important;
}
