/* =========================================================
   Seamoss v6.3.4 - Single Product Remake
   Reference-style product detail layout.
   Loads last. Do not patch with negative margins.
   ========================================================= */

:root{
  --sv-product-container: 1220px;
  --sv-product-left: 620px;
  --sv-product-gap: 44px;
  --sv-product-radius: 18px;
  --sv-product-border: rgba(10,107,112,.18);
  --sv-product-shadow: 0 18px 42px rgba(5,44,48,.07);
  --sv-product-bg: var(--sv-bg, #f8f5ef);
  --sv-product-heading: var(--sv-heading-color, #0b4f55);
  --sv-product-primary: var(--sv-primary, #0a6b70);
  --sv-product-accent: var(--sv-secondary, #d29a5e);
  --sv-product-text: var(--sv-text, #173e42);
}

body.single-product{
  background: var(--sv-product-bg) !important;
  overflow-x: hidden !important;
}

body.single-product .mobile-sticky-cart,
body.single-product .sv-mobile-sticky-cart,
body.single-product .sticky-add-to-cart,
body.single-product .single-product-sticky-cart{
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.single-product .sv-product-container{
  width: min(var(--sv-product-container), calc(100% - 40px)) !important;
  max-width: var(--sv-product-container) !important;
  margin-inline: auto !important;
}

/* Compact shared inner hero: breadcrumb only, not product title. */
body.single-product .sv-product-top-hero{
  min-height: 124px !important;
  display: flex !important;
  align-items: flex-end !important;
  padding: 74px 0 18px !important;
  margin: 0 !important;
  background-image:
    linear-gradient(90deg, rgba(1,55,61,.72), rgba(1,55,61,.16)),
    var(--sv-hero-bg) !important;
  background-size: cover !important;
  background-position: center center !important;
  color: #fff !important;
  overflow: hidden !important;
}

body.single-product .sv-product-breadcrumb{
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: rgba(255,255,255,.86) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.single-product .sv-product-breadcrumb a,
body.single-product .sv-product-breadcrumb span{
  color: inherit !important;
  text-decoration: none !important;
}

body.single-product .sv-product-breadcrumb span:last-child{
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.single-product .sv-product-main-section{
  background: var(--sv-product-bg) !important;
  padding: 38px 0 0 !important;
  margin: 0 !important;
}

/* The actual desktop product grid: media left and summary right start on the same top axis. */
body.single-product .sv-product-main-grid,
body.single-product .single-product-layout .single-product-grid,
body.single-product .single-product-grid{
  display: grid !important;
  grid-template-columns: minmax(0, var(--sv-product-left)) minmax(0, 1fr) !important;
  gap: var(--sv-product-gap) !important;
  align-items: start !important;
  width: min(var(--sv-product-container), calc(100% - 40px)) !important;
  max-width: var(--sv-product-container) !important;
  padding: 0 !important;
  margin: 0 auto !important;
  overflow: visible !important;
}

body.single-product .sv-product-media,
body.single-product .sv-product-gallery,
body.single-product .single-product-gallery,
body.single-product .sv-product-summary,
body.single-product .single-product-summary{
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  transform: none !important;
  translate: none !important;
  align-self: start !important;
  overflow: visible !important;
}

body.single-product .sv-product-media{
  max-width: var(--sv-product-left) !important;
}

/* Custom gallery: no Woo/Flexslider flow. */
body.single-product .sv-clean-product-gallery{
  display: block !important;
  width: 100% !important;
  max-width: var(--sv-product-left) !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  overflow: visible !important;
}

body.single-product .sv-clean-product-main{
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1.08 / 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--sv-product-border) !important;
  border-radius: 18px !important;
  background: #fff !important;
  overflow: hidden !important;
  box-shadow: var(--sv-product-shadow) !important;
}

body.single-product .sv-clean-product-main a,
body.single-product .sv-clean-product-main img{
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: inherit !important;
}

/* Reference image style uses lifestyle crop; change to contain only if packshot transparency is required. */
body.single-product .sv-clean-product-main img{
  object-fit: cover !important;
  object-position: center center !important;
  background: #fff !important;
}

/* Reference gallery arrows */
body.single-product .sv-clean-gallery-arrow{
  appearance: none !important;
  -webkit-appearance: none !important;
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 7 !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: rgba(255,255,255,.94) !important;
  color: var(--sv-product-primary) !important;
  box-shadow: 0 8px 22px rgba(5,44,48,.12) !important;
  display: inline-grid !important;
  place-items: center !important;
  font-size: 30px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  cursor: pointer !important;
}
body.single-product .sv-clean-gallery-arrow--prev{left: 18px !important;}
body.single-product .sv-clean-gallery-arrow--next{right: 18px !important;}
body.single-product .sv-clean-gallery-arrow:hover{
  background: #fff !important;
  color: var(--sv-product-heading) !important;
}

body.single-product .sv-clean-product-thumbs{
  position: static !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 74px !important;
  margin: 14px 0 0 !important;
  padding: 0 2px 2px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
  clear: both !important;
  z-index: 2 !important;
}
body.single-product .sv-clean-product-thumbs::-webkit-scrollbar{display:none !important;}

body.single-product .sv-clean-product-gallery--single .sv-clean-product-thumbs,
body.single-product .sv-clean-product-thumbs.has-single{
  display: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product .sv-clean-product-thumb{
  appearance: none !important;
  -webkit-appearance: none !important;
  display: block !important;
  flex: 0 0 74px !important;
  width: 74px !important;
  height: 74px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 2px solid transparent !important;
  border-radius: 11px !important;
  background: #fff !important;
  overflow: hidden !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

body.single-product .sv-clean-product-thumb img{
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 11px !important;
  object-fit: cover !important;
  object-position: center center !important;
}

body.single-product .sv-clean-product-thumb.is-active,
body.single-product .sv-clean-product-thumb:hover{
  border-color: var(--sv-product-primary) !important;
  box-shadow: none !important;
}

/* Neutralize WooCommerce gallery if a plugin/hook injects it. */
body.single-product .sv-product-gallery .woocommerce-product-gallery,
body.single-product .sv-product-gallery .woocommerce-product-gallery__wrapper,
body.single-product .sv-product-gallery .woocommerce-product-gallery__image,
body.single-product .sv-product-gallery .flex-control-thumbs,
body.single-product .sv-product-gallery .flex-control-nav{
  float: none !important;
  clear: both !important;
  transform: none !important;
  translate: none !important;
  position: static !important;
}

body.single-product .sv-product-badge,
body.single-product .product-natural-badge{
  position: absolute !important;
  z-index: 8 !important;
  top: 18px !important;
  left: 18px !important;
  width: 82px !important;
  height: 82px !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 8px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.94) !important;
  color: var(--sv-product-primary) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.08) !important;
  pointer-events: none !important;
}
body.single-product .sv-product-badge svg,
body.single-product .product-natural-badge svg{width:18px !important;height:18px !important;}
body.single-product .sv-product-badge strong,
body.single-product .product-natural-badge strong{font-size:10px !important;line-height:1.08 !important;text-align:center !important;}

/* Summary */
body.single-product .sv-product-summary{
  padding-top: 4px !important;
  color: var(--sv-product-text) !important;
}

body.single-product .sv-product-title,
body.single-product .sv-product-summary .product_title,
body.single-product h1.product_title{
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: var(--sv-product-heading) !important;
  font-family: var(--sv-heading-font, "Be Vietnam Pro"), system-ui, sans-serif !important;
  font-size: clamp(36px, 3.45vw, 52px) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  letter-spacing: -.02em !important;
  overflow: visible !important;
  word-break: normal !important;
}

body.single-product .sv-product-rating-line,
body.single-product .product-meta-line{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 16px !important;
  color: rgba(23,62,66,.7) !important;
  font-size: 14px !important;
}
body.single-product .sv-rating{display:inline-flex !important;align-items:center !important;gap:2px !important;}
body.single-product .sv-star svg{width:14px !important;height:14px !important;color:var(--sv-product-accent) !important;fill:currentColor !important;}

body.single-product .sv-product-price,
body.single-product .summary .price,
body.single-product p.price{
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 0 0 16px !important;
  color: var(--sv-product-primary) !important;
  font-size: clamp(26px, 2.2vw, 34px) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
}
body.single-product .price del{color:rgba(23,62,66,.48) !important;font-size:.72em !important;text-decoration-thickness:2px !important;}
body.single-product .price ins{text-decoration:none !important;color:var(--sv-product-primary) !important;}

body.single-product .sv-product-status,
body.single-product .product-delivery-row{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:12px !important;
  margin: 0 0 22px !important;
}
body.single-product .sv-product-status span,
body.single-product .product-delivery-row span{
  display:inline-flex !important;
  align-items:center !important;
  gap:7px !important;
  min-height:38px !important;
  padding: 8px 15px !important;
  border-radius:999px !important;
  border:1px solid var(--sv-product-border) !important;
  background:#fff !important;
  color:var(--sv-product-primary) !important;
  font-weight:800 !important;
  font-size:14px !important;
  box-shadow:0 8px 18px rgba(5,44,48,.04) !important;
}
body.single-product .sv-product-status svg{width:16px !important;height:16px !important;}

body.single-product .sv-product-excerpt,
body.single-product .short-description{
  margin:0 0 22px !important;
  color:rgba(23,62,66,.82) !important;
  font-size:15.5px !important;
  line-height:1.75 !important;
}
body.single-product .sv-product-excerpt p{margin:0 !important;}

body.single-product .sv-product-cart,
body.single-product .sv-cart-block{
  margin:0 0 20px !important;
  padding:0 !important;
}
body.single-product .sv-qty-label{
  display:block !important;
  margin:0 0 9px !important;
  color:var(--sv-product-heading) !important;
  font-weight:900 !important;
  font-size:14px !important;
}
body.single-product .sv-add-to-cart-wrap{display:block !important;}

/* Woo add-to-cart form stays functional but is styled into a reference-like row. */
body.single-product form.cart{
  display:grid !important;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
  gap:12px !important;
  align-items:end !important;
  margin:0 !important;
  padding:0 !important;
  width:100% !important;
}
body.single-product form.cart::before{display:none !important;content:none !important;}
body.single-product form.cart .quantity{
  grid-column:1 / -1 !important;
  justify-self:start !important;
  display:inline-flex !important;
  align-items:center !important;
  min-width:132px !important;
  height:44px !important;
  margin:0 0 2px !important;
  border:1px solid var(--sv-product-border) !important;
  border-radius:13px !important;
  background:#fff !important;
  overflow:hidden !important;
}
body.single-product form.cart .quantity input.qty{
  width:54px !important;
  height:44px !important;
  padding:0 !important;
  border:0 !important;
  border-left:1px solid var(--sv-product-border) !important;
  border-right:1px solid var(--sv-product-border) !important;
  background:#fff !important;
  color:var(--sv-product-primary) !important;
  text-align:center !important;
  font-weight:900 !important;
  appearance:textfield !important;
}
body.single-product form.cart .quantity input.qty::-webkit-inner-spin-button,
body.single-product form.cart .quantity input.qty::-webkit-outer-spin-button{appearance:none !important;margin:0 !important;}
body.single-product .sv-qty-btn,
body.single-product .quantity .minus,
body.single-product .quantity .plus{
  width:38px !important;
  height:44px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:0 !important;
  background:#fff !important;
  color:var(--sv-product-primary) !important;
  font-weight:900 !important;
  cursor:pointer !important;
}

body.single-product form.cart .single_add_to_cart_button,
body.single-product .sv-buy-now-btn,
body.single-product .product-buy-now{
  min-height:52px !important;
  height:52px !important;
  border-radius:13px !important;
  font-family:var(--sv-body-font, "Be Vietnam Pro"), system-ui, sans-serif !important;
  font-size:15px !important;
  font-weight:900 !important;
  line-height:1 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  box-shadow:none !important;
  transition:.2s ease !important;
}
body.single-product form.cart .single_add_to_cart_button{
  grid-column:1 / 2 !important;
  width:100% !important;
  border:1px solid var(--sv-product-primary) !important;
  background:var(--sv-product-primary) !important;
  color:#fff !important;
}
body.single-product .sv-buy-now-btn,
body.single-product .product-buy-now{
  width:100% !important;
  margin-top:12px !important;
  border:1px solid var(--sv-product-primary) !important;
  background:#fff !important;
  color:var(--sv-product-primary) !important;
  text-decoration:none !important;
}
body.single-product form.cart:has(.single_add_to_cart_button) + .sv-buy-now-btn{margin-top:12px !important;}
body.single-product .sv-add-to-cart-wrap{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:12px !important;
}
body.single-product .sv-add-to-cart-wrap form.cart{display:contents !important;}
body.single-product .sv-add-to-cart-wrap form.cart .quantity{grid-column:1 / -1 !important;}
body.single-product .sv-add-to-cart-wrap form.cart .single_add_to_cart_button{grid-column:1 / 2 !important;}
body.single-product .sv-add-to-cart-wrap .sv-buy-now-btn{grid-column:2 / 3 !important;margin:0 !important;}

/* Variable products: keep Woo fields readable and place buttons under variation table. */
body.single-product table.variations,
body.single-product table.variations tbody,
body.single-product table.variations tr,
body.single-product table.variations td,
body.single-product table.variations th{
  display:block !important;
  width:100% !important;
}
body.single-product table.variations{grid-column:1 / -1 !important;margin:0 0 12px !important;}
body.single-product table.variations label{font-weight:900 !important;color:var(--sv-product-heading) !important;}
body.single-product table.variations select{width:100% !important;min-height:46px !important;border:1px solid var(--sv-product-border) !important;border-radius:12px !important;padding:0 14px !important;background:#fff !important;}
body.single-product .single_variation_wrap{display:contents !important;}
body.single-product .woocommerce-variation{grid-column:1 / -1 !important;margin-bottom:8px !important;}

body.single-product .sv-marketplace-card,
body.single-product .marketplace-links{
  display:block !important;
  margin:0 !important;
  padding:22px 24px !important;
  border:1px solid var(--sv-product-border) !important;
  border-radius:22px !important;
  background:#fff !important;
  box-shadow:0 16px 34px rgba(5,44,48,.06) !important;
}
body.single-product .sv-marketplace-card strong,
body.single-product .marketplace-links strong{display:block !important;margin-bottom:6px !important;color:var(--sv-product-heading) !important;font-size:18px !important;font-weight:900 !important;}
body.single-product .sv-marketplace-card small,
body.single-product .marketplace-links small{display:block !important;margin-bottom:14px !important;color:rgba(23,62,66,.68) !important;}
body.single-product .sv-marketplace-row,
body.single-product .marketplace-links__row{display:flex !important;gap:12px !important;flex-wrap:wrap !important;}
body.single-product .sv-marketplace-row a,
body.single-product .marketplace-links__row a{display:inline-flex !important;align-items:center !important;justify-content:center !important;min-height:44px !important;padding:0 20px !important;border:1px solid var(--sv-product-border) !important;border-radius:12px !important;background:#fff !important;color:var(--sv-product-primary) !important;text-decoration:none !important;font-weight:900 !important;}

/* USP strip under both columns, never under thumbnails. */
body.single-product .sv-product-usp,
body.single-product .product-usp-strip{
  width:min(var(--sv-product-container), calc(100% - 40px)) !important;
  max-width:var(--sv-product-container) !important;
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:18px !important;
  margin:28px auto 0 !important;
  padding:0 !important;
  clear:both !important;
}
body.single-product .sv-product-usp-item,
body.single-product .product-usp-item{
  min-height:96px !important;
  display:grid !important;
  grid-template-columns:54px 1fr !important;
  grid-template-rows:auto auto !important;
  column-gap:16px !important;
  align-items:center !important;
  padding:20px 22px !important;
  border:1px solid var(--sv-product-border) !important;
  border-radius:20px !important;
  background:#fff !important;
  box-shadow:0 12px 28px rgba(5,44,48,.05) !important;
}
body.single-product .sv-product-usp-item > span,
body.single-product .product-usp-item > span{grid-row:1 / 3 !important;width:54px !important;height:54px !important;border-radius:999px !important;background:var(--sv-product-primary) !important;color:#fff !important;display:flex !important;align-items:center !important;justify-content:center !important;}
body.single-product .sv-product-usp-item svg{width:22px !important;height:22px !important;}
body.single-product .sv-product-usp-item strong,
body.single-product .product-usp-item strong{color:var(--sv-product-heading) !important;font-size:16px !important;font-weight:900 !important;}
body.single-product .sv-product-usp-item small,
body.single-product .product-usp-item small{color:rgba(23,62,66,.68) !important;font-size:14px !important;}

body.single-product .sv-product-info,
body.single-product .product-info-panel{
  width:min(var(--sv-product-container), calc(100% - 40px)) !important;
  max-width:var(--sv-product-container) !important;
  margin:28px auto 0 !important;
  padding:0 !important;
  border:1px solid var(--sv-product-border) !important;
  border-radius:22px !important;
  background:#fff !important;
  box-shadow:0 14px 34px rgba(5,44,48,.055) !important;
  overflow:hidden !important;
}
body.single-product .product-tabs{display:grid !important;grid-template-columns:repeat(4, minmax(0,1fr)) !important;border-bottom:1px solid var(--sv-product-border) !important;background:#fbfaf7 !important;}
body.single-product .product-tab-btn{height:64px !important;border:0 !important;border-right:1px solid var(--sv-product-border) !important;background:transparent !important;color:var(--sv-product-text) !important;font-weight:900 !important;cursor:pointer !important;}
body.single-product .product-tab-btn:last-child{border-right:0 !important;}
body.single-product .product-tab-btn.is-active{background:#fff !important;color:var(--sv-product-primary) !important;box-shadow:inset 0 -3px 0 var(--sv-product-primary) !important;}
body.single-product .product-tab-content{display:none !important;padding:28px !important;}
body.single-product .product-tab-content.is-active{display:block !important;}
body.single-product .product-nutrition-grid{display:grid !important;grid-template-columns:1fr 1fr !important;gap:32px !important;align-items:start !important;}
body.single-product .nutrition-table > div{display:flex !important;justify-content:space-between !important;gap:16px !important;padding:8px 0 !important;border-bottom:1px dashed rgba(10,107,112,.28) !important;}
body.single-product .product-tab-card{display:grid !important;grid-template-columns:45% 1fr !important;gap:22px !important;align-items:center !important;padding:20px !important;border:1px solid var(--sv-product-border) !important;border-radius:18px !important;background:#fbfaf7 !important;}
body.single-product .product-tab-card img{width:100% !important;aspect-ratio:4 / 3 !important;object-fit:cover !important;border-radius:14px !important;}
body.single-product .product-tab-card ul{margin:0 !important;padding:0 !important;list-style:none !important;display:grid !important;gap:12px !important;}
body.single-product .product-tab-card li{display:flex !important;gap:10px !important;align-items:center !important;color:var(--sv-product-text) !important;font-weight:700 !important;}
body.single-product .product-tab-card li span{width:34px !important;height:34px !important;border-radius:999px !important;border:1px solid var(--sv-product-border) !important;display:flex !important;align-items:center !important;justify-content:center !important;color:var(--sv-product-primary) !important;background:#fff !important;}

body.single-product .sv-product-related{margin-top:38px !important;}

/* Tablet */
@media (max-width: 1100px){
  body.single-product{--sv-product-left: 52vw; --sv-product-gap: 32px;}
  body.single-product .sv-product-title,
  body.single-product h1.product_title{font-size:clamp(32px,4vw,44px) !important;}
}

/* Mobile: strict flow, no overlap. */
@media (max-width: 767px){
  body.single-product{padding-bottom:72px !important;}
  body.single-product .sv-product-container{width:calc(100% - 28px) !important;max-width:none !important;}

  body.single-product .sv-product-top-hero{
    min-height:96px !important;
    padding:62px 0 12px !important;
    background-image:
      linear-gradient(90deg, rgba(1,55,61,.62), rgba(1,55,61,.12)),
      var(--sv-hero-mobile-bg) !important;
  }
  body.single-product .sv-product-breadcrumb{font-size:12px !important;gap:6px !important;}

  body.single-product .sv-product-main-section{padding:16px 0 0 !important;}
  body.single-product .sv-product-main-grid,
  body.single-product .single-product-layout .single-product-grid,
  body.single-product .single-product-grid{
    width:calc(100% - 28px) !important;
    max-width:none !important;
    display:flex !important;
    flex-direction:column !important;
    gap:0 !important;
    padding:0 !important;
    margin:0 auto !important;
    overflow:visible !important;
  }
  body.single-product .sv-product-media,
  body.single-product .sv-product-gallery,
  body.single-product .single-product-gallery{
    order:1 !important;
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 0 22px !important;
    padding:0 !important;
    position:relative !important;
    z-index:1 !important;
    transform:none !important;
  }
  body.single-product .sv-product-summary,
  body.single-product .single-product-summary{
    order:2 !important;
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 !important;
    position:relative !important;
    z-index:2 !important;
    transform:none !important;
  }

  body.single-product .sv-clean-product-gallery{width:100% !important;max-width:100% !important;display:block !important;margin:0 !important;padding:0 !important;}
  body.single-product .sv-clean-product-main{width:100% !important;aspect-ratio:1 / 1 !important;border-radius:16px !important;}
  body.single-product .sv-clean-product-main img{object-fit:cover !important;border-radius:16px !important;}
  body.single-product .sv-clean-product-thumbs{
    position:static !important;
    display:flex !important;
    min-height:66px !important;
    height:auto !important;
    margin:10px 0 0 !important;
    padding:0 2px 2px !important;
    gap:8px !important;
    overflow-x:auto !important;
    clear:both !important;
  }
  body.single-product .sv-clean-product-thumb{width:64px !important;height:64px !important;flex-basis:64px !important;border-radius:11px !important;}
  body.single-product .sv-clean-product-thumb img{border-radius:10px !important;}
  body.single-product .sv-product-badge,
  body.single-product .product-natural-badge{top:10px !important;left:10px !important;width:60px !important;height:60px !important;padding:7px !important;}
  body.single-product .sv-product-badge strong,
  body.single-product .product-natural-badge strong{font-size:8.5px !important;}

  body.single-product .sv-product-title,
  body.single-product .sv-product-summary .product_title,
  body.single-product h1.product_title{
    display:block !important;
    margin:0 0 8px !important;
    font-size:32px !important;
    line-height:1.08 !important;
    letter-spacing:-.02em !important;
    max-width:100% !important;
    overflow:visible !important;
    clear:both !important;
  }
  body.single-product .sv-product-rating-line,
  body.single-product .product-meta-line{margin-bottom:12px !important;font-size:13px !important;}
  body.single-product .sv-product-price,
  body.single-product .summary .price,
  body.single-product p.price{font-size:28px !important;margin-bottom:14px !important;}
  body.single-product .sv-product-status,
  body.single-product .product-delivery-row{gap:8px !important;margin-bottom:20px !important;}
  body.single-product .sv-product-status span,
  body.single-product .product-delivery-row span{min-height:38px !important;padding:8px 12px !important;font-size:13px !important;}
  body.single-product .sv-product-excerpt,
  body.single-product .short-description{font-size:15px !important;line-height:1.72 !important;margin-bottom:20px !important;}

  body.single-product .sv-add-to-cart-wrap{grid-template-columns:1fr 1fr !important;gap:10px !important;}
  body.single-product form.cart .quantity{height:42px !important;min-width:128px !important;}
  body.single-product form.cart .quantity input.qty{height:42px !important;}
  body.single-product .sv-qty-btn{height:42px !important;}
  body.single-product form.cart .single_add_to_cart_button,
  body.single-product .sv-buy-now-btn,
  body.single-product .product-buy-now{height:48px !important;min-height:48px !important;font-size:14px !important;border-radius:12px !important;}

  body.single-product .sv-marketplace-card,
  body.single-product .marketplace-links{padding:18px !important;border-radius:18px !important;}
  body.single-product .sv-marketplace-row a,
  body.single-product .marketplace-links__row a{min-height:40px !important;padding:0 14px !important;font-size:13px !important;}

  body.single-product .sv-product-usp,
  body.single-product .product-usp-strip{width:calc(100% - 28px) !important;display:grid !important;grid-template-columns:1fr !important;gap:12px !important;margin-top:22px !important;}
  body.single-product .sv-product-usp-item,
  body.single-product .product-usp-item{min-height:82px !important;padding:16px !important;border-radius:16px !important;}

  body.single-product .sv-product-info,
  body.single-product .product-info-panel{width:calc(100% - 28px) !important;margin-top:22px !important;border-radius:18px !important;}
  body.single-product .product-tabs{display:flex !important;overflow-x:auto !important;scrollbar-width:none !important;}
  body.single-product .product-tabs::-webkit-scrollbar{display:none !important;}
  body.single-product .product-tab-btn{flex:0 0 auto !important;min-width:170px !important;height:54px !important;padding:0 16px !important;}
  body.single-product .product-tab-content{padding:18px !important;}
  body.single-product .product-nutrition-grid{grid-template-columns:1fr !important;gap:18px !important;}
  body.single-product .product-tab-card{grid-template-columns:1fr !important;gap:16px !important;padding:16px !important;}
}

@media (max-width: 380px){
  body.single-product .sv-product-title,
  body.single-product h1.product_title{font-size:29px !important;}
  body.single-product .sv-product-price,
  body.single-product p.price{font-size:25px !important;}
}

/* =========================================================
   Seamoss v6.3.4 - Product detail final alignment
   Fix button row, desktop axis, and mobile non-overlap.
   ========================================================= */

body.single-product .sv-product-main-grid,
body.single-product .single-product-layout .single-product-grid,
body.single-product .single-product-grid{
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr) !important;
  gap: 48px !important;
  align-items: start !important;
}

body.single-product .sv-product-media{
  max-width:560px !important;
}

body.single-product .sv-clean-product-gallery,
body.single-product .sv-clean-product-main{
  max-width:560px !important;
}

/* In the reference layout the summary starts on the same visual axis as the image frame. */
@media (min-width: 768px){
  body.single-product .sv-product-summary,
  body.single-product .single-product-summary{
    padding-top: 58px !important;
  }
}

/* Stable custom simple-product purchase form. Do not rely on display:contents for forms. */
body.single-product .sv-simple-product-cart{
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1fr) !important;
  gap:12px !important;
  align-items:end !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
}

body.single-product .sv-simple-product-cart .quantity{
  grid-column:1 / -1 !important;
  grid-row:1 !important;
  justify-self:start !important;
  display:inline-flex !important;
  align-items:center !important;
  min-width:132px !important;
  height:44px !important;
  margin:0 0 2px !important;
  border:1px solid var(--sv-product-border) !important;
  border-radius:13px !important;
  background:#fff !important;
  overflow:hidden !important;
}

body.single-product .sv-simple-product-cart .single_add_to_cart_button,
body.single-product .sv-simple-product-cart .sv-buy-now-btn{
  width:100% !important;
  min-width:0 !important;
  height:52px !important;
  min-height:52px !important;
  margin:0 !important;
  padding:0 16px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  line-height:1.1 !important;
}

body.single-product .sv-simple-product-cart .single_add_to_cart_button{
  grid-column:1 / 2 !important;
  grid-row:2 !important;
  border:1px solid var(--sv-product-primary) !important;
  background:var(--sv-product-primary) !important;
  color:#fff !important;
}

body.single-product .sv-simple-product-cart .sv-buy-now-btn{
  grid-column:2 / 3 !important;
  grid-row:2 !important;
  border:1px solid var(--sv-product-primary) !important;
  background:#fff !important;
  color:var(--sv-product-primary) !important;
  text-decoration:none !important;
}

body.single-product .sv-simple-product-cart .quantity input.qty{
  width:54px !important;
  height:44px !important;
  border:0 !important;
  border-left:1px solid var(--sv-product-border) !important;
  border-right:1px solid var(--sv-product-border) !important;
  text-align:center !important;
  font-weight:900 !important;
  color:var(--sv-product-primary) !important;
  background:#fff !important;
}

body.single-product .sv-simple-product-cart .quantity .sv-qty-btn,
body.single-product .sv-simple-product-cart .quantity .minus,
body.single-product .sv-simple-product-cart .quantity .plus{
  width:38px !important;
  height:44px !important;
}

@media (max-width: 767px){
  body.single-product .sv-product-main-grid,
  body.single-product .single-product-layout .single-product-grid,
  body.single-product .single-product-grid{
    display:flex !important;
    flex-direction:column !important;
    gap:0 !important;
  }

  body.single-product .sv-product-summary,
  body.single-product .single-product-summary{
    padding-top:0 !important;
  }

  body.single-product .sv-product-media,
  body.single-product .sv-product-gallery,
  body.single-product .single-product-gallery{
    margin-bottom:24px !important;
  }

  body.single-product .sv-clean-product-thumbs.has-single{
    min-height:0 !important;
    height:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
  }

  body.single-product .sv-product-title,
  body.single-product .sv-product-summary .product_title,
  body.single-product h1.product_title{
    font-size:30px !important;
    line-height:1.08 !important;
    margin-top:0 !important;
  }

  body.single-product .sv-simple-product-cart{
    gap:10px !important;
  }

  body.single-product .sv-simple-product-cart .single_add_to_cart_button,
  body.single-product .sv-simple-product-cart .sv-buy-now-btn{
    height:48px !important;
    min-height:48px !important;
    font-size:14px !important;
    padding:0 10px !important;
  }
}


/* =========================================================
   Seamoss v6.3.4 - Final product detail axis + cart order
   ========================================================= */

/* Neutralize older grid rules from clean-v5-8.css/main.css. */
body.single-product .sv-product-cart.sv-cart-block,
body.single-product .sv-cart-block{
  display:block !important;
  grid-template-columns:none !important;
  gap:0 !important;
  max-width:none !important;
  margin:0 0 20px !important;
  padding:0 !important;
}

/* Align desktop title with the top of the image frame in current layout. */
@media (min-width: 768px){
  body.single-product .sv-product-summary,
  body.single-product .single-product-summary{
    padding-top:82px !important;
  }
}

/* Quantity label must stay above quantity, not after buttons. */
body.single-product .sv-simple-product-cart .sv-qty-label,
body.single-product .sv-simple-product-cart .sv-qty-label--inside{
  display:block !important;
  grid-column:1 / -1 !important;
  grid-row:1 !important;
  margin:0 0 -2px !important;
  color:var(--sv-product-heading) !important;
  font-weight:900 !important;
  font-size:14px !important;
  line-height:1.25 !important;
}

body.single-product .sv-simple-product-cart .quantity{
  grid-column:1 / -1 !important;
  grid-row:2 !important;
  justify-self:start !important;
  margin:0 0 2px !important;
}

body.single-product .sv-simple-product-cart .single_add_to_cart_button{
  grid-column:1 / 2 !important;
  grid-row:3 !important;
}

body.single-product .sv-simple-product-cart .sv-buy-now-btn{
  grid-column:2 / 3 !important;
  grid-row:3 !important;
}

/* Keep product media and USP separated; no overlap when only one image exists. */
body.single-product .sv-clean-product-thumbs.has-single{
  min-height:0 !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
}

body.single-product .sv-product-usp,
body.single-product .product-usp-strip{
  margin-top:28px !important;
}

@media (max-width: 767px){
  body.single-product .sv-product-summary,
  body.single-product .single-product-summary{
    padding-top:0 !important;
  }

  body.single-product .sv-product-media,
  body.single-product .sv-product-gallery,
  body.single-product .single-product-gallery{
    margin-bottom:20px !important;
  }

  body.single-product .sv-product-cart.sv-cart-block,
  body.single-product .sv-cart-block{
    margin-bottom:18px !important;
  }

  body.single-product .sv-simple-product-cart .sv-qty-label,
  body.single-product .sv-simple-product-cart .sv-qty-label--inside{
    margin-bottom:-2px !important;
  }
}


/* =========================================================
   Seamoss v6.3.4 - Reference USP strip + final spacing
   Match provided product-detail reference: no separate USP card backgrounds.
   ========================================================= */

/* Product axis: keep the title visually aligned with the image top, without negative pulls. */
@media (min-width: 768px){
  body.single-product .sv-product-summary,
  body.single-product .single-product-summary{
    padding-top: 38px !important;
  }
}

/* USP strip should look like one clean horizontal feature row, not three boxed cards. */
body.single-product .sv-product-usp,
body.single-product .product-usp-strip{
  width:min(var(--sv-product-container), calc(100% - 40px)) !important;
  max-width:var(--sv-product-container) !important;
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:0 !important;
  margin:22px auto 0 !important;
  padding:18px 0 !important;
  clear:both !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

body.single-product .sv-product-usp-item,
body.single-product .product-usp-item{
  min-height:64px !important;
  display:grid !important;
  grid-template-columns:48px 1fr !important;
  grid-template-rows:auto auto !important;
  column-gap:14px !important;
  row-gap:2px !important;
  align-items:center !important;
  padding:0 28px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  position:relative !important;
}

body.single-product .sv-product-usp-item:not(:last-child),
body.single-product .product-usp-item:not(:last-child){
  border-right:1px solid rgba(10,107,112,.16) !important;
}

body.single-product .sv-product-usp-item > span,
body.single-product .product-usp-item > span{
  grid-row:1 / 3 !important;
  width:46px !important;
  height:46px !important;
  border-radius:999px !important;
  background:rgba(10,107,112,.08) !important;
  color:var(--sv-product-primary) !important;
  border:1px solid rgba(10,107,112,.18) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

body.single-product .sv-product-usp-item svg,
body.single-product .product-usp-item svg{
  width:22px !important;
  height:22px !important;
}

body.single-product .sv-product-usp-item strong,
body.single-product .product-usp-item strong{
  color:var(--sv-product-heading) !important;
  font-size:15px !important;
  line-height:1.25 !important;
  font-weight:900 !important;
  margin:0 !important;
}

body.single-product .sv-product-usp-item small,
body.single-product .product-usp-item small{
  color:rgba(23,62,66,.68) !important;
  font-size:13px !important;
  line-height:1.35 !important;
  margin:0 !important;
}

/* Reference spacing: tabs follow the clean USP row with less vertical gap. */
body.single-product .sv-product-info,
body.single-product .product-info-panel{
  margin-top:18px !important;
}

/* Mobile: USP becomes compact stacked rows, still without card backgrounds. */
@media (max-width: 767px){
  body.single-product .sv-product-summary,
  body.single-product .single-product-summary{
    padding-top:0 !important;
  }

  body.single-product .sv-product-usp,
  body.single-product .product-usp-strip{
    width:calc(100% - 28px) !important;
    grid-template-columns:1fr !important;
    gap:0 !important;
    margin-top:18px !important;
    padding:8px 0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }

  body.single-product .sv-product-usp-item,
  body.single-product .product-usp-item{
    min-height:62px !important;
    padding:12px 0 !important;
    border-right:0 !important;
    border-bottom:1px solid rgba(10,107,112,.12) !important;
    background:transparent !important;
    box-shadow:none !important;
  }

  body.single-product .sv-product-usp-item:last-child,
  body.single-product .product-usp-item:last-child{
    border-bottom:0 !important;
  }

  body.single-product .sv-product-usp-item > span,
  body.single-product .product-usp-item > span{
    width:42px !important;
    height:42px !important;
  }
}


/* =========================================================
   Seamoss v6.3.4 - Reference gallery final override
   ========================================================= */
body.single-product .sv-product-media{
  max-width: var(--sv-product-left) !important;
}
body.single-product .sv-clean-product-main{
  aspect-ratio: 1.08 / 1 !important;
  border-radius: 18px !important;
}
body.single-product .sv-clean-product-thumbs{
  min-height: 74px !important;
  margin-top: 14px !important;
  gap: 10px !important;
}
body.single-product .sv-clean-product-thumb{
  flex: 0 0 74px !important;
  width: 74px !important;
  height: 74px !important;
  border: 2px solid transparent !important;
  border-radius: 11px !important;
}
body.single-product .sv-clean-product-thumb.is-active{
  border-color: var(--sv-product-primary) !important;
}
body.single-product .sv-clean-product-thumb img{
  object-fit: cover !important;
}
@media (max-width: 767px){
  body.single-product .sv-clean-product-main{
    aspect-ratio: 1 / 1 !important;
    border-radius: 14px !important;
  }
  body.single-product .sv-clean-gallery-arrow{
    width: 36px !important;
    height: 36px !important;
    font-size: 26px !important;
  }
  body.single-product .sv-clean-gallery-arrow--prev{left: 10px !important;}
  body.single-product .sv-clean-gallery-arrow--next{right: 10px !important;}
  body.single-product .sv-clean-product-thumbs{
    min-height: 62px !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    gap: 8px !important;
  }
  body.single-product .sv-clean-product-thumb{
    flex-basis: 62px !important;
    width: 62px !important;
    height: 62px !important;
    border-radius: 10px !important;
  }
  body.single-product .sv-product-badge,
  body.single-product .product-natural-badge{
    width: 62px !important;
    height: 62px !important;
    top: 12px !important;
    left: 12px !important;
    font-size: 10px !important;
  }
}
