#bsny-product,
.single-product #content:has(#bsny-product) {
  --ny-paper: #f2f2e8;
}
@media (min-width: 851px) {
  .single-product #content:has(#bsny-product) {
    background-color: var(--ny-paper);
  }
}
#bsny-product {
  --ny-ink: #142833;
  --ny-muted: #465b61;
  --ny-green: #275346;
  --ny-white: #fffdf7;
  --ny-line: #cbd5c8;
  --ny-serif: Georgia, "Times New Roman", serif;
  margin: 0 auto;
  color: var(--ny-ink);
  background: var(--ny-paper);
}
#bsny-product :where(a, button, input, summary):focus-visible {
  outline: 2px solid #4c6e24;
  outline-offset: 3px;
}
#bsny-product .bsny-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.09fr) minmax(0, 1fr);
  grid-template-areas: 'gallery lead' 'gallery buy';
  grid-template-rows: max-content 1fr;
  align-items: start;
  gap: .64rem clamp(1.5rem, 4vw, 4rem);
  width: min(100% - 3rem, 77rem);
  margin: 0 auto;
  padding: clamp(1.6rem, 4vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}
#bsny-product :is(.bsny-gallery, .bsny-lead, .bsny-buy) {
  min-width: 0;
  width: 100%;
  padding: 0;
}
#bsny-product .bsny-gallery { grid-area: gallery; gap: .75rem; }
#bsny-product .bsny-lead { grid-area: lead; gap: .65rem; }
#bsny-product .bsny-buy { grid-area: buy; gap: .65rem; }
#bsny-product .woocommerce-product-gallery { position: relative; width: 100%; margin: 0; }
#bsny-product .bsny-gallery-zoom {
  position: absolute;
  inset: .75rem .75rem auto auto;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid var(--ny-line);
  border-radius: 50%;
  background: var(--ny-white);
  color: var(--ny-ink);
  cursor: zoom-in;
}
#bsny-product .bsny-gallery-zoom:hover { background: #e7eee2; }
#bsny-product .bsny-gallery-zoom::before {
  content: "";
  width: .85rem;
  height: .85rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: translate(-.11rem, -.11rem);
}
#bsny-product .bsny-gallery-zoom::after {
  content: "";
  position: absolute;
  width: .45rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(.43rem, .42rem) rotate(45deg);
}
#bsny-product .woocommerce-product-gallery .flex-viewport {
  border: 1px solid var(--ny-line);
  border-radius: .9rem;
  background: #e7e8e4;
}
#bsny-product .woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .6rem 0 0;
}
#bsny-product .woocommerce-product-gallery .flex-control-thumbs li {
  width: clamp(2.1rem, 6vw, 3.7rem);
  min-width: 0;
  margin: 0;
}
#bsny-product .woocommerce-product-gallery .flex-control-thumbs img {
  border: 1px solid #c1ccbf;
  border-radius: .36rem;
}
#bsny-product .woocommerce-product-gallery .flex-control-thumbs .flex-active {
  border-color: var(--ny-green);
}
#bsny-product .bsny-gallery-note p { margin: 0; color: var(--ny-muted); font-size: .82rem; }
#bsny-product .bsny-kicker .elementor-heading-title {
  color: var(--ny-green);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
