/* Herbawell — Konto klienta (my-account Woo restyling) — 1:1 z makiety Premium (isAccount).
   Styleguide 1.0: Jost, zieleń/kość/mosiądz, ZERO zaokrągleń i cieni, podział linią 1px.
   Sekcje spoza makiety (logowanie/rejestracja, adresy, edycja danych) ostylowane spójnie. */

.hw-account {
  max-width: 1440px;
  margin: 0 auto;
  padding: 26px 56px 96px;
  font-family: var(--hw-font);
  color: var(--hw-text);
}

/* ---------- Okruszek ---------- */
.hw-account__crumbs {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--hw-text-muted);
}
.hw-account__crumbs a { color: var(--hw-text-muted); text-decoration: none; }
.hw-account__crumbs a:hover { color: var(--hw-green); }
.hw-account__crumb-sep { margin: 0 6px; }
.hw-account__crumb-here { color: var(--hw-green); }

/* ---------- Nagłówek pulpitu ---------- */
.hw-account__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 38px 0 26px;
  border-bottom: 1px solid rgba(16, 38, 28, .14);
}
.hw-account__head-text { display: flex; flex-direction: column; gap: 12px; }
.hw-account__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hw-brass-dark);
}
.hw-account__h1 {
  margin: 0;
  font-family: var(--hw-font);
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--hw-green);
  line-height: 1;
}
.hw-account__logout {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--hw-text-muted);
  text-decoration: none;
  white-space: nowrap;
}
.hw-account__logout:hover { color: var(--hw-green); }

/* ---------- Layout [sidebar | treść] ---------- */
.hw-account__layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 48px;
  padding: 36px 0 0;
  align-items: start;
}
.hw-account__aside {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 92px;
}
.hw-account__main { display: flex; flex-direction: column; gap: 44px; }
/* Jak wyżej — Woo core: .woocommerce-account .woocommerce-MyAccount-content { width:70%; float:right }. */
.hw-account__layout .hw-account__main { width: 100%; float: none; }

/* ---------- Nawigacja konta ---------- */
/* Woo core ustawia .woocommerce-MyAccount-navigation na width:30% + float (specyficzność
   0,2,0 — stąd potrójny selektor) — bez nadpisania sidebar ściska się do 75px
   i pozycje łamią się na dwie linie. */
.hw-account__layout .hw-account__aside .hw-account__nav { width: 100%; float: none; }
.hw-account__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.hw-account__nav li a { white-space: nowrap; }
.hw-account__nav li {
  border-top: 1px solid rgba(16, 38, 28, .12);
  border-left: 2px solid transparent;
}
.hw-account__nav li a {
  display: block;
  padding: 16px 0 16px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hw-text-muted);
  text-decoration: none;
}
.hw-account__nav li a:hover { color: var(--hw-green); }
.hw-account__nav li.is-active {
  border-left-color: var(--hw-brass);
}
.hw-account__nav li.is-active a { color: var(--hw-green); }

/* ---------- Blok opiekunki ---------- */
.hw-account__mentor {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
  padding: 24px;
  background: var(--hw-bone-dark);
}
.hw-account__mentor-eyebrow {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hw-brass-dark);
}
.hw-account__mentor-name {
  font-family: var(--hw-font);
  font-size: 20px;
  font-weight: 500;
  color: var(--hw-green);
}
.hw-account__mentor-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--hw-text-soft);
}
.hw-account__mentor-cta {
  margin-top: 4px;
  padding: 13px;
  border: 1px solid var(--hw-green);
  background: transparent;
  color: var(--hw-green);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
}
.hw-account__mentor-cta:hover { background: var(--hw-green); color: var(--hw-bone); }

/* ---------- Kafle „Mój plan” ---------- */
.hw-account__plan {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(16, 38, 28, .14);
  border-bottom: 1px solid rgba(16, 38, 28, .14);
}
.hw-account__plan-cell {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 22px 20px;
  border-right: 1px solid rgba(16, 38, 28, .1);
}
.hw-account__plan-cell:last-child { border-right: 0; }
.hw-account__plan-k {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--hw-text-muted);
}
.hw-account__plan-v {
  font-family: var(--hw-font);
  font-size: 19px;
  font-weight: 500;
  color: var(--hw-green);
  line-height: 1.25;
}

/* ---------- Zamówienia ---------- */
.hw-account__section-title {
  margin: 0;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(16, 38, 28, .14);
  font-family: var(--hw-font);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -.015em;
  color: var(--hw-green);
}
.hw-account__order {
  padding: 22px 0;
  border-bottom: 1px solid rgba(16, 38, 28, .12);
}
/* wiersz makiety desktop: numer+data | pozycje | status | total + zamów ponownie */
.hw-account__order--row {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto auto;
  gap: 24px;
  align-items: center;
}
.hw-account__order-id { display: flex; flex-direction: column; gap: 5px; }
.hw-account__order-no {
  font-family: var(--hw-font);
  font-size: 19px;
  font-weight: 500;
  color: var(--hw-green);
  text-decoration: none;
}
.hw-account__order-no:hover { color: var(--hw-brass-dark); }
.hw-account__order-date { font-size: 12px; color: var(--hw-text-muted); }
.hw-account__order-items { font-size: 13px; line-height: 1.6; color: var(--hw-text-soft); }
.hw-account__order-status {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--hw-brass-dark);
  white-space: nowrap;
}
.hw-account__order-end { display: flex; align-items: center; gap: 20px; }
.hw-account__order-total {
  font-family: var(--hw-font);
  font-size: 22px;
  font-weight: 500;
  color: var(--hw-green);
  white-space: nowrap;
}
.hw-account__order-reorder {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--hw-green);
  border-bottom: 1px solid var(--hw-brass);
  padding-bottom: 3px;
  white-space: nowrap;
  text-decoration: none;
}
.hw-account__order-reorder:hover { color: var(--hw-brass-dark); }
/* „Zobacz" na wierszu listy (makieta Premium v2) → szczegół zamówienia */
.hw-account__order-view {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--hw-green);
  border-bottom: 1px solid var(--hw-brass);
  padding-bottom: 3px;
  white-space: nowrap;
  text-decoration: none;
}
.hw-account__order-view:hover { color: var(--hw-brass-dark); }
/* pulpit: kompaktowe wiersze (nie row-grid) */
.hw-account__order:not(.hw-account__order--row) { display: flex; flex-direction: column; gap: 8px; }
.hw-account__order-line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.hw-account__order-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.hw-account__empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 0 0;
}
.hw-account__empty p { margin: 0; font-size: 15px; color: var(--hw-text-soft); }

