/* Single product page (see inc/product.php). */

.hk-pdp-page { --hk-pdp-top: 0px; padding-bottom: var(--wp--preset--spacing--50); }
.hk-pdp-wrap { padding-top: var(--wp--preset--spacing--30); }

/* ---------- Breadcrumb ---------- */
.hk-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; margin: 0 0 var(--wp--preset--spacing--40); padding: 0; list-style: none; font-size: var(--wp--preset--font-size--xs); color: var(--hk-muted); }
.hk-breadcrumb li { display: inline-flex; align-items: center; gap: .5rem; min-width: 0; }
.hk-breadcrumb li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .5; flex: none; }
.hk-breadcrumb a { color: var(--hk-muted); text-decoration: none; padding-block: .35rem; }
.hk-breadcrumb a:hover { color: var(--hk-ink); }
.hk-breadcrumb li:last-child { color: var(--hk-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }
@media (max-width: 767px) { .hk-breadcrumb li:last-child { display: none; } }

/* ---------- Layout ---------- */
.hk-pdp { display: grid; gap: var(--wp--preset--spacing--50); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) {
  .hk-pdp { grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
  .hk-pdp__summary { position: sticky; top: calc(var(--hk-pdp-top) + 1.5rem); }
  .hk-pdp__summary.is-tall { position: static; }
}
.hk-pdp__media, .hk-pdp__summary { min-width: 0; }
.hk-pdp-page .hk-pdp div.hk-gallery.images, .hk-pdp-page .hk-pdp div.hk-pdp__summary.summary { width: auto; float: none; margin: 0; }
.hk-pdp-page .hk-pdp::before, .hk-pdp-page .hk-pdp::after { content: none; }
.woocommerce-notices-wrapper:empty { display: none; }
.hk-pdp-wrap > .woocommerce-notices-wrapper { margin-bottom: var(--wp--preset--spacing--30); }

/* ---------- Gallery ---------- */
.hk-gallery { position: relative; }
.hk-gallery__stage { position: relative; aspect-ratio: 1; background: var(--hk-surface); border-radius: var(--hk-radius-xl); overflow: hidden; isolation: isolate; }
.hk-gallery__track { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.hk-gallery__track::-webkit-scrollbar { display: none; }
.hk-gallery__track:focus-visible { outline-offset: -4px; border-radius: var(--hk-radius-xl); }
.hk-gallery__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.hk-gallery__zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.hk-gallery__zoom:focus-visible { outline-offset: -6px; border-radius: var(--hk-radius-xl); }
.hk-gallery__img, .hk-gallery__slide--placeholder img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 9%; mix-blend-mode: multiply; transition: transform var(--hk-ease-slow); }
@media (hover: hover) { .hk-gallery__zoom:hover .hk-gallery__img { transform: scale(1.03); } }
.hk-gallery .hk-card__badges { top: 20px; left: 20px; z-index: 2; }
.hk-gallery .hk-badge { font-size: 13px; padding: .35rem .75rem; }
.hk-gallery .hk-badge--soft { background: var(--hk-bg); box-shadow: var(--hk-shadow-sm); }
.hk-gallery__hint { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--hk-pill); background: rgba(255,255,255,.9); box-shadow: var(--hk-shadow-sm); pointer-events: none; opacity: 0; transform: scale(.9); transition: opacity var(--hk-ease), transform var(--hk-ease); }
.hk-gallery__hint .hk-icon { width: 18px; height: 18px; }
.hk-gallery__stage:hover .hk-gallery__hint { opacity: 1; transform: none; }
.hk-gallery__nav { position: absolute; top: 50%; z-index: 2; margin-top: -22px; background: rgba(255,255,255,.92); box-shadow: var(--hk-shadow); opacity: 0; transition: opacity var(--hk-ease), transform var(--hk-ease), background-color var(--hk-ease-fast); }
.hk-gallery__nav--prev { left: 16px; transform: translateX(-6px); }
.hk-gallery__nav--next { right: 16px; transform: translateX(6px); }
.hk-gallery__stage:hover .hk-gallery__nav, .hk-gallery__nav:focus-visible { opacity: 1; transform: none; }
.hk-gallery__nav:hover { background: #fff; }
.hk-gallery__nav:disabled { opacity: 0 !important; pointer-events: none; }
.hk-gallery__dots { position: absolute; left: 50%; bottom: 14px; z-index: 2; display: none; gap: 6px; transform: translateX(-50%); }
.hk-gallery__dot { width: 6px; height: 6px; border-radius: 3px; background: rgba(22,24,29,.22); transition: width var(--hk-ease), background-color var(--hk-ease); }
.hk-gallery__dot.is-active { width: 18px; background: var(--hk-ink); }
@media (hover: none), (max-width: 767px) {
  .hk-gallery__nav, .hk-gallery__hint { display: none; }
  .hk-gallery--multi .hk-gallery__dots { display: flex; }
}
.hk-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.hk-gallery__thumbs::-webkit-scrollbar { display: none; }
.hk-gallery__thumb { position: relative; flex: 0 0 auto; width: 80px; aspect-ratio: 1; padding: 0; border: 0; border-radius: var(--hk-radius-md, 12px); background: var(--hk-surface); cursor: pointer; overflow: hidden; transition: box-shadow var(--hk-ease-fast); }
.hk-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 10%; mix-blend-mode: multiply; opacity: .7; transition: opacity var(--hk-ease-fast); }
.hk-gallery__thumb:hover img, .hk-gallery__thumb[aria-current="true"] img { opacity: 1; }
.hk-gallery__thumb[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--hk-ink); }
@media (max-width: 767px) {
  .hk-pdp__media { margin-inline: calc(-1 * var(--hk-gutter)); }
  .hk-gallery__stage { border-radius: 0; }
  .hk-gallery__thumbs { display: none; }
}

