/* Herbawell — karta produktu (PDP), wariant Premium. Wartości 1:1 z makietą.
   Kolory/fonty przez var(--hw-*); zero zaokrągleń i cieni, podział linią 1px. */

.hw-pdp { padding-bottom: 96px; }

/* ---------- Okruszki ---------- */
.hw-pdp__crumbs {
  padding-top: 26px;
  padding-bottom: 30px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--hw-text-muted);
}
.hw-pdp__crumbs a { cursor: pointer; }
.hw-pdp__crumbs a:hover { color: var(--hw-green); }
.hw-pdp__crumbs-current { color: var(--hw-green); }

/* ---------- Górna sekcja: galeria + zakup ---------- */
.hw-pdp__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* ---------- Galeria ---------- */
.hw-pdp__gallery { display: flex; flex-direction: column; gap: 12px; }
.hw-pdp__stage {
  aspect-ratio: 4 / 5;
  background: var(--hw-sage);
  padding: 32px;
}
.hw-pdp__stage-img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.hw-pdp__stage-ph {
  height: 100%;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .7) 0 12px, rgba(255, 255, 255, .28) 12px 24px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 18px;
}
.hw-pdp__thumbs {
  display: grid;
  /* minmax(0,1fr): 1fr ma min-width auto — etykiety monospace wymuszały min-content 4×90px+odstępy=396px i poziomy scroll na 390px */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.hw-pdp__thumb-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.hw-pdp__thumb {
  aspect-ratio: 1 / 1;
  background: var(--hw-bone-dark);
  border: 1px solid var(--hw-line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .25s ease;
}
.hw-pdp__thumb.is-active { border-color: var(--hw-brass); }
.hw-pdp__thumb-label {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 9px;
  letter-spacing: .06em;
  color: #7A8A7E;
}

/* ---------- Kolumna zakupu ---------- */
.hw-pdp__buy { display: flex; flex-direction: column; gap: 24px; }
.hw-pdp__head { display: flex; flex-direction: column; gap: 14px; }
.hw-pdp__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hw-brass-dark);
}
.hw-pdp__title {
  margin: 0;
  font-size: 54px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--hw-green);
  line-height: 1;
}
.hw-pdp__rating { display: flex; align-items: center; gap: 10px; }
.hw-pdp__stars { color: var(--hw-brass-dark); font-size: 13px; letter-spacing: .14em; }
.hw-pdp__rating-text { font-size: 12.5px; color: var(--hw-text-soft); }