.hw-account__pagination { display: flex; gap: 12px; margin-top: 28px; }

/* ---------- Pasek „kończy się koktajl” ---------- */
.hw-account__refill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 36px 40px;
  background: var(--hw-green);
}
.hw-account__refill-text { display: flex; flex-direction: column; gap: 8px; }
.hw-account__refill-title {
  font-family: var(--hw-font);
  font-size: 28px;
  font-weight: 500;
  color: var(--hw-bone);
  line-height: 1.15;
}
.hw-account__refill-note { font-size: 14px; color: #A9B8AC; }
.hw-account__refill-cta {
  padding: 16px 28px;
  border: 1px solid var(--hw-brass);
  background: transparent;
  color: #E8D9C1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
}
.hw-account__refill-cta:hover { background: var(--hw-brass); color: var(--hw-green); }

/* ---------- Logowanie / rejestracja (spoza makiety, spójne ze styleguide) ---------- */
/* ================= LOGOWANIE / REJESTRACJA (1:1 makieta Premium v2) ================= */
.hw-auth { font-family: var(--hw-font); color: var(--hw-text); }
.hw-auth__view[hidden] { display: none; }
.hw-auth__crumbs {
  padding: 26px 56px 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--hw-text-muted);
}
.hw-auth__crumbs a { color: var(--hw-text-muted); text-decoration: none; }
.hw-auth__crumbs a:hover { color: var(--hw-green); }
.hw-auth__crumb-sep { margin: 0 5px; }
.hw-auth__crumb-current { color: var(--hw-green); }

.hw-auth__grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  margin-top: 26px;
  border-top: 1px solid rgba(16, 38, 28, .14);
}
.hw-auth__col { display: flex; flex-direction: column; gap: 26px; padding: 52px 56px 60px; }
.hw-auth__intro { display: flex; flex-direction: column; gap: 12px; }
.hw-auth__eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hw-brass-dark); }
.hw-auth__h1 { margin: 0; font-family: var(--hw-font); font-size: 52px; font-weight: 500; letter-spacing: -.02em; color: var(--hw-green); line-height: 1; }
.hw-auth__lead { margin: 0; max-width: 440px; font-size: 14.5px; line-height: 1.8; color: var(--hw-text-soft); }

