/*
 * NSF WooCommerce — Product page
 * 1.5.39
 *
 * Single source of truth for the public WooCommerce product layout.
 * Desktop uses a two-column editorial composition. Mobile becomes a
 * single fluid column with no fixed-width descendants or horizontal bleed.
 */

body.single-product .nsf-site-main,
body.single-product .nsf-native-single,
body.single-product .nsf-native-entry-content,
body.single-product .site-main,
body.single-product .content-area,
body.single-product main#main,
body.single-product #primary,
body.single-product .woocommerce,
body.single-product .woocommerce-page{
  box-sizing:border-box !important;
  min-width:0 !important;
}

body.single-product .nsf-site-main{
  width:100% !important;
  max-width:1120px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.single-product .nsf-native-single{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

body.single-product .nsf-native-entry-content{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

body.single-product .site-main,
body.single-product .content-area,
body.single-product main#main,
body.single-product #primary,
body.single-product .woocommerce{
  width:100% !important;
  max-width:1120px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.single-product #secondary,
body.single-product aside#secondary,
body.single-product .widget-area,
body.single-product aside.sidebar,
body.single-product .sidebar,
body.single-product .site-sidebar,
body.single-product .secondary,
body.single-product .primary-sidebar,
body.single-product .main-sidebar,
body.single-product .wp-block-sidebar,
body.single-product .widget{
  display:none !important;
  width:0 !important;
  max-width:0 !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
}

body.single-product .woocommerce-breadcrumb{
  width:100% !important;
  max-width:none !important;
  margin:28px 0 20px !important;
  padding:0 !important;
  color:#777 !important;
  font:400 .78rem/1.5 "DM Sans",Arial,sans-serif !important;
  overflow-wrap:anywhere !important;
}
body.single-product .woocommerce-breadcrumb a{
  color:#555 !important;
  text-decoration:underline !important;
  text-underline-offset:3px !important;
}

body.single-product div.product{
  display:grid !important;
  grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr) !important;
  column-gap:64px !important;
  row-gap:64px !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  padding:8px 0 80px !important;
  box-sizing:border-box !important;
}

body.single-product div.product > *{min-width:0 !important;box-sizing:border-box !important;}

body.single-product div.product div.images{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  float:none !important;
  margin:0 !important;
}
body.single-product div.product div.images .woocommerce-product-gallery__wrapper{margin:0 !important;}
body.single-product div.product div.images .woocommerce-product-gallery__image{
  width:100% !important;
  max-width:100% !important;
  border:0 !important;
  background:#fff !important;
}
body.single-product div.product div.images img{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  max-height:650px !important;
  object-fit:contain !important;
}
body.single-product div.product div.images .flex-control-thumbs{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:12px !important;
  margin:18px 0 0 !important;
  padding:0 !important;
}
body.single-product div.product div.images .flex-control-thumbs li{
  float:none !important;
  width:76px !important;
  margin:0 !important;
  border:1px solid #ddd !important;
}
body.single-product div.product div.images .flex-control-thumbs li img{
  width:100% !important;
  height:76px !important;
  object-fit:cover !important;
}

body.single-product div.product .summary{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  float:none !important;
  margin:0 !important;
  padding-top:4px !important;
  box-sizing:border-box !important;
}
body.single-product div.product .product_title{
  margin:0 0 20px !important;
  color:#111 !important;
  font-family:"EB Garamond",Georgia,serif !important;
  font-size:clamp(2rem,3.4vw,3.35rem) !important;
  font-weight:400 !important;
  line-height:1.02 !important;
  letter-spacing:-.02em !important;
  overflow-wrap:anywhere !important;
}
body.single-product div.product p.price,
body.single-product div.product span.price{
  margin:0 0 24px !important;
  color:#e5252a !important;
  font-family:"DM Sans",Arial,sans-serif !important;
  font-size:1.22rem !important;
  font-weight:500 !important;
}
body.single-product div.product p.price del{opacity:.55 !important;}
body.single-product div.product p.price ins{text-decoration:none !important;}
body.single-product div.product .woocommerce-product-details__short-description{
  margin:0 0 28px !important;
  color:#333 !important;
  font:400 1rem/1.65 "DM Sans",Arial,sans-serif !important;
}

body.single-product div.product form.cart{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 0 24px !important;
  padding:22px 0 !important;
  border-top:1px dotted #cfcfcf !important;
  border-bottom:1px dotted #cfcfcf !important;
  box-sizing:border-box !important;
}
body.single-product div.product form.cart .quantity{margin:0 !important;flex:0 0 auto !important;}
body.single-product div.product form.cart .quantity .qty{
  width:62px !important;
  min-height:46px !important;
  padding:8px !important;
  border:1px solid #bbb !important;
  border-radius:0 !important;
  background:#fff !important;
  color:#111 !important;
  text-align:center !important;
  font:400 .9rem/1 "DM Sans",Arial,sans-serif !important;
  box-sizing:border-box !important;
}
body.single-product div.product form.cart .single_add_to_cart_button{
  flex:1 1 auto !important;
  min-width:0 !important;
  max-width:100% !important;
  min-height:46px !important;
  padding:11px 24px !important;
  border:1px solid #e5252a !important;
  border-radius:0 !important;
  background:#fff !important;
  color:#e5252a !important;
  font:500 .9rem/1.2 "DM Sans",Arial,sans-serif !important;
  transition:background-color .16s ease,color .16s ease,border-color .16s ease !important;
  box-sizing:border-box !important;
}
body.single-product div.product form.cart .single_add_to_cart_button:hover,
body.single-product div.product form.cart .single_add_to_cart_button:focus-visible{
  background:#e5252a !important;
  border-color:#e5252a !important;
  color:#fff !important;
}
body.single-product div.product form.cart .single_add_to_cart_button:focus-visible{
  outline:3px solid #111 !important;
  outline-offset:3px !important;
}

body.single-product div.product .product_meta{
  display:flex !important;
  flex-direction:column !important;
  gap:8px !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  color:#555 !important;
  border:0 !important;
  font:400 .78rem/1.45 "DM Sans",Arial,sans-serif !important;
}
body.single-product div.product .product_meta span{border:0 !important;}
body.single-product div.product .product_meta a{
  color:#e5252a !important;
  text-decoration:underline !important;
  text-underline-offset:2px !important;
}

/* Payment providers: never allow their injected buttons to create horizontal overflow. */
body.single-product .nsf-product-payments,
body.single-product .wc-stripe-product-checkout-container,
body.single-product #wc-stripe-payment-request-wrapper,
body.single-product #wc-stripe-payment-request-button{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}
body.single-product .wc-stripe-product-checkout-container > *{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin-bottom:10px !important;
  box-sizing:border-box !important;
}

/* Related products: editorial list on desktop, compact two-column rows on mobile. */
body.single-product section.related.products{
  grid-column:1 / -1 !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:18px 0 0 !important;
  padding:38px 0 0 !important;
  border-top:1px dotted #cfcfcf !important;
  box-sizing:border-box !important;
}
body.single-product section.related.products h2{
  margin:0 0 24px !important;
  color:#e5252a !important;
  font-family:"EB Garamond",Georgia,serif !important;
  font-size:1.5rem !important;
  font-weight:400 !important;
  line-height:1.15 !important;
  text-transform:uppercase !important;
  overflow-wrap:anywhere !important;
}
body.single-product section.related.products ul.products{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
}
body.single-product section.related.products ul.products::before,
body.single-product section.related.products ul.products::after{display:none !important;}
body.single-product section.related.products ul.products li.product{
  position:relative !important;
  display:grid !important;
  grid-template-columns:140px minmax(0,1fr) auto 28px !important;
  align-items:center !important;
  column-gap:24px !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  float:none !important;
  margin:0 !important;
  padding:14px 0 !important;
  border:0 !important;
  border-bottom:1px dotted #cfcfcf !important;
  box-sizing:border-box !important;
}
body.single-product section.related.products ul.products li.product a.woocommerce-LoopProduct-link{display:contents !important;}
body.single-product section.related.products ul.products li.product a img{
  grid-column:1 !important;
  grid-row:1 !important;
  width:110px !important;
  max-width:100% !important;
  height:82px !important;
  margin:0 !important;
  object-fit:contain !important;
  justify-self:start !important;
}
body.single-product section.related.products ul.products li.product .woocommerce-loop-product__title{
  grid-column:2 !important;
  grid-row:1 !important;
  min-width:0 !important;
  align-self:center !important;
  margin:0 !important;
  padding:0 !important;
  color:#111 !important;
  font-family:"DM Sans",Arial,sans-serif !important;
  font-size:1rem !important;
  font-weight:400 !important;
  line-height:1.35 !important;
  overflow-wrap:anywhere !important;
}
body.single-product section.related.products ul.products li.product .price{
  grid-column:3 !important;
  grid-row:1 !important;
  margin:0 !important;
  color:#e5252a !important;
  font:500 .95rem/1.2 "DM Sans",Arial,sans-serif !important;
  white-space:nowrap !important;
}
body.single-product section.related.products ul.products li.product::after{
  content:"→" !important;
  grid-column:4 !important;
  grid-row:1 !important;
  color:#555 !important;
  font:400 1.05rem/1 "DM Sans",Arial,sans-serif !important;
}
body.single-product section.related.products ul.products li.product .button,
body.single-product section.related.products ul.products li.product .add_to_cart_button,
body.single-product section.related.products ul.products li.product .added_to_cart,
body.single-product section.related.products ul.products li.product .star-rating,
body.single-product section.related.products ul.products li.product .onsale{display:none !important;}

@media (max-width:767px){
  body.single-product .nsf-site-main{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding-left:12px !important;
    padding-right:12px !important;
    box-sizing:border-box !important;
  }

  body.single-product .nsf-native-single,
  body.single-product .nsf-native-entry-content,
  body.single-product .site-main,
  body.single-product .content-area,
  body.single-product main#main,
  body.single-product #primary,
  body.single-product .woocommerce{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
  }

  body.single-product .woocommerce-breadcrumb{
    margin:24px 0 18px !important;
    font-size:.82rem !important;
  }

  body.single-product div.product{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    padding:0 0 48px !important;
  }

  body.single-product div.product div.images,
  body.single-product div.product div.images .woocommerce-product-gallery__wrapper,
  body.single-product div.product div.images .woocommerce-product-gallery__image{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }
  body.single-product div.product div.images img{
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    max-height:none !important;
  }

  body.single-product div.product .summary{
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding-top:30px !important;
  }
  body.single-product div.product .product_title{
    margin-bottom:16px !important;
    font-size:clamp(2rem,8vw,2.5rem) !important;
    line-height:1.05 !important;
  }
  body.single-product div.product p.price,
  body.single-product div.product span.price{
    margin-bottom:20px !important;
    font-size:1.2rem !important;
  }

  body.single-product div.product form.cart{
    display:flex !important;
    align-items:stretch !important;
    gap:10px !important;
    width:100% !important;
    max-width:100% !important;
    padding:18px 0 !important;
    overflow:visible !important;
  }
  body.single-product div.product form.cart .quantity .qty{
    width:64px !important;
    min-width:64px !important;
    height:52px !important;
  }
  body.single-product div.product form.cart .single_add_to_cart_button{
    flex:1 1 0 !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    min-height:52px !important;
    padding:10px 14px !important;
    white-space:normal !important;
  }

  body.single-product .nsf-product-payments,
  body.single-product .wc-stripe-product-checkout-container,
  body.single-product #wc-stripe-payment-request-wrapper,
  body.single-product #wc-stripe-payment-request-button{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    overflow:hidden !important;
  }
  body.single-product .wc-stripe-product-checkout-container > *{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  body.single-product section.related.products{
    width:100% !important;
    max-width:100% !important;
    margin-top:38px !important;
    padding-top:30px !important;
  }
  body.single-product section.related.products h2{
    margin-bottom:18px !important;
    font-size:1.55rem !important;
    line-height:1.08 !important;
  }
  body.single-product section.related.products ul.products li.product{
    grid-template-columns:82px minmax(0,1fr) !important;
    column-gap:14px !important;
    align-items:center !important;
    width:100% !important;
    max-width:100% !important;
    padding:14px 0 !important;
  }
  body.single-product section.related.products ul.products li.product a img{
    grid-column:1 !important;
    grid-row:1 / span 2 !important;
    width:82px !important;
    max-width:82px !important;
    height:92px !important;
    object-fit:contain !important;
  }
  body.single-product section.related.products ul.products li.product .woocommerce-loop-product__title{
    grid-column:2 !important;
    grid-row:1 !important;
    width:100% !important;
    max-width:100% !important;
    font-size:.95rem !important;
    line-height:1.3 !important;
  }
  body.single-product section.related.products ul.products li.product .price{
    grid-column:2 !important;
    grid-row:2 !important;
    justify-self:start !important;
    margin-top:5px !important;
    white-space:normal !important;
    font-size:.9rem !important;
  }
  body.single-product section.related.products ul.products li.product::after{display:none !important;}
}

@media (max-width:360px){
  body.single-product .nsf-site-main{padding-left:10px !important;padding-right:10px !important;}
  body.single-product div.product form.cart .quantity .qty{width:58px !important;min-width:58px !important;}
  body.single-product section.related.products ul.products li.product{grid-template-columns:72px minmax(0,1fr) !important;column-gap:12px !important;}
  body.single-product section.related.products ul.products li.product a img{width:72px !important;max-width:72px !important;height:82px !important;}
}

@media (prefers-reduced-motion:reduce){
  body.single-product div.product form.cart .single_add_to_cart_button{transition:none !important;}
}
