/* Single-product presentation only. Native WooCommerce controls stay in place. */
body.he-theme.single-product .he-commerce > div.product:not(.product-category) {
  column-gap: clamp(30px, 4vw, 60px);
  row-gap: 48px;
}
body.he-theme.single-product .he-commerce > div.product > .summary { padding: 4px 0 0; }
body.he-theme.single-product .he-commerce > div.product > .summary .product_title { margin: 8px 0 16px; font-size: clamp(28px, 2.65vw, 38px); font-weight: 750; line-height: 1.2; overflow-wrap: normal; }
body.he-theme.single-product .he-pdp-eyebrow { display: inline-flex; align-items: center; min-height: 32px; margin: 0; color: #51535a; text-decoration: underline; text-underline-offset: 4px; }
body.he-theme.single-product .he-pdp-eyebrow:hover { color: var(--he-red-hover); }
body.he-theme.single-product .he-commerce > div.product > .summary > .price { margin-bottom: 18px; color: var(--he-ink); font-size: 29px; font-weight: 750; }
body.he-theme.single-product .he-commerce > div.product > .summary .woocommerce-product-details__short-description { max-width: 60ch; margin-bottom: 24px; color: #4f5357; font-size: 16px; line-height: 1.75; }
body.he-theme.single-product .he-commerce > div.product > .summary .woocommerce-product-details__short-description p { margin-bottom: 14px; }
body.he-theme.single-product .he-commerce > div.product > .summary .woocommerce-product-details__short-description ul { display: grid; gap: 6px; margin-bottom: 0; padding-left: 20px; }
body.he-theme.single-product .he-pdp-buy-heading { margin: 26px 0 16px; padding-top: 22px; border-top: 1px solid var(--he-line); }
body.he-theme.single-product .he-pdp-buy-heading h2 { margin: 0 0 7px; font-size: 20px; line-height: 1.3; }
body.he-theme.single-product .he-pdp-buy-heading p { margin: 0; color: #5c6064; font-size: 14px; line-height: 1.65; }
body.he-theme.single-product .he-commerce > div.product > .summary form.cart { margin: 16px 0 22px; }
body.he-theme.single-product .he-commerce > div.product > .summary form.cart .variations { margin-bottom: 12px; }
body.he-theme.single-product .he-commerce > div.product > .summary form.cart .variations :is(th, td) { padding-bottom: 12px; }
body.he-theme.single-product .he-commerce > div.product > .summary form.cart .variations th.label { width: 23%; font-size: 14px; }
body.he-theme.single-product .he-commerce > div.product > .summary form.cart .variations select { min-height: 48px; padding: 12px 36px 12px 14px; border-color: #c9cccf; font-size: 16px; }
body.he-theme.single-product .he-commerce > div.product > .summary form.cart .reset_variations { margin: 0; padding-block: 10px; }
body.he-theme.single-product .he-commerce > div.product > .summary form.cart .quantity { margin: 0 10px 0 0; }
body.he-theme.single-product .he-commerce > div.product > .summary form.cart .quantity .qty { min-height: 50px; width: 76px; }
body.he-theme.single-product .he-commerce > div.product > .summary form.cart .single_add_to_cart_button { min-height: 50px; min-width: 0; width: calc(100% - 86px); margin: 0; padding: 13px 16px; font-size: 16px; font-weight: 700; }
body.he-theme.single-product .he-commerce > div.product > .summary form.cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: stretch; }
body.he-theme.single-product .he-commerce > div.product > .summary form.cart .woocommerce-variation-add-to-cart > .single_add_to_cart_button { flex: 1; width: auto; }
body.he-theme.single-product .he-pdp-choice { flex: 0 0 100%; width: 100%; margin: 0 0 14px; color: #4f5357; font-size: 14px; font-weight: 600; line-height: 1.65; }
body.he-theme.single-product .he-pdp-choice[hidden] { display: none; }
body.he-theme.single-product .he-commerce > div.product > .summary form.cart .woocommerce-variation-price .price { font-size: 25px; }
body.he-theme.single-product .he-pdp-benefits { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 24px; padding: 0; list-style: none; }
body.he-theme.single-product .he-pdp-benefits li { display: flex; align-items: center; gap: 8px; color: #4f5357; font-size: 13px; line-height: 1.6; }
body.he-theme.single-product .he-pdp-benefits .ph { color: var(--he-ink); font-size: 21px; }
body.he-theme.single-product .he-pdp-guidance { border-top: 1px solid var(--he-line); }
body.he-theme.single-product .he-pdp-disclosure { margin: 0; border-bottom: 1px solid var(--he-line); }
body.he-theme.single-product .he-pdp-disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 16px 0; color: var(--he-ink); font-size: 15px; font-weight: 700; line-height: 1.5; list-style: none; cursor: pointer; }
body.he-theme.single-product .he-pdp-disclosure > summary::-webkit-details-marker { display: none; }
body.he-theme.single-product .he-pdp-disclosure > summary .ph { flex: 0 0 auto; font-size: 20px; }
body.he-theme.single-product .he-pdp-disclosure[open] > summary .ph-plus::before { content: "−"; font-family: var(--he-font); font-size: 25px; line-height: 1; }
body.he-theme.single-product .he-pdp-disclosure > summary:focus-visible { outline-color: var(--he-red); outline-offset: 2px; }
body.he-theme.single-product .he-pdp-disclosure-content { padding: 0 0 20px; color: #4f5357; font-size: 15px; line-height: 1.75; }
body.he-theme.single-product .he-pdp-disclosure-content p { margin: 0 0 14px; }
body.he-theme.single-product .he-pdp-disclosure-content ul { margin: 0 0 12px; padding-left: 20px; }
body.he-theme.single-product .he-pdp-disclosure-content li + li { margin-top: 5px; }
body.he-theme.single-product .he-pdp-disclosure-content a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--he-red); font-size: 14px; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
body.he-theme.single-product .he-pdp-disclosure-content a .ph { font-size: 18px; }
body.he-theme.single-product .he-pdp-fit-table { width: 100%; margin: 4px 0 18px; border-collapse: collapse; font-size: 14px; }
body.he-theme.single-product .he-pdp-fit-table caption { padding-bottom: 10px; text-align: left; color: #4f5357; font-size: 13px; line-height: 1.6; }
body.he-theme.single-product .he-pdp-fit-table :is(th, td) { padding: 8px 10px; border: 1px solid var(--he-line); text-align: left; }
body.he-theme.single-product .he-pdp-fit-table thead { color: var(--he-ink); background: var(--he-soft); }
body.he-theme.single-product .he-pdp-disclosure-content .product_meta { margin: 0; padding: 0; border: 0; color: #4f5357; font-size: 14px; }
body.he-theme.single-product .he-pdp-disclosure-content .product_meta > span { margin-bottom: 8px; }
body.he-theme.single-product .he-pdp-disclosure-content .product_meta a { min-height: 30px; font-weight: 400; }
body.he-theme.single-product .he-pdp-help { display: flex; align-items: center; gap: 12px; margin: 20px 0 0; padding: 18px; border-radius: 12px; background: var(--he-soft); }
body.he-theme.single-product .he-pdp-help > .ph { flex: 0 0 auto; color: var(--he-ink); font-size: 26px; }
body.he-theme.single-product .he-pdp-help strong { display: block; color: var(--he-ink); font-size: 14px; font-weight: 700; line-height: 1.5; }
body.he-theme.single-product .he-pdp-help a { display: inline-flex; align-items: center; min-height: 34px; color: var(--he-red); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
body.he-theme.single-product .he-pdp-help-content { flex: 1; min-width: 0; }
body.he-theme.single-product .he-pdp-help-links { display: flex; flex-wrap: wrap; gap: 2px 18px; }
body.he-theme.single-product .he-pdp-help-links a { min-height: 44px; line-height: 1.5; }
body.he-theme.single-product .he-main-shell { padding-bottom: calc(140px + env(safe-area-inset-bottom)); }
body.he-theme.single-product :is(form.cart, .he-pdp-help, .woocommerce-tabs) { scroll-margin-bottom: 140px; }
body.he-theme.single-product .he-pdp-actions { position: fixed; z-index: 100; left: calc(var(--he-sidebar-width) + 32px + env(safe-area-inset-left)); right: calc(32px + env(safe-area-inset-right)); bottom: calc(24px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 18px; padding: 14px 18px; border: 1px solid var(--he-line); border-radius: var(--he-radius); color: var(--he-ink); background: var(--he-white); box-shadow: 0 4px 12px rgb(0 0 0 / 10%); }
body.he-theme.single-product .he-pdp-actions[hidden], body.he-theme.single-product.he-menu-open .he-pdp-actions { display: none; }
body.he-theme.single-product .he-pdp-sticky-info { min-width: 0; }
body.he-theme.single-product .he-pdp-sticky-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; line-height: 1.5; }
body.he-theme.single-product .he-pdp-sticky-price { display: block; color: var(--he-ink); font-size: 18px; font-weight: 750; line-height: 1.5; font-variant-numeric: tabular-nums; }
body.he-theme.single-product .he-pdp-sticky-price.is-unresolved { font-size: 14px; }
body.he-theme.single-product .he-pdp-sticky-cart { min-width: 180px; min-height: 50px; padding: 12px 20px; border: 0; border-radius: 10px; color: #fff; background: var(--he-red); font-size: 15px; font-weight: 700; line-height: 1.5; }
body.he-theme.single-product .he-pdp-sticky-cart:hover { background: var(--he-red-hover); }
body.he-theme.single-product .he-pdp-sticky-cart:disabled { cursor: not-allowed; opacity: .65; }
body.he-theme.single-product .he-pdp-whatsapp { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 50px; padding: 12px 16px; border-radius: 10px; color: #fff; background: #075e54; font-size: 14px; font-weight: 700; line-height: 1.5; }
body.he-theme.single-product .he-pdp-whatsapp:hover { background: #064f46; }
body.he-theme.single-product .he-pdp-whatsapp .ph { font-size: 25px; }
@media (min-width: 768px) and (max-width: 1100px) {
  body.he-theme.single-product .he-pdp-actions { left: calc(var(--he-sidebar-width) + 24px); right: 24px; gap: 12px; padding: 12px; }
  body.he-theme.single-product .he-pdp-whatsapp { width: 50px; padding: 10px; }
  body.he-theme.single-product .he-pdp-whatsapp > span { display: none; }
}
@media (max-width: 767px) {
  body.he-theme.single-product .he-main-shell { padding-bottom: calc(190px + env(safe-area-inset-bottom)); }
  body.he-theme.single-product :is(form.cart, .he-pdp-help, .woocommerce-tabs) { scroll-margin-bottom: 180px; }
  body.he-theme.single-product .he-pdp-actions { left: calc(12px + env(safe-area-inset-left)); right: calc(12px + env(safe-area-inset-right)); bottom: calc(82px + env(safe-area-inset-bottom)); grid-template-columns: minmax(0, 1fr) auto 48px; gap: 8px; padding: 10px; border-radius: 12px; }
  body.he-theme.single-product .he-pdp-sticky-title { display: none; }
  body.he-theme.single-product .he-pdp-sticky-price { font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
  body.he-theme.single-product .he-pdp-sticky-cart { min-width: 120px; min-height: 48px; padding: 10px 12px; font-size: 13px; }
  body.he-theme.single-product .he-pdp-whatsapp { width: 48px; min-height: 48px; padding: 10px; }
  body.he-theme.single-product .he-pdp-whatsapp > span { display: none; }
}
body.he-theme.single-product .he-commerce > div.product > .images .flex-control-thumbs { display: flex; flex-wrap: nowrap; gap: 10px; max-width: 100%; margin-top: 12px; padding-bottom: 8px; overflow-x: auto; overscroll-behavior-x: contain; }
body.he-theme.single-product .he-commerce > div.product > .images .flex-control-thumbs li { flex: 0 0 calc((100% - 40px) / 5); min-width: 64px; width: auto; }
body.he-theme.single-product .he-commerce > div.product > .images .flex-control-thumbs img { aspect-ratio: 1; object-fit: contain; }
body.he-theme.single-product .he-commerce > div.product > .woocommerce-tabs { margin-top: 0; padding: 30px; border: 1px solid var(--he-line); border-radius: var(--he-radius); }
body.he-theme.single-product .he-commerce > div.product > .woocommerce-tabs .panel { max-width: 90ch; margin-bottom: 0; color: #4f5357; font-size: 16px; line-height: 1.8; }
body.he-theme.single-product .he-commerce > div.product > .woocommerce-tabs .panel h2 { margin-top: 28px; margin-bottom: 14px; font-size: 25px; }
body.he-theme.single-product .he-commerce > div.product > .woocommerce-tabs .panel > h2:first-child { margin-top: 0; }
body.he-theme.single-product .he-commerce > div.product > .woocommerce-tabs .panel ul { padding-left: 22px; }
body.he-theme.single-product .he-commerce > div.product > .woocommerce-tabs .panel li + li { margin-top: 6px; }
/* Keep the gallery in its grid row; sticky positioning crosses into the
   full-width description row below and covers its text while scrolling. */
body.he-theme.single-product .he-commerce > div.product > .images { position: static; align-self: start; }
@media (max-width: 780px) {
  body.he-theme.single-product .he-commerce > div.product:not(.product-category) { row-gap: 24px; }
  body.he-theme.single-product .he-commerce > div.product > .summary { padding-top: 0; }
  body.he-theme.single-product .he-commerce > div.product > .summary .product_title { margin-top: 5px; font-size: 28px; }
  body.he-theme.single-product .he-commerce > div.product > .summary > .price { font-size: 27px; }
  body.he-theme.single-product .he-pdp-buy-heading { margin-top: 22px; padding-top: 20px; }
  body.he-theme.single-product .he-commerce > div.product > .summary form.cart .variations :is(tbody, tr, th, td) { display: block; width: 100%; }
  body.he-theme.single-product .he-commerce > div.product > .summary form.cart .variations th.label { width: 100%; padding: 0 0 7px; font-size: 14px; }
  body.he-theme.single-product .he-commerce > div.product > .summary form.cart .variations td { padding-bottom: 14px; }
  body.he-theme.single-product .he-commerce > div.product > .summary form.cart .single_add_to_cart_button { min-height: 52px; }
  body.he-theme.single-product .he-pdp-benefits { gap: 9px 18px; }
  body.he-theme.single-product .he-pdp-disclosure > summary { min-height: 60px; font-size: 16px; }
  body.he-theme.single-product .he-pdp-disclosure-content { font-size: 16px; }
  body.he-theme.single-product .he-commerce > div.product > .woocommerce-tabs { padding: 22px 18px; }
  body.he-theme.single-product .he-commerce > div.product > .woocommerce-tabs ul.tabs { gap: 0 18px; }
  body.he-theme.single-product .he-commerce > div.product > .woocommerce-tabs ul.tabs li a { font-size: 14px; }
}
