/* =========================================================
   Jewel Babe v1.7.5 — deterministic Umino-style product page
   Loaded after theme.css + umino-parity.css on product pages.
   ========================================================= */

body.jh-site.single-product {
  --jh-product-shell: 1180px;
  --jh-product-gap: clamp(42px, 4.2vw, 58px);
  --jh-product-thumb: 54px;
}

body.jh-site.single-product .jh-single-product-main,
body.jh-site.single-product .jh-product-native,
body.jh-site.single-product .jh-product-native > .jh-umino-product {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  clear: both !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

body.jh-site.single-product .jh-product-breadcrumb,
body.jh-site.single-product .jh-product-native {
  width: min(calc(100% - 48px), var(--jh-product-shell)) !important;
  max-width: var(--jh-product-shell) !important;
  margin-inline: auto !important;
}

body.jh-site.single-product .jh-product-breadcrumb {
  padding-top: 18px !important;
  padding-bottom: 0 !important;
  color: #777 !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
}

body.jh-site.single-product .jh-product-native {
  padding-top: 42px !important;
  padding-bottom: 88px !important;
}

body.jh-site.single-product .jh-umino-product {
  display: block !important;
}

/* Blocksy injects product-entry-wrapper around the gallery and summary. */
body.jh-site.single-product div.product .product-entry-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr) !important;
  gap: var(--jh-product-gap) !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.jh-site.single-product div.product .product-entry-wrapper::before,
body.jh-site.single-product div.product .product-entry-wrapper::after {
  display: none !important;
  content: none !important;
}

/* This legacy wrapper is kept for compatibility with older markup. */
body.jh-site.single-product .jh-product-top {
  display: grid !important;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr) !important;
  gap: var(--jh-product-gap) !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body.jh-site.single-product .jh-product-gallery-column,
body.jh-site.single-product .jh-product-summary-column,
body.jh-site.single-product div.product .product-entry-wrapper > .woocommerce-product-gallery,
body.jh-site.single-product div.product .product-entry-wrapper > .summary {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

body.jh-site.single-product .jh-product-gallery-column {
  position: relative !important;
}

/* Neutralize every older gallery width/float rule. */
body.jh-site.single-product div.product .product-entry-wrapper > .woocommerce-product-gallery,
body.jh-site.single-product .jh-product-gallery-column > .woocommerce-product-gallery,
body.jh-site.single-product .jh-product-gallery-column .woocommerce-product-gallery {
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 0 0 72px !important;
  box-sizing: border-box !important;
}

body.jh-site.single-product .woocommerce-product-gallery .flex-viewport {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: #f6f6f6 !important;
  box-shadow: none !important;
}

body.jh-site.single-product .woocommerce-product-gallery__wrapper {
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: #f6f6f6 !important;
  box-shadow: none !important;
}

body.jh-site.single-product .woocommerce-product-gallery__image a {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

body.jh-site.single-product .woocommerce-product-gallery__image {
  display: block !important;
  max-width: none !important;
}

body.jh-site.single-product .woocommerce-product-gallery__image img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  background: #f6f6f6 !important;
}

body.jh-site.single-product .woocommerce-product-gallery.jh-gallery-direct .flex-viewport,
body.jh-site.single-product .woocommerce-product-gallery.jh-gallery-direct .woocommerce-product-gallery__wrapper {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  transform: none !important;
}

body.jh-site.single-product .woocommerce-product-gallery.jh-gallery-direct .woocommerce-product-gallery__image {
  display: none !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  float: none !important;
}

body.jh-site.single-product .woocommerce-product-gallery.jh-gallery-direct .woocommerce-product-gallery__image.is-jh-active {
  display: block !important;
}

body.jh-site.single-product .woocommerce-product-gallery.jh-gallery-direct .woocommerce-product-gallery__image a,
body.jh-site.single-product .woocommerce-product-gallery.jh-gallery-direct .woocommerce-product-gallery__image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
  body.jh-site.single-product .woocommerce-product-gallery .flex-viewport,
  body.jh-site.single-product .woocommerce-product-gallery.jh-gallery-direct .flex-viewport {
    cursor: zoom-in;
  }

  body.jh-site.single-product .woocommerce-product-gallery.jh-gallery-direct .flex-viewport .woocommerce-product-gallery__image.is-jh-active img {
    transform-origin: var(--jh-zoom-x, 50%) var(--jh-zoom-y, 50%);
    transition: transform .12s ease-out;
    will-change: transform;
  }

  body.jh-site.single-product .woocommerce-product-gallery.jh-gallery-direct .flex-viewport:hover .woocommerce-product-gallery__image.is-jh-active img {
    transform: scale(1.85);
  }
}