.hw-auth__form { display: flex; flex-direction: column; gap: 18px; max-width: 440px; margin: 0; }
.hw-auth__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hw-auth__field { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.hw-auth__label { font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8A9A8E; }
.hw-auth__input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(16, 38, 28, .24);
  background: #FFFFFF;
  font-family: var(--hw-font);
  font-size: 14px;
  color: var(--hw-green);
}
.hw-auth__input::placeholder { color: #9AA79E; }
.hw-auth__input:focus { outline: none; border-color: var(--hw-green); }
.hw-auth__note { margin: 0; font-size: 13px; line-height: 1.7; color: var(--hw-text-soft); }

/* Checkbox — kwadrat 16px, zaznaczony mosiądzem (custom, natywny input schowany). */
.hw-auth__check { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; }
.hw-auth__check span:last-child { font-size: 12px; line-height: 1.65; color: #4B5A50; }
.hw-auth__box-input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.hw-auth__box { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 2px; border: 1px solid rgba(16, 38, 28, .24); background: #FFFFFF; }
.hw-auth__box-input:checked + .hw-auth__box { border-color: var(--hw-green); background: var(--hw-green); position: relative; }
.hw-auth__box-input:checked + .hw-auth__box::after {
  content: ""; position: absolute; left: 5px; top: 1px; width: 4px; height: 9px;
  border: solid var(--hw-bone); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.hw-auth__box-input:focus-visible + .hw-auth__box { outline: 2px solid var(--hw-brass); outline-offset: 2px; }
.hw-auth__consents a { color: var(--hw-green); text-decoration: none; border-bottom: 1px solid var(--hw-brass); }

.hw-auth__inline { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hw-auth__lost { font-size: 12px; color: var(--hw-brass-dark); text-decoration: none; border-bottom: 1px solid var(--hw-brass); padding-bottom: 2px; white-space: nowrap; }
.hw-auth__lost:hover { color: var(--hw-green); }
.hw-auth__consents { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; background: var(--hw-bone-dark); }

.hw-auth__submit {
  padding: 19px;
  border: 1px solid var(--hw-green);
  background: var(--hw-green);
  color: var(--hw-bone);
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s ease;
}
.hw-auth__submit:hover { background: var(--hw-green-hover); }

.hw-auth__switch { display: flex; align-items: center; gap: 8px; margin: 0; padding-top: 6px; }
.hw-auth__switch span { font-size: 13px; color: var(--hw-text-soft); }
.hw-auth__switch a { font-size: 13px; font-weight: 600; color: var(--hw-green); text-decoration: none; border-bottom: 1px solid var(--hw-brass); padding-bottom: 2px; }

/* Prawa kolumna — ciemna zieleń, korzyści + box */
.hw-auth__aside { display: flex; flex-direction: column; gap: 30px; padding: 56px 48px; background: var(--hw-green); }
.hw-auth__aside-eyebrow { font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #E8D9C1; }
.hw-auth__aside-title { margin: 0; font-family: var(--hw-font); font-size: 34px; font-weight: 500; letter-spacing: -.015em; line-height: 1.15; color: var(--hw-bone); }
.hw-auth__aside-list { display: flex; flex-direction: column; }
.hw-auth__aside-item { display: flex; flex-direction: column; gap: 5px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.hw-auth__aside-item-t { font-family: var(--hw-font); font-size: 17px; font-weight: 500; color: var(--hw-bone); }
.hw-auth__aside-item-d { font-size: 12.5px; line-height: 1.65; color: #A9B8AC; }
.hw-auth__aside-box { display: flex; flex-direction: column; gap: 7px; margin-top: auto; padding: 22px 24px; border: 1px solid rgba(176, 141, 87, .5); }
.hw-auth__aside-box-t { font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #E8D9C1; }
.hw-auth__aside-box-d { font-size: 12.5px; line-height: 1.7; color: #A9B8AC; }

/* ---------- Endpointy Woo bez własnego szablonu (adresy, dane, szczegół zamówienia) ---------- */
.hw-account__main .woocommerce-Addresses,
.hw-account__main .addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
/* Woo core: .col2-set .col-1/.col-2 { float + width:48% } — rozbija nasz grid (karty 240px
   porozrzucane po trackach). Neutralizacja floatów wewnątrz treści konta.
   Jawne przypięcie do komórek: luźny węzeł tekstowy w markupie Woo tworzy anonimowy item
   grida i spycha karty do złych komórek (r1c2/r2c1) — auto-placement tu nie wystarcza. */
.hw-account__main .col2-set .col-1,
.hw-account__main .col2-set .col-2 { float: none; width: 100%; max-width: 100%; }
.hw-account__main .col2-set .col-1 { grid-column: 1; grid-row: 1; }
.hw-account__main .col2-set .col-2 { grid-column: 2; grid-row: 1; }
.hw-account__main .woocommerce-Address-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.hw-account__main .woocommerce-Address-title .edit { float: none; white-space: nowrap; }
.hw-account__main h3,
.hw-account__main .woocommerce-column__title {
  font-family: var(--hw-font);
  font-size: 20px;
  font-weight: 500;
  color: var(--hw-green);
}
.hw-account__main address { font-style: normal; font-size: 14px; line-height: 1.7; color: var(--hw-text-soft); }
.hw-account__main .woocommerce-Address-title a.edit,
.hw-account__main .edit {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--hw-green);
  border-bottom: 1px solid var(--hw-brass);
  text-decoration: none;
}
.hw-account__main form .form-row { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; }
.hw-account__main form label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--hw-brass-dark);
}
.hw-account__main form .input-text,
.hw-account__main form input[type="text"],
.hw-account__main form input[type="email"],
.hw-account__main form input[type="tel"],
.hw-account__main form input[type="password"],
.hw-account__main form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(16, 38, 28, .3);
  background: #fff;
  font-family: var(--hw-font);
  font-size: 15px;
  color: var(--hw-green);
}
.hw-account__main form .button,
.hw-account__main .woocommerce-Button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--hw-btn-h);
  padding: 0 28px;
  border: 1px solid var(--hw-green);
  background: var(--hw-green);
  color: var(--hw-bone);
  font-family: var(--hw-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.hw-account__main form .button:hover,
.hw-account__main .woocommerce-Button:hover { background: var(--hw-green-hover); }
.hw-account__main .woocommerce-table--order-details,
.hw-account__main table.shop_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.hw-account__main table.shop_table th,
.hw-account__main table.shop_table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(16, 38, 28, .12);
  text-align: left;
  color: var(--hw-text-soft);
}
.hw-account__main table.shop_table th { color: var(--hw-green); font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }

/* =========================================================================
   NATYWNE ENDPOINTY WOO — dociągnięcie do języka makiety (isAccount: accData / accAddr /
   szczegół zamówienia / pobrania). Silnik Woo, stylowanie CSS-em bez override'ów szablonów.
   Karty/typografia/odstępy spójne z rozrysowanymi widokami (kafle, sekcje, mosiężne linie).
   ========================================================================= */

/* Komunikaty Woo (message/info/error) na widokach konta — spójne z resztą, bez ikon core. */
.hw-account__main .woocommerce-message,
.hw-account__main .woocommerce-info,
.hw-account__main .woocommerce-error,
.hw-account__main .woocommerce-notice {
  list-style: none;
  margin: 0 0 24px;
  padding: 16px 20px;
  border: 1px solid rgba(16, 38, 28, .16);
  border-left: 3px solid var(--hw-brass);
  background: var(--hw-bone-dark);
  font-size: 14px;
  line-height: 1.6;
  color: var(--hw-text);
}
.hw-account__main .woocommerce-error {
  border-left-color: #C0563C;
}
.hw-account__main .woocommerce-message::before,
.hw-account__main .woocommerce-info::before,
.hw-account__main .woocommerce-error::before { content: none; }
.hw-account__main .woocommerce-message a,
.hw-account__main .woocommerce-info a {
  color: var(--hw-green);
  text-decoration: none;
  border-bottom: 1px solid var(--hw-brass);
}

/* Formularz „Dane konta": pełny override w sekcji .hw-data__ niżej (stare reguły pod natywny
   form.edit-account USUNIĘTE — nadpisywały nowy layout gridem 2-kol i wpychały Zgody w prawą kolumnę). */
.hw-account__main .woocommerce-password-strength { margin-top: 6px; font-size: 12px; }

/* ---------- Formularz edycji adresu (form-edit-address) — pary pól w 2 kolumnach ---------- */
.hw-account__main .woocommerce-address-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  max-width: 720px;
}
.hw-account__main .woocommerce-address-fields__field-wrapper > .form-row { grid-column: 1 / -1; }
.hw-account__main .woocommerce-address-fields__field-wrapper > .form-row-first { grid-column: 1; }
.hw-account__main .woocommerce-address-fields__field-wrapper > .form-row-last { grid-column: 2; }
.hw-account__main .woocommerce-address-fields > .button,
.hw-account__main .woocommerce-address-fields p:last-of-type { margin-top: 6px; }

/* ---------- Karty adresów — dopieszczenie (my-address) ---------- */
/* Karta = ramka 1px, padding jak makieta; tytuł adresu jako nadtytuł mosiężny. */
.hw-account__main .woocommerce-Address,
.hw-account__main .u-column1.col-1 .woocommerce-Address,
.hw-account__main .u-column2.col-2 .woocommerce-Address {
  padding: 26px;
  border: 1px solid rgba(16, 38, 28, .16);
  background: transparent;
  height: 100%;
}
.hw-account__main .woocommerce-Address-title h3,
.hw-account__main .woocommerce-Address-title .woocommerce-column__title {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hw-brass-dark);
}
.hw-account__main .addresses .title { margin-bottom: 20px; }
.hw-account__main .addresses .title h2,
.hw-account__main .addresses .title h3 {
  font-family: var(--hw-font);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -.015em;
  color: var(--hw-green);
}
.hw-account__main .my_account_orders .add_payment_method,
.hw-account__main p.myaccount_address { margin-top: 18px; }

/* ---------- Szczegół zamówienia (view-order) — karta zamiast surowej tabeli ---------- */
.hw-account__main .woocommerce-order-details,
.hw-account__main .woocommerce-customer-details {
  border: 1px solid rgba(16, 38, 28, .14);
  padding: 26px 28px;
  margin-bottom: 32px;
}
.hw-account__main .woocommerce-order-details__title,
.hw-account__main .woocommerce-column__title {
  margin: 0 0 18px;
  font-family: var(--hw-font);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--hw-green);
}
/* Pasek statusu zamówienia (order-again + status) nad szczegółem. */
.hw-account__main .woocommerce-order p,
.hw-account__main .woocommerce-order .order-again { margin: 0 0 24px; }
.hw-account__main .woocommerce-table--order-details tfoot th,
.hw-account__main .woocommerce-table--order-details tfoot td {
  border-bottom: 1px solid rgba(16, 38, 28, .1);
  font-size: 14px;
}
.hw-account__main .woocommerce-table--order-details tfoot tr:last-child th,
.hw-account__main .woocommerce-table--order-details tfoot tr:last-child td {
  border-bottom: 0;
  padding-top: 18px;
  font-family: var(--hw-font);
  font-size: 18px;
  color: var(--hw-green);
}
.hw-account__main .woocommerce-table--order-details .product-name a {
  color: var(--hw-green);
  text-decoration: none;
  border-bottom: 1px solid var(--hw-brass);
}
.hw-account__main .wc-item-meta { margin: 6px 0 0; padding: 0; list-style: none; font-size: 12px; color: var(--hw-text-muted); }
.hw-account__main .wc-item-meta li { display: flex; gap: 6px; }
.hw-account__main .wc-item-meta strong { font-weight: 600; }
/* Dane klienta w szczególe — adres jak w karcie adresów. */
.hw-account__main .woocommerce-customer-details address {
  padding: 0;
  border: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--hw-text-soft);
}
.hw-account__main .woocommerce-customer-details .woocommerce-customer-details--phone,
.hw-account__main .woocommerce-customer-details .woocommerce-customer-details--email {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--hw-text-muted);
}

