/* =========================================================
   HARTLINE BLACK — PRODUCT PAGE OPTIMIZED v5
   finalny, oczyszczony CSS strony produktu
   ========================================================= */

/* =========================
   ZMIENNE / BAZA
   ========================= */

body#product,
#product #wrapper,
#product #content-wrapper,
#product #content,
#product main {
  background: #f4f6f8 !important;
}

body#product,
#product {
  overflow-x: hidden !important;
}

#product {
  --hb-bg: #f4f6f8;
  --hb-white: #ffffff;
  --hb-black: #050505;
  --hb-text: #111827;
  --hb-muted: #64748b;
  --hb-soft: #eaf0f7;
  --hb-border: rgba(15, 23, 42, 0.08);
  --hb-border-strong: rgba(15, 23, 42, 0.16);
  --hb-shadow: 0 12px 32px rgba(15, 23, 42, 0.055);
  --hb-shadow-hover: 0 10px 28px rgba(15, 23, 42, 0.12);
  --hb-radius: 18px;
  --hb-radius-sm: 10px;
  --hb-orange: #ff7614;
  --hb-red: #ed1c24;
  --hb-red-dark: #c9141b;
  --hb-blue: #1d4ed8;
}

#product .hb-product-page *,
#product .hb-product-page *::before,
#product .hb-product-page *::after {
  box-sizing: border-box !important;
}

/* =========================
   GŁÓWNY KONTENER
   ========================= */

.hb-product-page {
  width: 100% !important;
  max-width: 1420px !important;
  margin: 0 auto !important;
  padding: 22px 24px 70px !important;
}

/* =========================
   NAGŁÓWEK PRODUKTU
   ========================= */

.hb-product-heading {
  width: 100% !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
}