/* ---------- Cena ---------- */
.hw-pdp__price-box {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--hw-line);
  border-bottom: 1px solid var(--hw-line);
}
.hw-pdp__price {
  font-family: var(--hw-font);
  font-size: 52px;
  font-weight: 500;
  color: var(--hw-green);
  letter-spacing: -.02em;
}
.hw-pdp__old { font-size: 16px; color: #9AA79E; text-decoration: line-through; }
/* Cena jednostkowa (zl/kg | zl/l | zl/szt.) — drobna, szara; przy cenie, wzorem noty Omnibus. */
.hw-pdp__unitprice { font-size: 13px; color: #9AA79E; white-space: nowrap; }
/* Nota Omnibus (najnizsza cena z 30 dni) — wymog prawny, pod wierszem ceny. */
.hw-pdp__omnibus { margin: -12px 0 0; font-size: 12px; line-height: 1.5; color: #9AA79E; }
.hw-pdp__lowest {
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid var(--hw-brass);
  color: var(--hw-brass-dark);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Formularz ---------- */
.hw-pdp__form { display: flex; flex-direction: column; gap: 24px; margin: 0; }
.hw-pdp__flavors { display: flex; flex-direction: column; gap: 12px; }
.hw-pdp__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hw-green);
}

/* Chipy smaków */
.hw-pdp__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hw-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  font-family: var(--hw-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--hw-green);
  border: 1px solid rgba(16, 38, 28, .2);
  background: transparent;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.hw-chip:hover:not(.is-active):not(:disabled) { border-color: var(--hw-brass-dark); }
.hw-chip.is-active { border-color: var(--hw-brass); background: #EFE8DB; }
.hw-chip:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.hw-chip__dot { width: 10px; height: 10px; flex: 0 0 10px; border-radius: 999px; }
/* Chipy „Inne smaki" (linki do produktów-rodzeństwa) — ten sam wygląd co chipy wariantów. */
a.hw-chip { text-decoration: none; }
.hw-pdp__flavors--siblings .hw-chip.is-active { cursor: default; }

/* Link „Porównaj smaki →” pod chipami „Inne smaki” (makieta v2e) */
.hw-pdp__compare-link {
	display: inline-block;
	margin-top: 12px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .11em;
	text-transform: uppercase;
	color: var(--hw-green, #10261C);
	border-bottom: 1px solid var(--hw-brass, #B08D57);
	padding-bottom: 2px;
	text-decoration: none;
}
.hw-pdp__compare-link:hover { color: var(--hw-brass-dark, #8A6A3B); }

/* Wybór subskrypcji „Co N dni / Jednorazowo" (makieta fragment 3) */
.hw-pdp__subs { display: flex; flex-direction: column; gap: 12px; }
.hw-pdp__subs-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hw-green);
}
.hw-pdp__subs-opts { display: flex; }
.hw-pdp__subs-opt {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(16, 38, 28, .18);
  background: transparent;
  font-family: var(--hw-font);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
/* Druga opcja przylega do pierwszej — jedna wspólna krawędź (jak makieta). */
.hw-pdp__subs-opt + .hw-pdp__subs-opt { border-left: 0; }
.hw-pdp__subs-opt.is-active {
  border-color: var(--hw-brass);
  background: #EFE8DB;
}
.hw-pdp__subs-opt.is-active + .hw-pdp__subs-opt { border-left: 0; }
.hw-pdp__subs-radio {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(16, 38, 28, .4);
  transition: border-width .15s ease, border-color .15s ease;
}
.hw-pdp__subs-opt.is-active .hw-pdp__subs-radio {
  border: 4px solid #10261C;
}
.hw-pdp__subs-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hw-pdp__subs-title { font-size: 13.5px; font-weight: 600; color: #10261C; }
.hw-pdp__subs-note { font-size: 11px; color: #8A6A3B; }
.hw-pdp__subs-opt:not(.is-active) .hw-pdp__subs-note { color: #8A9A8E; }
@media (max-width: 560px) {
  .hw-pdp__subs-opts { flex-direction: column; }
  .hw-pdp__subs-opt + .hw-pdp__subs-opt { border-left: 1px solid rgba(16, 38, 28, .18); border-top: 0; }
}

/* Akcje: licznik + CTA */
.hw-pdp__actions { display: flex; gap: 12px; }
.hw-pdp__qty {
  display: flex;
  align-items: center;
  border: 1px solid rgba(16, 38, 28, .24);
}
.hw-pdp__qty-btn {
  width: 48px;
  height: 56px;
  border: 0;
  background: transparent;
  color: var(--hw-green);
  font-size: 18px;
  cursor: pointer;
}
.hw-pdp__qty-val {
  min-width: 34px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--hw-green);
}
.hw-pdp__add {
  flex: 1;
  padding: 19px;
  border: 1px solid var(--hw-green);
  background: var(--hw-green);
  color: var(--hw-bone);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease;
}
.hw-pdp__add:hover { background: var(--hw-green-hover); }

/* Niedostępność (dropship: brak stanu z Herbalife) */
.hw-pdp__unavail-badge {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8A5A3B;
  border-bottom: 1px solid #8A5A3B;
  padding-bottom: 3px;
}
.hw-pdp__unavail { display: flex; flex-direction: column; gap: 18px; }
.hw-pdp__unavail-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #4B5A50;
}
.hw-pdp__add--disabled {
  flex: none;
  width: 100%;
  padding: 19px;
  border: 1px solid var(--hw-line);
  background: #EFEDE6;
  color: #9AA79E;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: not-allowed;
}
.hw-pdp__hint {
  margin: -12px 0 0;
  font-size: 12px;
  color: #8A5A3B;
}

/* „Powiadom mnie, gdy wróci" (niedostępny produkt) — 1:1 z makietą (stan 02) */
.hw-pdp__notify { display: flex; flex-direction: column; gap: 14px; }
.hw-pdp__notify-eyebrow {
  align-self: flex-start;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8A6A3B;
}
.hw-pdp__notify-form { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.hw-pdp__notify-row { display: flex; gap: 0; max-width: 460px; }
.hw-pdp__notify-input {
  flex: 1;
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid rgba(16, 38, 28, .24);
  border-right: 0;
  background: #fff;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--hw-text);
}
.hw-pdp__notify-input::placeholder { color: #9AA79E; }
.hw-pdp__notify-btn {
  padding: 15px 22px;
  border: 1px solid var(--hw-green);
  background: var(--hw-green);
  color: #F7F5F0;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}
.hw-pdp__notify-btn:disabled { opacity: .6; cursor: default; }
.hw-pdp__notify-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hw-pdp__notify-msg { margin: 0; max-width: 460px; font-size: 13px; line-height: 1.6; }
.hw-pdp__notify-msg.is-ok { color: #2E6B45; }
.hw-pdp__notify-msg.is-err { color: #8A5A3B; }
.hw-pdp__notify-note {
  margin: 0;
  max-width: 460px;
  font-size: 13px;
  line-height: 1.7;
  color: #4B5A50;
}
.hw-pdp__notify-flavors {
  align-self: flex-start;
  padding: 15px 24px;
  border: 1px solid rgba(16, 38, 28, .3);
  background: transparent;
  color: var(--hw-text);
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}
.hw-pdp__notify-flavors:hover { background: var(--hw-green); color: #F7F5F0; border-color: var(--hw-green); }
@media (max-width: 640px) {
  .hw-pdp__notify-flavors { align-self: stretch; text-align: center; }
}

/* Pasek zaufania */
.hw-pdp__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hw-line);
  border-bottom: 1px solid var(--hw-line);
}
.hw-pdp__trust-item {
  padding: 16px 0;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--hw-text);
}

/* Upsell */
.hw-pdp__upsell {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--hw-bone-dark);
}
.hw-pdp__upsell-title { font-family: var(--hw-font); font-size: 24px; font-weight: 500; color: var(--hw-green); }
.hw-pdp__upsell-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--hw-bone);
  cursor: pointer;
}
.hw-pdp__upsell-thumb {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  background: repeating-linear-gradient(45deg, #E2E4DA 0 8px, #EAEBE3 8px 16px);
}
.hw-pdp__upsell-info { display: flex; flex-direction: column; gap: 4px; }
.hw-pdp__upsell-name { font-size: 14px; font-weight: 700; color: var(--hw-green); }
.hw-pdp__upsell-items { font-size: 12px; color: #6B7A70; }
.hw-pdp__upsell-price { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.hw-pdp__upsell-amount { font-family: var(--hw-font); font-size: 20px; color: var(--hw-green); }
.hw-pdp__upsell-save {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hw-brass-dark);
}

/* ---------- Taby ---------- */
.hw-pdp__tabs-wrap { padding-top: 80px; }
.hw-pdp__tabs {
  display: flex;
  gap: 40px;
  border-bottom: 1px solid var(--hw-line);
}
.hw-pdp__tab {
  padding: 0 2px 16px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--hw-text-muted);
  cursor: pointer;
}
.hw-pdp__tab.is-active { color: var(--hw-green); border-bottom-color: var(--hw-brass); }
.hw-pdp__panels { padding-top: 36px; max-width: 780px; }
.hw-pdp__prose { margin: 0; font-size: 17px; line-height: 1.85; color: var(--hw-text); text-wrap: pretty; }
.hw-pdp__prose > :first-child { margin-top: 0; }
.hw-pdp__prose > :last-child { margin-bottom: 0; }
.hw-pdp__prose p { margin: 0 0 1em; }

.hw-pdp__nutri { border-top: 1px solid var(--hw-line); }
.hw-pdp__nutri-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(16, 38, 28, .1);
  font-size: 14.5px;
  color: var(--hw-text);
}
.hw-pdp__nutri-k { font-weight: 600; }

/* Specyfikacja — tabela klucz/wartość (wiersze z linią 1px, wzorzec Premium). */
.hw-pdp__spec { border-top: 1px solid var(--hw-line); }
.hw-pdp__spec-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(16, 38, 28, .1);
  font-size: 14.5px;
  color: var(--hw-text);
}
.hw-pdp__spec-k { font-weight: 600; }
.hw-pdp__spec-v { text-align: right; color: var(--hw-text-muted); }

.hw-pdp__reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.hw-pdp__review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--hw-line);
}
.hw-pdp__review-stars { color: var(--hw-brass-dark); font-size: 12px; letter-spacing: .14em; }
.hw-pdp__review-text { margin: 0; font-family: var(--hw-font); font-size: 20px; line-height: 1.45; color: var(--hw-green); }
.hw-pdp__review-author {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--hw-text-muted);
}

/* ---------- Formularz dodania opinii (natywny comment_form Woo, minimalny styling) ---------- */
.hw-pdp__review-form { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--hw-line); }
.hw-reviews-form__title {
  display: block;
  font-family: var(--hw-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hw-green);
  margin-bottom: 20px;
}
.hw-pdp__review-form .comment-form { display: grid; gap: 16px; max-width: 640px; }
.hw-pdp__review-form p { margin: 0; }
.hw-pdp__review-form label {
  display: block;
  font-family: var(--hw-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--hw-text-muted);
  margin-bottom: 8px;
}
.hw-pdp__review-form input[type="text"],
.hw-pdp__review-form input[type="email"],
.hw-pdp__review-form select,
.hw-pdp__review-form textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--hw-font);
  font-size: 15px;
  color: var(--hw-green);
  background: #fff;
  border: 1px solid var(--hw-line);
  border-radius: 0;
  padding: 12px 14px;
  appearance: none;
}
.hw-pdp__review-form input:focus,
.hw-pdp__review-form select:focus,
.hw-pdp__review-form textarea:focus {
  outline: none;
  border-color: var(--hw-brass-dark);
}
.hw-pdp__review-form textarea { min-height: 140px; resize: vertical; }
.hw-pdp__review-form .required { color: var(--hw-brass-dark); }
.hw-pdp__review-form .form-submit input[type="submit"],
.hw-pdp__review-form #submit {
  font-family: var(--hw-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--hw-green);
  border: 1px solid var(--hw-green);
  border-radius: 0;
  padding: 16px 32px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.hw-pdp__review-form .form-submit input[type="submit"]:hover,