/* ---------- Pobrania (downloads) — pusta lista najczęściej ---------- */
.hw-account__main .woocommerce-Message--info.woocommerce-info,
.hw-account__main .woocommerce-info.no-downloads {
  /* dziedziczy styl notice powyżej; nic więcej nie trzeba */
}
.hw-account__main .woocommerce-table--order-downloads .download-file a,
.hw-account__main .woocommerce-MyAccount-downloads-file {
  color: var(--hw-green);
  text-decoration: none;
  border-bottom: 1px solid var(--hw-brass);
  font-weight: 600;
}

/* ---------- Mobile 390 (makieta Account mobile) ---------- */
@media (max-width: 768px) {
  .hw-account { padding: 24px 22px 64px; }
  .hw-account__head { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0 22px; }
  .hw-account__h1 { font-size: 38px; }
  .hw-account__layout { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 22px 0 0; }
  .hw-account__aside { position: static; }
  .hw-account__nav ul { flex-direction: row; overflow-x: auto; gap: 18px; }
  .hw-account__nav li { border-top: 0; border-left: 0; border-bottom: 2px solid transparent; flex: 0 0 auto; }
  .hw-account__nav li.is-active { border-left: 0; border-bottom-color: var(--hw-brass); }
  .hw-account__nav li a { padding: 0 0 6px; font-size: 10px; white-space: nowrap; }
  .hw-account__main { gap: 26px; }
  .hw-account__plan { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hw-account__plan-cell { padding: 16px; border-bottom: 1px solid rgba(16, 38, 28, .1); }
  .hw-account__plan-cell:nth-child(2n) { border-right: 0; }
  .hw-account__plan-v { font-size: 16px; }
  .hw-account__section-title { font-size: 26px; padding-bottom: 14px; }
  .hw-account__order--row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hw-account__order-end { justify-content: space-between; }
  .hw-account__refill { flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px; }
  .hw-account__refill-title { font-size: 22px; }
  /* Logowanie / rejestracja mobile: 1 kolumna (ciemna prawa znika), H1 40px, Imię+Telefon 2-kol. */
  .hw-auth__crumbs { padding: 18px 22px 0; font-size: 9px; }
  .hw-auth__grid { grid-template-columns: minmax(0, 1fr); margin-top: 0; border-top: 0; }
  .hw-auth__col { gap: 20px; padding: 24px 22px 34px; }
  .hw-auth__h1 { font-size: 40px; }
  .hw-auth__form { max-width: none; gap: 20px; }
  .hw-auth__aside { display: none; }
  .hw-account__main .woocommerce-Addresses,
  .hw-account__main .addresses { grid-template-columns: minmax(0, 1fr); }
  /* 1 kolumna → jawne przypięcie desktopowe wraca do auto (karty jedna pod drugą). */
  .hw-account__main .col2-set .col-1 { grid-column: 1; grid-row: auto; }
  .hw-account__main .col2-set .col-2 { grid-column: 1; grid-row: auto; }
  .hw-account__main .woocommerce-address-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: none; }
  .hw-account__main .woocommerce-address-fields__field-wrapper > .form-row-first,
  .hw-account__main .woocommerce-address-fields__field-wrapper > .form-row-last { grid-column: 1; }
  /* Szczegół zamówienia: węższy padding kart. */
  .hw-account__main .woocommerce-order-details,
  .hw-account__main .woocommerce-customer-details { padding: 20px; }
  .hw-account__main .addresses .title h2,
  .hw-account__main .addresses .title h3 { font-size: 26px; }
}