.hb-product-title {
  margin: 0 0 12px !important;
  color: var(--hb-black) !important;
  font-size: clamp(30px, 2.3vw, 42px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.055em !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
  text-align: left !important;
}

.hb-product-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.hb-product-meta span {
  min-height: 25px !important;
  padding: 0 11px !important;
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 999px !important;
  background: var(--hb-soft) !important;
  color: var(--hb-muted) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

/* =========================
   UKŁAD STRONY PRODUKTU
   ========================= */

.hb-product-layout {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 430px !important;
  gap: 24px !important;
  align-items: start !important;
}

.hb-product-left,
.hb-product-right,
.hb-product-gallery-card,
.hb-product-buy-card {
  min-width: 0 !important;
}

.hb-product-left {
  display: grid !important;
  gap: 16px !important;
}

.hb-product-right {
  width: 430px !important;
  max-width: 430px !important;
  display: grid !important;
  gap: 16px !important;
  position: sticky !important;
  top: 18px !important;
}

/* =========================
   KARTY
   ========================= */

.hb-product-card {
  background: var(--hb-white) !important;
  border: 1px solid var(--hb-border) !important;
  border-radius: var(--hb-radius) !important;
  box-shadow: var(--hb-shadow) !important;
  box-sizing: border-box !important;
}

/* =========================
   GALERIA PRODUKTU
   ========================= */

.hb-product-gallery-card {
  min-height: 560px !important;
  padding: 18px !important;
  overflow: hidden !important;
}

/* Układ: miniatury po lewej, zdjęcie główne po prawej */
.hb-product-gallery-card .images-container {
  width: 100% !important;
  min-height: 530px !important;
  max-height: 530px !important;
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: center !important;
  overflow: hidden !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Główne zdjęcie */
.hb-product-gallery-card .product-cover {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
  min-height: 520px !important;
  max-height: 520px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.hb-product-gallery-card .product-cover img,
.hb-product-gallery-card .js-qv-product-cover,
.hb-product-gallery-card figure img,
.hb-product-gallery-card picture img {
  max-width: 78% !important;
  max-height: 430px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

/* Miniatury po lewej */
.hb-product-gallery-card .js-qv-mask,
.hb-product-gallery-card .mask {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 92px !important;
  max-height: 520px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 6px !important;
  margin: 0 !important;
}

.hb-product-gallery-card .product-images,
.hb-product-gallery-card .js-qv-product-images {
  display: flex !important;
  flex-direction: column !important;
  gap: 13px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hb-product-gallery-card .product-images li,
.hb-product-gallery-card .js-qv-product-images li {
  width: 78px !important;
  height: 78px !important;
  min-width: 78px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.hb-product-gallery-card .thumb,
.hb-product-gallery-card .product-images img,
.hb-product-gallery-card .js-qv-product-images img {
  width: 78px !important;
  height: 78px !important;
  min-width: 78px !important;
  object-fit: contain !important;
  background: #fff !important;
  border: 1px solid var(--hb-border-strong) !important;
  border-radius: 9px !important;
  padding: 6px !important;
  cursor: pointer !important;
  transition: 0.18s ease !important;
}

.hb-product-gallery-card .thumb:hover,
.hb-product-gallery-card .thumb.selected,
.hb-product-gallery-card .js-qv-product-images img:hover,
.hb-product-gallery-card .js-qv-product-images img.selected {
  border-color: var(--hb-orange) !important;
  box-shadow: 0 0 0 3px rgba(255, 118, 20, 0.14) !important;
}

/* Ukrycie starych strzałek miniatur Presty */
.hb-product-gallery-card .scroll-box-arrows,
.hb-product-gallery-card .scroll-box-arrows i {
  display: none !important;
}

/* Ikona zoomu */
.hb-product-gallery-card .layer,
.hb-product-gallery-card .product-cover .layer {
  width: 46px !important;
  height: 46px !important;
  right: 22px !important;
  bottom: 22px !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: var(--hb-shadow-hover) !important;
}

/* =========================
   KARTA ZAKUPOWA
   ========================= */

.hb-product-buy-card {
  padding: 28px !important;
}

/* Cena */
.hb-product-buy-card .product-prices {
  margin: 0 0 12px !important;
}

.hb-product-buy-card .current-price,
.hb-product-buy-card .product-price,
.hb-product-buy-card .price {
  color: var(--hb-black) !important;
  font-size: 34px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: -0.055em !important;
}

.hb-product-buy-card .tax-shipping-delivery-label,
.hb-product-buy-card .price-tax {
  display: block !important;
  margin-top: 6px !important;
  color: var(--hb-muted) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

/* Krótki opis */
.hb-product-short-description {
  margin: 20px 0 0 !important;
  color: var(--hb-text) !important;
  font-size: 15px !important;
  line-height: 1.58 !important;
}

.hb-product-buy-separator {
  width: 100% !important;
  height: 1px !important;
  background: var(--hb-border) !important;
  margin: 22px 0 !important;
}

/* Ilość + koszyk + wishlist */
.hb-product-buy-card .product-quantity {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
  width: 100% !important;
}

.hb-product-buy-card .qty {
  width: auto !important;
  margin: 0 !important;
}

.hb-product-buy-card input[name="qty"] {
  width: 68px !important;
  height: 48px !important;
  border: 1px solid var(--hb-border-strong) !important;
  border-radius: var(--hb-radius-sm) !important;
  text-align: center !important;
  color: #111 !important;
  background: #fff !important;
  font-size: 15px !important;
  font-weight: 850 !important;
}

.hb-product-buy-card .add {
  min-width: 0 !important;
  width: 100% !important;
}

.hb-product-buy-card .add-to-cart,
.hb-product-buy-card .btn-primary,
.hb-product-buy-card button.add-to-cart {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 48px !important;
  height: 48px !important;
  padding: 0 26px !important;
  border-radius: var(--hb-radius-sm) !important;
  background: var(--hb-orange) !important;
  border-color: var(--hb-orange) !important;
  color: #fff !important;
  font-size: 15px !important;
  line-height: 1.15 !important;
  font-weight: 950 !important;
  text-transform: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

.hb-product-buy-card .add-to-cart:hover,
.hb-product-buy-card .btn-primary:hover,
.hb-product-buy-card button.add-to-cart:hover {
  background: var(--hb-red) !important;
  border-color: var(--hb-red) !important;
  color: #fff !important;
  transform: none !important;
}

/* Wishlist */
.hb-product-buy-card .wishlist-button-add {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  border-radius: 999px !important;
  background: #fff !important;
  border: 1px solid rgba(15, 23, 42, 0.14) !important;
  box-shadow: none !important;
}

/* =========================
   BLOK ZALET / REASSURANCE
   ========================= */

.hb-product-reassurance {
  display: grid !important;
  gap: 13px !important;
  margin-top: 26px !important;
}

.hb-product-reassurance-item {
  display: grid !important;
  grid-template-columns: 24px 1fr !important;
  gap: 10px !important;
  align-items: start !important;
}

.hb-product-reassurance-item span {
  color: var(--hb-red) !important;
  font-size: 17px !important;
  line-height: 1.15 !important;
  font-weight: 950 !important;
}

.hb-product-reassurance-item strong {
  display: block !important;
  color: var(--hb-text) !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
}

.hb-product-reassurance-item small {
  display: block !important;
  color: var(--hb-muted) !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  margin-top: 2px !important;
}

/* =========================
   KARTA BOCZNA
   ========================= */

.hb-product-side-card {
  padding: 22px !important;
}

.hb-product-side-card h2 {
  margin: 0 0 12px !important;
  color: var(--hb-black) !important;
  font-size: 20px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
}

.hb-product-side-card p {
  margin: 0 0 22px !important;
  color: #334155 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.hb-product-side-btn {
  min-height: 44px !important;
  width: 100% !important;
  border-radius: 8px !important;
  background: #777 !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

.hb-product-side-btn:hover {
  background: var(--hb-red) !important;
  color: #fff !important;
}

/* =========================
   KARTA DOPASOWANIA
   ========================= */

.hb-product-fit-card {
  padding: 20px 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  border-radius: 16px !important;
}

.hb-product-fit-content h2 {
  margin: 0 0 8px !important;
  color: var(--hb-black) !important;
  font-size: 20px !important;
  line-height: 1.15 !important;
  font-weight: 950 !important;
}

.hb-product-fit-content p {
  margin: 0 !important;
  color: #334155 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.hb-product-fit-btn {
  flex: 0 0 auto !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  border-radius: 8px !important;
  background: #e5e7eb !important;
  color: var(--hb-black) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

.hb-product-fit-btn:hover {
  background: var(--hb-red) !important;
  color: #fff !important;
}

/* =========================
   ZAKŁADKI / OPIS / CECHY
   ========================= */

.hb-product-tabs-card {
  overflow: hidden !important;
}

.hb-product-tabs {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border-bottom: 1px solid var(--hb-border) !important;
  overflow-x: auto !important;
  list-style: none !important;
}

.hb-product-tabs .nav-item {
  margin: 0 !important;
  white-space: nowrap !important;
}

.hb-product-tabs .nav-link {
  min-height: 52px !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #475569 !important;
  display: inline-flex !important;
  align-items: center !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.hb-product-tabs .nav-link.active {
  color: var(--hb-orange) !important;
  background: transparent !important;
  box-shadow: inset 0 -2px 0 var(--hb-orange) !important;
}

.hb-product-tab-content {
  padding: 28px !important;
}

.hb-product-description {
  color: var(--hb-text) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

.hb-product-tab-content .product-features dl {
  display: grid !important;
  grid-template-columns: minmax(180px, 320px) 1fr !important;
  gap: 0 !important;
  margin: 0 !important;
}

.hb-product-tab-content .product-features dt,
.hb-product-tab-content .product-features dd {
  padding: 8px 0 !important;
  border-bottom: 1px solid var(--hb-border) !important;
  font-size: 14px !important;
}

.hb-product-tab-content .product-features dt {
  color: var(--hb-text) !important;
  font-weight: 850 !important;
}

.hb-product-tab-content .product-features dd {
  color: #334155 !important;
  margin: 0 !important;
}

/* =========================
   SEKCJE OGÓLNE
   ========================= */

.hb-product-section {
  padding: 22px !important;
}

.hb-product-section-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-bottom: 18px !important;
}

.hb-product-section h2,
.hb-product-section-head h2 {
  margin: 0 !important;
  color: var(--hb-black) !important;
  font-size: 19px !important;
  line-height: 1.15 !important;
  font-weight: 950 !important;
}

/* =========================
   KUP W ZESTAWIE — SLIDER
   ========================= */

.hb-product-accessories {
  padding: 22px !important;
  overflow: hidden !important;
}

.hb-product-accessories .hb-product-section-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-bottom: 18px !important;
}

.hb-product-accessories .hb-product-section-head h2 {
  margin: 0 0 4px !important;
}

.hb-product-accessories .hb-product-section-head p {
  margin: 0 !important;
  color: var(--hb-muted) !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.hb-product-slider-nav {
  display: flex !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
}

.hb-product-slider-btn {
  width: 38px !important;
  height: 38px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  background: #fff !important;
  color: var(--hb-text) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 26px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08) !important;
}

.hb-product-slider-btn:hover {
  background: var(--hb-red) !important;
  border-color: var(--hb-red) !important;
  color: #fff !important;
}

.hb-product-slider-btn.is-hidden {
  display: none !important;
}

.hb-product-slider {
  width: 100% !important;
  overflow: hidden !important;
}

.hb-product-slider-track {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: calc((100% - 32px) / 3) !important;
  gap: 16px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  scroll-behavior: smooth !important;
  padding: 2px 2px 12px !important;
  margin: 0 !important;
  scrollbar-width: none !important;
}

.hb-product-slider-track::-webkit-scrollbar {
  height: 0 !important;
}

.hb-product-slider-item {
  min-width: 0 !important;
  scroll-snap-align: start !important;
}

.hb-product-slider-item .product-miniature,
.hb-product-slider-item article.product-miniature {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hb-product-slider-item .thumbnail-container {
  height: 100% !important;
  min-height: 360px !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08) !important;
}

.hb-product-slider-item .thumbnail-top,
.hb-product-slider-item .product-thumbnail {
  min-height: 210px !important;
  background: #fff !important;
}

.hb-product-slider-item .product-thumbnail img {
  max-height: 200px !important;
  object-fit: contain !important;
}

.hb-product-slider-item .product-title a {
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 850 !important;
}

.hb-product-slider-item .price,
.hb-product-slider-item .product-price {
  font-size: 18px !important;
  font-weight: 950 !important;
}

/* Gdy produktów jest 1-2 */
.hb-product-slider-track.is-static {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 300px)) !important;
  grid-auto-flow: initial !important;
  overflow: visible !important;
}

/* =========================
   RESPONSYWNOŚĆ
   ========================= */

@media (max-width: 1199px) {
  .hb-product-page {
    max-width: 1180px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .hb-product-layout {
    grid-template-columns: minmax(0, 1fr) 390px !important;
    gap: 18px !important;
  }

  .hb-product-right {
    width: 390px !important;
    max-width: 390px !important;
  }

  .hb-product-gallery-card {
    min-height: auto !important;
  }

  .hb-product-gallery-card .images-container {
    grid-template-columns: 78px minmax(0, 1fr) !important;
    min-height: 460px !important;
    max-height: 460px !important;
    gap: 18px !important;
  }

  .hb-product-gallery-card .product-cover {
    min-height: 450px !important;
    max-height: 450px !important;
  }

  .hb-product-gallery-card .product-cover img,
  .hb-product-gallery-card .js-qv-product-cover,
  .hb-product-gallery-card figure img,
  .hb-product-gallery-card picture img {
    max-width: 82% !important;
    max-height: 380px !important;
  }

  .hb-product-gallery-card .js-qv-mask,
  .hb-product-gallery-card .mask {
    width: 78px !important;
    max-height: 450px !important;
  }

  .hb-product-gallery-card .product-images li,
  .hb-product-gallery-card .js-qv-product-images li,
  .hb-product-gallery-card .thumb,
  .hb-product-gallery-card .product-images img,
  .hb-product-gallery-card .js-qv-product-images img {
    width: 66px !important;
    height: 66px !important;
    min-width: 66px !important;
  }
}

@media (max-width: 991px) {
  .hb-product-page {
    padding: 16px 14px 54px !important;
  }

  .hb-product-layout {
    grid-template-columns: 1fr !important;
  }

  .hb-product-right {
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
  }

  .hb-product-gallery-card {
    padding: 14px !important;
  }

  .hb-product-gallery-card .images-container {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    min-height: auto !important;
    max-height: none !important;
  }

  .hb-product-gallery-card .product-cover {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-height: 340px !important;
    max-height: 340px !important;
  }

  .hb-product-gallery-card .product-cover img,
  .hb-product-gallery-card .js-qv-product-cover,
  .hb-product-gallery-card figure img,
  .hb-product-gallery-card picture img {
    max-width: 90% !important;
    max-height: 300px !important;
  }

  .hb-product-gallery-card .js-qv-mask,
  .hb-product-gallery-card .mask {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-height: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 !important;
  }

  .hb-product-gallery-card .product-images,
  .hb-product-gallery-card .js-qv-product-images {
    flex-direction: row !important;
    gap: 10px !important;
  }

  .hb-product-fit-card {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .hb-product-fit-btn {
    width: 100% !important;
  }

  .hb-product-tab-content {
    padding: 22px !important;
  }

  .hb-product-tab-content .product-features dl {
    grid-template-columns: 1fr !important;
  }

  .hb-product-slider-track {
    grid-auto-columns: calc((100% - 16px) / 2) !important;
  }
}

@media (max-width: 575px) {
  .hb-product-title {
    font-size: 28px !important;
  }

  .hb-product-buy-card {
    padding: 22px !important;
  }

  .hb-product-buy-card .product-quantity {
    grid-template-columns: auto minmax(0, 1fr) !important;
  }

  .hb-product-buy-card .wishlist-button-add {
    grid-column: 2 !important;
    justify-self: end !important;
  }

  .hb-product-accessories .hb-product-section-head {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .hb-product-slider-track {
    grid-auto-columns: 82% !important;
  }

  .hb-product-side-card,
  .hb-product-fit-card,
  .hb-product-section,
  .hb-product-accessories {
    padding: 18px !important;
  }
}
/* =========================================================
   HARTLINE BLACK — PRODUCT PAGE HOTFIX
   centrowanie zdjęcia + czerwony koszyk
   ========================================================= */

/* Główne zdjęcie produktu — idealne centrowanie */
.hb-product-gallery-card .product-cover {
  display: grid !important;
  place-items: center !important;
  text-align: center !important;
}

.hb-product-gallery-card .product-cover > a,
.hb-product-gallery-card .product-cover > picture,
.hb-product-gallery-card .product-cover > figure,
.hb-product-gallery-card .product-cover .product-cover-link {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.hb-product-gallery-card .product-cover img,
.hb-product-gallery-card .js-qv-product-cover,
.hb-product-gallery-card figure img,
.hb-product-gallery-card picture img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 82% !important;
  max-height: 430px !important;
  object-fit: contain !important;
}

/* =========================================================
   KOSZYK — czerwony, większy, tekst się mieści
   ========================================================= */

/* Cały wiersz ilość + koszyk */
.hb-product-buy-card .product-quantity {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}

/* Kontener z ilością */
.hb-product-buy-card .qty {
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
}

/* Kontener przycisku dodaj do koszyka */
.hb-product-buy-card .add {
  flex: 1 1 auto !important;
  min-width: 190px !important;
  width: auto !important;
}

/* Przycisk dodaj do koszyka */
.hb-product-buy-card .add-to-cart,
.hb-product-buy-card .btn-primary.add-to-cart,
.hb-product-buy-card button.add-to-cart {
  width: 100% !important;
  min-width: 190px !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 18px !important;
  border-radius: 10px !important;
  background: #ed1c24 !important;
  border-color: #ed1c24 !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  text-align: center !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

/* Ikona w koszyku */
.hb-product-buy-card .add-to-cart i,
.hb-product-buy-card .add-to-cart svg,
.hb-product-buy-card .add-to-cart .material-icons {
  flex: 0 0 auto !important;
  margin: 0 !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

/* Hover — czarny */
.hb-product-buy-card .add-to-cart:hover,
.hb-product-buy-card .btn-primary.add-to-cart:hover,
.hb-product-buy-card button.add-to-cart:hover {
  background: #050505 !important;
  border-color: #050505 !important;
  color: #ffffff !important;
}

/* Serduszko nie zabiera miejsca przyciskowi */
.hb-product-buy-card .wishlist-button-add {
  flex: 0 0 48px !important;
}

/* Mobile — żeby się nie ściskało */
@media (max-width: 575px) {
  .hb-product-buy-card .product-quantity {
    flex-wrap: wrap !important;
  }

  .hb-product-buy-card .add {
    flex: 1 1 calc(100% - 58px) !important;
    min-width: 0 !important;
  }

  .hb-product-buy-card .add-to-cart,
  .hb-product-buy-card .btn-primary.add-to-cart,
  .hb-product-buy-card button.add-to-cart {
    min-width: 0 !important;
  }
}
/* =========================================================
   HARTLINE BLACK — PRODUCT TABS FIX
   usunięcie zbędnego scrolla i poprawa wysokości
   ========================================================= */

body#product .hb-product-tabs-card,
#product .hb-product-tabs-card {
  overflow: visible !important;
}

body#product .hb-product-tabs-card .hb-product-tabs,
body#product .hb-product-tabs-card .hb-product-tabs-content,
body#product .hb-product-tabs-card .hb-product-tab-content,
body#product .hb-product-tabs-card .tab-content,
body#product .hb-product-tabs-card .tab-pane,
body#product .hb-product-tabs-card .hb-product-tab-panel,
#product .hb-product-tabs-card .hb-product-tabs,
#product .hb-product-tabs-card .hb-product-tabs-content,
#product .hb-product-tabs-card .hb-product-tab-content,
#product .hb-product-tabs-card .tab-content,
#product .hb-product-tabs-card .tab-pane,
#product .hb-product-tabs-card .hb-product-tab-panel {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
}

/* Pasek z zakładkami bez pionowego scrolla */
body#product .hb-product-tabs-card .nav,
body#product .hb-product-tabs-card .tabs,
body#product .hb-product-tabs-card .hb-product-tabs-nav,
#product .hb-product-tabs-card .nav,
#product .hb-product-tabs-card .tabs,
#product .hb-product-tabs-card .hb-product-tabs-nav {
  overflow-y: hidden !important;
  overflow-x: auto !important;
  max-height: none !important;
}

/* Aktywna zakładka */
body#product .hb-product-tabs-card .hb-tab-trigger.is-active,
body#product .hb-product-tabs-card .nav-link.active,
body#product .hb-product-tabs-card button.active,
#product .hb-product-tabs-card .hb-tab-trigger.is-active,
#product .hb-product-tabs-card .nav-link.active,
#product .hb-product-tabs-card button.active {
  color: #ed1c24 !important;
  border-bottom-color: #ed1c24 !important;
}

/* Panele zakładek */
body#product .hb-product-tabs-card .hb-tab-panel,
#product .hb-product-tabs-card .hb-tab-panel {
  display: none;
}

body#product .hb-product-tabs-card .hb-tab-panel.is-active,
#product .hb-product-tabs-card .hb-tab-panel.is-active {
  display: block;
}
/* =========================================================
   HARTLINE BLACK — PRODUCT DETAILS CLEANUP
   Ukrycie nagłówków i stanu magazynowego w zakładce szczegółów
   ========================================================= */

/* Ukrycie napisu "Szczegóły produktu" wewnątrz treści zakładki */
body#product .hb-product-tabs-card .product-details > h2,
body#product .hb-product-tabs-card .product-details > h3,
body#product .hb-product-tabs-card .product-details > .h2,
body#product .hb-product-tabs-card .product-details > .h3,
body#product .hb-product-tabs-card #product-details > h2,
body#product .hb-product-tabs-card #product-details > h3,
body#product .hb-product-tabs-card #product-details > .h2,
body#product .hb-product-tabs-card #product-details > .h3 {
  display: none !important;
}

/* Ukrycie ilości w magazynie */
body#product .hb-product-tabs-card .product-quantities,
body#product .hb-product-tabs-card .product-availability,
body#product .hb-product-tabs-card .product-stock,
body#product .hb-product-tabs-card .stock-information,
body#product .hb-product-tabs-card [data-stock],
body#product .hb-product-tabs-card .product-details .product-quantities {
  display: none !important;
}

/* Ukrycie napisu "Opis" nad parametrami technicznymi */
body#product .hb-product-tabs-card .product-features > h2,
body#product .hb-product-tabs-card .product-features > h3,
body#product .hb-product-tabs-card .product-features > .h2,
body#product .hb-product-tabs-card .product-features > .h3,
body#product .hb-product-tabs-card .product-features > p.h6,
body#product .hb-product-tabs-card .product-features > .h6,
body#product .hb-product-tabs-card .product-features > p:first-child {
  display: none !important;
}

/* Parametry techniczne od razu pod zakładkami */
body#product .hb-product-tabs-card .product-features {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Lekkie dopracowanie tabeli parametrów */
body#product .hb-product-tabs-card .product-features .data-sheet,
body#product .hb-product-tabs-card .product-features dl {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}