/* ============================================================
   gisty® layout — header (PageHeader.dc) + stopka (Stopka.dc).
   ============================================================ */

/* ---------- Pasek USP ---------- */
.g-announce {
  background: var(--g-ink);
  color: var(--g-bg);
  font-size: 12.5px;
  font-weight: 500;
}
.g-announce__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding-block: 8px; flex-wrap: wrap; text-align: center;
}
.g-announce__dot { opacity: 0.55; }
.g-announce__pack { display: inline-flex; align-items: center; gap: 6px; }
.g-announce__promo { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: #F3D8CD; }
.g-announce__promo:hover { color: #fff; }
.g-announce__promo--prezent { color: #E3C68F; }
@media (max-width: 720px) {
  /* mobile: kod promocyjny zostaje, a trzy bonusy rotują (header.js, co 4,5 s) */
  .g-announce__dot--a, .g-announce__dot--b { display: none; }
  .g-announce__rot { display: none; }
  .g-announce__rot.is-on { display: inline-flex; animation: g-announce-in 0.35s ease; }
  /* przy promocji: kod w 1. linii, bonus zawsze w 2. — stała grubość belki */
  .g-announce--promo .g-announce__inner { flex-direction: column; gap: 2px; padding-block: 7px; }
  .g-announce--promo .g-announce__dot--p { display: none; }
}
@keyframes g-announce-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Sticky header ---------- */
.g-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(251, 243, 239, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--g-border);
}
.g-header__inner {
  display: flex; align-items: center; gap: clamp(14px, 2.5vw, 28px);
  padding-block: 14px;
}
.g-logo {
  display: inline-block;
  font-weight: 700; font-size: clamp(22px, 3vw, 26px);
  letter-spacing: var(--g-tracking-tight);
  color: var(--g-ink); line-height: 1;
}
.g-logo span { color: var(--g-accent); font-size: 0.62em; vertical-align: super; }
.g-logo:hover { color: var(--g-ink); }
.g-logo--light { color: var(--g-bg); }
.g-logo--light:hover { color: #fff; }
/* Logotyp gisty® jako maska — jeden plik, kolor z tokenów (header: atrament, stopka: biel) */
.g-logo__mark {
  display: block;
  height: clamp(28px, 3.4vw, 36px);
  aspect-ratio: 667 / 298;
  background: var(--g-ink);
  -webkit-mask: url('../img/gisty-logo.png') no-repeat center / contain;
  mask: url('../img/gisty-logo.png') no-repeat center / contain;
}
.g-logo--light .g-logo__mark { background: #fff; height: 38px; }

/* ---------- Nawigacja ---------- */
.g-nav { margin-right: auto; }
.g-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(4px, 1vw, 10px); }
.g-nav__list a {
  display: inline-block; padding: 9px 14px; border-radius: var(--g-r-pill);
  color: var(--g-ink); font-weight: 500; font-size: 15px;
}
.g-nav__list a:hover { background: var(--g-surface-soft); color: var(--g-ink); }
.g-nav__list .current-menu-item > a { font-weight: 600; }

/* Dropdown „Sklep" */
.g-nav__list .menu-item-has-children { position: relative; }
.g-nav__list .menu-item-has-children > a::after {
  content: ''; display: inline-block; margin-left: 7px;
  width: 7px; height: 7px; border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform 0.15s ease;
}
.g-nav__list .sub-menu {
  list-style: none; margin: 0; padding: 10px;
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
  background: #fff; border-radius: 18px; box-shadow: 0 24px 56px -28px rgba(150, 90, 75, 0.5);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.g-nav__list .sub-menu a { display: block; padding: 10px 14px; border-radius: 12px; font-size: 14.5px; }
@media (min-width: 861px) {
  .g-nav__list .menu-item-has-children:hover > .sub-menu,
  .g-nav__list .menu-item-has-children:focus-within > .sub-menu,
  .g-nav__list .menu-item-has-children.is-open > .sub-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
  }
}

/* ---------- Akcje ---------- */
.g-header__actions { display: flex; align-items: center; gap: clamp(8px, 1.2vw, 14px); }

.g-search { position: relative; }
.g-search__form { position: relative; display: flex; align-items: center; }
/* lupka = realny submit (Baymard: przycisk „szukaj" przy polu, zwłaszcza mobile);
   po PRAWEJ stronie pola — decyzja użytkowniczki 2026-08-25 („z lewej nie przywodzi na myśl przycisku") */
.g-search__btn {
  /* szerokość = padding-right inputa (40px): przycisk nie nachodzi na tekst frazy */
  position: absolute; right: 0; top: 0; bottom: 0; width: 40px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  color: var(--g-muted-2); border-radius: 0 var(--g-r-pill) var(--g-r-pill) 0;
}
.g-search__btn:hover, .g-search__btn:focus-visible { color: var(--g-accent); }
.g-search__icon { display: block; pointer-events: none; }
.g-search__input {
  width: clamp(150px, 16vw, 210px);
  border: 1.5px solid var(--g-border); background: var(--g-bg);
  border-radius: var(--g-r-pill); padding: 10px 40px 10px 18px;
  font-size: 14px; color: var(--g-ink); outline: none;
  transition: width 0.25s ease, border-color 0.15s ease;
}
.g-search__input:focus { width: clamp(190px, 22vw, 300px); border-color: var(--g-accent); }
.g-search__drop {
  position: absolute; top: calc(100% + 10px); right: 0; width: min(360px, 92vw);
  background: #fff; border-radius: 18px; box-shadow: 0 24px 56px -28px rgba(150, 90, 75, 0.5);
  padding: 12px; z-index: 95;
}
.g-search__heading {
  font-size: 11.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--g-muted-2); padding: 4px 10px 8px;
}
.g-search__item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 10px; border-radius: 12px; color: var(--g-ink);
}
.g-search__item:hover { background: var(--g-surface-soft-2); color: var(--g-ink); }
.g-search__thumb {
  width: 44px; height: 44px; flex: none; border-radius: 10px; object-fit: cover;
  background: repeating-linear-gradient(45deg, #F1DAD1 0 8px, #E9C9BD 8px 16px);
}
.g-search__meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.g-search__name { display: block; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-search__cat { display: block; font-size: 12px; color: var(--g-muted-2); }
.g-search__price { flex: none; margin-left: 8px; font-weight: 600; font-size: 14px; color: var(--g-accent); white-space: nowrap; }
.g-search__empty { padding: 14px 10px; font-size: 14px; color: var(--g-muted-2); }
/* stopka podpowiedzi: przejście na pełną listę wyników (dropdown pokazuje maks. 6) */
.g-search__all {
  display: block; text-align: center; margin-top: 8px; padding: 11px 10px;
  border-top: 1px solid var(--g-border); border-radius: 0 0 12px 12px;
  font-size: 13.5px; font-weight: 600; color: var(--g-accent);
}
.g-search__all:hover { background: var(--g-surface-soft-2); color: var(--g-accent); }
@media (max-width: 860px) {
  /* mobile: dropdown kotwiczy do całego headera (nie do wąskiego pola) — pełna szerokość ekranu */
  .g-header__inner { position: relative; }
  .g-search { position: static; }
  .g-search__drop { left: 12px; right: 12px; width: auto; }
}

.g-iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  color: var(--g-ink); background: transparent; position: relative;
  transition: background 0.15s ease;
}
.g-iconbtn:hover { background: var(--g-surface-soft); color: var(--g-ink); }
.g-iconbtn--cart { background: var(--g-ink); color: var(--g-bg); }
.g-iconbtn--cart:hover { background: var(--g-accent); color: #fff; }
.g-cart-badge {
  position: absolute; top: -3px; right: -3px;
  min-width: 19px; height: 19px; padding-inline: 5px;
  border-radius: var(--g-r-pill); background: var(--g-accent); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 19px; text-align: center;
  display: none;
}
.g-cart-badge.is-visible { display: block; }

/* ---------- Hamburger + panel mobilny ---------- */
.g-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 10px;
  background: transparent; border: none; cursor: pointer; border-radius: 50%;
}
.g-burger span { display: block; height: 2px; border-radius: 2px; background: var(--g-ink); transition: transform 0.2s ease, opacity 0.2s ease; }
.g-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.g-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.g-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .g-burger { display: flex; }
  .g-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--g-bg); border-bottom: 1px solid var(--g-border);
    padding: 12px clamp(20px, 5vw, 40px) 20px; margin: 0;
    box-shadow: 0 24px 40px -28px rgba(51, 39, 46, 0.35);
  }
  .g-nav.is-open { display: block; }
  .g-nav__list { flex-direction: column; gap: 2px; }
  .g-nav__list a { display: block; padding: 12px 14px; font-size: 16px; }
  .g-nav__list .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: var(--g-surface-soft-2); border-radius: 14px;
    display: none; padding: 6px;
  }
  .g-nav__list .menu-item-has-children.is-open > .sub-menu { display: block; }
  /* 16px = iOS nie przybliża strony przy fokusie.
     Pole szukania ODDAJE miejsce zamiast trzymać sztywne 42vw: przy 390 px pasek miał
     444 px zawartości i wypychał hamburgera (ostatni element) poza ekran — a przez
     overflow-x w base.css nie dało się do niego doscrollować. Menu i JS działały przez
     cały czas, tylko przycisku nie było jak dotknąć (jej zgłoszenie z iPhone'a 29.08). */
  .g-header__actions .g-search { flex: 1 1 auto; min-width: 0; }
  .g-search__input,
  .g-search__input:focus { width: 100%; min-width: 0; font-size: 16px; }
  .g-header__actions .g-iconbtn,
  .g-header__actions .g-burger,
  .g-header__actions .g-header__login { flex: none; }
  /* Zamiana tekstu na ikonkę odzyskuje 76 px dla pola szukania.
     Selektor z rodzicem, bo reguła bazowa .g-iconbtn--login{display:none} stoi
     PÓŹNIEJ w pliku i przy równej specyficzności by wygrała. */
  .g-header__actions .g-header__login { display: none; }
  .g-header__actions .g-iconbtn--login { display: inline-flex; }
}