/* =========================================================================
   „Śledź przesyłkę” — link przy zamówieniu (obok „Zamów ponownie”)
   ========================================================================= */
.hw-account__order-track {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--hw-green);
  border-bottom: 1px solid var(--hw-brass);
  padding-bottom: 3px;
  white-space: nowrap;
  text-decoration: none;
}
.hw-account__order-track:hover { color: var(--hw-brass-dark); }

/* =========================================================================
   TAB „MÓJ PLAN” (accPlanTab) — progres, opis, checklista kroków
   ========================================================================= */
.hw-account__plan-tab { display: flex; flex-direction: column; gap: 26px; }

.hw-plan__progress { display: flex; flex-direction: column; gap: 9px; }
.hw-plan__progress-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #3B4A41;
}
.hw-plan__progress-pct { font-weight: 600; color: var(--hw-green); }
.hw-plan__bar { height: 5px; background: rgba(16, 38, 28, .14); }
.hw-plan__bar-fill { display: block; height: 5px; background: var(--hw-brass); }

.hw-plan__desc {
  margin: 0;
  max-width: 560px;
  font-size: 14.5px;
  line-height: 1.8;
  color: #4B5A50;
}

.hw-plan__steps {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(16, 38, 28, .12);
}
.hw-plan__steps-title {
  padding: 16px 0 10px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hw-brass-dark);
}
.hw-plan__step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(16, 38, 28, .12);
}
.hw-plan__step-check {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 38, 28, .3);
  color: #fff;
}
.hw-plan__step.is-done .hw-plan__step-check {
  background: var(--hw-green);
  border-color: var(--hw-green);
}
.hw-plan__step-text { flex: 1; font-size: 14.5px; color: var(--hw-green); }
.hw-plan__step-state {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #8A5A3B;
  white-space: nowrap;
}
.hw-plan__step.is-done .hw-plan__step-state { color: #4B5A50; }

.hw-plan__empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 34px;
  background: #EFEDE6;
  max-width: 620px;
}
.hw-plan__empty-title {
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--hw-green);
}
.hw-plan__empty-text { margin: 0; font-size: 14px; line-height: 1.75; color: #4B5A50; }

/* =========================================================================
   WIDOK „STATUS ZAMÓWIENIA” (isTrack) — endpoint sledz w layoucie konta
   ========================================================================= */
.hw-track { display: flex; flex-direction: column; gap: 0; }
.hw-track__crumbs {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--hw-text-muted);
}
.hw-track__crumbs a { color: var(--hw-text-muted); text-decoration: none; }
.hw-track__crumbs a:hover { color: var(--hw-green); }
.hw-track__crumb-sep { margin: 0 6px; }
.hw-track__crumb-here { color: var(--hw-green); }

.hw-track__head {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: end;
  padding: 26px 0 24px;
  border-bottom: 1px solid rgba(16, 38, 28, .14);
}
.hw-track__head-main { display: flex; flex-direction: column; gap: 12px; }
.hw-track__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hw-brass-dark);
}
.hw-track__h1 {
  margin: 0;
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--hw-green);
  line-height: 1;
}
.hw-track__head-meta { display: flex; flex-direction: column; gap: 8px; }
.hw-track__parcel { font-size: 14px; font-weight: 600; color: var(--hw-green); }
.hw-track__code { font-size: 12.5px; color: #4B5A50; }
.hw-track__carrier-link {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--hw-green);
  border-bottom: 1px solid var(--hw-brass);
  padding-bottom: 2px;
  align-self: flex-start;
  text-decoration: none;
}
.hw-track__carrier-link:hover { color: var(--hw-brass-dark); }

.hw-track__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 32px 0 0;
  align-items: start;
}