/* ---------- Lightbox ---------- */
.hk-lightbox { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--hk-bg); color: var(--hk-ink); overflow: hidden; }
.hk-lightbox[open] { display: grid; grid-template-rows: auto 1fr; animation: hk-lb-in var(--hk-ease) both; }
.hk-lightbox::backdrop { background: rgba(255,255,255,.96); }
@keyframes hk-lb-in { from { opacity: 0; transform: scale(.985); } }
.hk-lightbox__bar { display: flex; align-items: center; gap: 1rem; padding: 12px 16px; border-bottom: 1px solid var(--hk-line); }
.hk-lightbox__count { font-size: var(--wp--preset--font-size--sm); font-weight: 600; font-variant-numeric: tabular-nums; }
.hk-lightbox__tip { font-size: var(--wp--preset--font-size--xs); color: var(--hk-muted); }
.hk-lightbox__close { margin-left: auto; background: var(--hk-surface); }
.hk-lightbox__stage { position: relative; overflow: hidden; display: grid; place-items: center; cursor: zoom-in; touch-action: pan-y pinch-zoom; }
.hk-lightbox__img { max-width: min(92vw, 1400px); max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; transition: opacity var(--hk-ease-fast); }
.hk-lightbox__img.is-loading { opacity: .35; }
.hk-lightbox__stage.is-zoomed { display: block; overflow: auto; cursor: zoom-out; touch-action: auto; scrollbar-width: none; }
.hk-lightbox__stage.is-zoomed::-webkit-scrollbar { display: none; }
.hk-lightbox__stage.is-zoomed .hk-lightbox__img { max-width: none; max-height: none; }
.hk-lightbox__nav { position: absolute; top: 50%; background: var(--hk-surface); width: 52px; height: 52px; }
.hk-lightbox__nav:hover { background: var(--hk-surface-2); }
.hk-lightbox__nav--prev { left: 16px; }
.hk-lightbox__nav--next { right: 16px; }
@media (max-width: 767px) { .hk-lightbox__nav { top: auto; bottom: 16px; } .hk-lightbox__tip { display: none; } }

/* ---------- Summary ---------- */
.hk-pdp__summary-inner { display: flex; flex-direction: column; gap: var(--wp--preset--spacing--30); }
.hk-pdp__summary-inner > * { margin: 0; }
.hk-pdp__head { display: flex; flex-direction: column; gap: .6rem; }
.hk-pdp__brand { align-self: flex-start; font-size: 12px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--hk-muted); text-decoration: none; padding-block: .25rem; }
.hk-pdp__brand:hover { color: var(--hk-ink); }
.hk-pdp__title { margin: 0; font-size: clamp(1.625rem, 1.2rem + 1.3vw, 2.375rem); font-weight: 650; line-height: 1.12; letter-spacing: -.022em; text-wrap: balance; overflow-wrap: anywhere; }
.hk-pdp__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; font-size: var(--wp--preset--font-size--xs); color: var(--hk-muted); }
.hk-pdp__sku .sku { color: var(--hk-ink-2); font-weight: 550; font-variant-numeric: tabular-nums; }
.hk-pdp__rating { display: inline-flex; align-items: center; gap: .4rem; color: var(--hk-muted); text-decoration: none; }
.hk-stars { position: relative; display: inline-flex; line-height: 0; }
.hk-stars .hk-icon { width: 15px; height: 15px; stroke-width: 1.5; }
.hk-stars__base { color: var(--hk-line); }
.hk-stars__base .hk-icon { fill: currentColor; }
.hk-stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--hk-accent); display: inline-flex; }
.hk-stars__fill .hk-icon { fill: currentColor; flex: none; }

