/* HL PDP premium — body#product only (layout / specs / buy rhythm) */
/* Brand / H1 / price hierarchy → hl-pdp-buy.css (last-loaded) */
body#product .hl-pdp-brand__link,
body#product .hl-pdp-brand__text {
  color: inherit !important;
  text-decoration: none !important;
}
body#product .hl-pdp-brand__link:hover {
  color: var(--hl-red, #d71920) !important;
}

body#product .hl-pdp-sku {
  display: none !important;
}

body#product .hl-pdp-discount {
  font-size: .68rem !important;
  padding: .18rem .35rem !important;
  border-radius: 3px !important;
}

body#product .hl-pdp-avail {
  display: inline-flex !important;
  align-items: center !important;
  gap: .4rem !important;
  margin: 0 0 .85rem !important;
  font-size: .875rem !important;
  font-weight: 600 !important;
  color: #166534 !important;
  line-height: 1.3 !important;
}
body#product .hl-pdp-avail.is-oos { color: #991b1b !important; }
body#product .hl-pdp-avail .hl-stock-dot {
  width: .55rem !important;
  height: .55rem !important;
  border-radius: 50% !important;
  background: #22c55e !important;
  flex: 0 0 auto !important;
}
body#product .hl-pdp-avail.is-oos .hl-stock-dot { background: #ef4444 !important; }

body#product .product__add-to-cart-container > .product__availability {
  display: none !important;
}

/* Quick specs (buy-box) — equal-height cells, short values only */
body#product .hl-pdp-quick {
  list-style: none !important;
  margin: 0 0 1rem !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 0 !important;
  border-top: 1px solid #e8eaed !important;
  border-bottom: 1px solid #e8eaed !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
body#product .hl-pdp-quick__item {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: .7rem .55rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: .22rem !important;
  border-right: 1px solid #e8eaed !important;
  box-sizing: border-box !important;
  background: transparent !important;
}
body#product .hl-pdp-quick__item:first-child { padding-left: 0 !important; }
body#product .hl-pdp-quick__item:last-child {
  border-right: 0 !important;
  padding-right: 0 !important;
}
body#product .hl-pdp-quick__value {
  font-size: .95rem !important;
  font-weight: 700 !important;
  color: var(--hl-ink, #18191a) !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: normal !important;
}
body#product .hl-pdp-quick__label {
  font-size: .68rem !important;
  font-weight: 500 !important;
  color: #6b7280 !important;
  line-height: 1.25 !important;
  margin-top: auto !important;
}

/* Gallery: flat white stage */
body#product .product__images {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
body#product .product__carousel {
  background: #fff !important;
  border: 0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}
body#product .product__zoom {
  width: 2.25rem !important;
  height: 2.25rem !important;
  min-width: 2.25rem !important;
  border-radius: 6px !important;
  box-shadow: 0 1px 3px rgba(24, 25, 26, .08) !important;
  opacity: .85 !important;
}
body#product .product__zoom:hover { opacity: 1 !important; }

body#product .product__add-to-cart-button {
  border-radius: 7px !important;
  box-shadow: none !important;
  letter-spacing: .01em !important;
}
body#product .product__add-to-cart-button:hover:not(:disabled) {
  filter: brightness(.96);
}
body#product .product__add-to-cart-button:focus-visible {
  outline: 2px solid var(--hl-red, #d71920) !important;
  outline-offset: 2px !important;
}

body#product .product__right > .hl-pdp-sku { display: none !important; }

/* ========== Below-hero product info ========== */
body#product .hl-pdp-below-hero {
  margin-top: 2.25rem !important;
  width: 100% !important;
  max-width: none !important;
  display: block !important;
}
body#product .hl-pdp-below-hero__inner {
  width: 100% !important;
  max-width: 56rem !important; /* ~896px — natural buy-box continuation */
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 .5rem !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3rem !important;
  text-align: left !important;
}

/* Unified section titles */
body#product .hl-pdp-sec-title {
  position: relative !important;
  margin: 0 0 1.05rem !important;
  padding-left: .7rem !important;
  font-size: clamp(1.15rem, 1.05rem + .3vw, 1.35rem) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: var(--hl-ink, #18191a) !important;
  letter-spacing: -.012em !important;
}
body#product .hl-pdp-sec-title::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: .28em !important;
  bottom: .28em !important;
  width: 2px !important;
  background: var(--hl-red, #d71920) !important;
  border-radius: 1px !important;
  opacity: .75 !important;
}