/* Oś czasu */
.hw-track__timeline { display: flex; flex-direction: column; }
.hw-track__step { display: grid; grid-template-columns: 26px 1fr; gap: 20px; }
.hw-track__marker { display: flex; flex-direction: column; align-items: center; }
.hw-track__dot {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  margin-top: 4px;
  border-radius: 50%;
  border: 2px solid rgba(16, 38, 28, .28);
  background: transparent;
}
.hw-track__step.is-done .hw-track__dot { border-color: var(--hw-green); background: var(--hw-green); }
.hw-track__step.is-active .hw-track__dot { border-color: var(--hw-brass); background: var(--hw-brass); }
.hw-track__line { flex: 1; width: 1px; min-height: 30px; background: rgba(16, 38, 28, .16); }
.hw-track__step.is-done .hw-track__line { background: var(--hw-green); }
.hw-track__step:last-of-type .hw-track__line { display: none; }
.hw-track__step-body { display: flex; flex-direction: column; gap: 5px; padding-bottom: 26px; }
.hw-track__step-head { display: flex; align-items: baseline; gap: 12px; }
.hw-track__step-name {
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 19px;
  font-weight: 500;
  color: #8A9A8E;
}
.hw-track__step.is-done .hw-track__step-name,
.hw-track__step.is-active .hw-track__step-name { color: var(--hw-green); }
.hw-track__badge {
  padding: 3px 9px;
  background: var(--hw-brass);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hw-green);
}
.hw-track__step-when { font-size: 12px; font-weight: 600; color: #8A9A8E; }
.hw-track__step-note { font-size: 13px; line-height: 1.7; color: #4B5A50; max-width: 480px; }

.hw-track__help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 10px;
  padding: 26px 30px;
  background: var(--hw-green);
}
.hw-track__help-text { display: flex; flex-direction: column; gap: 7px; }
.hw-track__help-title {
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #F7F5F0;
}
.hw-track__help-note { font-size: 13px; color: #A9B8AC; }
.hw-track__help-cta {
  flex: 0 0 auto;
  padding: 14px 24px;
  border: 1px solid var(--hw-brass);
  color: #E8D9C1;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.hw-track__help-cta:hover { background: var(--hw-brass); color: var(--hw-green); }

/* Prawa kolumna — pozycje + suma */
.hw-track__aside {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(16, 38, 28, .14);
  position: sticky;
  top: 92px;
}
.hw-track__aside-title {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(16, 38, 28, .14);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hw-brass-dark);
}
.hw-track__item {
  display: flex;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(16, 38, 28, .1);
}
.hw-track__item-frame {
  width: 44px;
  height: 56px;
  flex: 0 0 44px;
  background: var(--hw-sage, #DDE2D8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hw-track__item-frame img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.hw-track__item-body { display: flex; flex-direction: column; gap: 4px; }
.hw-track__item-name { font-size: 13.5px; font-weight: 500; color: var(--hw-green); line-height: 1.3; }
.hw-track__item-meta { font-size: 11.5px; color: #8A9A8E; }
.hw-track__totals { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; }
.hw-track__totals-row { display: flex; justify-content: space-between; font-size: 13px; color: #3B4A41; }
.hw-track__totals-paid { display: flex; align-items: baseline; justify-content: space-between; }
.hw-track__totals-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hw-green);
}
.hw-track__totals-value {
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--hw-green);
}
.hw-track__reorder { margin-top: 4px; text-align: center; }

.hw-track__missing { padding: 40px 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

@media (max-width: 768px) {
  .hw-track__head { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hw-track__h1 { font-size: 32px; }
  .hw-track__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hw-track__aside { position: static; }
  .hw-track__help { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px; }
}


/* =========================================================================
   TAB „MÓJ PLAN” — układ 2-kolumnowy (lewa: progres/opis/zadania | prawa: zapas)
   ========================================================================= */
.hw-plan__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}
.hw-plan__main { display: flex; flex-direction: column; gap: 18px; }
/* Lista zadań tygodnia: wiersz „tekst | X DNI Z 7” (bez checkboxa — makieta go nie ma). */
.hw-plan__steps .hw-plan__step { justify-content: space-between; gap: 20px; }
.hw-plan__steps .hw-plan__step-text { flex: 1; }
.hw-plan__supply {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 24px;
  background: var(--hw-bone-dark);
}
.hw-plan__supply-eyebrow {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hw-brass-dark);
}
.hw-plan__supply-text { font-size: 13.5px; line-height: 1.75; color: #3B4A41; }
.hw-plan__supply-cta {
  margin-top: 4px;
  padding: 14px;
  border: 1px solid var(--hw-green);
  background: var(--hw-green);
  color: var(--hw-bone);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
}
.hw-plan__supply-cta:hover { background: var(--hw-green-hover); }

/* =========================================================================
   TAB „DANE KONTA” (edit-account override) — siatka 2-kol + zgody + akcje
   ========================================================================= */
.hw-data { display: flex; flex-direction: column; gap: 26px; }
.hw-data__form { display: flex; flex-direction: column; gap: 26px; margin: 0; max-width: 720px; }
.hw-data__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.hw-data__field { display: flex; flex-direction: column; gap: 7px; margin: 0; }
.hw-data__field--wide { grid-column: 1 / -1; }
.hw-data__label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #8A9A8E;
}
.hw-data__input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(16, 38, 28, .22);
  background: #FFFFFF;
  font-family: var(--hw-font);
  font-size: 14px;
  color: var(--hw-green);
}
.hw-data__input:focus { outline: none; border-color: var(--hw-green); }

/* Zgody */
.hw-data__consents {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
  border-top: 1px solid rgba(16, 38, 28, .12);
}
.hw-data__consents-title {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hw-brass-dark);
}
.hw-data__check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; margin: 0; }
.hw-data__check-input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.hw-data__check-box {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 2px;
  border: 1px solid rgba(16, 38, 28, .3);
  background: #FFFFFF;
}
.hw-data__check-input:checked + .hw-data__check-box {
  border-color: var(--hw-green);
  background: var(--hw-green);
  position: relative;
}
.hw-data__check-input:checked + .hw-data__check-box::after {
  content: ""; position: absolute; left: 5px; top: 1px; width: 4px; height: 9px;
  border: solid var(--hw-bone); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.hw-data__check-input:focus-visible + .hw-data__check-box { outline: 2px solid var(--hw-brass); outline-offset: 2px; }
.hw-data__check-text { font-size: 12px; line-height: 1.6; color: #3B4A41; font-weight: 400; text-transform: none; letter-spacing: normal; }

/* Fieldset haseł (ukryty do „Zmień hasło”) */
.hw-data__pass {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid rgba(16, 38, 28, .12);
}
.hw-data__pass[hidden] { display: none; }
.hw-data__pass legend {
  padding: 0 0 6px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hw-brass-dark);
}

/* Akcje */
.hw-data__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 6px; }
.hw-data__btn {
  padding: 16px 26px;
  font-family: var(--hw-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
}
.hw-data__btn--primary { border: 1px solid var(--hw-green); background: var(--hw-green); color: var(--hw-bone); }
.hw-data__btn--primary:hover { background: var(--hw-green-hover); }
.hw-data__btn--ghost { border: 1px solid rgba(16, 38, 28, .3); background: transparent; color: var(--hw-green); }
.hw-data__btn--ghost:hover { border-color: var(--hw-green); }
.hw-data__erase-link {
  padding: 16px 26px;
  border: 0;
  background: transparent;
  color: var(--hw-text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  text-decoration: none;
}
.hw-data__erase-link:hover { color: var(--hw-green); }

/* =========================================================================
   TAB „ADRESY” (my-address override) — siatka 2×2 kart
   ========================================================================= */
.hw-addr { display: flex; flex-direction: column; gap: 26px; }
.hw-addr__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.hw-addr__card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 26px;
}
.hw-addr__card--filled { border: 1px solid var(--hw-brass); background: #EFE8DB; }
.hw-addr__card--bordered { border: 1px solid rgba(16, 38, 28, .16); }
.hw-addr__card--dashed { border: 1px dashed rgba(16, 38, 28, .3); }
.hw-addr__card--add {
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 38, 28, .28);
  color: var(--hw-green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: background .15s ease, color .15s ease;
}
.hw-addr__card--add:hover { background: var(--hw-green); color: var(--hw-bone); }
.hw-addr__eyebrow {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hw-text-muted);
}
.hw-addr__eyebrow--brass { color: var(--hw-brass-dark); }
.hw-addr__body { font-size: 15px; line-height: 1.75; color: var(--hw-green); }
.hw-addr__body--empty { color: var(--hw-text-muted); }
.hw-addr__note { font-size: 12.5px; color: var(--hw-text-muted); }
.hw-addr__actions { display: flex; gap: 16px; margin-top: 6px; }
.hw-addr__edit {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--hw-green);
  border-bottom: 1px solid var(--hw-brass);
  padding-bottom: 2px;
  text-decoration: none;
}
.hw-addr__edit:hover { color: var(--hw-brass-dark); }