#bsny-product .bsny-title .elementor-heading-title {
  color: var(--ny-ink);
  font: 500 clamp(2.15rem, 4.7vw, 4.55rem)/.98 var(--ny-serif);
  letter-spacing: -.047em;
}
#bsny-product .bsny-intro p { margin: 0; color: var(--ny-muted); font-size: 1rem; line-height: 1.55; }
#bsny-product .bsny-range p.price { margin: .15rem 0 0; color: var(--ny-ink); font-size: 1.24rem; font-weight: 750; }
#bsny-product .bsny-mobile-choose { display: none; }
#bsny-product .bsny-chooser { margin-top: .3rem; }
#bsny-product .bsny-chooser[hidden] { display: none; }
#bsny-product .bsny-chooser h2 { margin: 0 0 .48rem; color: var(--ny-ink); font-size: 1rem; font-weight: 750; }
#bsny-product .bsny-edition-grid { display: grid; grid-template-columns: repeat(var(--bsny-edition-columns, 3), minmax(0, 1fr)); gap: .45rem; }
#bsny-product .bsny-edition {
  display: flex;
  flex-direction: column;
  gap: .32rem;
  min-width: 0;
  margin: 0;
  padding: .45rem;
  border: 1px solid var(--ny-line);
  border-radius: .57rem;
  background: var(--ny-white);
}
#bsny-product .bsny-edition h3 {
  margin: 0;
  padding: .18rem .2rem;
  color: var(--ny-green);
  font-size: .8rem;
  line-height: 1.25;
}
#bsny-product .bsny-option {
  display: grid;
  gap: .07rem;
  min-width: 0;
  min-height: 3rem;
  padding: .36rem .44rem;
  border: 1px solid var(--ny-line);
  border-radius: .36rem;
  background: transparent;
  color: var(--ny-ink);
  text-align: start;
  white-space: normal;
  letter-spacing: normal;
  text-transform: none;
  font: inherit;
  line-height: 1.22;
}
#bsny-product .bsny-option:hover { background: #edf2e7; border-color: var(--ny-green); }
#bsny-product .bsny-option[aria-pressed="true"] { background: #dae8d4; border-color: var(--ny-green); box-shadow: inset 0 0 0 1px var(--ny-green); }
#bsny-product .bsny-option:disabled { opacity: .58; cursor: not-allowed; }
#bsny-product .bsny-option-name { font-size: .82rem; font-weight: 750; overflow-wrap: anywhere; }
#bsny-product .bsny-option-price { font-size: .75rem; color: var(--ny-muted); }
#bsny-product .bsny-selection { margin: .55rem 0 0; padding: .45rem .65rem; border-inline-start: 2px solid #8aab8c; border-radius: .25rem; background: #e9efe3; color: #315748; font-size: .84rem; font-weight: 600; line-height: 1.4; }
#bsny-product .bsny-selection-price { margin: 0 0 .3rem; color: var(--ny-ink); font-size: 1.1rem; font-weight: 700; }
#bsny-product .bsny-mobile-purchase { display: none; }
#bsny-product .bsny-enhanced form.variations_form .variations { display: none; }
#bsny-product .bsny-purchase .cart { margin: 0; }
#bsny-product .bsny-purchase :is(.elementor-add-to-cart, .cart, .single_variation_wrap) { width: 100%; }
#bsny-product .bsny-purchase .woocommerce-variation { margin: 0 0 .3rem; }
#bsny-product .bsny-purchase .woocommerce-variation-price { color: var(--ny-ink); font-size: 1.1rem; }
#bsny-product .bsny-purchase .woocommerce-variation-availability { font-size: .82rem; }
#bsny-product .bsny-purchase .quantity input { min-height: 2.8rem; }
#bsny-product .bsny-purchase .single_add_to_cart_button {
  min-height: 2.8rem;
  padding: .65rem 1.35rem;
  border-radius: .38rem;
  background: var(--ny-ink);
  color: var(--ny-white);
  font-weight: 750;
}
#bsny-product .bsny-purchase .single_add_to_cart_button:hover { background: var(--ny-green); }
#bsny-product .bsny-purchase .single_add_to_cart_button.disabled { opacity: .48; }
#bsny-product .bsny-product-jumps { display: flex; flex-wrap: wrap; gap: .2rem 1rem; font-size: .82rem; line-height: 1.45; }
#bsny-product .bsny-product-jumps a { padding-block: .25rem; color: var(--ny-green); text-decoration: underline; text-underline-offset: .2em; }
#bsny-product :is(#bsny-buy, #bsny-compare, #bsny-landmark-map, #bsny-delivery-info) { scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 1.25rem); }
#bsny-product :is(.bsny-editorial, .bsny-compare, .bsny-landmarks, .bsny-notes, .bsny-reviews) {
  width: min(100% - 3rem, 77rem);
  margin: 0 auto;
}
#bsny-product .bsny-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(1.3rem, 4vw, 3.8rem);
  padding: clamp(1.2rem, 4vw, 3.25rem);
  border-radius: .9rem;
  background: #152b36;
  color: #f4f5e9;
}
#bsny-product .bsny-editorial div { min-width: 0; }
#bsny-product .bsny-editorial h2 { color: #f9faec; }
#bsny-product .bsny-editorial p { max-width: 33rem; color: #d8e5de; }
#bsny-product .bsny-editorial a { color: #ddefa5; }
#bsny-product .bsny-editorial figure { margin: 0; }
#bsny-product .bsny-editorial figure img {
  width: 100%;
  max-height: 24rem;
  object-fit: contain;
  border-radius: .55rem;
  background: #fafafa;
}
#bsny-product .bsny-editorial figcaption { padding-top: .5rem; color: #d8e5de; font-size: .8rem; }
#bsny-product :is(.bsny-editorial, .bsny-compare, .bsny-landmarks, .bsny-notes, .bsny-reviews) h2 {
  margin: 0 0 .72rem;
  font: 500 clamp(1.75rem, 3.7vw, 3.35rem)/1.02 var(--ny-serif);
  letter-spacing: -.036em;
}
#bsny-product .bsny-compare h2 { margin: 0 0 .7rem; font: 500 clamp(1.65rem, 3.4vw, 2.8rem)/1.1 var(--ny-serif); letter-spacing: normal; }
#bsny-product .bsny-landmarks, #bsny-product .bsny-notes, #bsny-product .bsny-reviews { padding: clamp(2rem, 5vw, 4.25rem) 0 0; }
#bsny-product .bsny-compare-grid, #bsny-product .bsny-landmark-grid, #bsny-product .bsny-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: .85rem;
}
#bsny-product .bsny-compare-grid { grid-template-columns: repeat(var(--bsny-edition-columns, 3), minmax(0, 1fr)); }
#bsny-product :is(.bsny-compare-card, .bsny-landmark, .bsny-note-grid > section) {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--ny-line);
  border-radius: .7rem;
  background: var(--ny-white);
}
#bsny-product :is(.bsny-compare-card, .bsny-landmark, .bsny-note-grid > section) h3 {
  margin: .2rem 0 .35rem;
  color: var(--ny-ink);
  font: 500 1.32rem/1.15 var(--ny-serif);
}
#bsny-product :is(.bsny-compare-card, .bsny-landmark, .bsny-note-grid > section) p { margin: .35rem 0; color: var(--ny-muted); line-height: 1.5; }
#bsny-product .bsny-compare-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: .35rem;
  background: #eceee9;
}
#bsny-product .bsny-compare-card ul { margin: .6rem 0 .35rem; padding-inline-start: 1.15rem; color: var(--ny-muted); font-size: .86rem; }
#bsny-product .bsny-landmark img { width: 100%; aspect-ratio: 1.32; object-fit: contain; border-radius: .35rem; background: #edede7; }
#bsny-product .bsny-reviews { padding-bottom: clamp(2.25rem, 5vw, 4rem); }
#bsny-product .bsny-reviews h2.woocommerce-Reviews-title { font: 700 1.05rem/1.3 system-ui, sans-serif; }
#bsny-product .bsny-reviews #review_form_wrapper, #bsny-product .bsny-reviews #comments { max-width: 54rem; }
@media (max-width: 850px) {
  #bsny-product .bsny-hero { column-gap: 1.4rem; width: min(100% - 2rem, 77rem); }
  #bsny-product :is(.bsny-editorial,.bsny-compare,.bsny-landmarks,.bsny-notes,.bsny-reviews) { width: min(100% - 2rem, 77rem); }
}
@media (max-width: 680px) {
  #bsny-product :is(.bsny-hero,.bsny-editorial) { grid-template-columns: minmax(0, 1fr); }
  #bsny-product .bsny-hero { grid-template-areas: 'lead' 'gallery' 'buy'; grid-template-rows: auto; gap: .85rem; width: calc(100% - 1.25rem); padding-top: .9rem; }
  #bsny-product .bsny-kicker { margin-top: .05rem; }
  #bsny-product .bsny-mobile-choose { display: block; }
  #bsny-product .bsny-mobile-choose p { margin: 0; }
  #bsny-product .bsny-mobile-choose a { color: var(--ny-green); font-size: .9rem; font-weight: 750; }
  #bsny-product .bsny-mobile-purchase {
    position: fixed;
    inset-inline-start: calc(60px + env(safe-area-inset-left, 0px));
    inset-inline-end: calc(98px + env(safe-area-inset-right, 0px));
    bottom: calc(.55rem + env(safe-area-inset-bottom, 0px));
    z-index: 50;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem;
    border: 1px solid var(--ny-line);
    border-radius: .65rem;
    background: var(--ny-white);
    box-shadow: 0 3px 16px #1428332b;
  }
  #bsny-product .bsny-mobile-purchase > div { display: grid; min-width: 0; padding-inline-start: .25rem; line-height: 1.18; overflow-wrap: anywhere; }
  #bsny-product .bsny-mobile-purchase strong { color: var(--ny-ink); font-size: .95rem; }
  #bsny-product .bsny-mobile-purchase span { color: var(--ny-muted); font-size: .72rem; }
  #bsny-product .bsny-mobile-purchase button { flex: 0 0 auto; min-height: 44px; margin-inline-start: auto; padding: .5rem .65rem; border: 0; border-radius: .38rem; background: var(--ny-ink); color: var(--ny-white); font-size: .77rem; font-weight: 750; white-space: nowrap; }
  #bsny-product .bsny-mobile-purchase button:hover { background: var(--ny-green); }
  #bsny-product .bsny-mobile-purchase > [hidden] + button { flex: 1; }
  #bsny-product:has(dialog[open]) .bsny-mobile-purchase { display: none; }
  #bsny-product .bsny-gallery { gap: .45rem; }
  #bsny-product .bsny-gallery-note p { font-size: .74rem; }
  #bsny-product .bsny-edition-grid { grid-template-columns: minmax(0, 1fr); }
  #bsny-product .bsny-edition { display: grid; grid-template-columns: 2.6rem repeat(2, minmax(0, 1fr)); align-items: center; }
  #bsny-product :is(.bsny-compare-grid,.bsny-landmark-grid,.bsny-note-grid) { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  #bsny-product .bsny-landmark img { max-height: 13rem; }
  #bsny-product .bsny-purchase .woocommerce-variation-add-to-cart { display: flex; gap: .5rem; width: 100%; }
  #bsny-product .bsny-purchase .quantity { flex: 0 0 3.15rem; margin: 0; }
  #bsny-product .bsny-purchase .quantity input { width: 100%; }
  #bsny-product .bsny-purchase .single_add_to_cart_button { flex: 1 1 auto; min-width: 8rem; margin: 0; }
}