.hk-pdp__price-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; padding-top: .25rem; }
.hk-pdp__price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; font-family: var(--wp--preset--font-family--display); font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; color: var(--hk-ink); font-variant-numeric: tabular-nums; }
.hk-pdp__price del { order: 2; font-size: .55em; font-weight: 500; color: var(--hk-muted); letter-spacing: -.01em; }
.hk-pdp__price ins { text-decoration: none; color: var(--hk-sale); }
.hk-pdp__save { display: inline-block; padding: .3rem .7rem; border-radius: var(--hk-pill); background: #FEF2F2; color: #B91C1C; font-size: var(--wp--preset--font-size--xs); font-weight: 650; }
.hk-pdp__save .woocommerce-Price-amount { font-weight: inherit; }

.hk-pdp .woocommerce-product-details__short-description { font-size: var(--wp--preset--font-size--sm); line-height: 1.65; color: var(--hk-ink-2); }
.hk-pdp .woocommerce-product-details__short-description > :first-child { margin-top: 0; }
.hk-pdp .woocommerce-product-details__short-description [style] { margin-left: 0 !important; padding-left: 0 !important; text-indent: 0 !important; }
.hk-pdp .woocommerce-product-details__short-description > :last-child { margin-bottom: 0; }
.hk-pdp .woocommerce-product-details__short-description :is(h1, h2, h3, h4) { font-size: var(--wp--preset--font-size--sm); font-family: var(--wp--preset--font-family--body); letter-spacing: 0; margin: 0 0 .35rem; }
.hk-pdp .woocommerce-product-details__short-description ul { padding-left: 1.1rem; margin: .5rem 0; }
.hk-pdp .woocommerce-product-details__short-description li { margin: .2rem 0; }
.hk-pdp .woocommerce-product-details__short-description img { display: none; }
.hk-pdp .woocommerce-product-details__short-description.is-clamped { max-height: 7.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.hk-pdp .woocommerce-product-details__short-description strong { font-weight: 600; }
.hk-pdp .woocommerce-product-details__short-description :is(dl, dd) { margin: 0; }
.hk-pdp .woocommerce-product-details__short-description .product-properties, .hk-pdp .woocommerce-product-details__short-description .product-code:empty { display: none; }
.hk-pdp__more { align-self: flex-start; display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; margin-top: -.75rem !important; padding: 0; border: 0; background: none; font: inherit; font-size: var(--wp--preset--font-size--sm); font-weight: 600; color: var(--hk-ink); cursor: pointer; text-decoration: underline; text-decoration-color: var(--hk-line); text-underline-offset: .2em; }
.hk-pdp__more:hover { text-decoration-color: currentColor; }

/* Stock */
.hk-pdp .hk-stock { display: flex; align-items: center; gap: .55rem; margin: 0; padding-top: var(--wp--preset--spacing--30); border-top: 1px solid var(--hk-line); font-size: var(--wp--preset--font-size--sm); color: var(--hk-ink); }
.hk-stock strong { font-weight: 600; }
.hk-stock__note { color: var(--hk-muted); }
.hk-stock__note::before { content: "·"; margin-right: .55rem; }
.hk-stock__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--hk-ok); box-shadow: 0 0 0 4px rgba(21,128,61,.14); flex: none; }
.hk-stock--low .hk-stock__dot, .hk-stock--back .hk-stock__dot { background: var(--hk-accent-strong); box-shadow: 0 0 0 4px var(--hk-accent-soft); }
.hk-stock--out .hk-stock__dot { background: var(--hk-muted); box-shadow: 0 0 0 4px var(--hk-surface-2); }