/* ---------- Inline-edycja karty adresu (handoff 7: accAddr → addrEditing) ---------- */
.hw-addr__card--form {
  gap: 16px;
  border: 1px solid var(--hw-green);
  background: #FFFFFF;
  margin: 0;
}
.hw-addr__form-head { display: flex; align-items: baseline; gap: 12px; }
.hw-addr__form-tag { margin-left: auto; font-size: 12px; color: var(--hw-text-muted); }
.hw-addr__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.hw-addr__field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.hw-addr__field--wide { grid-column: 1 / -1; }
.hw-addr__flabel {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #8A9A8E;
}
.hw-addr__input {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid rgba(16, 38, 28, .26);
  background: #FFFFFF;
  font-family: var(--hw-font);
  font-size: 15px;
  color: var(--hw-green);
}
.hw-addr__input:focus { outline: none; border-color: var(--hw-green); }

/* Checkbox „zmień też na fakturze” na jasnoszarym pasku (custom, natywny input schowany). */
.hw-addr__also {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--hw-bone);
  cursor: pointer;
  margin: 0;
}
.hw-addr__also-input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.hw-addr__also-box {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 2px;
  border: 1px solid rgba(16, 38, 28, .3);
  background: #FFFFFF;
}
.hw-addr__also-input:checked + .hw-addr__also-box {
  border-color: var(--hw-green);
  background: var(--hw-green);
  position: relative;
}
.hw-addr__also-input:checked + .hw-addr__also-box::after {
  content: ""; position: absolute; left: 5px; top: 1px; width: 4px; height: 9px;
  border: solid var(--hw-bone); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.hw-addr__also-input:focus-visible + .hw-addr__also-box { outline: 2px solid var(--hw-brass); outline-offset: 2px; }
.hw-addr__also-text { font-size: 13.5px; line-height: 1.65; color: #3B4A41; }

.hw-addr__form-actions { display: flex; gap: 12px; }
.hw-addr__btn {
  padding: 16px 26px;
  font-family: var(--hw-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
}
.hw-addr__btn--primary { border: 1px solid var(--hw-green); background: var(--hw-green); color: var(--hw-bone); }
.hw-addr__btn--primary:hover { background: var(--hw-green-hover); }
.hw-addr__btn--ghost {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(16, 38, 28, .3);
  background: transparent;
  color: var(--hw-green);
}
.hw-addr__btn--ghost:hover { border-color: var(--hw-green); }
.hw-addr__form-note { font-size: 12.5px; line-height: 1.6; color: var(--hw-text-muted); }

/* Mobile 768: plan i adresy 1 kolumna; dane 1 kolumna */
@media (max-width: 768px) {
  .hw-plan__cols { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hw-data__grid { grid-template-columns: minmax(0, 1fr); }
  .hw-data__form { max-width: none; }
  .hw-addr__grid { grid-template-columns: minmax(0, 1fr); }
  .hw-addr__fields { grid-template-columns: minmax(0, 1fr); }
  .hw-addr__btn { flex: 1; text-align: center; }
  .hw-data__actions { flex-direction: column; align-items: stretch; }
  .hw-data__btn, .hw-data__erase-link { text-align: center; }
}

/* Usunięcie konta (prawo do bycia zapomnianym, RODO) — pod „Szczegóły konta”. */
/* Domyślnie ukryta — otwiera link „Usuń konto i dane" (#hw-erase) albo stan zgłoszenia. */
.hw-erase { display: none; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(16, 38, 28, .12); }
.hw-erase:target,
.hw-erase--open { display: block; }
.hw-erase__title { margin: 0 0 8px; font-size: 17px; font-weight: 600; color: var(--hw-text); }
.hw-erase__desc { margin: 0 0 16px; max-width: 620px; font-size: 14px; line-height: 1.7; color: var(--hw-text-muted); }
.hw-erase__flash { margin: 0 0 14px; font-size: 13px; color: var(--hw-green); }
.hw-erase__status { margin: 0; padding: 14px 18px; border: 1px solid rgba(16, 38, 28, .12); background: var(--hw-sage, #DDE2D8); font-size: 14px; color: var(--hw-text); }
.hw-erase__form { margin: 0; }
.hw-erase__btn { text-transform: uppercase; letter-spacing: .1em; }

/* ============================================================================
   SZCZEGÓŁ ZAMÓWIENIA (view-order) — 1:1 makieta Premium v2 (orderDetailShown).
   Renderuje się w głównej kolumnie konta (obok sidebara nawigacji).
   ============================================================================ */
.hw-vieworder { display: flex; flex-direction: column; gap: 26px; }

.hw-vieworder__back {
  align-self: flex-start;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hw-text-muted);
  text-decoration: none;
}
.hw-vieworder__back:hover { color: var(--hw-green); }

.hw-vieworder__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(16, 38, 28, .14);
}
.hw-vieworder__head-text { display: flex; flex-direction: column; gap: 7px; }
.hw-vieworder__eyebrow {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hw-brass-dark);
}
.hw-vieworder__status {
  margin: 0;
  font-family: var(--hw-font);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -.015em;
  color: var(--hw-green);
}
.hw-vieworder__meta { font-size: 13px; color: var(--hw-text-muted); }
.hw-vieworder__total {
  font-family: var(--hw-font);
  font-size: 30px;
  font-weight: 500;
  color: var(--hw-green);
  white-space: nowrap;
}

.hw-vieworder__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}
.hw-vieworder__col-main { display: flex; flex-direction: column; gap: 24px; }

/* pozycje + sumy */
.hw-vieworder__lines { display: flex; flex-direction: column; }
.hw-vieworder__line {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(16, 38, 28, .1);
}
.hw-vieworder__line-name { flex: 1; min-width: 0; font-size: 14.5px; color: var(--hw-green); }
.hw-vieworder__line-qty { flex: 0 0 auto; font-size: 12.5px; color: var(--hw-text-muted); }
.hw-vieworder__line-price { flex: 0 0 auto; font-family: var(--hw-font); font-size: 15px; color: var(--hw-green); }
.hw-vieworder__sum {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  font-size: 13.5px;
  color: var(--hw-text-soft);
}
.hw-vieworder__sum span:last-child { font-family: var(--hw-font); }
.hw-vieworder__sum--total { font-size: 17px; font-weight: 600; color: var(--hw-green); }

/* oś czasu */
.hw-vieworder__timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 6px;
  border-top: 1px solid rgba(16, 38, 28, .12);
}
.hw-vieworder__block-title {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hw-brass-dark);
}
.hw-vieworder__tl-step { display: flex; align-items: flex-start; gap: 14px; }
.hw-vieworder__tl-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--hw-brass);
}
.hw-vieworder__tl-step.is-future .hw-vieworder__tl-dot { background: rgba(16, 38, 28, .18); }
.hw-vieworder__tl-body { display: flex; flex-direction: column; gap: 2px; }
.hw-vieworder__tl-label { font-size: 14px; color: var(--hw-green); }
.hw-vieworder__tl-step.is-future .hw-vieworder__tl-label { color: var(--hw-text-muted); }
.hw-vieworder__tl-when { font-size: 12px; color: var(--hw-text-muted); }