body.jh-site.single-product .woocommerce-product-gallery .flex-control-thumbs {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  bottom: auto !important;
  z-index: 30 !important;
  width: var(--jh-product-thumb) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  list-style: none !important;
  pointer-events: auto !important;
}

body.jh-site.single-product .woocommerce-product-gallery .flex-control-thumbs li {
  width: var(--jh-product-thumb) !important;
  flex: 0 0 auto !important;
  float: none !important;
  margin: 0 !important;
}

body.jh-site.single-product .woocommerce-product-gallery .flex-control-thumbs img {
  display: block !important;
  width: var(--jh-product-thumb) !important;
  height: 62px !important;
  padding: 0 !important;
  object-fit: cover !important;
  border: 1px solid transparent !important;
  border-radius: 4px !important;
  background: #f6f6f6 !important;
  opacity: 1 !important;
  cursor: pointer !important;
}

body.jh-site.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
  border-color: #111 !important;
}

body.jh-site.single-product .woocommerce-product-gallery__trigger {
  top: 14px !important;
  right: 14px !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.08) !important;
}

/* Neutralize every old summary float/width rule. */
body.jh-site.single-product div.product .product-entry-wrapper > .summary.entry-summary,
body.jh-site.single-product .jh-product-top > .summary.entry-summary,
body.jh-site.single-product .jh-product-summary-column {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 2px 0 0 !important;
  border: 0 !important;
}

