/* Modern HBL product detail experience */
.ps-page--product {
  --hbl-product-primary: #008d83;
  --hbl-product-primary-dark: #006f68;
  --hbl-product-accent: #dfea00;
  --hbl-product-ink: #152b33;
  --hbl-product-muted: #64767b;
  --hbl-product-line: #dfe9e7;
  --hbl-product-soft: #f4f9f8;
  --hbl-product-shadow: 0 18px 54px rgba(21, 43, 51, .09);
  padding: 34px 0 0 !important;
  background: linear-gradient(180deg, #f8fbfa 0, #fff 540px) !important;
}

.ps-page--product > .ps-container {
  width: min(100%, 1560px) !important;
  max-width: 1560px !important;
  margin: 0 auto !important;
  padding: 0 18px !important;
}

.ps-page--product .ps-page__container,
.ps-page--product .ps-page__left,
.ps-page--product .ps-page__right {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
}

.ps-page--product .ps-product--detail .ps-product__header {
  display: grid !important;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr) !important;
  align-items: start !important;
  gap: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Gallery */
.ps-page--product .ps-product--detail .ps-product__thumbnail {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 22px !important;
  background: transparent !important;
  box-shadow: var(--hbl-product-shadow) !important;
}

.ps-page--product .bb-product-gallery-wrapper,
.ps-page--product .bb-product-gallery {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
}

.ps-page--product .bb-product-gallery {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 82px minmax(0, 1fr) !important;
  grid-template-areas: "thumbs stage" !important;
  gap: 14px !important;
  padding: 14px !important;
  overflow: hidden !important;
  border: 1px solid var(--hbl-product-line) !important;
  border-radius: 22px !important;
  background: #fff !important;
}

.ps-page--product .bb-product-gallery.hbl-single-image,
.ps-page--product .hbl-single-image > .bb-product-gallery-wrapper > .bb-product-gallery {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas: "stage" !important;
}

.ps-page--product .bb-product-gallery-images {
  position: relative !important;
  grid-area: stage !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 620px !important;
  max-height: none !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  background:
    radial-gradient(circle at 78% 16%, rgba(223, 234, 0, .12), transparent 31%),
    linear-gradient(145deg, #f5f8f7, #edf4f2) !important;
  scroll-snap-type: none !important;
}

.ps-page--product .bb-product-gallery-images::after {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 3;
  padding: 7px 11px;
  border: 1px solid rgba(0, 141, 131, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: var(--hbl-product-muted);
  content: "Click image to zoom";
  font-size: 11px;
  letter-spacing: .02em;
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(21, 43, 51, .07);
  backdrop-filter: blur(8px);
}

.ps-page--product .bb-product-gallery-images .slick-list,
.ps-page--product .bb-product-gallery-images .slick-track {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  transform: none !important;
}

.ps-page--product .bb-product-gallery-images .slick-slide,
.ps-page--product .bb-product-gallery-images > a,
.ps-page--product .bb-product-gallery-images > .bb-product-video {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 620px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 42px !important;
  overflow: hidden !important;
  background: transparent !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(8px) !important;
  transition: opacity .24s ease, transform .24s ease !important;
}

.ps-page--product .bb-product-gallery-images .is-active,
.ps-page--product .bb-product-gallery-images > :first-child:last-child {
  position: relative !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
}

.ps-page--product .bb-product-gallery-images img,
.ps-page--product .bb-product-gallery-images iframe {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 536px !important;
  object-fit: contain !important;
  object-position: center !important;
  transform-origin: var(--hbl-zoom-x, 50%) var(--hbl-zoom-y, 50%) !important;
  transition: transform .2s ease !important;
}

.ps-page--product .hbl-hover-zoom-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  border-radius: inherit;
  background-color: #f5f8f7;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: 175% auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s ease;
}

.ps-page--product .bb-product-gallery-images a.is-active.is-hover-zooming .hbl-hover-zoom-layer {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .ps-page--product .bb-product-gallery-images a.is-active {
    cursor: zoom-in !important;
  }

}

.ps-page--product .bb-product-gallery-thumbnails {
  position: relative !important;
  inset: auto !important;
  z-index: 4 !important;
  grid-area: thumbs !important;
  display: flex !important;
  width: 82px !important;
  max-width: 82px !important;
  max-height: 620px !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-width: thin !important;
}

.ps-page--product .bb-product-gallery.hbl-single-image .bb-product-gallery-thumbnails,
.ps-page--product .hbl-single-image > .bb-product-gallery-wrapper .bb-product-gallery-thumbnails {
  display: none !important;
}

.ps-page--product .bb-product-gallery-thumbnails .slick-list,
.ps-page--product .bb-product-gallery-thumbnails .slick-track {
  display: contents !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
}

.ps-page--product .bb-product-gallery-thumbnails .slick-slide,
.ps-page--product .bb-product-gallery-thumbnails > div {
  position: relative !important;
  display: flex !important;
  width: 78px !important;
  height: 78px !important;
  flex: 0 0 78px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px !important;
  overflow: hidden !important;
  border: 1px solid var(--hbl-product-line) !important;
  border-radius: 12px !important;
  background: #f7faf9 !important;
  cursor: pointer !important;
  opacity: .68 !important;
  transition: border-color .18s ease, opacity .18s ease, box-shadow .18s ease !important;
}

.ps-page--product .bb-product-gallery-thumbnails .is-active {
  border-color: var(--hbl-product-primary) !important;
  opacity: 1 !important;
  box-shadow: 0 0 0 3px rgba(0, 141, 131, .1) !important;
}

.ps-page--product .bb-product-gallery-thumbnails img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.hbl-gallery-toolbar {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hbl-gallery-button,
.hbl-gallery-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 141, 131, .15);
  background: rgba(255, 255, 255, .92);
  color: var(--hbl-product-primary-dark);
  box-shadow: 0 8px 22px rgba(21, 43, 51, .09);
  backdrop-filter: blur(8px);
}

.hbl-gallery-button {
  min-height: 42px;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.hbl-gallery-button i { font-size: 17px; }

.hbl-gallery-arrows {
  position: absolute;
  top: 50%;
  right: 16px;
  left: 16px;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.hbl-gallery-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  pointer-events: auto;
}

.hbl-gallery-count {
  position: absolute;
  bottom: 17px;
  left: 17px;
  z-index: 6;
  min-width: 54px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(21, 43, 51, .82);
  color: #fff;
  font-size: 11px;
  text-align: center;
  backdrop-filter: blur(8px);
}

/* Product information */
.ps-page--product .ps-product--detail .ps-product__info {
  position: sticky !important;
  top: 20px !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: none !important;
  padding: 30px !important;
  border: 1px solid var(--hbl-product-line) !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: var(--hbl-product-shadow) !important;
}

.ps-page--product .ps-product--detail .ps-product__info::before {
  position: absolute;
  top: 0;
  right: 28px;
  left: 28px;
  height: 4px;
  border-radius: 0 0 5px 5px;
  background: linear-gradient(90deg, var(--hbl-product-primary), #00a88f 68%, var(--hbl-product-accent));
  content: "";
}

@media (min-width: 992px) {
  .ps-page--product .ps-product--detail .ps-product__thumbnail {
    position: sticky !important;
    top: 118px !important;
    align-self: start !important;
  }

  .ps-page--product .ps-product--detail .ps-product__info {
    position: relative !important;
    top: auto !important;
  }
}

.ps-page--product .ps-product--detail h1 {
  margin: 2px 0 14px !important;
  color: var(--hbl-product-ink) !important;
  font-size: clamp(24px, 2.4vw, 30px) !important;
  font-weight: 400 !important;
  letter-spacing: -.025em !important;
  line-height: 1.16 !important;
}

.ps-page--product .hbl-product-sku-summary {
  display: inline-flex !important;
  width: max-content !important;
  align-items: center !important;
  gap: 5px !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 5px 9px !important;
  border: 1px solid #dce9e6 !important;
  border-radius: 999px !important;
  background: #f6faf9 !important;
  color: var(--hbl-product-muted) !important;
  font-size: 11px !important;
  line-height: 1 !important;
}

.ps-page--product .hbl-product-sku-summary strong {
  color: var(--hbl-product-muted) !important;
  font-size: 9px !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.ps-page--product .hbl-product-sku-summary [data-hbl-product-sku] {
  color: var(--hbl-product-ink) !important;
  font-weight: 600 !important;
}

.ps-page--product .hbl-product-sku-summary::after {
  display: none !important;
  content: none !important;
}

.ps-page--product .ps-product__meta {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ps-page--product .hbl-product-brand-summary,
.ps-page--product .hbl-product-rating-summary {
  display: inline-flex !important;
  width: auto !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.ps-page--product .hbl-product-brand-summary {
  gap: 5px !important;
  min-height: 0 !important;
  padding: 5px 9px !important;
  border: 1px solid #dce9e6 !important;
  border-radius: 999px !important;
  background: #f6faf9 !important;
  box-shadow: none !important;
}

.ps-page--product .hbl-product-rating-summary {
  margin-left: auto !important;
}

.ps-page--product .hbl-product-brand-summary::after,
.ps-page--product .hbl-product-brand-label::before {
  display: none !important;
  content: none !important;
}

.ps-page--product .hbl-product-rating-summary > a {
  display: inline-flex !important;
  width: auto !important;
  min-height: 0 !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ps-page--product .hbl-product-brand-label {
  margin-right: 0 !important;
  color: var(--hbl-product-muted) !important;
  font-size: 9px !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.ps-page--product .hbl-product-brand-summary a {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--hbl-product-primary-dark) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

.ps-page--product .ps-product--detail .ps-product__price {
  margin: 0 0 17px !important;
  color: var(--hbl-product-ink) !important;
  font-size: clamp(25px, 2.6vw, 30px) !important;
  font-weight: 700 !important;
  letter-spacing: -.025em !important;
  line-height: 1.15 !important;
}

.ps-page--product .ps-product__price del {
  margin-left: 8px !important;
  color: #9aa8ab !important;
  font-size: 17px !important;
  font-weight: 400 !important;
}

.ps-page--product .ps-product__desc {
  margin-bottom: 20px !important;
  border-bottom: 1px solid #e9efee !important;
}

.ps-page--product .ps-product__desc,
.ps-page--product .ps-product__desc p,
.ps-page--product .ps-product__desc li {
  color: var(--hbl-product-muted) !important;
  font-size: 14px !important;
  line-height: 1.72 !important;
}

.ps-page--product .ps-product__countdown {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 12px !important;
  margin: 0 0 20px !important;
  padding: 15px !important;
  border: 1px solid rgba(0, 141, 131, .13) !important;
  border-radius: 15px !important;
  background: linear-gradient(135deg, #f3faf8, #fbfcef) !important;
}

.ps-page--product .ps-product__countdown figure {
  min-width: 0 !important;
  margin: 0 !important;
}

.ps-page--product .ps-product__countdown > figure:first-child {
  display: block !important;
}

.ps-page--product .ps-product__countdown figcaption {
  color: var(--hbl-product-ink) !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
}

.ps-page--product .ps-product__countdown .ps-countdown {
  display: grid !important;
  width: min(100%, 360px) !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 6px !important;
  margin: 9px 0 0 !important;
  padding: 0 !important;
}

.ps-page--product .ps-product__countdown .ps-countdown li {
  position: relative !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 8px 4px 7px !important;
  border: 1px solid rgba(0, 141, 131, .1) !important;
  border-radius: 9px !important;
  background: #fff !important;
  text-align: center !important;
  box-shadow: 0 3px 10px rgba(21, 43, 51, .035) !important;
}

.ps-page--product .ps-product__countdown .ps-countdown li::before,
.ps-page--product .ps-product__countdown .ps-countdown li::after {
  display: none !important;
  content: none !important;
}

.ps-page--product .ps-product__countdown .ps-countdown li span {
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--hbl-product-ink) !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

.ps-page--product .ps-product__countdown .ps-countdown li p {
  margin: 5px 0 0 !important;
  color: var(--hbl-product-muted) !important;
  font-size: 9px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

.ps-page--product .ps-product__countdown > figure + figure {
  display: grid !important;
  grid-template-columns: 66px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 9px !important;
  padding-top: 11px !important;
  border-top: 1px solid rgba(0, 141, 131, .1) !important;
}

.ps-page--product .ps-product__countdown .ps-progress {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
}

.ps-page--product .ps-product__countdown .ps-progress__value {
  height: 6px !important;
  margin: 0 !important;
  overflow: hidden !important;
  border-radius: 999px !important;
  background: #dfe9e6 !important;
}

.ps-page--product .ps-product__countdown .ps-progress__value span {
  display: block !important;
  height: 100% !important;
  border-radius: inherit !important;
  background: var(--hbl-product-primary) !important;
}

.ps-page--product .ps-product__countdown .ps-progress p {
  margin: 0 !important;
  color: var(--hbl-product-muted) !important;
  font-size: 10px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.ps-page--product .ps-product__countdown .ps-progress p b {
  color: var(--hbl-product-primary-dark) !important;
  font-weight: 700 !important;
}

.ps-page--product .add-to-cart-form {
  margin: 0 !important;
}

.ps-page--product .number-items-available {
  margin-bottom: 13px !important;
  font-size: 13px !important;
}

.ps-page--product .ps-product--detail .ps-product__shopping {
  display: grid !important;
  grid-template-columns: 108px minmax(180px, 1fr) !important;
  grid-template-areas:
    "quantity cart"
    "stock stock"
    "secondary secondary" !important;
  align-items: end !important;
  gap: 10px 12px !important;
  margin: 0 !important;
  padding: 16px !important;
  border: 1px solid var(--hbl-product-line) !important;
  border-radius: 16px !important;
  background: var(--hbl-product-soft) !important;
}

.ps-page--product .ps-product__shopping > * {
  margin: 0 !important;
}

.ps-page--product .ps-product__shopping > figure {
  grid-area: quantity !important;
  display: flex !important;
  flex-direction: column !important;
}

.ps-page--product .ps-product__shopping > .add-to-cart-button {
  box-sizing: border-box !important;
  grid-area: cart !important;
  width: 100% !important;
  height: 50px !important;
  align-self: end !important;
}

.ps-page--product .ps-product__shopping.has-merchant-contact {
  grid-template-areas:
    "quantity cart"
    "merchant merchant"
    "stock stock"
    "secondary secondary" !important;
}

.ps-page--product .ps-product__shopping > .connect-merchant-btn {
  box-sizing: border-box !important;
  grid-area: merchant !important;
  display: inline-flex !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  align-self: stretch !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: normal !important;
}

.ps-page--product .ps-product__shopping > .connect-merchant-btn .fa {
  flex: 0 0 auto !important;
  margin: 0 !important;
  font-size: 19px !important;
}

.ps-page--product .ps-product__shopping > .connect-merchant-btn span {
  min-width: 0 !important;
}

.ps-page--product .ps-product__shopping > .hbl-product-stock-note {
  grid-area: stock !important;
  display: flex !important;
  min-height: 34px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 8px 10px !important;
  border: 1px solid rgba(35, 145, 88, .16) !important;
  border-radius: 9px !important;
  background: #eef9f3 !important;
  color: #267a4d !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-align: center !important;
}

.ps-page--product .ps-product__shopping figure figcaption {
  margin-bottom: 7px !important;
  color: var(--hbl-product-muted) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.ps-page--product .product__qty {
  height: 50px !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 1px solid #d7e3e1 !important;
  border-radius: 11px !important;
  background: #fff !important;
}

.ps-page--product .product__qty .form-control {
  height: 48px !important;
  border: 0 !important;
  background: transparent !important;
  font-weight: 600 !important;
}

.ps-page--product .ps-product__shopping .ps-btn,
.ps-page--product .ps-product__shopping .add-to-cart-button {
  min-height: 50px !important;
  margin: 0 !important;
  padding: 13px 20px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: linear-gradient(135deg, var(--hbl-product-primary), var(--hbl-product-primary-dark)) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  box-shadow: 0 11px 24px rgba(0, 141, 131, .22) !important;
}

.ps-page--product .ps-product__shopping .ps-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 28px rgba(0, 141, 131, .28) !important;
}

.ps-page--product .ps-product__actions {
  grid-area: secondary !important;
  display: none !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  padding-top: 9px !important;
  border-top: 1px solid rgba(0, 141, 131, .1) !important;
}

.ps-page--product .ps-product__actions a {
  display: inline-flex !important;
  width: 34px !important;
  height: 34px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  border: 1px solid #dfe9e7 !important;
  border-radius: 9px !important;
  background: rgba(255, 255, 255, .68) !important;
  color: #6c817f !important;
  font-size: 15px !important;
  opacity: .82 !important;
  box-shadow: none !important;
  transition: border-color .18s ease, color .18s ease, opacity .18s ease, background .18s ease !important;
}

.ps-page--product .ps-product__actions a:hover {
  border-color: rgba(0, 141, 131, .3) !important;
  background: #fff !important;
  color: var(--hbl-product-primary) !important;
  opacity: 1 !important;
}

.hbl-product-assurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  margin-top: 13px;
}

.hbl-product-assurance__item {
  display: flex;
  min-height: 72px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: 10px 7px;
  border: 1px solid #e5edeb;
  border-radius: 11px;
  background: #fff;
  color: var(--hbl-product-muted);
  font-size: 10px;
  line-height: 1.3;
  text-align: center;
}

.hbl-product-assurance__item span {
  display: block;
  width: 100%;
  text-align: center;
}

.hbl-product-assurance__item i {
  flex: 0 0 auto;
  color: var(--hbl-product-primary);
  font-size: 19px;
  line-height: 1;
}

.ps-page--product .ps-product__specification {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px 12px !important;
  margin-top: 18px !important;
  padding-top: 17px !important;
  border-top: 1px solid #e9efee !important;
}

.ps-page--product .ps-product__specification p {
  margin: 0 !important;
  color: var(--hbl-product-muted) !important;
  font-size: 12px !important;
}

.ps-page--product .ps-product__sharing {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 14px !important;
}

/* Content tabs and recommendations */
.ps-page--product .ps-product__content.ps-tab-root {
  margin-top: 38px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--hbl-product-line) !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 14px 40px rgba(21, 43, 51, .065) !important;
}

.ps-page--product .ps-tab-list {
  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 14px 18px !important;
  overflow-x: auto !important;
  border-bottom: 1px solid var(--hbl-product-line) !important;
  background: linear-gradient(180deg, #f8fbfa, #f3f8f7) !important;
  scrollbar-width: none !important;
}

.ps-page--product .ps-tab-list::-webkit-scrollbar { display: none !important; }
.ps-page--product .ps-tab-list li {
  width: min(220px, calc(50% - 5px)) !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.ps-page--product .ps-tab-list li::before,
.ps-page--product .ps-tab-list li::after,
.ps-page--product .ps-tab-list li a::before,
.ps-page--product .ps-tab-list li a::after {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  content: none !important;
}

.ps-page--product .ps-tab-list li a {
  display: flex !important;
  min-height: 46px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 11px 20px !important;
  border: 1px solid #dce9e6 !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .8) !important;
  color: var(--hbl-product-muted) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-align: center !important;
  box-shadow: 0 2px 8px rgba(21, 43, 51, .025) !important;
  transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

.ps-page--product .ps-tab-list li:not(.active) a:hover {
  border-color: rgba(0, 141, 131, .28) !important;
  background: #fff !important;
  color: var(--hbl-product-primary) !important;
  transform: translateY(-1px) !important;
}

.ps-page--product .ps-tab-list li.active a {
  border-color: var(--hbl-product-primary) !important;
  background: linear-gradient(135deg, var(--hbl-product-primary), #0b9f94) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(0, 141, 131, .2) !important;
}

.ps-page--product .ps-tabs {
  padding: 30px !important;
}

.ps-page--product .ps-document,
.ps-page--product .ps-tab .ck-content {
  color: #52666b !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
}

.ps-page--product .ps-tab img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 14px !important;
}

.ps-page--product .ps-related-products-section,
.ps-page--product .ps-section--default {
  margin-top: 34px !important;
  padding: 26px !important;
  border: 1px solid var(--hbl-product-line) !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 14px 38px rgba(21, 43, 51, .055) !important;
}

.ps-page--product .ps-related-products-section .ps-section__header h3 {
  color: var(--hbl-product-ink) !important;
  font-size: 24px !important;
  font-weight: 700 !important;
}

/* Fullscreen zoom viewer */
.hbl-product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100002;
  display: flex;
  visibility: hidden;
  align-items: center;
  justify-content: center;
  padding: 76px 84px 46px;
  background: rgba(8, 19, 23, .94);
  opacity: 0;
  transition: opacity .2s ease, visibility .2s ease;
  backdrop-filter: blur(10px);
}

.hbl-product-lightbox.is-open {
  visibility: visible;
  opacity: 1;
}

body.hbl-lightbox-open { overflow: hidden !important; }

.hbl-product-lightbox__stage {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}

.hbl-product-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  transform: translate3d(var(--hbl-pan-x, 0), var(--hbl-pan-y, 0), 0) scale(var(--hbl-lightbox-scale, 1));
  transition: transform .16s ease;
}

.hbl-product-lightbox__topbar {
  position: absolute;
  top: 18px;
  right: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.hbl-product-lightbox__title {
  max-width: min(70vw, 760px);
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hbl-product-lightbox__controls {
  position: absolute;
  right: 50%;
  bottom: 18px;
  display: flex;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  transform: translateX(50%);
  backdrop-filter: blur(12px);
}

.hbl-product-lightbox button {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  background: rgba(255, 255, 255, .11);
  color: #fff;
  font-size: 18px;
}

.hbl-product-lightbox__close {
  flex: 0 0 auto;
}

.hbl-product-lightbox__nav {
  position: absolute;
  top: 50%;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  transform: translateY(-50%);
}

.hbl-product-lightbox__prev { left: 20px; }
.hbl-product-lightbox__next { right: 20px; }

@media (max-width: 1199px) {
  .ps-page--product .ps-product--detail .ps-product__header {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr) !important;
    gap: 24px !important;
  }

  .ps-page--product .bb-product-gallery-images,
  .ps-page--product .bb-product-gallery-images .slick-slide,
  .ps-page--product .bb-product-gallery-images > a,
  .ps-page--product .bb-product-gallery-images > .bb-product-video {
    min-height: 540px !important;
  }

  .ps-page--product .bb-product-gallery-images img,
  .ps-page--product .bb-product-gallery-images iframe { max-height: 460px !important; }
  .ps-page--product .bb-product-gallery-thumbnails { max-height: 540px !important; }
}

@media (max-width: 991px) {
  .ps-page--product > .ps-container { padding: 0 22px !important; }
  .ps-page--product .ps-product--detail .ps-product__header { grid-template-columns: 1fr !important; }
  .ps-page--product .ps-product--detail .ps-product__info { position: static !important; }
}

@media (max-width: 767px) {
  .ps-page--product {
    padding-top: 12px !important;
    background: #f7faf9 !important;
  }

  .ps-page--product > .ps-container {
    width: 100% !important;
    padding: 0 !important;
  }

  .ps-page--product .ps-product--detail .ps-product__header {
    gap: 12px !important;
  }

  .ps-page--product .ps-product--detail .ps-product__thumbnail {
    margin-bottom: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .ps-page--product .bb-product-gallery {
    grid-template-columns: 1fr !important;
    grid-template-areas: "stage" "thumbs" !important;
    gap: 9px !important;
    padding: 0 !important;
    border-width: 1px 0 !important;
    border-radius: 0 !important;
  }

  .ps-page--product .bb-product-gallery-images,
  .ps-page--product .bb-product-gallery-images .slick-slide,
  .ps-page--product .bb-product-gallery-images > a,
  .ps-page--product .bb-product-gallery-images > .bb-product-video {
    min-height: min(100vw, 440px) !important;
  }

  .ps-page--product .bb-product-gallery-images {
    margin: 0 !important;
    border-radius: 0 !important;
  }

  .ps-page--product .bb-product-gallery-images .slick-slide,
  .ps-page--product .bb-product-gallery-images > a,
  .ps-page--product .bb-product-gallery-images > .bb-product-video {
    padding: 28px 20px !important;
  }

  .ps-page--product .bb-product-gallery-images img,
  .ps-page--product .bb-product-gallery-images iframe {
    max-height: calc(min(100vw, 440px) - 56px) !important;
  }

  .ps-page--product .bb-product-gallery-images::after {
    right: 12px;
    bottom: 12px;
    content: "Tap to zoom";
  }

  .ps-page--product .bb-product-gallery-thumbnails {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    flex-direction: row !important;
    gap: 8px !important;
    padding: 0 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }

  .ps-page--product .hbl-single-image .bb-product-gallery-thumbnails { display: none !important; }

  .ps-page--product .bb-product-gallery-thumbnails .slick-slide,
  .ps-page--product .bb-product-gallery-thumbnails > div {
    width: 62px !important;
    height: 62px !important;
    flex-basis: 62px !important;
  }

  .hbl-gallery-toolbar { top: 12px; right: 12px; }
  .hbl-gallery-button { width: 42px; padding: 0; }
  .hbl-gallery-button span { display: none; }

  .ps-page--product .ps-product--detail .ps-product__info {
    padding: 20px 18px 22px !important;
    border-width: 1px 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .ps-page--product .ps-product--detail .ps-product__info::before { right: 18px; left: 18px; }
  .ps-page--product .ps-product--detail h1 {
    margin: 0 0 11px !important;
  }

  .ps-page--product .hbl-product-sku-summary { margin: 0 !important; }

  .ps-page--product .ps-product__meta {
    width: 100% !important;
    max-width: none !important;
    gap: 7px !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
  }
  .ps-page--product .ps-product--detail .ps-product__shopping {
    grid-template-columns: 104px minmax(0, 1fr) !important;
    padding: 13px !important;
  }

  .hbl-product-assurance {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .hbl-product-assurance::-webkit-scrollbar { display: none; }
  .hbl-product-assurance__item { min-width: 132px; }

  .ps-page--product .ps-product__content.ps-tab-root {
    margin-top: 12px !important;
    border-width: 1px 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .ps-page--product .ps-tab-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 10px 14px !important;
  }

  .ps-page--product .ps-tab-list li { width: auto !important; }

  .ps-page--product .ps-tab-list li a {
    min-height: 42px !important;
    padding: 9px 12px !important;
    font-size: 13px !important;
  }

  .ps-page--product .ps-tabs { padding: 20px 18px !important; }

  .ps-page--product .ps-related-products-section,
  .ps-page--product .ps-section--default {
    margin-top: 12px !important;
    padding: 21px 14px !important;
    border-width: 1px 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .hbl-product-lightbox { padding: 66px 10px 84px; }
  .hbl-product-lightbox__topbar { top: 12px; right: 12px; left: 12px; }
  .hbl-product-lightbox__title { max-width: calc(100vw - 80px); font-size: 12px; }
  .hbl-product-lightbox__nav { display: none !important; }
  .hbl-product-lightbox__controls { bottom: 18px; }
}

@media (max-width: 575px) {
  .ps-page--product .ps-product--detail .ps-product__shopping {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  .ps-page--product .ps-product__shopping .ps-btn,
  .ps-page--product .ps-product__shopping .add-to-cart-button {
    padding-right: 14px !important;
    padding-left: 14px !important;
    font-size: 13px !important;
  }
}

/* Final anti-layout-shift pass: keep the PDP in its final geometry from first paint. */
.ps-page--product .hbl-product-sku-source {
  display: none !important;
}

.ps-page--product .ps-product__countdown .ps-countdown li span {
  min-height: 0 !important;
}

.ps-page--product .ps-list--dot {
  margin: 0 !important;
  padding: 0 !important;
  list-style-type: none !important;
}

.ps-page--product .ps-product__countdown .ps-countdown li span:empty::before {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(0, 141, 131, .18);
  border-top-color: #008d83;
  border-radius: 50%;
  content: "";
  vertical-align: -1px;
  animation: hbl-region-loader-spin .65s linear infinite;
}

.ps-page--product .bb-product-gallery:not([data-hbl-gallery-ready="1"]) .bb-product-gallery-images > :first-child,
.ps-page--product .bb-product-gallery-images .slick-current {
  position: relative !important;
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
}

.ps-page--product .bb-product-gallery:not([data-hbl-gallery-ready="1"]) .bb-product-gallery-images *,
.ps-page--product .bb-product-gallery:not([data-hbl-gallery-ready="1"]) .bb-product-gallery-thumbnails * {
  transition: none !important;
}

.ps-page--product .ps-product__info,
.ps-page--product .bb-product-gallery {
  contain: layout;
}

/* Scoped async loaders preserve each region's geometry while content updates. */
.ps-page--product .ps-product__thumbnail.hbl-media-pending,
.ps-product--detail .ps-product__thumbnail.hbl-is-loading,
.ps-product--detail .ps-product__info.hbl-is-loading {
  position: relative !important;
  isolation: isolate;
}

.ps-page--product .ps-product__thumbnail.hbl-media-pending::before,
.ps-product--detail .ps-product__thumbnail.hbl-is-loading::before,
.ps-product--detail .ps-product__info.hbl-is-loading::before {
  position: absolute;
  inset: 0;
  z-index: 80;
  border-radius: inherit;
  background: #f3f4f5;
  content: "";
  pointer-events: auto;
  backdrop-filter: blur(2px);
}

.ps-page--product .ps-product__thumbnail.hbl-media-pending::after,
.ps-product--detail .ps-product__thumbnail.hbl-is-loading::after,
.ps-product--detail .ps-product__info.hbl-is-loading::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 81;
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border: 3px solid rgba(0, 141, 131, .18);
  border-top-color: #008d83;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  animation: hbl-region-loader-spin .65s linear infinite;
}

.ps-product--detail .ps-product__info.hbl-is-loading::after {
  top: min(220px, 35vh);
}

@keyframes hbl-region-loader-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .ps-page--product .ps-product__thumbnail.hbl-media-pending::after,
  .ps-product--detail .hbl-is-loading::after,
  .ps-page--product .ps-product__countdown .ps-countdown li span:empty::before {
    animation-duration: 1.4s;
  }
}

/* Product choices: cover every option type that can be enabled from the admin. */
.ps-page--product .add-to-cart-form > .product-option,
.ps-page--product .add-to-cart-form > .option-field {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 12px !important;
  padding: 14px 16px;
  border: 1px solid var(--hbl-product-line);
  border-radius: 14px;
  background: var(--hbl-product-soft);
}

.ps-page--product .product-option-item-wrapper,
.ps-page--product .product-option-item-values {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.ps-page--product .product-option-item-label {
  margin: 0 0 9px;
}

.ps-page--product .product-option-item-label label,
.ps-page--product .option-field .form-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  color: var(--hbl-product-ink);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.ps-page--product .product-option-item-label label.required::after,
.ps-page--product .option-field .form-label.required::after {
  color: #dc2626;
  content: "*";
}

/* Admin option: dropdown, plus variation attributes using the dropdown layout. */
.ps-page--product .product-option select.form-select,
.ps-page--product .dropdown-swatches-wrapper select.product-filter-item {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 46px 0 14px;
  border: 1px solid #cbdad7 !important;
  border-radius: 11px;
  outline: 0;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23008d83' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  color: var(--hbl-product-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 48px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
  appearance: none;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.ps-page--product .dropdown-swatches-wrapper .dropdown-swatch,
.ps-page--product .dropdown-swatches-wrapper .dropdown-swatch label {
  display: block;
  width: 100%;
  margin: 0;
}

.ps-page--product .product-option select.form-select:hover,
.ps-page--product .dropdown-swatches-wrapper select.product-filter-item:hover {
  border-color: rgba(0, 141, 131, .55) !important;
}

.ps-page--product .product-option select.form-select:focus,
.ps-page--product .dropdown-swatches-wrapper select.product-filter-item:focus,
.ps-page--product .option-field input.form-control:focus {
  border-color: var(--hbl-product-primary) !important;
  box-shadow: 0 0 0 3px rgba(0, 141, 131, .14) !important;
}

.ps-page--product .product-option select.form-select:disabled,
.ps-page--product .dropdown-swatches-wrapper select.product-filter-item:disabled {
  background-color: #edf2f1;
  color: #82918e;
  cursor: not-allowed;
}

/* Admin options: radio and checkbox values become clear, wrapping choice chips. */
.ps-page--product .product-option .product-option-item-values {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.ps-page--product .product-option .product-option-item-values > input[type="hidden"] {
  display: none;
}

.ps-page--product .product-option .product-option-item-values > .form-radio,
.ps-page--product .product-option .product-option-item-values > .form-checkbox {
  position: relative;
  display: inline-flex;
  margin: 0;
}

.ps-page--product .product-option .form-radio input[type="radio"],
.ps-page--product .product-option .form-checkbox input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.ps-page--product .product-option .form-radio input[type="radio"] + label,
.ps-page--product .product-option .form-checkbox input[type="checkbox"] + label {
  display: inline-flex;
  box-sizing: border-box;
  min-height: 42px;
  align-items: center;
  margin: 0;
  padding: 9px 13px;
  border: 1px solid #cbdad7;
  border-radius: 10px;
  background: #fff;
  color: #344743;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.ps-page--product .product-option .form-checkbox input[type="checkbox"] + label::before {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 1.5px solid #91aaa5;
  border-radius: 5px;
  content: "";
}

.ps-page--product .product-option .form-radio input[type="radio"]:hover + label,
.ps-page--product .product-option .form-checkbox input[type="checkbox"]:hover + label {
  border-color: rgba(0, 141, 131, .55);
}

.ps-page--product .product-option .form-radio input[type="radio"]:focus-visible + label,
.ps-page--product .product-option .form-checkbox input[type="checkbox"]:focus-visible + label {
  border-color: var(--hbl-product-primary);
  box-shadow: 0 0 0 3px rgba(0, 141, 131, .14);
}

.ps-page--product .product-option .form-radio input[type="radio"]:checked + label,
.ps-page--product .product-option .form-checkbox input[type="checkbox"]:checked + label {
  border-color: var(--hbl-product-primary);
  background: rgba(0, 141, 131, .09);
  color: var(--hbl-product-primary-dark);
  box-shadow: inset 0 0 0 1px var(--hbl-product-primary);
}

.ps-page--product .product-option .form-checkbox input[type="checkbox"]:checked + label::before {
  border-color: var(--hbl-product-primary);
  background-color: var(--hbl-product-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.ps-page--product .product-option .extra-price,
.ps-page--product .option-field .extra-price {
  margin-left: 4px;
  color: var(--hbl-product-primary-dark);
  font-size: 12px;
  font-weight: 750;
}

/* Admin option: customer-entered text field. */
.ps-page--product .option-field .form-radio {
  display: block;
  margin: 0;
}

.ps-page--product .option-field input.form-control {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  margin-top: 9px;
  padding: 0 14px;
  border: 1px solid #cbdad7;
  border-radius: 11px;
  background: #fff;
  color: var(--hbl-product-ink);
  font-family: inherit;
  font-size: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
  transition: border-color .18s ease, box-shadow .18s ease;
}

@media (max-width: 575px) {
  .ps-page--product .add-to-cart-form > .product-option,
  .ps-page--product .add-to-cart-form > .option-field {
    padding: 12px;
    border-radius: 12px;
  }

  .ps-page--product .product-option select.form-select,
  .ps-page--product .dropdown-swatches-wrapper select.product-filter-item,
  .ps-page--product .option-field input.form-control {
    height: 48px;
    font-size: 16px;
  }

  .ps-page--product .product-option .form-radio input[type="radio"] + label,
  .ps-page--product .product-option .form-checkbox input[type="checkbox"] + label {
    min-height: 44px;
  }
}
