/* Figma 2026:2: struktura listy + istniejące komponenty Herbalovo. */
.hwc-wishlist-title { margin: 0 0 32px; color: #0b3d01; font-size: 32px; }
body .hwc-wishlist__filters button { color: #0b3d01 !important; background: #fff !important; border: 1px solid #dde2da !important; border-radius: 24px !important; padding: 8px 16px !important; box-shadow: none !important; }
body .hwc-wishlist__filters button[aria-pressed="true"] { color: #fff !important; background: #0b3d01 !important; border-color: #0b3d01 !important; }
.hwc-wishlist { --wish-green: #0b3d01; --wish-border: #dde2da; width: 100%; font: 400 14px/1.5 'Open Sans', sans-serif; color: #243322; }
.hwc-wishlist *, .hwc-wishlist *::before, .hwc-wishlist *::after { box-sizing: border-box; }
.hwc-wishlist [hidden] { display: none !important; }
.hwc-wishlist__filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.hwc-wishlist__filters button { min-height: 44px; padding: 8px 16px; border: 1px solid var(--wish-border); border-radius: 24px; background: #fff; color: var(--wish-green); font: 600 13px/1.4 'Open Sans', sans-serif; box-shadow: none; }
.hwc-wishlist__filters button[aria-pressed="true"] { background: var(--wish-green); border-color: var(--wish-green); color: #fff; }
.hwc-wishlist__rows { display: grid; gap: 16px; }
.hwc-wish-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 156px 224px; gap: 24px; align-items: center; margin: 0; padding: 16px; border: 1px solid var(--wish-border); border-radius: 16px; background: #fff; box-shadow: 0 4px 12px #10281806; }
.hwc-wish-row__image { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 10px; overflow: hidden; }
.hwc-wish-row__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hwc-wishlist .hwc-wish-row h2 { margin: 0; font: 700 16px/1.45 'Open Sans', sans-serif; overflow-wrap: anywhere; }
.hwc-wish-row h2 a { color: var(--wish-green); text-decoration: none; }
.hwc-wish-row h2 a:hover { text-decoration: underline; }
.hwc-wish-row__content { min-width: 0; }
.hwc-wishlist .hwc-wish-row__category { margin: 7px 0 0; color: #667064; font-size: 13px; }
.hwc-wish-row__status, .hwc-wish-row__hint { display: inline-block; margin-top: 8px; font-size: 12px; }
.hwc-wish-row__status { padding: 4px 10px; border-radius: 20px; background: #fce8e6; color: #922f26; font-weight: 600; }
.hwc-wish-row__hint { color: #59624f; }
.hwc-wish-row__price { text-align: center; color: var(--wish-green); font-size: 17px; font-weight: 700; }
.hwc-wish-row__price del { color: #667064; font-size: 13px; font-weight: 400; margin-left: 4px; }
.hwc-wish-row__price ins { background: transparent; text-decoration: none; }
.hwc-wish-row__price .woocommerce-price-suffix { display: block; margin-top: 2px; color: #667064; font-size: 12px; font-weight: 400; }
.hwc-wish-row__actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.hwc-wishlist .quantity.herbalovo-qty-init { height: 44px; margin: 0; flex-shrink: 0; }
.hwc-wishlist .quantity.herbalovo-qty-init input.qty { height: 42px; width: 40px; min-width: 40px; padding: 0 2px; border-radius: 0; }
.hwc-wishlist .quantity.herbalovo-qty-init .herbalovo-qty-btn { width: 32px; min-width: 32px; height: 42px; border-radius: 0; }
.hwc-wishlist .hwc-wish-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; margin: 0; border: 1px solid var(--wish-green); border-radius: 4px; background: var(--wish-green); color: #fff; text-decoration: none; box-shadow: none; }
.hwc-wishlist .hwc-wish-icon .hwc-ico, .hwc-wish-add-all .hwc-ico { width: 18px; height: 18px; max-width: 18px; flex-shrink: 0; }
.hwc-wish-add .hwc-ico, .hwc-wish-add-all .hwc-ico { filter: brightness(0) invert(1); }
.hwc-wishlist .hwc-wish-view { background: #fff; color: var(--wish-green); }
.hwc-wishlist .hwc-wish-remove { margin-left: 8px; background: #f3f4f1; border-color: transparent; color: var(--wish-green); }
.hwc-wishlist button { cursor: pointer; }
.hwc-wishlist button:hover:not(:disabled) { filter: brightness(.96); }
.hwc-wishlist button:disabled { opacity: .45; cursor: not-allowed; }
.hwc-wishlist :is(button, a, input):focus-visible { outline: 2px solid var(--wish-green) !important; outline-offset: 3px; }
.hwc-wishlist .quantity:focus-within { outline: 2px solid var(--wish-green); outline-offset: 3px; }
.hwc-wishlist__summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; margin-top: 28px; border: 1px solid var(--wish-border); border-radius: 16px; background: #fff; }
.hwc-wishlist__summary > span { font-weight: 600; }
.hwc-wishlist__summary strong { font-size: 17px; }
.hwc-wishlist__summary small { display: block; max-width: 300px; margin-top: 4px; font-size: 11px; color: #667064; }
.hwc-wishlist .hwc-wish-add-all { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--wish-green); border-radius: 4px; background: var(--wish-green); color: #fff; font: 600 14px/1.5 'Open Sans', sans-serif; }
.hwc-wishlist__feedback:empty { display: none; }
.hwc-wishlist__feedback { padding: 16px; margin-top: 16px; border-radius: 8px; background: #ecf5ea; overflow-wrap: anywhere; }
.hwc-wishlist__feedback.is-error { background: #fce8e6; color: #922f26; }
@media (max-width: 1100px) {
  .hwc-wish-row { grid-template-columns: 80px minmax(0, 1fr) auto; gap: 16px; }
  .hwc-wish-row__image { width: 80px; height: 80px; grid-row: 1 / 3; }
  .hwc-wish-row__price { grid-column: 3; grid-row: 1; text-align: right; }
  .hwc-wish-row__actions { grid-column: 2 / 4; grid-row: 2; }
}
@media (max-width: 600px) {
  .hwc-wishlist__filters { gap: 8px; margin-bottom: 20px; }
  .hwc-wishlist__filters button { padding: 8px 12px; font-size: 12px; }
  .hwc-wish-row { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 14px; border-radius: 12px; }
  .hwc-wish-row__image { width: 64px; height: 80px; grid-row: 1; }
  .hwc-wishlist .hwc-wish-row h2 { font-size: 14px; }
  .hwc-wish-row__price { grid-column: 1 / -1; grid-row: 2; text-align: left; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
  .hwc-wish-row__actions { grid-column: 1 / -1; grid-row: 3; justify-content: flex-end; }
  .hwc-wishlist .quantity.herbalovo-qty-init { margin-right: auto; }
  .hwc-wishlist .quantity.herbalovo-qty-init .herbalovo-qty-btn { width: 40px; min-width: 40px; }
  .hwc-wishlist .hwc-wish-remove { margin-left: 0; }
  .hwc-wishlist__summary { align-items: stretch; flex-direction: column; gap: 16px; padding: 16px; }
  .hwc-wishlist .hwc-wish-add-all { width: 100%; }
}