/* Description — open, reading width */
body#product .hl-pdp-maincopy__body {
  max-width: 44rem !important; /* ~704px prose */
  font-size: .9375rem !important;
  line-height: 1.65 !important;
  color: #374151 !important;
}
body#product .hl-pdp-maincopy__body p {
  margin: 0 0 .85rem !important;
}
body#product .hl-pdp-maincopy__body p:last-child { margin-bottom: 0 !important; }
body#product .hl-pdp-maincopy__body ul,
body#product .hl-pdp-maincopy__body ol {
  padding-left: 1.15rem !important;
  margin: .65rem 0 !important;
}
body#product .hl-pdp-maincopy__body li {
  margin: .35rem 0 !important;
}

/* Tech specs — open layout, NO per-item cards */
body#product .hl-pdp-tech__group {
  margin: 0 0 1.5rem !important;
}
body#product .hl-pdp-tech__group:last-child { margin-bottom: 0 !important; }
body#product .hl-pdp-tech__group-title {
  margin: 0 0 .85rem !important;
  font-size: .7rem !important;
  font-weight: 700 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  color: #6b7280 !important;
  line-height: 1.2 !important;
}
body#product .hl-pdp-tech__grid {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  column-gap: 1.5rem !important;
  row-gap: 1.15rem !important;
  width: 100% !important;
  max-width: 100% !important;
}
/* Few features: don’t stretch empty space — auto-fit compact columns */
body#product .hl-pdp-tech__grid[data-cols="1"],
body#product .hl-pdp-tech__grid[data-cols="2"] {
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 11rem)) !important;
  justify-content: start !important;
}
body#product .hl-pdp-tech__grid[data-cols="3"] {
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 12rem)) !important;
  justify-content: start !important;
}
body#product .hl-pdp-tech__item {
  min-width: 0 !important;
  padding: 0 .75rem 0 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  border-right: 1px solid #eef0f3 !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  gap: .2rem !important;
  box-shadow: none !important;
}
body#product .hl-pdp-tech__item:nth-child(4n),
body#product .hl-pdp-tech__item:last-child {
  border-right: 0 !important;
  padding-right: 0 !important;
}
body#product .hl-pdp-tech__value {
  font-size: 1.05rem !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
  color: var(--hl-ink, #18191a) !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}
body#product .hl-pdp-tech__label {
  font-size: .75rem !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: #6b7280 !important;
}

/* Brand panel — one framed element */
body#product .hl-pdp-brandpanel__card {
  display: flex !important;
  align-items: center !important;
  gap: 1.35rem !important;
  padding: 1.15rem 1.35rem !important;
  border: 1px solid #e4e7eb !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}
body#product .hl-pdp-brandpanel__media {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 9.5rem !important;
  max-width: 10.5rem !important;
  min-height: 3.25rem !important;
}
body#product .hl-pdp-brandpanel__logo {
  max-height: 64px !important;
  max-width: 160px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}
body#product .hl-pdp-brandpanel__body {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}
body#product .hl-pdp-brandpanel__name {
  margin: 0 0 .3rem !important;
  font-size: 1.1rem !important;
  font-weight: 750 !important;
  color: var(--hl-ink, #18191a) !important;
  line-height: 1.25 !important;
}
body#product .hl-pdp-brandpanel__link {
  display: inline-block !important;
  font-size: .875rem !important;
  font-weight: 600 !important;
  color: #4b5563 !important;
  text-decoration: none !important;
}
body#product .hl-pdp-brandpanel__link:hover {
  color: var(--hl-red, #d71920) !important;
}
body#product .hl-pdp-brandpanel__link:focus-visible {
  outline: 2px solid var(--hl-red, #d71920) !important;
  outline-offset: 2px !important;
}
body#product .hl-pdp-brandpanel.no-logo .hl-pdp-brandpanel__card {
  padding: 1rem 1.25rem !important;
}
body#product .hl-pdp-brandpanel.no-logo .hl-pdp-brandpanel__media {
  display: none !important;
}

