/* Shared native recommendation cards, 22 November 2026.
 * One scoped layer owns recommendation rails across the Hebrew site.
 * Native WooCommerce forms, prices, links and optical photo fitting are retained.
 */

@font-face {
  font-family:"BaristaGalleryHeebo";
  src:url("../fonts/heebo/heebo-v4-hebrew_latin-regular.woff2") format("woff2");
  font-weight:400; font-style:normal; font-display:swap;
}
@font-face {
  font-family:"BaristaGalleryHeebo";
  src:url("../fonts/heebo/heebo-v4-hebrew_latin-500.woff2") format("woff2");
  font-weight:500; font-style:normal; font-display:swap;
}

@layer bsf-final {
body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card {
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  align-self:stretch!important;
  justify-content:flex-start!important;
  gap:0!important;
  grid-template-rows:none!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  padding:0 0 6px!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  position:relative!important;
  overflow:visible!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card .bsf-card-photo {
  display:flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:4 / 5!important;
  max-height:300px!important;
  padding:0!important;
  margin:0!important;
  background:var(--bsf-paper,#f7f4ed)!important;
  isolation:isolate!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card .bsf-card-photo img {
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  mix-blend-mode:multiply!important;
  background:transparent!important;
  opacity:1!important;
  filter:none!important;
  /* Preserve native per-image normalization transforms. */
  margin:0!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card .bsf-card-info {
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  align-items:stretch!important;
  align-self:stretch!important;
  justify-content:flex-start!important;
  gap:0!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  min-width:0!important;
  padding:4px 0 0!important;
  margin:0!important;
  grid-area:auto!important;
  grid-template-rows:none!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card .bsf-card-heading {
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:2px!important;
  width:100%!important;
  min-width:0!important;
  grid-template-columns:none!important;
  flex:0 0 auto!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card .bsf-card-title {
  display:block!important;
  width:100%!important;
  min-width:0!important;
  grid-area:auto!important;
  min-height:0!important;
  min-block-size:0!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  font:400 16px/1.4 "BaristaGalleryHeebo",Heebo,Arial,sans-serif!important;
  color:#262b27!important;
  text-align:center!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
  overflow:visible!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card .bsf-card-colour-label {
  display:block!important;
  direction:rtl!important;
  unicode-bidi:isolate!important;
  margin-top:2px!important;
  font-size:12px!important;
  line-height:1.4!important;
  font-weight:400!important;
  color:#70756d!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card .bsf-card-purchase {
  display:flex!important;
  flex:0 0 auto!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:6px!important;
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  margin:auto 0 0!important;
  padding:0!important;
  grid-area:auto!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card .bsf-card-options {
  order:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:stretch!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card .bsf-card-options :is(.vi_wpvs_loop_variation_form,.vi_variation_container) {
  grid-area:auto!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  min-height:0!important;
  text-align:center!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card .bsf-card-price:not([hidden]) {
  display:flex!important;
  flex-direction:row!important;
  order:1!important;
  grid-area:auto!important;
  flex:0 0 auto!important;
  align-items:baseline!important;
  align-content:center!important;
  justify-content:center!important;
  align-self:stretch!important;
  flex-wrap:wrap!important;
  gap:3px 7px!important;
  width:100%!important;
  min-width:0!important;
  min-height:30px!important;
  min-block-size:30px!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  opacity:1!important;
  visibility:visible!important;
  direction:rtl!important;
  color:#294a3c!important;
  font:400 19px/1.4 "BaristaGalleryHeebo",Heebo,Arial,sans-serif!important;
  text-align:center!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card :is(.bsf-card-price,.bsf-card-variation-price) ins {
  order:-1!important;
  background:none!important;
  color:#294a3c!important;
  text-decoration:none!important;
  font-size:19px!important;
  font-weight:400!important;
  opacity:1!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card :is(.bsf-card-price,.bsf-card-variation-price) del {
  order:0!important;
  color:#65665d!important;
  font-size:13px!important;
  font-weight:400!important;
  opacity:1!important;
  text-decoration:line-through!important;
  text-decoration-thickness:1px!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card :is(.bsf-card-price,.bsf-card-variation-price) :is(ins,del) * {
  font-size:inherit!important;
  font-weight:inherit!important;
  color:inherit!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card :is(.bsf-card-price,.bsf-card-variation-price) bdi {
  display:inline-block!important;
  direction:ltr!important;
  unicode-bidi:isolate!important;
  white-space:nowrap!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card .bsf-card-variation-price {
  order:2!important;
  grid-area:auto!important;
  margin:0!important;
  text-align:center!important;
  direction:rtl!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card.bsf-card-variation-active .bsf-card-price,
body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card.bsf-card-price-missing .bsf-card-price,
body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card [data-bsf-native-action-hidden="true"],
body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card :is(.btn-add-to-cart,.bsu-accessory-action,.brp-quick-row)[hidden] {
  display:none!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card .bsf-card-price-link {
  order:1!important;
  display:flex!important;
  min-height:48px!important;
  align-items:center!important;
  justify-content:center!important;
  color:#294c39!important;
  font-size:15px!important;
  text-decoration:underline!important;
  text-underline-offset:3px;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card .brp-quick-row:not([hidden]):not([data-bsf-native-action-hidden]) {
  display:flex!important;
  order:3!important;
  grid-area:auto!important;
  position:static!important;
  inset:auto!important;
  transform:none!important;
  align-self:stretch!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:44px!important;
  margin:0!important;
  padding:0!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card :is(.brp-quick-add,.btn-add-to-cart,.bsu-accessory-action,.bscatalog-category-link):not([hidden]):not([data-bsf-native-action-hidden]) {
  display:flex!important;
  order:3!important;
  grid-area:auto!important;
  box-sizing:border-box!important;
  position:static!important;
  inset:auto!important;
  transform:none!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  min-height:44px!important;
  height:auto!important;
  margin:0!important;
  padding:10px 8px!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  background:#e3e8d9!important;
  color:#294a3c!important;
  font:400 14px/1.45 "BaristaGalleryHeebo",Heebo,Arial,sans-serif!important;
  white-space:normal!important;
  text-align:center!important;
  box-shadow:none!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card :is(.brp-quick-add,.btn-add-to-cart,.bsu-accessory-action,.bscatalog-category-link):not(:disabled):hover {
  background:#d6dfca!important;
  color:#294a3c!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card :is(a,button,input,select):focus-visible {
  outline:2px solid #2c4938!important;
  outline-offset:3px!important;
}

/* Preserve Slick's calculated widths and transforms. Only equalize height. */
body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card-rail.bsf-uses-slick {
  display:block!important;
  min-height:0!important;
  height:auto!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card-rail .slick-list {
  width:100%!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card-rail .slick-track {
  display:flex!important;
  align-items:stretch!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card-rail .slick-slide {
  float:none!important;
  align-self:stretch!important;
  height:auto!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card-rail .slick-slide > div {
  height:100%!important;
}

/* Propagate the recent rail's equal height through Slick's native wrappers.
   Widths and transforms still belong to Slick; only the vertical flow changes. */
body.bs-refined .recently-watched-wrapper .bsf-card-rail .slick-slide:not(article),
body.bs-refined .recently-watched-wrapper .bsf-card-rail .slick-slide:not(article) > div {
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
}
body.bs-refined .recently-watched-wrapper .bsf-card-rail .slick-slide:not(article) > div {
  flex:1 1 auto!important;
  height:auto!important;
  min-height:0!important;
}
body.bs-refined .recently-watched-wrapper article.bsf-card {
  flex:1 1 auto!important;
}
body.bs-refined .recently-watched-wrapper article.bsf-card > .bscatalog-category-action {
  flex:0 0 auto!important;
  margin-top:6px!important;
}

/* Native horizontal rails: two complete cards on mobile, four on desktop. */
body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card-rail:not(.bsf-uses-slick) {
  display:grid!important;
  grid-auto-flow:column!important;
  grid-auto-columns:calc((100% - 48px) / 4)!important;
  grid-template-columns:none!important;
  gap:16px!important;
  align-items:stretch!important;
  height:auto!important;
  min-height:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-snap-type:x proximity;
  scroll-padding-inline:4px;
  padding-block:3px 10px!important;
}

body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card-rail:not(.bsf-uses-slick) > * {
  box-sizing:border-box!important;
  min-width:0!important;
  max-width:none!important;
  width:100%!important;
  height:100%!important;
  flex:initial!important;
  flex-basis:auto!important;
  align-self:stretch!important;
  scroll-snap-align:start;
}

/* Native bsu-slider DIVs used to reserve 25% of a flex track. They are now
   full-width grid items: remove that second percentage at the wrapper level. */
body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card-rail:not(.bsf-uses-slick) > div {
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  width:100%!important;
  max-width:none!important;
  flex:0 1 auto!important;
  flex-basis:auto!important;
}

@media (max-width:1023px) {
  body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card {
    padding-inline:0!important;
  }
  body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card .bsf-card-title {
    font-size:16px!important;
  }
  body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card-rail:not(.bsf-uses-slick) {
    grid-auto-columns:calc((100% - 12px) / 2)!important;
    gap:12px!important;
  }
}
}

/* Existing grinder, footer and service details retain their product-only scope. */
@layer bsf-final {
/* A local paper backdrop makes multiply reliable inside transformed carousel tracks. */
body.bs-final-polish.single-product #barista-clean-note :is(#bsf-marax-grinders,#bsf-product-grinders) .bsq-photo {
  background:var(--bsf-paper,#f0eadf)!important;
  isolation:isolate!important;
  padding:0!important;
}
body.bs-final-polish.single-product #barista-clean-note :is(#bsf-marax-grinders,#bsf-product-grinders) .bsq-photo img {
  mix-blend-mode:multiply!important;
  background:transparent!important;
  object-fit:contain!important;
  object-position:center!important;
  opacity:1!important;
  filter:none!important;
}
/* Keep native price HTML; RTL row + explicit order places sale right, crossed-out left. */
body.bs-final-polish.single-product #barista-clean-note :is(#bsf-marax-grinders,#bsf-product-grinders) :is(.bsq-price,.bsq-price>.price) {
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  direction:rtl!important;
  align-items:baseline!important;
  justify-content:center!important;
  gap:3px 7px!important;
}
body.bs-final-polish.single-product #barista-clean-note :is(#bsf-marax-grinders,#bsf-product-grinders) .bsq-price ins {
  order:-1!important;
  background:none!important;
  text-decoration:none!important;
}
body.bs-final-polish.single-product #barista-clean-note :is(#bsf-marax-grinders,#bsf-product-grinders) .bsq-price del,
body.bs-final-polish.single-product #barista-clean-note :is(#bsf-marax-grinders,#bsf-product-grinders) .bsq-price del bdi {
  order:0!important;
  text-decoration:line-through!important;
  text-decoration-thickness:1px!important;
}
/* Shared catalog/recommendation button palette; original actions are retained. */
body.bs-final-polish.single-product #barista-clean-note :is(#bsf-marax-grinders,#bsf-product-grinders) .bsq-add {
  background:#294a3c!important;
  border:1px solid #294a3c!important;
  color:#fffdf8!important;
  border-radius:10px!important;
  min-height:44px!important;
  padding:10px 8px!important;
}
body.bs-final-polish.single-product #barista-clean-note :is(#bsf-marax-grinders,#bsf-product-grinders) .bsq-add:hover {
  background:#294a3c!important;
  color:#fffdf8!important;
}
body.bs-final-polish.single-product #barista-clean-note :is(#bsf-marax-grinders,#bsf-product-grinders) {
  margin:28px 0!important;
  padding-top:22px!important;
}
body.bs-final-polish.single-product #barista-clean-note :is(#bsf-marax-grinders,#bsf-product-grinders) :is(.bsf-grinder-intro,.bsf-grinder-status) {
  margin-bottom:14px!important;
}
body.bs-final-polish.single-product #barista-clean-note :is(#bsf-marax-grinders,#bsf-product-grinders) .bsf-grinder-grid {
  gap:20px 16px!important;
}
body.bs-final-polish.single-product #barista-clean-note :is(#bsf-marax-grinders,#bsf-product-grinders) .bsq-photo {
  margin-bottom:8px!important;
}
body.bs-final-polish.single-product #barista-clean-note :is(#bsf-marax-grinders,#bsf-product-grinders) .bsf-grinder-name {
  min-height:2.8em!important;
  line-height:1.4!important;
  margin-bottom:6px!important;
}
body.bs-final-polish.single-product #barista-clean-note :is(#bsf-marax-grinders,#bsf-product-grinders) .bsq-reason {
  min-height:2.8em!important;
  line-height:1.4!important;
  margin-bottom:8px!important;
}
body.bs-final-polish.single-product #barista-clean-note :is(#bsf-marax-grinders,#bsf-product-grinders) .bsq-price {
  margin:auto 0 8px!important;
}
@media(max-width:760px) {
  body.bs-final-polish.single-product #barista-clean-note :is(#bsf-marax-grinders,#bsf-product-grinders) .bsf-grinder-grid {
    gap:18px 12px!important;
  }
}
}

/* Recognisable WhatsApp control in the sample delivery/service details. */
@layer bsf-final {
body.bs-final-polish.single-product .brp-service-grid .bsf-whatsapp-link {
  display:inline-flex!important; align-items:center!important; gap:6px!important;
  min-height:36px!important; vertical-align:middle!important; text-decoration:none!important;
  color:inherit!important; white-space:nowrap!important;
}
body.bs-final-polish.single-product .brp-service-grid .bsf-whatsapp-icon {
  width:20px!important; height:20px!important; flex:0 0 20px!important;
}
}

/* Shared accessory rail: reserve option space only for the visible cards. */
@layer bsf-final {
body.bs-final-polish.single-product .related-products-wrapper.bsf-visible-accessories .bsf-card {
  height:auto!important;
  align-self:flex-start!important;
}
body.bs-final-polish.single-product .related-products-wrapper.bsf-visible-accessories .bsf-card .bsf-card-info {
  box-sizing:border-box!important;
  flex:0 0 auto!important;
  min-height:var(--bsf-visible-info-height,0px)!important;
}
body.bs-final-polish.single-product .related-products-wrapper.bsf-visible-accessories .bsf-card-options {
  min-height:var(--bsf-visible-option-height,0px)!important;
}
/* Colour is chosen on the accessory page; omit empty option rows as well. */
body.bs-final-polish.single-product .related-products-wrapper.bsf-visible-accessories .bsf-card-colour-page .bsf-card-options,
body.bs-final-polish.single-product .related-products-wrapper.bsf-visible-accessories .bsf-card:not(.bsf-card-has-options) .bsf-card-options {
  display:none!important;
  min-height:0!important;
}
body.bs-final-polish.single-product .related-products-wrapper.bsf-visible-accessories .bsf-card-colour-page :is(.brp-quick-row,.btn-add-to-cart,.bsu-accessory-action) {
  display:none!important;
}
body.bs-final-polish.single-product .related-products-wrapper.bsf-visible-accessories .bsf-card-colour-link {
  display:flex!important;
  order:3!important;
  box-sizing:border-box!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:44px!important;
  margin:0!important;
  padding:10px 8px!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  background:#e3e8d9!important;
  color:#294a3c!important;
  font:400 15px/1.45 "BaristaGalleryHeebo",Heebo,Arial,sans-serif!important;
  text-align:center!important;
  text-decoration:none!important;
}
body.bs-final-polish.single-product .related-products-wrapper.bsf-visible-accessories .bsf-card-rail:not(.bsf-uses-slick),
body.bs-final-polish.single-product .related-products-wrapper.bsf-visible-accessories .bsf-card-rail .slick-list {
  box-sizing:border-box!important;
  height:var(--bsf-visible-rail-height,auto)!important;
}
body.bs-final-polish.single-product .related-products-wrapper.bsf-visible-accessories .bsf-card-rail:not(.bsf-uses-slick),
body.bs-final-polish.single-product .related-products-wrapper.bsf-visible-accessories .bsf-card-rail .slick-track {
  align-items:flex-start!important;
}
body.bs-final-polish.single-product .related-products-wrapper.bsf-visible-accessories .bsf-card-rail:not(.bsf-uses-slick)>*,
body.bs-final-polish.single-product .related-products-wrapper.bsf-visible-accessories .bsf-card-rail .slick-slide,
body.bs-final-polish.single-product .related-products-wrapper.bsf-visible-accessories .bsf-card-rail .slick-slide>div {
  height:auto!important;
  align-self:flex-start!important;
}
body.bs-final-polish.single-product .related-products-wrapper>.bs-all-accessories {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  width:fit-content!important;
  min-height:44px!important;
  margin:12px auto 0!important;
  padding:8px 16px!important;
  border:1px solid #2e4c40!important;
  border-radius:10px!important;
  background:#2e4c40!important;
  color:#fffdf8!important;
  font-size:14px!important;
  line-height:1.4!important;
  text-decoration:none!important;
}

}

/* Compact native catalog metadata and complete, accessible colour choices. */
@layer bsf-final {
  body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card :is(.bn-card-sale-slot,.bn-classic-slot,.bn-card-badge,.bn-classic-offer,.bscg-offer-note) {
    display:none!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
  }
  body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card :is(.bsf-card-price,.bsf-card-variation-price)[hidden] {
    display:none!important;
  }
  body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card :where(.bsf-card-variation-price:not([hidden]):not(:empty),.bsf-card-variation-price:not([hidden]) .price) {
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    align-items:baseline!important;
    justify-content:center!important;
    direction:rtl!important;
    gap:3px 7px!important;
  }
  body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card :is(.bsf-card-title>a,.bsf-card-model-label,.bscg-model) {
    display:block!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    font:400 16px/1.4 "BaristaGalleryHeebo",Heebo,Arial,sans-serif!important;
    color:#262b27!important;
    text-align:center!important;
    text-decoration:none!important;
  }
  body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card :is(.bsf-card-brand,.bscg-brand,.bsf-card-model-code,.bscg-code,.bs-cat-model) {
    display:block!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    font:400 11px/1.35 "BaristaGalleryHeebo",Heebo,Arial,sans-serif!important;
    color:#5d655c!important;
    text-align:center!important;
  }
  body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card :is(.bsf-card-finish-label,.bscg-finish,[data-bscg-colour-detail],.bsf-card-colour-label[hidden]) {
    display:none!important;
    min-height:0!important;
    margin:0!important;
  }
  body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card :is(.bs-cat-model:empty,.bscg-brandless>.bscg-brand),
  body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card:not(.bsf-card-has-options) .bsf-card-options,
  body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card .lc-swatches:not(:has(>a.lc-swatch~a.lc-swatch)) {
    display:none!important;
    min-height:0!important;
    margin:0!important;
  }
  body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card .lc-swatches {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-wrap:nowrap!important;
    width:100%!important;
    min-height:36px!important;
    margin:0!important;
    padding:0!important;
    gap:0!important;
  }
  body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card .lc-swatches a.lc-swatch {
    display:inline-flex!important;
    flex:0 1 36px!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:28px!important;
    max-width:36px!important;
    height:36px!important;
    min-height:36px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
  }
  body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card .lc-swatches a.lc-swatch span {
    display:block!important;
    width:14px!important;
    height:14px!important;
    border-radius:50%!important;
  }
  body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card .bscatalog-category-action {
    display:block!important;
    order:3!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  body.bs-refined section.bsf-after-accessories {
    padding-block:16px!important;
    margin-block:0!important;
  }
  body.bs-refined .recently-watched-wrapper {
    padding-block:0!important;
    margin-block:0!important;
  }
  @media(max-width:767px) {
    /* Recent products use the main container's existing outer gutter once.
       Leave the main width and the separate Nivona foundation unchanged. */
    body.bs-refined.single-product:not(.postid-886) #barista-clean-note .bs-main section.bsf-after-accessories {
      box-sizing:border-box!important;
      width:calc(100% + 32px)!important;
      max-width:none!important;
      margin-inline:-16px!important;
      padding-inline:0!important;
    }
    body.bs-refined.single-product:not(.postid-886) #barista-clean-note .bs-main section.bsf-after-accessories .recently-watched-wrapper {
      box-sizing:border-box!important;
      width:100%!important;
      max-width:100%!important;
      padding-inline:0!important;
    }
    /* The actual recent tail is followed by the footer. Its hidden purchase
       rail must not leave a second 100px reservation before that footer. */
    body.bs-refined.single-product:not(.postid-886) #barista-clean-note .bs-main:has(> section.bsf-after-accessories:last-child .recently-watched-wrapper),
    body.bs-refined.single-product:not(.postid-886) #barista-clean-note .bs-main:has(> div > section.bsf-after-accessories:last-child .recently-watched-wrapper) {
      padding-bottom:24px!important;
    }
  }
  body.bs-refined .recently-watched-wrapper :is(h2,.section-title) {
    margin-block:0 12px!important;
    font-size:22px!important;
    font-weight:400!important;
    line-height:1.35!important;
  }
  @media(max-width:767px) {
    body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card .bsf-card-photo {
      aspect-ratio:5 / 6!important;
    }
    body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card :is(.bsf-card-price,.bsf-card-variation-price,.bsf-card-price ins,.bsf-card-variation-price ins) {
      font-size:18px!important;
    }
    body.bs-refined :is(.related-products-wrapper,.recently-watched-wrapper) .bsf-card :is(.bsf-card-price,.bsf-card-variation-price) del {
      font-size:12px!important;
    }
  }
}