.hw-pdp__review-form #submit:hover { background: var(--hw-brass-dark); border-color: var(--hw-brass-dark); }
.hw-pdp__review-form .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; }
.hw-pdp__review-form .comment-form-cookies-consent label { margin-bottom: 0; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13px; }
.hw-pdp__review-form .comment-form-cookies-consent input { width: auto; }
.hw-pdp__review-form .must-log-in,
.hw-pdp__review-form .woocommerce-verification-required { font-family: var(--hw-font); font-size: 14px; color: var(--hw-text-muted); }
.hw-reviews-form .woocommerce-verification-required { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--hw-line); }

/* ---------- Powiązane (karuzela) ---------- */
.hw-pdp__related { padding-top: 80px; }
.hw-pdp__related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--hw-line);
}
.hw-pdp__related-title {
  margin: 0;
  font-family: var(--hw-font);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -.015em;
  color: var(--hw-green);
}
.hw-pdp__related-nav {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}
.hw-pdp__related-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--hw-line);
  border-radius: 0;
  background: transparent;
  color: var(--hw-green);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, opacity .18s ease;
}
.hw-pdp__related-arrow:hover:not(:disabled) {
  background: var(--hw-green);
  border-color: var(--hw-green);
  color: var(--hw-bone);
}
.hw-pdp__related-arrow:disabled {
  opacity: .35;
  cursor: default;
}
.hw-pdp__related-arrow svg { display: block; }
.hw-pdp__related-track {
  display: flex;
  align-items: stretch; /* karty ZAWSZE równej wysokości (zgłoszenie 2026-08-28) */
  gap: 24px;
  padding-top: 36px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hw-pdp__related-track::-webkit-scrollbar { display: none; }
.hw-pdp__related-track:focus-visible {
  outline: 2px solid var(--hw-brass);
  outline-offset: 4px;
}
/* Szerokość karty jak w dawnej siatce 4-kol (kontener 1440 − 2×56px − 3×24px gap) / 4 ≈ 314px */
.hw-pdp__related-track > .hw-card {
  flex: 0 0 314px;
  max-width: 314px;
  height: auto; /* height:100% z .hw-card blokuje stretch flexa -> nierowne kafle */
  scroll-snap-align: start;
}

/* ---------- WooCommerce notice (ostylowany wg styleguide) ---------- */
.woocommerce-notices-wrapper { padding: 0 56px; }
.woocommerce-notices-wrapper:empty { padding: 0; }
/* Podwójny wrapper w markupie Woo — zerujemy padding zagnieżdżonego, żeby nie wcinać komunikatu 112px */
.woocommerce-notices-wrapper .woocommerce-notices-wrapper { padding: 0; }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  margin: 20px 0 0;
  padding: 16px 20px;
  border: 1px solid var(--hw-brass);
  background: var(--hw-bone-dark);
  color: var(--hw-green);
  font-size: 13px;
  list-style: none;
}
.woocommerce-error { border-color: #8A5A3B; }
/* Chowamy zielone ikonki-kółka z core'owego arkusza Woo (pozycjonowane absolutnie, nachodzą na tekst)
   oraz clearfix ::after — w flexie robi się pustym itemem i dokłada gap za przyciskiem */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before,
.woocommerce-message::after,
.woocommerce-info::after {
  display: none;
}
/* Layout: tekst po lewej, przycisk dobity do prawej, wyśrodkowane w pionie */
.woocommerce-message,
.woocommerce-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.woocommerce-message a,
.woocommerce-info a {
  color: var(--hw-green);
  border-bottom: 1px solid var(--hw-brass);
  font-weight: 700;
  padding-bottom: 2px;
}
/* Przycisk w komunikacie = ghost ze styleguide'u (nadpisuje core Woo, zero zaokrągleń) */
.woocommerce-message a.button,
.woocommerce-info a.button {
  margin-left: auto;
  /* padding 13/20 nadpisuje też padding-bottom z reguły ".woocommerce-message a" wyżej */
  padding: 13px 20px;
  /* border pełny — kasuje mosiężne border-bottom (podkreślenie) z reguły linku */
  border: 1px solid var(--hw-green);
  border-radius: 0;
  background: transparent;
  color: var(--hw-green);
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  float: none;
}
.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover {
  background: var(--hw-green);
  color: var(--hw-bone);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hw-pdp__top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  /* Wiersz ceny: cena 44px + przekreślona + badge nie mieszczą się w 390px w jednej linii — badge schodzi pod spód, do lewej. */
  .hw-pdp__price-box { flex-wrap: wrap; row-gap: 10px; }
  .hw-pdp__lowest { margin-left: 0; }
  .hw-pdp__title { font-size: 40px; }
  .hw-pdp__price { font-size: 44px; }
  .hw-pdp__reviews { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hw-pdp__crumbs { padding-top: 18px; padding-bottom: 20px; }
  .hw-pdp__tabs-wrap,
  .hw-pdp__related { padding-top: 56px; }
  .hw-pdp__qty-btn { height: 52px; }
  .hw-pdp__tabs { gap: 22px; overflow-x: auto; }
  .woocommerce-notices-wrapper { padding: 0 22px; }
}

/* Karuzela na mobile: naturalny swipe, strzałki ukryte, karta ~75% viewportu */
@media (max-width: 640px) {
  .hw-pdp__related-nav { display: none; }
  .hw-pdp__related-track > .hw-card {
    flex: 0 0 75vw;
    max-width: 75vw;
  }
}

@media (max-width: 520px) {
  .hw-pdp__upsell-price { align-items: flex-start; }
}

/* ---------- Sticky pasek CTA (desktop, >900px) — 1:1 z makietą ----------
   z-index 75: POD paskami zgód (cookie/popup z-index 500), NAD treścią. Widoczny
   dopiero po przescrollowaniu poza formularz zakupu (IntersectionObserver, product.js).
   Ukryty poniżej 900px i przy produkcie niedostępnym (markup nie renderowany). */
.hw-prodbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 75;
  display: flex;
  justify-content: center;
  background: rgba(247, 245, 240, .97);
  border-top: 1px solid rgba(16, 38, 28, .18);
  box-shadow: 0 -14px 34px rgba(16, 38, 28, .12);
}
.hw-prodbar[hidden] { display: none; }
.hw-prodbar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1440px;
  padding: 14px 56px;
}
.hw-prodbar__thumb {
  width: 46px;
  height: 54px;
  flex: 0 0 46px;
  overflow: hidden;
}
.hw-prodbar__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.hw-prodbar__info { display: flex; flex-direction: column; gap: 3px; }
.hw-prodbar__name { font-size: 17px; font-weight: 500; color: var(--hw-green); }
.hw-prodbar__ship {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hw-brass-dark);
}
.hw-prodbar__price { display: flex; align-items: baseline; gap: 10px; margin-left: auto; }
.hw-prodbar__price-now { font-size: 26px; font-weight: 500; color: var(--hw-green); }
.hw-prodbar__price-old { font-size: 12.5px; color: #9AA79E; text-decoration: line-through; }
.hw-prodbar__add {
  padding: 16px 34px;
  border: 1px solid var(--hw-green);
  background: var(--hw-green);
  color: var(--hw-bone);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease;
}
.hw-prodbar__add:hover { background: #1D4030; }

/* Pasek tylko na desktopie (>900px) — na mobile nie pokazujemy go wcale. */
@media (max-width: 900px) {
  .hw-prodbar { display: none !important; }
}