/* Toote andmed — metadata, not a table */
body#product .hl-pdp-ids__grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1.25rem 2.5rem !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 36rem !important;
}
body#product .hl-pdp-ids__item {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  min-width: 8rem !important;
  flex: 0 1 auto !important;
}
body#product .hl-pdp-ids__label {
  display: block !important;
  margin: 0 0 .25rem !important;
  font-size: .6875rem !important;
  font-weight: 650 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  color: #6b7280 !important;
  line-height: 1.2 !important;
}
body#product .hl-pdp-ids__value {
  display: block !important;
  margin: 0 !important;
  font-size: .875rem !important;
  font-weight: 600 !important;
  color: #1f2937 !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  font-variant-numeric: tabular-nums !important;
  line-height: 1.35 !important;
}

body#product .hl-pdp-below-hero .accordion-button,
body#product .product__accordion .accordion-button {
  display: none !important;
}

body#product .hl-trust-card {
  border-radius: 8px !important;
  background: #f7f8f9 !important;
  border-color: #e4e7eb !important;
}
body#product .hl-trust-card__label {
  margin: 0 0 .45rem !important;
  font-size: .68rem !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  color: #6b7280 !important;
}

@media (min-width: 992px) {
  body#product .product__right {
    position: static !important;
    top: auto !important;
    align-self: start !important;
  }
  body#product .hl-pdp-below-hero__inner {
    max-width: 58rem !important; /* ~928px */
    padding: 0 !important;
  }
}

@media (max-width: 1199.98px) {
  body#product .hl-pdp-tech__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  body#product .hl-pdp-tech__item:nth-child(4n) {
    border-right: 1px solid #eef0f3 !important;
    padding-right: .75rem !important;
  }
  body#product .hl-pdp-tech__item:nth-child(3n),
  body#product .hl-pdp-tech__item:last-child {
    border-right: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 991.98px) {
  body#product .product__right {
    position: static !important;
  }
  body#product .hl-pdp-below-hero {
    margin-top: 2.25rem !important;
  }
  body#product .hl-pdp-below-hero__inner {
    max-width: none !important;
    gap: 2.5rem !important;
    padding: 0 !important;
  }
  body#product .hl-pdp-tech__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    column-gap: 1.15rem !important;
    row-gap: 1rem !important;
  }
  body#product .hl-pdp-brandpanel__card {
    gap: 1.1rem !important;
    padding: 1rem 1.15rem !important;
  }
}

@media (max-width: 767.98px) {
  body#product .hl-pdp-sec-title {
    font-size: 1.1rem !important;
    margin-bottom: .85rem !important;
  }
  body#product .hl-pdp-below-hero__inner {
    gap: 2.15rem !important;
  }
  body#product .hl-pdp-maincopy__body {
    max-width: none !important;
  }
  body#product .hl-pdp-tech__grid,
  body#product .hl-pdp-tech__grid[data-cols="1"],
  body#product .hl-pdp-tech__grid[data-cols="2"],
  body#product .hl-pdp-tech__grid[data-cols="3"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 1rem !important;
    row-gap: .95rem !important;
  }
  body#product .hl-pdp-tech__item {
    border-right: 1px solid #eef0f3 !important;
    padding-right: .65rem !important;
  }
  body#product .hl-pdp-tech__item:nth-child(2n),
  body#product .hl-pdp-tech__item:last-child {
    border-right: 0 !important;
    padding-right: 0 !important;
  }
  body#product .hl-pdp-tech__item.is-wide {
    grid-column: 1 / -1 !important;
    border-right: 0 !important;
    padding-right: 0 !important;
    padding-top: .15rem !important;
    border-top: 1px solid #f3f4f6 !important;
    padding-top: .75rem !important;
  }
  body#product .hl-pdp-tech__value {
    font-size: .98rem !important;
  }
  body#product .hl-pdp-brandpanel__card {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: .85rem !important;
  }
  body#product .hl-pdp-brandpanel__media {
    width: auto !important;
    max-width: 100% !important;
  }
  body#product .hl-pdp-ids__grid {
    gap: 1rem 1.75rem !important;
    max-width: none !important;
  }
  body#product .hl-pdp-quick {
    flex-wrap: wrap !important;
  }
  body#product .hl-pdp-quick__item {
    flex: 1 1 40% !important;
    min-width: 38% !important;
    max-width: 50% !important;
    border-right: 0 !important;
    border-bottom: 1px solid #eef0f3 !important;
    padding: .55rem .35rem .55rem 0 !important;
  }
  body#product .hl-pdp-quick__item:nth-last-child(-n+2) {
    border-bottom: 0 !important;
  }
}

@media (max-width: 359.98px) {
  body#product .hl-pdp-tech__value {
    font-size: .9rem !important;
  }
}