body.jh-site.single-product .jh-single-sale-badge {
  min-height: 25px !important;
  margin: 0 0 9px !important;
  padding: 0 10px !important;
  border-radius: 4px !important;
  background: var(--jh-brand, #eb6384) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

body.jh-site.single-product .summary .product_title {
  max-width: none !important;
  margin: 0 0 10px !important;
  color: var(--jh-heading, #111) !important;
  font-family: var(--jh-heading-font, var(--jh-sans)) !important;
  font-size: clamp(27px, 2.35vw, 34px) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  letter-spacing: -.02em !important;
}

body.jh-site.single-product .jh-product-social-proof {
  min-height: 18px !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 0 17px !important;
}

body.jh-site.single-product .jh-product-rating-inline {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  color: #777 !important;
  font-size: 11px !important;
}

body.jh-site.single-product .jh-product-rating-inline .star-rating {
  width: 74px !important;
  color: #ffad0f !important;
  font-size: 12px !important;
}

body.jh-site.single-product .jh-product-rating-inline a {
  color: #777 !important;
  font-size: 11px !important;
}

body.jh-site.single-product .summary > .price {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  margin: 0 0 18px !important;
  color: var(--jh-brand, #eb6384) !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
}

body.jh-site.single-product .summary > .price del {
  color: #999 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}

body.jh-site.single-product .summary > .price ins {
  color: var(--jh-brand, #eb6384) !important;
  text-decoration: none !important;
}

body.jh-site.single-product .summary .woocommerce-product-details__short-description {
  max-width: none !important;
  margin: 0 0 20px !important;
  color: var(--jh-text, #555) !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

body.jh-site.single-product .jh-finance-note,
body.jh-site.single-product .jh-product-sold,
body.jh-site.single-product .jh-product-live-viewers,
body.jh-site.single-product .jh-product-quick-actions,
body.jh-site.single-product .jh-product-terms {
  display: none !important;
}

/* Variations + purchase controls */
body.jh-site.single-product form.cart {
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) 44px !important;
  gap: 12px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 18px 0 0 !important;
  border-top: 1px solid var(--jh-border, #e5e5e5) !important;
}

body.jh-site.single-product form.cart .variations {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin: 0 0 8px !important;
}

body.jh-site.single-product form.cart .variations tr {
  display: block !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
}

body.jh-site.single-product form.cart .variations th,
body.jh-site.single-product form.cart .variations td {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
}

body.jh-site.single-product form.cart .variations label {
  display: block !important;
  margin: 0 0 8px !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

body.jh-site.single-product form.cart .jh-product-error {
  grid-column: 1 / -1 !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin: 0 0 12px !important;
  padding: 12px 14px !important;
  border: 1px solid #f0b6c3 !important;
  border-radius: 6px !important;
  background: #fff5f7 !important;
  color: #8f263d !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}

body.jh-site.single-product form.cart .jh-product-error::before {
  content: "!";
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  display: grid !important;
  place-items: center !important;
  margin-top: 1px !important;
  border-radius: 50% !important;
  background: var(--jh-brand, #eb6384) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

body.jh-site.single-product form.cart .jh-product-error[hidden] {
  display: none !important;
}

body.jh-site.single-product .jh-variation-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

body.jh-site.single-product .jh-variation-badge {
  min-width: 50px !important;
  min-height: 34px !important;
  padding: 0 14px !important;
  border: 1px solid #ddd !important;
  border-radius: 2px !important;
  background: #fff !important;
  color: #333 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}

body.jh-site.single-product .jh-variation-badge.is-active,
body.jh-site.single-product .jh-variation-badge[aria-selected="true"] {
  border-color: var(--jh-brand, #eb6384) !important;
  background: var(--jh-brand, #eb6384) !important;
  color: #fff !important;
}

body.jh-site.single-product form.cart .single_variation_wrap {
  display: contents !important;
}

body.jh-site.single-product form.cart .woocommerce-variation-add-to-cart {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) 44px !important;
  gap: 12px !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 !important;
}

body.jh-site.single-product form.cart .quantity,
body.jh-site.single-product form.cart .jh-quantity-control {
  width: 92px !important;
  margin: 0 !important;
}

body.jh-site.single-product form.cart .jh-quantity-control {
  min-height: 46px !important;
  display: grid !important;
  grid-template-columns: 28px 1fr 28px !important;
  align-items: center !important;
  border: 1px solid #dedede !important;
  border-radius: 999px !important;
  background: #fff !important;
  overflow: hidden !important;
}

body.jh-site.single-product form.cart .jh-quantity-control button,
body.jh-site.single-product form.cart .quantity input.qty {
  height: 44px !important;
}

body.jh-site.single-product form.cart .single_add_to_cart_button,
body.jh-site.single-product form.cart .jh-buy-now {
  width: 100% !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 1px solid var(--jh-brand, #eb6384) !important;
  border-radius: 999px !important;
  background: var(--jh-brand, #eb6384) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
}

body.jh-site.single-product form.cart .jh-wishlist-button {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  margin: 0 !important;
  border: 1px solid #dedede !important;
  border-radius: 50% !important;
  background: #fff !important;
}

body.jh-site.single-product form.cart > .quantity,
body.jh-site.single-product form.cart .woocommerce-variation-add-to-cart > .quantity { grid-column: 1 !important; grid-row: 1 !important; }
body.jh-site.single-product form.cart > .single_add_to_cart_button,
body.jh-site.single-product form.cart .woocommerce-variation-add-to-cart > .single_add_to_cart_button { grid-column: 2 !important; grid-row: 1 !important; }
body.jh-site.single-product form.cart > .jh-wishlist-button,
body.jh-site.single-product form.cart .woocommerce-variation-add-to-cart > .jh-wishlist-button { grid-column: 3 !important; grid-row: 1 !important; }
body.jh-site.single-product form.cart > .jh-buy-now,
body.jh-site.single-product form.cart .woocommerce-variation-add-to-cart > .jh-buy-now {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  margin-top: 2px !important;
}

body.jh-site.single-product .jh-delivery-cards {
  display: grid !important;
  gap: 0 !important;
  margin: 22px 0 0 !important;
  padding: 14px 0 0 !important;
  border-top: 1px solid var(--jh-border, #e5e5e5) !important;
}

body.jh-site.single-product .jh-delivery-card {
  min-height: 48px !important;
  display: grid !important;
  grid-template-columns: 22px 1fr !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 8px 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.jh-site.single-product .jh-delivery-card strong {
  display: block !important;
  margin: 0 0 2px !important;
  color: #111 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}

body.jh-site.single-product .jh-delivery-card small {
  display: block !important;
  color: #777 !important;
  font-size: 10px !important;
  line-height: 1.45 !important;
}

body.jh-site.single-product .product_meta {
  display: grid !important;
  gap: 6px !important;
  margin: 18px 0 0 !important;
  padding: 17px 0 0 !important;
  border-top: 1px solid var(--jh-border, #e5e5e5) !important;
  color: #777 !important;
  font-size: 10px !important;
}

body.jh-site.single-product .product_meta a {
  color: #333 !important;
}

/* Lower tabs/related content spans the full product shell. */
body.jh-site.single-product .jh-product-lower {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  clear: both !important;
}

body.jh-site.single-product .jh-product-lower .woocommerce-tabs,
body.jh-site.single-product .jh-product-lower section.related,
body.jh-site.single-product .jh-product-lower .jh-related-products,
body.jh-site.single-product div.product > .woocommerce-tabs,
body.jh-site.single-product div.product > section.related,
body.jh-site.single-product div.product > .jh-related-products {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  float: none !important;
  clear: both !important;
}

body.jh-site.single-product .jh-product-lower .woocommerce-tabs,
body.jh-site.single-product div.product > .woocommerce-tabs {
  overflow: hidden !important;
  margin-top: 76px !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

body.jh-site.single-product .jh-product-lower .woocommerce-tabs ul.tabs,
body.jh-site.single-product .jh-product-lower .woocommerce-tabs .wc-tabs,
body.jh-site.single-product div.product > .woocommerce-tabs ul.tabs,
body.jh-site.single-product div.product > .woocommerce-tabs .wc-tabs {
  width: 100% !important;
  display: flex !important;
  flex-flow: row nowrap !important;
  justify-content: center !important;
  gap: 14px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  margin: 0 0 56px !important;
  padding: 0 0 6px !important;
  border: 0 !important;
  list-style: none !important;
  scrollbar-width: none !important;
}

body.jh-site.single-product .jh-product-lower .woocommerce-tabs ul.tabs::-webkit-scrollbar,
body.jh-site.single-product .jh-product-lower .woocommerce-tabs .wc-tabs::-webkit-scrollbar,
body.jh-site.single-product div.product > .woocommerce-tabs ul.tabs::-webkit-scrollbar,
body.jh-site.single-product div.product > .woocommerce-tabs .wc-tabs::-webkit-scrollbar {
  display: none !important;
}

body.jh-site.single-product .jh-product-lower .woocommerce-tabs ul.tabs::before,
body.jh-site.single-product .jh-product-lower .woocommerce-tabs ul.tabs::after,
body.jh-site.single-product .jh-product-lower .woocommerce-tabs .wc-tabs::before,
body.jh-site.single-product .jh-product-lower .woocommerce-tabs .wc-tabs::after,
body.jh-site.single-product div.product > .woocommerce-tabs ul.tabs::before,
body.jh-site.single-product div.product > .woocommerce-tabs ul.tabs::after,
body.jh-site.single-product div.product > .woocommerce-tabs .wc-tabs::before,
body.jh-site.single-product div.product > .woocommerce-tabs .wc-tabs::after {
  display: none !important;
  content: none !important;
}

body.jh-site.single-product .jh-product-lower .woocommerce-tabs ul.tabs li,
body.jh-site.single-product .jh-product-lower .woocommerce-tabs .wc-tabs li,
body.jh-site.single-product div.product > .woocommerce-tabs ul.tabs li,
body.jh-site.single-product div.product > .woocommerce-tabs .wc-tabs li {
  flex: 0 0 auto !important;
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.jh-site.single-product .jh-product-lower .woocommerce-tabs ul.tabs li a,
body.jh-site.single-product .jh-product-lower .woocommerce-tabs .wc-tabs li a,
body.jh-site.single-product div.product > .woocommerce-tabs ul.tabs li a,
body.jh-site.single-product div.product > .woocommerce-tabs .wc-tabs li a {
  min-width: max-content !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 26px !important;
  border-radius: 999px !important;
  background: #f6f6f6 !important;
  color: var(--jh-heading, #111) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body.jh-site.single-product .jh-product-lower .woocommerce-tabs ul.tabs li.active a,
body.jh-site.single-product .jh-product-lower .woocommerce-tabs .wc-tabs li.active a,
body.jh-site.single-product div.product > .woocommerce-tabs ul.tabs li.active a,
body.jh-site.single-product div.product > .woocommerce-tabs .wc-tabs li.active a {
  background: var(--jh-brand, #eb6384) !important;
  color: #fff !important;
}

body.jh-site.single-product .jh-product-lower .woocommerce-Tabs-panel,
body.jh-site.single-product div.product > .woocommerce-tabs .woocommerce-Tabs-panel {
  width: min(100%, 760px) !important;
  max-width: 760px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
  color: var(--jh-text, #555) !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
}

body.jh-site.single-product .jh-product-lower .jh-related-products,
body.jh-site.single-product div.product > .jh-related-products {
  margin-top: 72px !important;
  padding: 68px 0 0 !important;
  border-top: 1px solid var(--jh-border, #e5e5e5) !important;
}

body.jh-site.single-product .jh-product-lower .jh-related-products > h2,
body.jh-site.single-product div.product > .jh-related-products > h2 {
  margin: 0 0 34px !important;
  text-align: center !important;
  font-size: clamp(30px, 3vw, 40px) !important;
  font-weight: 600 !important;
}

body.jh-site.single-product .jh-product-lower .jh-related-products ul.products,
body.jh-site.single-product div.product > .jh-related-products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 28px 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.jh-site.single-product .jh-product-lower .jh-related-products ul.products::before,
body.jh-site.single-product .jh-product-lower .jh-related-products ul.products::after,
body.jh-site.single-product div.product > .jh-related-products ul.products::before,
body.jh-site.single-product div.product > .jh-related-products ul.products::after {
  display: none !important;
  content: none !important;
}

body.jh-site.single-product .jh-product-lower .jh-related-products ul.products > li.product,
body.jh-site.single-product div.product > .jh-related-products ul.products > li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 1024px) {
  body.jh-site.single-product .jh-product-breadcrumb,
  body.jh-site.single-product .jh-product-native {
    width: min(calc(100% - 36px), 940px) !important;
  }
  body.jh-site.single-product .jh-product-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) !important;
    gap: 34px !important;
  }
  body.jh-site.single-product div.product .product-entry-wrapper {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) !important;
    gap: 34px !important;
  }
  body.jh-site.single-product div.product .product-entry-wrapper > .woocommerce-product-gallery,
  body.jh-site.single-product .jh-product-gallery-column .woocommerce-product-gallery {
    padding-left: 62px !important;
  }
}

@media (max-width: 820px) {
  body.jh-site.single-product .jh-product-native {
    padding-top: 26px !important;
  }
  body.jh-site.single-product .jh-product-top {
    display: block !important;
  }
  body.jh-site.single-product div.product .product-entry-wrapper {
    display: block !important;
  }
  body.jh-site.single-product .jh-product-gallery-column,
  body.jh-site.single-product .jh-product-summary-column,
  body.jh-site.single-product div.product .product-entry-wrapper > .woocommerce-product-gallery,
  body.jh-site.single-product div.product .product-entry-wrapper > .summary {
    width: 100% !important;
  }
  body.jh-site.single-product .jh-product-summary-column,
  body.jh-site.single-product div.product .product-entry-wrapper > .summary {
    padding-top: 30px !important;
  }
  body.jh-site.single-product div.product .product-entry-wrapper > .woocommerce-product-gallery,
  body.jh-site.single-product .jh-product-gallery-column .woocommerce-product-gallery {
    padding: 0 0 76px !important;
  }
  body.jh-site.single-product .woocommerce-product-gallery .flex-control-thumbs {
    position: static !important;
    top: auto !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 30 !important;
    width: 100% !important;
    flex-direction: row !important;
    gap: 8px !important;
    margin: 12px 0 0 !important;
    overflow-x: auto !important;
    pointer-events: auto !important;
  }
  body.jh-site.single-product .woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 var(--jh-product-thumb) !important;
  }
  body.jh-site.single-product .jh-product-lower .woocommerce-tabs,
  body.jh-site.single-product div.product > .woocommerce-tabs {
    margin-top: 52px !important;
  }
  body.jh-site.single-product .jh-product-lower .woocommerce-tabs ul.tabs,
  body.jh-site.single-product .jh-product-lower .woocommerce-tabs .wc-tabs,
  body.jh-site.single-product div.product > .woocommerce-tabs ul.tabs,
  body.jh-site.single-product div.product > .woocommerce-tabs .wc-tabs {
    justify-content: flex-start !important;
    gap: 10px !important;
    margin-bottom: 36px !important;
    padding-inline: 0 !important;
  }
  body.jh-site.single-product .jh-product-lower .woocommerce-tabs ul.tabs li a,
  body.jh-site.single-product .jh-product-lower .woocommerce-tabs .wc-tabs li a,
  body.jh-site.single-product div.product > .woocommerce-tabs ul.tabs li a,
  body.jh-site.single-product div.product > .woocommerce-tabs .wc-tabs li a {
    min-height: 40px !important;
    padding-inline: 20px !important;
    font-size: 12px !important;
  }
  body.jh-site.single-product .jh-product-lower .jh-related-products ul.products,
  body.jh-site.single-product div.product > .jh-related-products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 12px !important;
  }
}

@media (max-width: 520px) {
  body.jh-site.single-product .jh-product-breadcrumb,
  body.jh-site.single-product .jh-product-native {
    width: min(calc(100% - 28px), 100%) !important;
  }
  body.jh-site.single-product .summary .product_title {
    font-size: 27px !important;
  }
  body.jh-site.single-product form.cart,
  body.jh-site.single-product form.cart .woocommerce-variation-add-to-cart {
    grid-template-columns: 84px minmax(0, 1fr) 42px !important;
    gap: 8px !important;
  }
  body.jh-site.single-product form.cart .quantity,
  body.jh-site.single-product form.cart .jh-quantity-control {
    width: 84px !important;
  }
  body.jh-site.single-product form.cart .jh-wishlist-button {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
  }
  body.jh-site.single-product .jh-product-lower .jh-related-products,
  body.jh-site.single-product div.product > .jh-related-products {
    margin-top: 52px !important;
    padding-top: 48px !important;
  }
  body.jh-site.single-product .jh-product-lower .jh-related-products ul.products,
  body.jh-site.single-product div.product > .jh-related-products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 10px !important;
  }
}


/* Product-page AJAX add button alias. Simple products remove Woo's native
   single_add_to_cart_button selector in JS to prevent duplicate add requests. */
body.jh-site.single-product form.cart .jh-single-add-to-cart {
  width: 100% !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 1px solid var(--jh-brand, #eb6384) !important;
  border-radius: 999px !important;
  background: var(--jh-brand, #eb6384) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease !important;
}
body.jh-site.single-product form.cart .jh-single-add-to-cart:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(20, 37, 29, .14) !important;
}
body.jh-site.single-product form.cart > .jh-single-add-to-cart,
body.jh-site.single-product form.cart .woocommerce-variation-add-to-cart > .jh-single-add-to-cart {
  grid-column: 2 !important;
  grid-row: 1 !important;
}
body.jh-site.single-product form.cart .jh-single-add-to-cart.loading { opacity: .65; cursor: wait; }