/* Buy row */
.hk-pdp form.cart { margin: 0; }
.hk-pdp__buy-row { display: flex; align-items: stretch; gap: 10px; }
.hk-qty { display: inline-flex; align-items: center; height: 56px; border: 1px solid var(--hk-line); border-radius: var(--hk-pill); background: var(--hk-bg); flex: none; transition: border-color var(--hk-ease-fast); }
.hk-qty:focus-within { border-color: var(--hk-ink); }
.hk-qty--single { display: none; }
.hk-qty__btn { display: grid; place-items: center; width: 44px; height: 100%; padding: 0; border: 0; background: transparent; color: var(--hk-ink); cursor: pointer; border-radius: var(--hk-pill); transition: color var(--hk-ease-fast), background-color var(--hk-ease-fast); }
.hk-qty__btn .hk-icon { width: 18px; height: 18px; }
.hk-qty__btn:hover { background: var(--hk-surface); }
.hk-qty__btn:disabled { color: var(--hk-line); cursor: default; background: transparent; }
.hk-pdp .hk-qty .quantity { margin: 0 !important; float: none !important; }
.hk-pdp .hk-qty .quantity .qty { width: 2.6rem; min-height: 0; height: 40px; padding: 0; border: 0; background: transparent; box-shadow: none; text-align: center; font-weight: 600; font-size: var(--wp--preset--font-size--md); font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.hk-pdp .hk-qty .quantity .qty::-webkit-inner-spin-button, .hk-pdp .hk-qty .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.hk-pdp .hk-qty .quantity .qty:focus { box-shadow: none; }
.hk-pdp .added_to_cart { display: none !important; }
.hk-pdp-page .hk-pdp .hk-pdp__add, .hk-pdp-page .hk-pdp form.cart .hk-pdp__add.single_add_to_cart_button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; line-height: 1.2; margin: 0; flex: 1 1 auto; float: none; min-height: 56px; padding: 0 1.75rem; border-radius: var(--hk-pill); font-size: var(--wp--preset--font-size--md); font-weight: 650; letter-spacing: -.005em; background: var(--hk-accent); color: var(--hk-ink); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 6px 18px -8px rgba(217,149,0,.7); }
.hk-pdp-page .hk-pdp .hk-pdp__add:hover, .hk-pdp-page .hk-pdp form.cart .hk-pdp__add.single_add_to_cart_button:hover { background: var(--hk-accent-strong); color: var(--hk-ink); }
.hk-pdp .hk-pdp__add.is-loading { pointer-events: none; opacity: .75; }
.hk-pdp .hk-pdp__add.is-loading .hk-icon { animation: hk-pdp-bob .8s ease-in-out infinite alternate; }
.hk-pdp-page .hk-pdp form.cart .hk-pdp__add.single_add_to_cart_button.is-added { background: var(--hk-ink); color: #fff; }
@keyframes hk-pdp-bob { to { transform: translateY(-3px); } }
.hk-pdp__wish { width: 56px; height: 56px; flex: none; border: 1px solid var(--hk-line); transition: border-color var(--hk-ease-fast), color var(--hk-ease-fast), background-color var(--hk-ease-fast); }
.hk-pdp__wish:hover { border-color: var(--hk-ink); background: transparent; }
.hk-pdp__wish[aria-pressed="true"] { color: var(--hk-sale); border-color: currentColor; }
.hk-pdp__wish[aria-pressed="true"] .hk-icon { fill: currentColor; }
.hk-pdp__added { margin: .6rem 0 0; font-size: var(--wp--preset--font-size--sm); color: var(--hk-ok); display: flex; align-items: center; gap: .4rem; }
.hk-pdp__added:empty { display: none; }
.hk-pdp__added a { color: var(--hk-ink); font-weight: 600; }
.hk-pdp__added.is-error { color: var(--hk-sale); }
.hk-pdp form.cart > :not(.hk-pdp__buy-row):not(.hk-pdp__added):not(input[type=hidden]) { margin-top: .75rem; }
@media (max-width: 480px) {
  .hk-pdp__buy-row { gap: 8px; }
  .hk-qty__btn { width: 38px; }
  .hk-pdp .hk-qty .quantity .qty { width: 2rem; }
  .hk-pdp-page .hk-pdp .hk-pdp__add, .hk-pdp-page .hk-pdp form.cart .hk-pdp__add.single_add_to_cart_button { padding: 0 1rem; white-space: nowrap; }
}
@media (max-width: 374px) { .hk-pdp .hk-pdp__add .hk-icon { display: none; } }

/* Unavailable / quote */
.hk-pdp__unavailable { display: flex; flex-direction: column; gap: .9rem; }
.hk-pdp__unavailable-text { margin: 0; font-size: var(--wp--preset--font-size--sm); color: var(--hk-ink-2); }
.hk-pdp__notify { align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: var(--wp--preset--font-size--sm); font-weight: 600; color: var(--hk-ink); text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--hk-line); cursor: pointer; }
.hk-pdp__notify:hover { text-decoration-color: currentColor; }
.hk-pdp__notify .hk-icon { width: 18px; height: 18px; }