/* ---------- Stopka ---------- */
.g-wave { margin-bottom: -1px; } /* bez szpary między falą a stopką */
.g-footer { background: var(--g-ink); color: var(--g-footer-text); font-size: 14.5px; line-height: 1.8; }
.g-footer a { color: var(--g-footer-text); }
.g-footer a:hover { color: #fff; }
.g-footer__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(28px, 4vw, 48px);
  padding-block: clamp(36px, 6vw, 64px);
}
.g-footer__brand { max-width: 34ch; }
.g-footer__brand p { color: var(--g-footer-muted); margin: 14px 0 0; }
.g-footer__contact a { font-weight: 600; }
.g-footer__col h2 {
  font-size: 15px; font-weight: 600; color: #fff;
  margin: 0 0 12px; letter-spacing: 0;
}
.g-footer__col ul { list-style: none; margin: 0; padding: 0; }
.g-footer__col li { margin-bottom: 8px; }
.g-footer__col a { color: var(--g-footer-muted); }
.g-footer__legal { border-top: 1px solid var(--g-footer-border); }
.g-footer__legal-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px 24px; flex-wrap: wrap;
  padding-block: 18px; font-size: 12.5px; color: var(--g-footer-legal);
}
.g-footer__legal ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.g-footer__legal a { color: var(--g-footer-legal); }
.g-footer__legal a:hover { color: var(--g-footer-text); }

