@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/rubik-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/rubik-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02FF, U+1E00-1EFF, U+2020, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --green: #008136;
  --green-deep: #0b4423;
  --green-ink: #06170e;
  --paper: #ffffff;
  --paper-tint: #f4f7f4;
  --line: #e3e8e3;
  --red: #e30613;
  --gold: #d6b469;
  --on-gold: #2b2007;
  --font: 'Rubik', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--green-ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font-family: inherit; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--on-gold);
  padding: 10px 16px; font-weight: 700; z-index: 60;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); position: relative; }
section { padding: 44px 0; }
section.tight { padding: 26px 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.gold { background: var(--gold); color: var(--on-gold); }
.btn.gold:hover { background: #e6c98a; }
.btn.outline { border-color: var(--green); color: var(--green); background: none; }
.btn.outline:hover { background: var(--green); color: #fff; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn.small { padding: 8px 16px; font-size: 13px; }

/* ---------- koncept banner ---------- */
.concept-bar {
  background: var(--green-ink); color: #fff; text-align: center;
  font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  padding: 9px 16px; position: relative; z-index: 45;
}
.concept-bar strong { color: var(--gold); }

/* ---------- nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-main { display: flex; align-items: center; padding: 12px clamp(18px, 4vw, 40px); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-ink); flex: none; }
.brand img { height: 44px; width: auto; }
.brand .brand-text { line-height: 1.2; }
.brand .brand-text strong { display: block; font-weight: 800; font-size: 15px; }
.brand .brand-text span { display: block; font-size: 11.5px; font-weight: 600; color: var(--green); letter-spacing: .04em; text-transform: uppercase; }
.nav-links { margin-left: auto; display: flex; gap: 22px; align-items: center; font-size: 14px; font-weight: 600; }
.nav-links > a { text-decoration: none; color: #33422f; }
.nav-links > a:hover { color: var(--green); }
@media (max-width: 620px) { .nav-links { display: none; } }

/* ---------- countdown strip ---------- */
.countdown-strip {
  background: var(--green-deep); color: #fff;
  display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: center;
  padding: 12px clamp(18px,4vw,40px); font-size: 13.5px; font-weight: 600;
}
.countdown-strip strong { color: var(--gold); font-weight: 800; }

/* ---------- hero ---------- */
.hero {
  background: var(--green-deep); color: #fff; text-align: center;
  padding: 56px clamp(20px,5vw,40px) 48px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('../img/listek_PNG.png') center / 480px no-repeat;
  opacity: .06; pointer-events: none;
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; position: relative;
  font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); background: rgba(214,180,105,.14); padding: 7px 16px; border-radius: 999px; margin-bottom: 16px;
}
.hero h1 { position: relative; font-size: clamp(26px,4vw,40px); font-weight: 800; margin: 0 0 14px; line-height: 1.15; }
.hero p { position: relative; max-width: 58ch; margin: 0 auto 26px; color: rgba(255,255,255,.82); font-size: 15px; }
.hero-actions { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- how-it-works ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step-card { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: var(--paper-tint); }
.step-card .step-num {
  width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13.5px; margin-bottom: 12px;
}
.step-card h3 { font-size: 14.5px; margin: 0 0 6px; }
.step-card p { font-size: 13px; color: #46564c; margin: 0; }

/* ---------- terminy odbioru ---------- */
.pickup-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 760px) { .pickup-grid { grid-template-columns: 1fr; } }

.pickup-card {
  border: 1px solid var(--line); border-radius: 16px; background: var(--paper);
  padding: 22px 22px 20px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
}
.pickup-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold); }
.pickup-card .pu-tag {
  align-self: flex-start; background: var(--gold); color: var(--on-gold); font-size: 10.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em; padding: 4px 11px; border-radius: 999px;
}
.pickup-card .pu-day { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--green); }
.pickup-card .pu-date { font-size: 22px; font-weight: 800; color: var(--green-ink); margin-top: -4px; }
.pickup-card .pu-time {
  display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--green-ink);
  background: var(--paper-tint); padding: 8px 12px; border-radius: 10px; width: fit-content;
}
.pickup-card .pu-time svg { width: 16px; height: 16px; stroke: var(--green); fill: none; stroke-width: 1.8; flex: none; }
.pickup-card .pu-place { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #46564c; margin-top: auto; padding-top: 4px; }
.pickup-card .pu-place svg { width: 16px; height: 16px; stroke: #7c8b7f; fill: none; stroke-width: 1.8; flex: none; margin-top: 1px; }

.section-head { margin-bottom: 26px; }
.section-head .eyebrow { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.section-head h2 { font-size: clamp(22px,3vw,28px); margin: 0 0 8px; font-weight: 800; }
.section-head p { color: #46564c; margin: 0; max-width: 62ch; }

/* ---------- lista produktów (karty poziome, pełna szerokość) ---------- */
.product-list { display: flex; flex-direction: column; gap: 26px; }

.product-card {
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--paper);
  display: grid; grid-template-columns: 380px 1fr;
}
@media (max-width: 820px) { .product-card { grid-template-columns: 1fr; } }

.pc-gallery { display: flex; flex-direction: column; gap: 4px; padding: 4px; background: var(--paper-tint); }
.pc-photo-note { font-size: 10.5px; color: #9aa79c; text-align: center; padding: 3px 4px 1px; }
.product-photo {
  aspect-ratio: 4/3; position: relative; overflow: hidden; border-radius: 14px;
  background: var(--paper); cursor: zoom-in;
}
.product-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.product-photo:hover img { transform: scale(1.035); }
.product-photo.placeholder {
  cursor: default; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px;
  background: linear-gradient(135deg, var(--green-deep), var(--green)); color: rgba(255,255,255,.8);
}
.product-photo.placeholder svg { width: 36px; height: 36px; stroke: currentColor; fill: none; stroke-width: 1.5; opacity: .85; }
.product-photo.placeholder span { font-size: 12px; font-weight: 700; }
.product-photo .ph-zoom {
  position: absolute; bottom: 10px; right: 10px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; background: rgba(6,23,14,.55); color: #fff;
  display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.product-photo .ph-zoom svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.pc-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--gold); color: var(--on-gold); font-size: 10.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px;
}
.pc-stock {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  font-size: 10.5px; font-weight: 800; letter-spacing: .02em;
  padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--green-ink);
}
.pc-stock.low { background: var(--red); color: #fff; }
.pc-stock.out { background: #33422f; color: #fff; }

.pc-thumbs { display: grid; grid-template-columns: repeat(5,1fr); gap: 4px; }
.pc-thumb {
  aspect-ratio: 1/1; border-radius: 8px; overflow: hidden; position: relative; padding: 0;
  background: var(--paper); border: 2px solid transparent; cursor: pointer;
}
.pc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-thumb.active { border-color: var(--green); }
.pc-thumb:hover { border-color: var(--gold); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90; background: rgba(6,23,14,.92);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 88vw; max-height: 82vh; object-fit: contain; border-radius: 8px; }
.lightbox .lb-caption { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: 13px; font-weight: 600; }
.lightbox .lb-close, .lightbox .lb-nav {
  position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox .lb-close:hover, .lightbox .lb-nav:hover { background: rgba(255,255,255,.22); }
.lightbox .lb-close { top: 20px; right: 20px; width: 40px; height: 40px; }
.lightbox .lb-close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.lightbox .lb-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; }
.lightbox .lb-nav svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.lightbox .lb-prev { left: 18px; }
.lightbox .lb-next { right: 18px; }
@media (max-width: 600px) { .lightbox .lb-nav { width: 38px; height: 38px; } .lightbox .lb-prev { left: 8px; } .lightbox .lb-next { right: 8px; } }

.pc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; }
.pc-body h3 { font-size: 18px; margin: 0; font-weight: 800; }
.pc-body .pc-desc { font-size: 13.5px; color: #46564c; margin: 0; line-height: 1.55; }
.pc-specs { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.pc-specs li { font-size: 12px; color: #7c8b7f; display: flex; align-items: center; gap: 6px; }
.pc-specs li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; }
.pc-price { font-size: 19px; font-weight: 800; color: var(--green-ink); }

.size-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.size-btn {
  border: 1.5px solid var(--line); background: var(--paper); border-radius: 8px;
  padding: 6px 10px; font-size: 12.5px; font-weight: 700; cursor: pointer; color: #46564c;
}
.size-btn[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: #fff; }
.size-btn:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

.qty-row { display: flex; align-items: center; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.qty-stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-stepper button {
  width: 32px; height: 32px; border: none; background: var(--paper-tint); cursor: pointer;
  font-size: 16px; font-weight: 700; color: var(--green-ink);
}
.qty-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.qty-stepper .qty-val { width: 34px; text-align: center; font-weight: 800; font-size: 14px; }
.pc-limit { font-size: 11.5px; color: #7c8b7f; width: 100%; }
.pc-add { margin-left: auto; }

/* ---------- odliczanie do terminu zamówień ---------- */
.pc-deadline {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  background: var(--paper-tint); color: #46564c; border: 1px solid var(--line);
}
.pc-deadline svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; flex: none; }
.pc-deadline.warn { background: rgba(214,180,105,.18); color: #8a6a1f; border-color: transparent; }
.pc-deadline.urgent { background: var(--red); color: #fff; border-color: transparent; animation: pc-pulse 1.4s ease-in-out infinite; }
.pc-deadline.closed { background: #33422f; color: #fff; border-color: transparent; }
@keyframes pc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .6; } }

/* ---------- pasek koszyka (pływający, dolny) ---------- */
.cart-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--green-ink); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 22px;
  padding: 14px clamp(18px,4vw,40px); box-shadow: 0 -10px 30px rgba(6,23,14,.25);
  transform: translateY(120%); transition: transform .3s ease;
}
.cart-bar.show { transform: translateY(0); }
.cart-bar .cb-info { font-size: 13.5px; font-weight: 600; }
.cart-bar .cb-info strong { color: var(--gold); }
.cart-bar .cb-total { font-size: 16px; font-weight: 800; }
@media (max-width: 560px) { .cart-bar { gap: 12px; flex-wrap: wrap; text-align: center; justify-content: space-between; } }

.summary-card {
  border: 1px solid var(--line); border-radius: 18px; background: var(--paper-tint);
  padding: 22px;
}
.summary-card h3 { font-size: 15px; margin: 0 0 14px; font-weight: 800; }
.summary-empty { font-size: 13.5px; color: #7c8b7f; }
.summary-line { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.summary-line:last-of-type { border-bottom: none; }
.summary-line .sl-name { font-weight: 700; }
.summary-line .sl-meta { color: #7c8b7f; font-size: 12px; display: block; }
.summary-line .sl-remove { background: none; border: none; color: var(--red); font-size: 12px; font-weight: 700; cursor: pointer; padding: 0; margin-top: 2px; }
.summary-total { display: flex; justify-content: space-between; font-size: 16px; font-weight: 800; padding-top: 14px; margin-top: 6px; border-top: 2px solid var(--line); }

/* ---------- form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 700; color: #33422f; }
.field input, .field select {
  padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 14px; background: var(--paper); color: var(--green-ink);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,129,54,.12); }
.field.invalid input { border-color: var(--red); }
.field-error { font-size: 11.5px; color: var(--red); min-height: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: #46564c; }
.consent input { margin-top: 3px; }

/* ---------- pickup / info box ---------- */
.info-box {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 12px;
  background: var(--paper-tint); padding: 16px 18px; font-size: 13.5px; color: #33422f; margin: 18px 0;
}
.info-box svg { width: 20px; height: 20px; flex: none; stroke: var(--green); fill: none; stroke-width: 1.8; margin-top: 1px; }
.info-box.warn { border-left-color: var(--gold); }
.info-box.warn svg { stroke: #a4841f; }

/* ---------- confirmation page ---------- */
.confirm-hero { text-align: center; padding: 60px 20px 20px; }
.confirm-icon {
  width: 68px; height: 68px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.confirm-icon svg { width: 34px; height: 34px; stroke: #fff; fill: none; stroke-width: 2.4; }
.confirm-icon.pending { background: var(--gold); color: var(--on-gold); }
.confirm-icon.pending svg { stroke: var(--on-gold); }
.confirm-icon.cancelled { background: var(--red); }
.confirm-hero h1 { font-size: clamp(22px,3vw,30px); margin: 0 0 10px; }
.confirm-hero p { max-width: 52ch; margin: 0 auto; color: #46564c; }

.order-recap { border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin: 30px auto; max-width: 560px; text-align: left; }
.order-recap h3 { font-size: 14.5px; margin: 0 0 12px; }
.order-recap dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: 13.5px; }
.order-recap dt { color: #7c8b7f; font-weight: 600; }
.order-recap dd { margin: 0; font-weight: 700; text-align: right; }

/* ---------- footer ---------- */
.site-footer { background: var(--green-ink); color: rgba(255,255,255,.7); padding: 30px clamp(18px,4vw,40px); font-size: 12.5px; text-align: center; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer .admin-link { display: block; margin-top: 10px; color: rgba(255,255,255,.35); font-size: 11.5px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 80;
  background: var(--green-ink); color: #fff; padding: 13px 22px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; box-shadow: 0 14px 30px rgba(6,23,14,.3);
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- admin panel ---------- */
body.panel { background: var(--paper-tint); }
.panel-shell { display: flex; min-height: 100vh; }
.panel-side {
  width: 220px; flex: none; background: var(--green-ink); color: rgba(255,255,255,.8);
  padding: 22px 16px; display: flex; flex-direction: column; gap: 4px;
}
.panel-side .brand { color: #fff; margin-bottom: 18px; }
.panel-side .brand .brand-text span { color: var(--gold); }
.panel-nav-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  text-decoration: none; color: rgba(255,255,255,.75); font-size: 13.5px; font-weight: 600; cursor: pointer; border: none; background: none; text-align: left; width: 100%;
}
.panel-nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.panel-nav-item.active { background: var(--green); color: #fff; }
.panel-main { flex: 1; padding: 28px clamp(18px,3vw,40px); min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.panel-head h1 { font-size: 21px; margin: 0; }
.panel-head p { margin: 4px 0 0; color: #7c8b7f; font-size: 13px; }
.panel-view { display: none; }
.panel-view.active { display: block; }

.panel-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin-bottom: 20px; }
.panel-card h2 { font-size: 15px; margin: 0 0 4px; }
.panel-card .hint { font-size: 12.5px; color: #7c8b7f; margin: 0 0 16px; }

.stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 22px; }
@media (max-width: 900px) { .stat-row { grid-template-columns: repeat(2,1fr); } }
.stat-tile { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.stat-tile .st-label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #7c8b7f; }
.stat-tile .st-val { font-size: 24px; font-weight: 800; margin-top: 4px; }

/* ---------- wykresy słupkowe (statystyki sprzedaży) ---------- */
.chart-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin-bottom: 20px; }
.chart-card h2 { font-size: 15px; margin: 0 0 18px; }
.bar-row { margin-bottom: 16px; }
.bar-row:last-child { margin-bottom: 0; }
.bar-row-label { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.bar-row-label .draft-tag { font-weight: 600; color: #7c8b7f; font-size: 11px; text-transform: uppercase; }
.bar-row-label .nums { color: #46564c; font-weight: 600; }
.bar-track { height: 16px; border-radius: 999px; background: var(--paper-tint); overflow: hidden; border: 1px solid var(--line); }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--green), var(--green-deep)); border-radius: 999px 0 0 999px; transition: width .4s ease; }

table.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
table.admin-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #7c8b7f; padding: 8px 10px; border-bottom: 2px solid var(--line); }
table.admin-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.admin-table tr:last-child td { border-bottom: none; }
table.admin-table input[type="number"], table.admin-table input[type="text"] {
  width: 72px; padding: 6px 8px; border: 1.5px solid var(--line); border-radius: 7px; font-size: 13px;
}
table.admin-table input.wide { width: 100%; min-width: 160px; }
.status-pill { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.status-pill.pending { background: rgba(214,180,105,.2); color: #8a6a1f; }
.status-pill.confirmed { background: rgba(0,129,54,.14); color: var(--green); }
.status-pill.cancelled { background: rgba(227,6,19,.1); color: var(--red); }
.row-actions { display: flex; gap: 6px; }
.icon-btn {
  width: 30px; height: 30px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--paper);
  cursor: pointer; display: flex; align-items: center; justify-content: center; color: #46564c;
}
.icon-btn:hover { border-color: var(--green); color: var(--green); }
.icon-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; }

.pickup-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.pickup-item { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 13.5px; }
.pickup-item .pi-date { font-weight: 800; }
.pickup-item .pi-remove { margin-left: auto; background: none; border: none; color: var(--red); cursor: pointer; font-size: 12px; font-weight: 700; }
.add-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.add-row .field { flex: 1; min-width: 140px; }

.table-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }

/* ---------- modal: potwierdzenie zamówienia + podgląd maila ---------- */
.confirm-overlay {
  position: fixed; inset: 0; z-index: 70; background: rgba(6,23,14,.6);
  display: flex; align-items: flex-start; justify-content: center;
  overflow-y: auto; padding: 40px 16px;
}
.confirm-overlay[hidden] { display: none; }
.confirm-modal {
  background: var(--paper); border-radius: 20px; max-width: 560px; width: 100%;
  padding: 30px clamp(20px,4vw,34px) 34px; position: relative;
}
.confirm-modal .cm-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 16px; color: #46564c;
}
.confirm-modal h2 { font-size: 19px; margin: 0 0 6px; }
.confirm-modal .cm-sub { color: #46564c; font-size: 13.5px; margin: 0 0 20px; }
.mail-preview { border: 1px dashed var(--line); border-radius: 14px; padding: 18px 20px; background: var(--paper-tint); }
.mail-preview .mp-label { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #7c8b7f; margin-bottom: 10px; }
.mail-preview .mp-subject { font-weight: 800; font-size: 14px; margin-bottom: 10px; }
.mail-preview .mp-body { font-size: 13px; color: #33422f; line-height: 1.6; }
.mail-preview .mp-body ul { margin: 8px 0; padding-left: 18px; list-style: disc; }
.mail-preview .mp-cta {
  display: inline-flex; margin-top: 14px; background: var(--green); color: #fff; text-decoration: none;
  padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 13.5px;
}
.mail-note { font-size: 11.5px; color: #7c8b7f; margin-top: 12px; text-align: center; }