/* Assurance */
.hk-assure { list-style: none; margin: 0; padding: 0; border: 1px solid var(--hk-line); border-radius: var(--hk-radius); display: grid; }
.hk-assure__item { display: flex; align-items: flex-start; gap: .85rem; padding: .9rem 1rem; }
.hk-assure__item + .hk-assure__item { border-top: 1px solid var(--hk-line); }
.hk-assure__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--hk-surface); flex: none; }
.hk-assure__icon .hk-icon { width: 19px; height: 19px; }
.hk-assure__body { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.hk-assure__title { font-size: var(--wp--preset--font-size--sm); font-weight: 600; color: var(--hk-ink); text-decoration: none; line-height: 1.35; }
a.hk-assure__title:hover { text-decoration: underline; }
.hk-assure__text { font-size: var(--wp--preset--font-size--xs); color: var(--hk-muted); line-height: 1.45; }
.hk-pdp__pay { display: flex; align-items: flex-start; gap: .6rem; font-size: var(--wp--preset--font-size--xs); line-height: 1.5; color: var(--hk-muted); }
.hk-pdp__pay .hk-icon { width: 18px; height: 18px; margin-top: 1px; }
.hk-pdp .shivu-ic-installation-product-notice { position: relative; margin: 0; padding: 1rem 1.1rem 1rem 3.25rem; border-radius: var(--hk-radius); background: var(--hk-surface); font-size: var(--wp--preset--font-size--sm); }

/* ---------- In-page nav ---------- */
.hk-pdp-details { margin-top: var(--wp--preset--spacing--60); }
.hk-pdp-nav { position: sticky; top: var(--hk-pdp-top); z-index: 30; transition: top var(--hk-ease); background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-block: 1px solid var(--hk-line); }
.hk-pdp-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; }
.hk-pdp-nav__links { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.hk-pdp-nav__links::-webkit-scrollbar { display: none; }
.hk-pdp-nav__link { position: relative; display: inline-flex; align-items: center; min-height: 60px; padding: 0 .9rem; font-size: var(--wp--preset--font-size--sm); font-weight: 550; color: var(--hk-muted); text-decoration: none; white-space: nowrap; transition: color var(--hk-ease-fast); }
.hk-pdp-nav__links li:first-child .hk-pdp-nav__link { padding-left: 0; }
.hk-pdp-nav__link::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: -1px; height: 2px; border-radius: 2px; background: var(--hk-ink); transform: scaleX(0); transition: transform var(--hk-ease); }
.hk-pdp-nav__links li:first-child .hk-pdp-nav__link::after { left: 0; }
.hk-pdp-nav__link:hover, .hk-pdp-nav__link[aria-current="true"] { color: var(--hk-ink); }
.hk-pdp-nav__link[aria-current="true"]::after { transform: scaleX(1); }
.hk-pdp-nav__link:focus-visible { outline-offset: -6px; }
.hk-pdp-nav__cta { display: flex; align-items: center; gap: 1rem; opacity: 0; transform: translateY(4px); pointer-events: none; visibility: hidden; transition: opacity var(--hk-ease), transform var(--hk-ease), visibility 0s linear 260ms; }
.hk-pdp-nav.is-cta .hk-pdp-nav__cta { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.hk-pdp-nav__price { font-weight: 700; font-size: var(--wp--preset--font-size--sm); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hk-pdp-nav__price del { color: var(--hk-muted); font-weight: 450; margin-right: .3rem; }
.hk-pdp-nav__price ins { text-decoration: none; color: var(--hk-sale); }
@media (max-width: 959px) { .hk-pdp-nav__cta { display: none; } }

/* ---------- Sections ---------- */
.hk-pdp-section { display: grid; gap: var(--wp--preset--spacing--40); padding-block: var(--wp--preset--spacing--60); scroll-margin-top: calc(var(--hk-pdp-top) + 60px); }
.hk-pdp-section + .hk-pdp-section { border-top: 1px solid var(--hk-line); }
.hk-pdp-section__title { margin: 0; font-size: var(--wp--preset--font-size--xl); letter-spacing: -.022em; }
.hk-pdp-section__body { min-width: 0; }
@media (min-width: 960px) {
  .hk-pdp-section { grid-template-columns: minmax(200px, 3fr) minmax(0, 9fr); gap: clamp(2rem, 5vw, 5rem); }
  .hk-pdp-section__title { position: sticky; top: calc(var(--hk-pdp-top) + 60px + 2rem); align-self: start; }
}

/* Description (legacy HTML from multiple sources, normalised) */
.hk-pdp-desc { max-width: 860px; font-size: var(--wp--preset--font-size--md); line-height: 1.7; color: var(--hk-ink-2); overflow-wrap: break-word; }
.hk-pdp-desc > :first-child { margin-top: 0; }
.hk-pdp-desc :is(h1, h2, h3, h4, h5) { color: var(--hk-ink); font-family: var(--wp--preset--font-family--display); letter-spacing: -.02em; line-height: 1.2; margin: 2em 0 .6em; }
.hk-pdp-desc h1, .hk-pdp-desc h2 { font-size: var(--wp--preset--font-size--lg); }
.hk-pdp-desc :is(h3, h4, h5) { font-size: var(--wp--preset--font-size--md); }
.hk-pdp-desc p { margin: 0 0 1em; }
.hk-pdp-desc :is(ul, ol) { padding-left: 1.25rem; margin: 0 0 1.25em; }
.hk-pdp-desc li { margin: .3em 0; }
.hk-pdp-desc li::marker { color: var(--hk-muted); }
.hk-pdp-desc strong, .hk-pdp-desc b { color: var(--hk-ink); font-weight: 600; }
.hk-pdp-desc a { color: var(--hk-ink); }
.hk-pdp-desc img.is-broken { display: none !important; }
.hk-pdp-desc img { display: block; max-width: 100%; height: auto; border-radius: var(--hk-radius); margin: 1.5em auto; }
.hk-pdp-desc figure { margin: 1.5em 0; max-width: 100%; }
.hk-pdp-desc iframe, .hk-pdp-desc video, .hk-pdp-desc embed, .hk-pdp-desc object { display: block; width: 100% !important; max-width: 100%; height: auto !important; aspect-ratio: 16 / 9; border: 0; border-radius: var(--hk-radius); margin: 1.5em 0; background: var(--hk-surface); }
.hk-pdp-desc hr { border: 0; border-top: 1px solid var(--hk-line); margin: 2em 0; }
.hk-pdp-desc [style*="min-height"] { min-height: 0 !important; }
.hk-pdp-desc [style*="background"] { background: none !important; }
.hk-pdp-desc [style*="padding"] { padding: 0 !important; }
.hk-pdp-desc [style*="width"]:not(img):not(iframe) { width: auto !important; max-width: 100% !important; }
.hk-pdp-desc [style*="height"]:not(img):not(iframe) { height: auto !important; }
.hk-pdp-desc [style*="font-size"] { font-size: inherit !important; }
.hk-pdp-desc [style*="font-family"] { font-family: inherit !important; }
.hk-pdp-desc [style*="color"] { color: inherit !important; }
.hk-pdp-desc [style*="line-height"] { line-height: inherit !important; }
.hk-pdp-desc [data-content-type="row"], .hk-pdp-desc [data-content-type="column-group"], .hk-pdp-desc [data-content-type="column"] { display: block !important; }
.hk-pdp-desc [data-content-type="column"] [style*="text-align"] { text-align: left !important; }
.hk-pdp-desc .pagebuilder-mobile-only { display: none !important; }
.hk-pdp-desc .com-slidetoggle__icon, .hk-pdp-desc a[href="#"]:empty, .hk-pdp-desc a:empty { display: none; }
.hk-pdp-desc table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: var(--wp--preset--font-size--sm); }
.hk-pdp-desc table table { margin: 0; }
.hk-pdp-desc td, .hk-pdp-desc th { padding: .55rem .5rem .55rem 0; border-bottom: 1px solid var(--hk-line); text-align: left; vertical-align: top; }
.hk-pdp-desc td table td { border-bottom: 0; padding: 0; }
.hk-pdp-desc td table td:first-child { color: var(--hk-muted); width: 45%; padding-right: 1rem; }
.hk-pdp-desc .pagebuilder-video-container, .hk-pdp-desc .pagebuilder-video-wrapper, .hk-pdp-desc .pagebuilder-video-inner { position: static !important; padding: 0 !important; height: auto !important; }
.hk-pdp-desc hr { display: block !important; width: 100% !important; border: 0 !important; border-top: 1px solid var(--hk-line) !important; }
.hk-pdp-desc [data-content-type="column-line"] { display: flex !important; flex-direction: column; gap: 1.5rem; margin-block: 2rem; }
.hk-pdp-desc [data-content-type="column"] > :first-child { margin-top: 0; }
.hk-pdp-desc [data-content-type="column"] img { margin: 0; }
@media (min-width: 768px) {
  .hk-pdp-desc [data-content-type="column-line"] { flex-direction: row; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); }
  .hk-pdp-desc [data-content-type="column-line"] > * { flex: 1 1 0 !important; min-width: 0; }
}
.hk-pdp-reviews .woocommerce-Reviews-title { display: none; }