/* prawa kolumna */
.hw-vieworder__col-side { display: flex; flex-direction: column; gap: 22px; }
.hw-vieworder__card--ship {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 22px;
  background: var(--hw-bone-dark);
}
.hw-vieworder__ship-to { font-size: 13.5px; line-height: 1.75; color: var(--hw-text); }
.hw-vieworder__ship-to br { line-height: 1.75; }
.hw-vieworder__ship-method { font-size: 12.5px; line-height: 1.7; color: var(--hw-text-soft); }
.hw-vieworder__ship-locker { font-size: 12.5px; line-height: 1.7; color: var(--hw-text-soft); }
.hw-vieworder__ship-tracking {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  color: var(--hw-green);
}
.hw-vieworder__pay { display: flex; flex-direction: column; gap: 9px; }
.hw-vieworder__pay-value { font-size: 13.5px; line-height: 1.7; color: var(--hw-text); }
.hw-vieworder__actions { display: flex; flex-direction: column; gap: 10px; }
.hw-vieworder__act {
  padding: 15px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
}
.hw-vieworder__help-note {
  padding-top: 2px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--hw-text-muted);
}

/* banner „Kończy Ci się koktajl?" (uproszczony) */
.hw-vieworder__refill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 36px 40px;
  background: var(--hw-green);
}
.hw-vieworder__refill-text { display: flex; flex-direction: column; gap: 8px; }
.hw-vieworder__refill-title {
  font-family: var(--hw-font);
  font-size: 28px;
  font-weight: 500;
  color: var(--hw-bone);
  line-height: 1.15;
}
.hw-vieworder__refill-note { font-size: 14px; color: #A9B8AC; }
.hw-vieworder__refill-cta {
  padding: 16px 28px;
  border: 1px solid var(--hw-brass);
  background: transparent;
  color: #E8D9C1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
}
.hw-vieworder__refill-cta:hover { background: var(--hw-brass); color: var(--hw-green); }

.hw-vieworder__missing { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px 0; }
.hw-vieworder__missing p { margin: 0; font-size: 15px; color: var(--hw-text-soft); }

/* Mobile 768 — 1 kolumna, kolejność makiety: pozycje → dostawa → historia → płatność → akcje */
@media (max-width: 768px) {
  .hw-vieworder__head { flex-wrap: wrap; gap: 12px; }
  .hw-vieworder__status { font-size: 26px; }
  .hw-vieworder__total { font-size: 22px; }
  /* 1 kolumna + kolejność makiety: pozycje → Dostawa → Historia → Płatność → akcje.
     display:contents rozpuszcza wrappery kolumn, `order` układa bloki wg makiety mobile. */
  .hw-vieworder__grid { display: flex; flex-direction: column; gap: 18px; }
  .hw-vieworder__col-main,
  .hw-vieworder__col-side { display: contents; }
  .hw-vieworder__lines { order: 1; }
  .hw-vieworder__card--ship { order: 2; }
  .hw-vieworder__timeline { order: 3; }
  .hw-vieworder__pay { order: 4; }
  .hw-vieworder__actions { order: 5; }
  .hw-vieworder__refill { flex-direction: column; align-items: flex-start; gap: 18px; padding: 26px 22px; }
  .hw-vieworder__refill-cta { align-self: stretch; text-align: center; }
}
