/* LEVELUP CLIENT V284 — compact supplements accordion, test client only. */
.lu-supp-compact-root > header { display: none !important; }
.lu-supp-compact-root { gap: .65rem !important; }
.lu-supp-compact-root .lu-supp-group + .lu-supp-group { margin-top: .35rem; }

.lu-supp-group {
  border: 1px solid rgba(197, 155, 76, .19);
  background: linear-gradient(145deg, rgba(27, 26, 20, .88), rgba(17, 18, 16, .96));
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .027), 0 8px 22px rgba(0, 0, 0, .11);
  overflow: hidden;
  min-width: 0;
}
.lu-supp-group__toggle {
  color: #dcb75c;
  background: linear-gradient(90deg, rgba(205, 157, 67, .085), rgba(205, 157, 67, .015));
  border: 0;
  width: 100%;
  min-height: 52px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lu-supp-group__toggle:focus-visible,
.lu-supp-item__trigger:focus-visible,
.lu-supp-item__link:focus-visible { outline: 2px solid #d7b45c; outline-offset: -2px; }
.lu-supp-group__icon { flex: none; color: #d8ad4e; }
.lu-supp-group__label { font-size: .94rem; font-weight: 830; line-height: 1.25; flex: 1; min-width: 0; }
.lu-supp-group__count {
  color: #d6ab53;
  background: rgba(205, 154, 58, .16);
  border: 1px solid rgba(215, 168, 69, .20);
  border-radius: 999px;
  min-width: 28px;
  padding: 3px 8px;
  text-align: center;
  font-size: .72rem;
  font-weight: 850;
}
.lu-supp-chevron { color: #8d846c; flex: none; transition: transform .17s ease, color .17s ease; }
.lu-supp-group--open > .lu-supp-group__toggle .lu-supp-chevron,
.lu-supp-item--open > .lu-supp-item__trigger .lu-supp-chevron { transform: rotate(180deg); color: #d1ac58; }
.lu-supp-group__items { border-top: 1px solid rgba(190, 146, 65, .12); }

.lu-supp-item { min-width: 0; background: rgba(10, 11, 10, .35); }
.lu-supp-item + .lu-supp-item { border-top: 1px solid rgba(255, 255, 255, .055); }
.lu-supp-item--open { background: rgba(26, 26, 21, .75); }
.lu-supp-item__trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 49px;
  width: 100%;
  border: 0;
  padding: 8px 11px;
  color: #ece9e0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lu-supp-item__accent { background: #d4aa50; border-radius: 99px; width: 3px; height: 18px; flex: none; }
.lu-supp-item__name { font-size: .90rem; font-weight: 710; line-height: 1.35; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.lu-supp-item__dose {
  color: #dab35e;
  background: rgba(197, 147, 50, .16);
  border: 1px solid rgba(208, 159, 55, .22);
  border-radius: 999px;
  flex: none;
  padding: 3px 8px;
  max-width: 38%;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-align: center;
}
.lu-supp-item__details {
  border-top: 1px solid rgba(193, 156, 77, .095);
  padding: 11px 14px 14px 22px;
  display: grid;
  gap: 9px;
  color: #aaa79f;
}
.lu-supp-item__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lu-supp-item__chips span {
  padding: 4px 8px;
  border-radius: 999px;
  color: #dfbe75;
  background: rgba(197, 147, 50, .14);
  font-size: .68rem;
  font-weight: 750;
  line-height: 1.25;
}
.lu-supp-item__note,
.lu-supp-item__subline,
.lu-supp-item__empty { margin: 0; color: #a9a7a0; line-height: 1.5; font-size: .82rem; overflow-wrap: anywhere; }
.lu-supp-item__subline strong { color: #d2c6a8; font-weight: 730; }
.lu-supp-item__link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  width: 100%;
  margin-top: 2px;
  padding: 9px 10px;
  color: #d7b66c;
  background: rgba(207, 160, 65, .09);
  border: 1px solid rgba(217, 171, 75, .24);
  border-radius: 9px;
  text-decoration: none;
  font-size: .72rem;
  font-weight: 750;
}
.lu-supp-item__link-url { flex: 1; min-width: 0; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .82; font-weight: 600; }
.lu-supp-item__link svg { flex: none; }
@media (max-width: 375px) {
  .lu-supp-group__toggle { padding-inline: 10px; }
  .lu-supp-item__trigger { gap: 7px; padding-inline: 9px; }
  .lu-supp-item__name { font-size: .85rem; }
  .lu-supp-item__dose { font-size: .68rem; padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) { .lu-supp-chevron { transition: none; } }

/* LEVELUP V389 — wyłącznie Suplementacja: spójna typografia i kody rabatowe */
.lu-supp-compact-root .lu-v389-discount-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; padding: 3px 1px 9px;
}
.lu-v389-discount-bar > span { color: #b8b1a3; font-size: .82rem; font-weight: 650; }
.lu-v389-discount-open {
  border: 1px solid rgba(215, 178, 107, .37); border-radius: 11px;
  background: linear-gradient(105deg, #b79765, #aa8551 56%, #8f6c41);
  color: #171511; font-size: .81rem; font-weight: 800;
  padding: 10px 14px; min-height: 42px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.17);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.lu-v389-discount-open:focus-visible { outline: 2px solid #ecd5a8; outline-offset: 2px; }
.lu-v389-discounts-overlay {
  position: fixed; inset: 0; z-index: 2147483000;
  display: flex; align-items: center; justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  background: rgba(5, 8, 7, .76);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
}
.lu-v389-discounts-panel {
  width: min(100%, 490px); max-height: calc(100dvh - 36px);
  overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid rgba(198, 161, 100, .32); border-radius: 18px;
  background: linear-gradient(155deg, #1d211d, #151a17 62%, #101411);
  box-shadow: 0 24px 65px rgba(0,0,0,.60), inset 0 1px rgba(255,255,255,.055);
  padding: 22px 19px 18px; color: #eae5db;
}
.lu-v389-discounts-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.lu-v389-discounts-kicker { color: #ba9c70; font-size: .67rem; letter-spacing: .12em; font-weight: 850; }
.lu-v389-discounts-header h2 { margin: 5px 0 4px; color: #f1e9da; font-size: 1.28rem; font-weight: 800; }
.lu-v389-discounts-header p { margin: 0; color: #aeb1a9; font-size: .82rem; line-height: 1.5; }
.lu-v389-discounts-close {
  flex: none; width: 38px; height: 38px; color: #d0c5b1;
  border: 1px solid rgba(225,217,200,.15); background: rgba(255,255,255,.035);
  border-radius: 10px; font-size: 1.55rem; cursor: pointer;
}
.lu-v389-discounts-list { display: grid; gap: 10px; }
.lu-v389-discount-card {
  background: rgba(10,13,11,.32); border: 1px solid rgba(193,164,105,.16);
  border-radius: 13px; padding: 14px 13px;
}
.lu-v389-discount-card h3 { color: #f1e9dc; font-size: .94rem; margin: 0 0 6px; font-weight: 750; line-height: 1.35; }
.lu-v389-discount-card p { margin: 0 0 12px; color: #c0b29c; font-size: .83rem; }
.lu-v389-discount-bottom { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.lu-v389-discount-percent {
  padding: 5px 10px; border-radius: 999px; font-size: .75rem;
  background: rgba(177,138,72,.14); color: #d9b97c;
  border: 1px solid rgba(207,164,89,.22);
}
.lu-v389-discount-bottom a { font-size: .83rem; color: #dfbc84; text-underline-offset: 3px; overflow-wrap: anywhere; }
.lu-v389-discounts-note { color: #999f96; font-size: .75rem; line-height: 1.45; margin: 14px 2px 0; }
.lu-v389-discounts-close:focus-visible, .lu-v389-discount-bottom a:focus-visible { outline: 2px solid #d9b97c; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .lu-v389-discounts-overlay { scroll-behavior: auto; } }

/* LEVELUP V389.2 — icon in the original section header (same location as Dieta info).
   No content bar, no global buttons affected. */
#main-content > header.lu-v3892-has-discount {
  grid-template-columns: auto minmax(0, 1fr) auto;
}
#main-content > header > .lu-v3892-discount-action {
  appearance: none;
  width: 2.34rem; height: 2.34rem;
  padding: 0;
  flex: none;
  display: grid; place-items: center;
  color: var(--client-accent, #c8a063);
  background: rgba(var(--client-accent-rgb, 210, 170, 93), .075);
  border: 1px solid rgba(var(--client-accent-rgb, 210, 170, 93), .24);
  border-radius: .76rem;
  cursor: pointer;
  box-shadow: inset 0 1px 0 #ffffff09;
  transition: transform .14s, border-color .14s, background .14s;
  -webkit-tap-highlight-color: transparent;
}
#main-content > header > .lu-v3892-discount-action:active {
  transform: scale(.94);
  border-color: rgba(var(--client-accent-rgb, 210, 170, 93), .44);
  background: rgba(var(--client-accent-rgb, 210, 170, 93), .13);
}
#main-content > header > .lu-v3892-discount-action:focus-visible {
  outline: 2px solid #d8b783; outline-offset: 3px;
}
#main-content > header > .lu-v3892-discount-action--pulse {
  border-color: rgba(var(--client-accent-rgb, 210, 170, 93), .58);
  background: rgba(var(--client-accent-rgb, 210, 170, 93), .12);
  animation: lu-v3892-discount-pulse 1.55s ease-in-out infinite;
}
@keyframes lu-v3892-discount-pulse {
  0%, 100% { transform: scale(1); box-shadow: inset 0 1px 0 #ffffff09, 0 0 0 0 rgba(210, 170, 93, 0); }
  50% { transform: scale(1.055); box-shadow: inset 0 1px 0 #ffffff0d, 0 0 0 .34rem rgba(210, 170, 93, .1), 0 0 1.05rem rgba(210, 170, 93, .18); }
}
@media (prefers-reduced-motion: reduce) {
  #main-content > header > .lu-v3892-discount-action--pulse {
    animation: none;
    box-shadow: 0 0 0 .2rem rgba(210, 170, 93, .1);
  }
}

/* LEVELUP V392.1 — tekst „Zniżki” zamiast ikonki, tylko w headerze Suplementacji.
   Pulsowanie i localStorage z V389.2 pozostają bez zmian. */
#main-content > header > .lu-v3892-discount-action {
  width: auto;
  min-width: 3.9rem;
  height: 2.34rem;
  padding: 0 .68rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: .80rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: .012em;
}
@media (max-width: 400px) {
  #main-content > header > .lu-v3892-discount-action {
    min-width: 3.5rem;
    padding-inline: .52rem;
    font-size: .76rem;
  }
}