/* Specifications */
.hk-specs { display: grid; gap: var(--wp--preset--spacing--50); max-width: 860px; }
.hk-specs__title { margin: 0 0 .4rem; font-size: var(--wp--preset--font-size--xs); font-family: var(--wp--preset--font-family--body); font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--hk-muted); }
.hk-specs__list { margin: 0; }
.hk-specs__row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1.5rem; padding-block: .85rem; border-bottom: 1px solid var(--hk-line); font-size: var(--wp--preset--font-size--sm); }
.hk-specs__row:first-child { border-top: 1px solid var(--hk-ink); }
.hk-specs__row dt { color: var(--hk-muted); }
.hk-specs__row dd { margin: 0; color: var(--hk-ink); font-weight: 550; overflow-wrap: anywhere; }
.hk-specs__row dd a { color: inherit; }
@media (max-width: 480px) { .hk-specs__row { grid-template-columns: 1fr; gap: .15rem; } }

/* Reviews (Woo comments template) */
.hk-pdp-reviews { max-width: 860px; font-size: var(--wp--preset--font-size--sm); }
.hk-pdp-reviews .woocommerce-Reviews-title { font-size: var(--wp--preset--font-size--md); margin: 0 0 1rem; }
.hk-pdp-reviews .woocommerce-noreviews, .hk-pdp-reviews .woocommerce-verification-required { margin: 0 0 1rem; padding: 1.25rem 1.4rem; border-radius: var(--hk-radius); background: var(--hk-surface); color: var(--hk-ink-2); }
.hk-pdp-reviews .commentlist { list-style: none; margin: 0 0 2rem; padding: 0; }
.hk-pdp-reviews .commentlist li { padding: 1.25rem 0; border-bottom: 1px solid var(--hk-line); }
.hk-pdp-reviews .commentlist .avatar { float: left; width: 40px; height: 40px; border-radius: 50%; margin-right: .9rem; }
.hk-pdp-reviews .comment-reply-title { display: block; font-family: var(--wp--preset--font-family--display); font-size: var(--wp--preset--font-size--lg); font-weight: 650; margin-bottom: .75rem; }
.hk-pdp-reviews .comment-form { display: grid; gap: 1rem; }
.hk-pdp-reviews .comment-form p { margin: 0; }
.hk-pdp-reviews .comment-form label { display: block; margin-bottom: .35rem; }
.hk-pdp-reviews .comment-form .submit { background: var(--hk-ink); color: #fff; border: 0; border-radius: var(--hk-pill); min-height: 48px; padding: 0 1.75rem; font-weight: 600; cursor: pointer; }

/* ---------- Related rails ---------- */
.hk-pdp-rail { padding-block: var(--wp--preset--spacing--50); }
.hk-pdp-rail + .hk-pdp-rail { padding-top: 0; }
.hk-pdp-rail .hk-section-head h2 { font-size: var(--wp--preset--font-size--xl); letter-spacing: -.022em; }
.hk-pdp-rail__ctrl { display: flex; gap: .5rem; }
.hk-pdp-rail__ctrl .hk-icon-btn { border: 1px solid var(--hk-line); }
.hk-pdp-rail__ctrl .hk-icon-btn:hover { border-color: var(--hk-ink); background: transparent; }
.hk-pdp-rail__ctrl .hk-icon-btn:disabled { opacity: .35; cursor: default; border-color: var(--hk-line); }
.hk-pdp-rail .hk-rail { padding: 4px 4px 24px; margin: -4px -4px -20px; scroll-padding-inline: 4px; }
@media (max-width: 767px) {
  .hk-pdp-rail__ctrl { display: none; }
  .hk-pdp-rail .hk-rail { grid-auto-columns: 68%; margin-inline: calc(-1 * var(--hk-gutter)); padding-inline: var(--hk-gutter); scroll-padding-inline: var(--hk-gutter); }
}

/* ---------- Mobile buy bar ---------- */
.hk-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px var(--hk-gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-top: 1px solid var(--hk-line); box-shadow: 0 -8px 24px rgba(22,24,29,.06); transform: translateY(110%); visibility: hidden; transition: transform var(--hk-ease), visibility 0s linear 260ms; }
.hk-buybar.is-visible { transform: none; visibility: visible; transition-delay: 0s; }
.hk-buybar__inner { display: flex; align-items: center; gap: .75rem; max-width: var(--hk-wide); margin-inline: auto; }
.hk-buybar__thumb { width: 44px; height: 44px; border-radius: 10px; background: var(--hk-surface); overflow: hidden; flex: none; }
.hk-buybar__img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.hk-buybar__info { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.hk-buybar__name { font-size: var(--wp--preset--font-size--xs); color: var(--hk-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hk-buybar__price { font-weight: 700; font-size: var(--wp--preset--font-size--sm); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hk-buybar__price del { color: var(--hk-muted); font-weight: 450; font-size: .85em; margin-right: .25rem; }
.hk-buybar__price ins { text-decoration: none; color: var(--hk-sale); }
.hk-buybar__btn { flex: none; min-height: 48px; padding: 0 1.25rem; }
.hk-buybar__btn .hk-icon { width: 18px; height: 18px; }
@media (min-width: 960px) { .hk-buybar { display: none; } }
@media (max-width: 959px) { .hk-has-pdp .hk-pdp-page { padding-bottom: calc(var(--wp--preset--spacing--50) + 76px); } }

/* ---------- Quote dialog ---------- */
.hk-pdp-dialog { width: min(560px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: var(--hk-radius-xl); background: var(--hk-bg); color: var(--hk-ink); box-shadow: var(--hk-shadow-lg); overflow: auto; }
.hk-pdp-dialog[open] { animation: hk-dialog-in var(--hk-ease) both; }
.hk-pdp-dialog::backdrop { background: rgba(22,24,29,.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@keyframes hk-dialog-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.hk-pdp-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.25rem 0 1.5rem; }
.hk-pdp-dialog__title { margin: 0; font-size: var(--wp--preset--font-size--lg); }
.hk-pdp-dialog__close { background: var(--hk-surface); }
.hk-pdp-dialog__product { display: flex; align-items: center; gap: .9rem; margin: 1rem 1.5rem 0; padding: .75rem; border-radius: var(--hk-radius); background: var(--hk-surface); font-size: var(--wp--preset--font-size--sm); }
.hk-pdp-dialog__product img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: #fff; padding: 4px; flex: none; }
.hk-pdp-dialog__product > span { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.hk-pdp-dialog__product .hk-muted { font-size: var(--wp--preset--font-size--xs); }
.hk-pdp-dialog__body { padding: 1.25rem 1.5rem 1.5rem; font-size: var(--wp--preset--font-size--sm); }
.hk-pdp-dialog__body > p:first-child { margin-top: 0; color: var(--hk-ink-2); }
.hk-pdp-dialog__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.hk-pdp-dialog__actions .hk-icon { width: 18px; height: 18px; }

/* ---------- Polish: long overview collapse, legacy spec lists, spacing ---------- */
.hk-pdp-details { margin-top: var(--wp--preset--spacing--50); }
.hk-pdp-desc.is-collapsed { max-height: 760px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.hk-overview-toggle { margin-top: 1.25rem; }
.hk-pdp-desc dl { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); margin: 0 0 1.5em; border-top: 1px solid var(--hk-line); font-size: var(--wp--preset--font-size--sm); }
.hk-pdp-desc dt, .hk-pdp-desc dd { margin: 0; padding: .7rem 0; border-bottom: 1px solid var(--hk-line); }
.hk-pdp-desc dt { color: var(--hk-muted); padding-right: 1rem; }
.hk-pdp-desc dd { color: var(--hk-ink); font-weight: 550; }
.hk-pdp-desc dl:has(> dd:only-child), .hk-pdp-desc dl:not(:has(dt)) { display: block; border: 0; font-size: inherit; }
.hk-pdp-desc dl:not(:has(dt)) dd { border: 0; padding: 0; font-weight: inherit; color: inherit; }