/* ---------- Mini-koszyk (drawer) + toast ---------- */
.g-drawer { position: fixed; inset: 0; z-index: 200; height: 100vh; height: 100dvh; }
.g-drawer__overlay {
  position: absolute; inset: 0; background: rgba(51, 39, 46, 0.4);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity 0.25s ease;
}
.g-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw);
  max-height: 100dvh;
  background: var(--g-bg); box-shadow: var(--g-shadow-drawer);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.25s ease;
}
.g-drawer__foot { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
.g-drawer.is-open .g-drawer__overlay { opacity: 1; }
.g-drawer.is-open .g-drawer__panel { transform: translateX(0); }
.g-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 1px solid #EFDDD4; flex: none;
}
.g-drawer__title { font-weight: 700; font-size: 20px; }
.g-drawer__x {
  background: var(--g-surface-soft); border: none; width: 38px; height: 38px;
  border-radius: 50%; cursor: pointer; font-size: 16px; color: var(--g-ink);
  display: flex; align-items: center; justify-content: center;
}
.g-drawer__x:hover { background: var(--g-selection); }
.g-drawer__body-wrap { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.g-drawer__empty {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 40px; text-align: center;
}
.g-drawer__empty-icon { width: 72px; height: 72px; }
.g-drawer__empty p { font-size: 16px; color: var(--g-muted); margin: 0; }
.g-drawer__items { flex: 1; overflow-y: auto; padding: 16px 24px; display: flex; flex-direction: column; gap: 16px; }
.g-drawer__item { display: flex; gap: 14px; align-items: center; }
.g-drawer__thumb {
  flex: none; width: 64px; height: 64px; border-radius: 16px 12px 16px 12px; overflow: hidden;
  background: repeating-linear-gradient(135deg, #F1DAD1 0 8px, #E9C9BD 8px 16px);
}
.g-drawer__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-drawer__item-main { flex: 1; min-width: 0; }
.g-drawer__item-name { font-weight: 600; font-size: 15.5px; margin-bottom: 6px; }
.g-drawer__item-row { display: flex; align-items: center; gap: 10px; }
.g-drawer__stepper { display: flex; align-items: center; border: 1.5px solid var(--g-border); border-radius: var(--g-r-pill); overflow: hidden; }
.g-drawer__stepper button { background: none; border: none; cursor: pointer; width: 30px; height: 30px; font-size: 16px; color: var(--g-ink); }
.g-drawer__stepper span { min-width: 22px; text-align: center; font-size: 14px; font-weight: 600; }
.g-drawer__line-total { font-weight: 700; font-size: 15px; }
.g-drawer__remove { background: none; border: none; cursor: pointer; color: #B49A91; font-size: 13px; align-self: flex-start; padding: 4px; font-family: var(--g-font); }
.g-drawer__remove:hover { color: var(--g-accent-hover); }
.g-drawer__foot { flex: none; border-top: 1px solid #EFDDD4; padding: 20px 24px 24px; }
.g-drawer__ship {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--g-surface-soft); border-radius: 14px; padding: 12px 14px; margin-bottom: 16px;
  font-size: 13px; line-height: 1.5; color: var(--g-muted-dark);
}
.g-drawer__ship svg { flex: none; margin-top: 1px; color: var(--g-accent); }
.g-drawer__free { font-size: 13px; color: var(--g-muted-2); margin-bottom: 8px; }
.g-drawer__free.is-free { color: var(--g-success); display: flex; align-items: center; gap: 8px; }
.g-drawer__free strong { color: var(--g-accent); }
.g-drawer__bar { height: 7px; border-radius: var(--g-r-pill); background: #EFDDD4; overflow: hidden; margin-bottom: 18px; }
.g-drawer__bar span { display: block; height: 100%; background: var(--g-gradient); border-radius: var(--g-r-pill); transition: width 0.4s ease; }
.g-drawer__sum { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.g-drawer__sum span { font-size: 15px; color: var(--g-muted); }
.g-drawer__sum small { font-size: 12.5px; color: var(--g-muted-3); }
.g-drawer__sum strong { font-size: 24px; }
.g-drawer__checkout { display: flex; width: 100%; font-size: 16px; padding: 16px; margin-bottom: 10px; }
.g-drawer__cartlink { display: block; text-align: center; color: #7A6A64; font-size: 14px; font-weight: 500; padding: 8px; }
.g-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 210;
  background: var(--g-ink); color: var(--g-bg); padding: 14px 24px; border-radius: var(--g-r-pill);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.4);
  font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 10px;
}
.g-toast span { color: #D79E90; }

/* Box countdown wysyłki — GLOBALNY (koszyk, kasa, drawer; karta produktu nadpisuje swoim) */
.gp-ship {
  display: flex; gap: 12px; align-items: center;
  background: var(--g-surface-soft); border-radius: 18px; padding: 16px 20px;
  font-size: 14px; line-height: 1.5; color: var(--g-muted-dark);
}
.gp-ship svg { flex: none; color: var(--g-accent); }

/* Placeholder „zdjęcie produktu" — GLOBALNY; wymaga position:relative na kontenerze,
   inaczej pozycjonuje się względem strony i wypływa poza sekcję */
.gh-ph {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 11.5px; letter-spacing: 0.08em; color: var(--g-accent-hover);
  background: rgba(255, 255, 255, 0.85); padding: 7px 13px; border-radius: var(--g-r-pill);
  white-space: nowrap;
}

/* Serduszko wishlisty — GLOBALNE (karty produktów wszędzie + buybox produktu) */
.gh-wish {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, 0.9); cursor: pointer;
  font-size: 18px; line-height: 1; color: #C6ADA4;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px -8px rgba(150, 90, 75, 0.6);
  transition: color 0.15s ease, transform 0.15s ease;
}
.gh-wish:hover { color: var(--g-wish); transform: scale(1.08); }
.gh-wish.is-wished { color: var(--g-wish); }

/* ---------- Bramka 18+ i belka cookies (Belki cookies i 18+.dc) ---------- */
.gcon-gate {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(37, 26, 31, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 40px);
}
.gcon-gate__card {
  position: relative; overflow: hidden; width: min(100%, 520px);
  background: var(--g-bg); border-radius: 26px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 34px 80px -30px rgba(40, 22, 26, 0.6); text-align: center;
}
.gcon-gate__blob {
  position: absolute; top: -90px; right: -70px;
  width: min(60vw, 300px); height: min(60vw, 300px);
  background: radial-gradient(circle at 50% 50%, rgba(243, 216, 205, 0.9), rgba(251, 243, 239, 0) 70%);
  border-radius: 46% 54% 60% 40% / 44% 46% 54% 56%; pointer-events: none;
}
.gcon-gate__inner { position: relative; }
.gcon-gate__badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--g-ink); color: #F3D8CD; font-weight: 700; font-size: 19px; margin-bottom: 22px;
}
.gcon-gate__card h2 { font-size: clamp(23px, 3.4vw, 30px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
.gcon-gate__card > .gcon-gate__inner > p { font-size: 15.5px; line-height: 1.65; color: #6E5F5A; margin: 0 0 26px; }
.gcon-gate__actions { display: flex; flex-direction: column; gap: 11px; }
.gcon-gate__yes { width: 100%; padding: 16px; font-size: 16px; }
.gcon-gate__no {
  display: block; text-align: center; background: #fff;
  border: 1.5px solid var(--g-border); color: #6E5F5A;
  font-weight: 600; font-size: 15px; padding: 14px; border-radius: var(--g-r-pill);
  transition: border-color 0.15s ease;
}
.gcon-gate__no:hover { border-color: #C58B7C; color: #6E5F5A; }
.gcon-gate__legal { font-size: 12.5px; line-height: 1.55; color: #9A8A84; margin: 20px 0 0; }
.gcon-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; padding: clamp(12px, 2vw, 20px); }
.gcon-bar__card {
  max-width: 1100px; margin: 0 auto; background: var(--g-ink); border-radius: 22px;
  padding: clamp(20px, 2.5vw, 26px) clamp(20px, 3vw, 30px);
  box-shadow: 0 24px 60px -26px rgba(40, 22, 26, 0.65);
  display: flex; flex-wrap: wrap; gap: clamp(16px, 2.5vw, 30px); align-items: center;
}
.gcon-bar__text { flex: 1 1 320px; min-width: min(100%, 260px); }
.gcon-bar__title { font-weight: 600; font-size: 16.5px; color: var(--g-bg); margin-bottom: 7px; }
.gcon-bar__text p { font-size: 14px; line-height: 1.6; color: #D9C4BC; margin: 0; }
.gcon-bar__text a { color: #F3D8CD; text-decoration: underline; }
.gcon-bar__actions { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
/* Mobile: kontener przycisków miał flex-basis auto, czyli szerokość SUMY trzech przycisków
   w jednym rzędzie (438 px na 390 px ekranu) — „Akceptuję wszystkie" lądowało za krawędzią
   (jej zgłoszenie 01.09). Na wąskim ekranie kontener bierze całą szerokość karty,
   dwa główne przyciski dzielą rząd po połowie (minmax(0,1fr) — zasada z pamięci),
   a „Ustawienia" schodzi pod nie, wycentrowane. */
@media (max-width: 640px) {
  /* Dwie kolumny nie mieściły „Akceptuję wszystkie" (tekst dotykał krawędzi), a „Ustawienia"
     stojące w DOM między przyciskami rozpychało siatkę w schodki. Na wąskim ekranie:
     jedna kolumna, główna akcja pierwsza, potem odmowa, „Ustawienia" na końcu. */
  .gcon-bar__actions { flex: 1 1 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .gcon-bar__accept  { order: 1; width: 100%; text-align: center; }
  .gcon-bar__reject  { order: 2; width: 100%; text-align: center; }
  .gcon-bar__settings { order: 3; justify-self: center; }
}
.gcon-bar__reject {
  background: none; border: 1.5px solid rgba(243, 216, 205, 0.45); color: #F3D8CD;
  font-family: var(--g-font); font-weight: 600; font-size: 14.5px;
  padding: 13px 22px; border-radius: var(--g-r-pill); cursor: pointer; white-space: nowrap;
}
.gcon-bar__reject:hover { border-color: #F3D8CD; }
.gcon-bar__settings {
  font: 600 13.5px var(--g-font); color: #B7A59D; padding: 8px 6px; white-space: nowrap;
  background: none; border: none; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.gcon-bar__settings:hover { color: #F3D8CD; }
.gcon-bar__accept {
  background: var(--g-bg); border: none; color: var(--g-ink);
  font-family: var(--g-font); font-weight: 600; font-size: 14.5px;
  padding: 14px 28px; border-radius: var(--g-r-pill); cursor: pointer; white-space: nowrap;
  transition: background 0.15s ease;
}
.gcon-bar__accept:hover { background: #F3D8CD; }

/* rabat zestawu w szufladce mini-koszyka */
.g-drawer__sum--fee { font-size: 13.5px; margin-bottom: 2px; }
.g-drawer__sum--fee strong { font-size: 14px; color: var(--g-accent); }

/* Omnibus: najniższa cena z 30 dni przy przecenach */
.g-omnibus { display: block; font-size: 12px; font-weight: 400; color: var(--g-muted-2); letter-spacing: 0; margin-top: 4px; }
.g-omnibus .woocommerce-Price-amount { font-size: 12px; font-weight: 500; }

/* nagłówek: tekst „Logowanie" dla wylogowanych */
.g-header__login { font-weight: 600; font-size: 14.5px; color: var(--g-ink); white-space: nowrap; padding: 8px 2px; }
.g-header__login:hover { color: var(--g-accent); }
/* Wejście do konta dla wylogowanych: na desktopie tekst (czytelniejszy niż sama ikonka),
   na telefonie ikonka — tekst zabierał 76 px paska i zostawiał pole szukania nieczytelne. */
.g-iconbtn--login { display: none; }

/* Belka cookies: panel ustawień (rozwijany przyciskiem „Ustawienia") — jasne teksty na ciemnej karcie */
.gcon-bar__panel { display: grid; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(251, 243, 239, 0.18); }
.gcon-opt { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: #C7B3AB; cursor: pointer; }
.gcon-opt input { margin-top: 3px; accent-color: var(--g-accent); width: 16px; height: 16px; flex: none; }
.gcon-opt strong { color: #FBF3EF; }
.gcon-bar__save { justify-self: start; }

/* countdown wysyłki: ukryty do policzenia przez JS (bez migającego „Zamów w ciągu …");
   visibility zamiast display — miejsce zarezerwowane, treść nie skacze */
[data-cutoff]:not(.is-ready) { visibility: hidden; }
