/* Portal lunchowy (lunch.sala-bankietowa.com): butelkowa zieleń, złoto, biel. Najpierw telefon, potem tablet i komputer. */
:root {
  --zielen: #0f3b2e; --zielen-ciemna: #0a2a20; --zielen-jasna: #e7f0ea; --zloto: #c9a24b; --zloto-jasne: #f3dc9a;
  --zloto-ciemne: #8f6a22; --bialy: #ffffff; --krem: #faf7f0; --linia: #e6dfcf; --tekst: #1d1f1c; --tekst-2: #5f6660;
  --czerwony: #a63d2d; --czerwony-tlo: #fbece8; --cien: 0 10px 30px rgba(10, 42, 32, .10);
  --szeryf: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.portal { margin: 0; background: var(--krem); color: var(--tekst);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: var(--zloto-ciemne); }
img { max-width: 100%; }

.p-naglowek { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; background: var(--zielen-ciemna); color: var(--bialy); border-bottom: 2px solid var(--zloto); }
.p-marka { display: flex; align-items: center; gap: 10px; color: var(--bialy); text-decoration: none; }
.p-marka strong { display: block; font: 600 1.25rem/1 var(--szeryf); color: var(--zloto-jasne); letter-spacing: .02em; }
.p-marka small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.p-nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.p-nav a { color: var(--bialy); text-decoration: none; padding: 8px 10px; border-radius: 999px; font-size: .92rem; }
.p-nav a:hover, .p-nav a.p-aktywny { background: rgba(255, 255, 255, .1); }
.p-nav .p-nav-firma { border: 1px solid var(--zloto); color: var(--zloto-jasne); }
@media (max-width: 520px) { .p-marka small { display: none; } .p-nav a { padding: 6px 8px; font-size: .85rem; } }

.p-tresc { max-width: 880px; margin: 0 auto; padding: 16px 16px 40px; }
.p-stopka { background: var(--zielen-ciemna); color: #d9e4dc; text-align: center; padding: 20px 16px; font-size: .88rem; }
.p-stopka a { color: var(--zloto-jasne); }
.p-stopka p { margin: 4px 0; }

.p-hero { margin: 0 -16px 24px; padding: 32px 20px 28px; text-align: center; color: var(--bialy);
  background: radial-gradient(120% 90% at 50% 0%, #1a5a45 0%, var(--zielen) 45%, var(--zielen-ciemna) 100%);
  border-bottom: 3px solid var(--zloto); }
.p-hero-logo { width: 88px; height: 88px; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .35)); }
.p-hero h1 { margin: 10px 0 8px; font: 600 2.2rem/1.1 var(--szeryf); color: var(--zloto-jasne); }
.p-lead { margin: 0 auto 16px; max-width: 560px; color: inherit; opacity: .92; }
.p-tresc > .p-lead { color: var(--tekst-2); opacity: 1; margin-left: 0; }
.p-cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.p-ogloszenie { margin: 16px auto 0; max-width: 560px; padding: 10px 14px; border: 1px solid var(--zloto); border-radius: 12px;
  background: rgba(201, 162, 75, .14); }
@media (min-width: 720px) { .p-hero { margin: 0 0 28px; border-radius: 0 0 28px 28px; padding: 48px 32px 40px; } .p-hero h1 { font-size: 3rem; } }

.p-przycisk { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 22px; border-radius: 999px;
  border: 0; font: 700 1rem/1 inherit; letter-spacing: .03em; text-decoration: none; cursor: pointer; }
.p-przycisk-duzy { min-height: 56px; padding: 16px 28px; font-size: 1.08rem; }
.p-przycisk-zloty { background: linear-gradient(135deg, var(--zloto-jasne), var(--zloto) 55%, var(--zloto-ciemne)); color: var(--zielen-ciemna);
  box-shadow: 0 6px 18px rgba(143, 106, 34, .35); }
.p-przycisk-zloty:hover { filter: brightness(1.05); }
.p-przycisk-obrys { background: transparent; color: var(--zielen); border: 2px solid var(--zloto); }
.p-hero .p-przycisk-obrys { color: var(--zloto-jasne); }
.p-przycisk-zielony { background: var(--zielen); color: var(--bialy); }
.p-przycisk-maly { min-height: 36px; padding: 8px 14px; font-size: .88rem; }
.p-przycisk:disabled { opacity: .5; cursor: not-allowed; }

.p-sekcja, .p-tytul { font: 600 1.8rem/1.2 var(--szeryf); color: var(--zielen); margin: 24px 0 10px; }
.p-tytul { margin-top: 8px; }
.p-srodek { text-align: center; }
.p-drobny { font-size: .86rem; color: var(--tekst-2); margin: 4px 0; }
.p-brak { padding: 18px; border-radius: 14px; background: var(--bialy); border: 1px dashed var(--linia); text-align: center; color: var(--tekst-2); font-weight: 600; }

.p-dzien { background: var(--bialy); border-radius: 20px; padding: 18px; box-shadow: var(--cien); border-top: 4px solid var(--zloto); margin: 12px 0 20px; }
.p-dzien-data { margin: 0 0 12px; font-weight: 700; color: var(--zloto-ciemne); }
.p-zdjecie { display: block; width: 100%; max-height: 320px; object-fit: cover; border-radius: 14px; margin-bottom: 14px; }
.p-zestaw { padding: 12px 0; border-top: 1px solid var(--linia); }
.p-zestaw:first-of-type { border-top: 0; padding-top: 0; }
.p-zestaw-gora { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.p-zestaw h3 { margin: 0; font: 600 1.35rem/1.2 var(--szeryf); color: var(--zielen); }
.p-cena { margin: 0; font-weight: 800; font-size: 1.3rem; color: var(--zielen-ciemna); white-space: nowrap; }
.p-etykieta { margin: 8px 0 0; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tekst-2); }
.p-pozycja { margin: 2px 0 0; font: 600 1.15rem/1.3 var(--szeryf); }
.p-pozycja-mala { font-size: 1rem; }
.p-limit { color: var(--zloto-ciemne); font-weight: 600; }
.p-dostepnosc { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: 14px;
  padding: 12px 14px; border-radius: 14px; font-weight: 600; }
.p-dostepnosc.p-otwarte { background: var(--zielen-jasna); color: var(--zielen); }
.p-dostepnosc.p-zamkniete { background: #f3efe5; color: var(--tekst-2); }

.p-dni { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.p-dni a, .p-dni .p-dzien-zamk { display: block; padding: 12px 14px; border-radius: 14px; background: var(--bialy); text-decoration: none;
  color: var(--tekst); border: 1px solid var(--linia); }
.p-dni .p-otwarte a { border-color: var(--zielen); }
.p-dni .p-otwarte a:hover { background: var(--zielen-jasna); }
.p-dni strong { display: block; color: var(--zielen); }
.p-dni span span, .p-dni a span { font-size: .84rem; color: var(--tekst-2); }
.p-dni .p-zamkniete { opacity: .7; }

.p-miesiac-nav { display: flex; align-items: center; justify-content: space-between; margin: 8px 0; }
.p-miesiac-nav a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--zloto);
  text-decoration: none; font-size: 1.4rem; color: var(--zielen); background: var(--bialy); }
.p-kalendarz { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.p-kalendarz th { font-size: .8rem; font-weight: 600; color: var(--tekst-2); }
.p-kalendarz td { text-align: center; height: 46px; border-radius: 10px; font-variant-numeric: tabular-nums; }
.p-kalendarz td a { display: grid; place-items: center; height: 100%; color: inherit; text-decoration: none; font-weight: 700; }
.p-kalendarz .p-menu { background: var(--zielen); color: var(--bialy); }
.p-kalendarz .p-pusty { background: #efeadf; color: var(--tekst-2); }
.p-kalendarz .p-wolny-dzien { color: #b9b3a6; }
.p-kalendarz .p-wybrany { outline: 3px solid var(--zloto); outline-offset: 1px; }
.p-kalendarz .p-dzis a { text-decoration: underline; text-decoration-color: var(--zloto); text-underline-offset: 4px; }
.p-legenda { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--tekst-2); }
.p-znak { display: inline-block; width: 14px; height: 14px; border-radius: 4px; background: var(--zielen); }

.p-kroki { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; counter-reset: krok; flex-wrap: wrap; }
.p-kroki li { counter-increment: krok; padding: 6px 12px; border-radius: 999px; background: #efeadf; color: var(--tekst-2); font-size: .86rem; }
.p-kroki li::before { content: counter(krok) ". "; }
.p-kroki .p-aktywny { background: var(--zielen); color: var(--bialy); }

.p-formularz { display: grid; gap: 14px; }
.p-formularz fieldset { margin: 0; border: 1px solid var(--linia); border-radius: 16px; padding: 14px; background: var(--bialy); display: grid; gap: 10px; }
.p-formularz legend { padding: 0 6px; font: 600 1.2rem/1 var(--szeryf); color: var(--zielen); }
.p-formularz label { display: grid; gap: 4px; font-weight: 600; font-size: .92rem; }
.p-formularz input, .p-formularz select, .p-formularz textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--linia);
  border-radius: 12px; font: inherit; font-weight: 400; background: var(--bialy); color: inherit; }
.p-formularz input:focus, .p-formularz select:focus { outline: 3px solid rgba(201, 162, 75, .5); border-color: var(--zloto); }
.p-formularz .p-radio, .p-zgoda { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; }
.p-formularz .p-radio input, .p-zgoda input { width: 22px; min-height: 22px; height: 22px; margin-top: 2px; accent-color: var(--zielen); flex: none; }
.p-zgoda small { display: block; font-weight: 400; color: var(--tekst-2); margin-top: 4px; }
.p-wybor-zestawu { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--linia); }
.p-wybor-zestawu:last-child { border-bottom: 0; }
.p-ilosc { width: 96px; flex: none; }
.p-pulapka { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.p-komunikat { padding: 10px 14px; border-radius: 12px; margin: 0 0 12px; background: var(--zielen-jasna); color: var(--zielen); font-weight: 600; }
.p-komunikat-blad { background: var(--czerwony-tlo); color: var(--czerwony); }

.p-podsumowanie { background: var(--bialy); border-radius: 20px; padding: 18px; box-shadow: var(--cien); border-top: 4px solid var(--zloto); }
.p-podsumowanie h2 { font: 600 1.4rem/1.2 var(--szeryf); color: var(--zielen); margin: 6px 0 12px; }
.p-tabela { width: 100%; border-collapse: collapse; margin: 8px 0 14px; font-variant-numeric: tabular-nums; }
.p-tabela td, .p-tabela th { padding: 9px 6px; border-bottom: 1px solid var(--linia); text-align: left; vertical-align: top; }
.p-tabela td:last-child, .p-tabela th:last-child { text-align: right; white-space: nowrap; }
.p-tabela .p-razem td { font-weight: 800; font-size: 1.1rem; color: var(--zielen-ciemna); border-bottom: 0; }
.p-dane { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0 0 14px; }
.p-dane dt { color: var(--tekst-2); }
.p-dane dd { margin: 0; font-weight: 600; }
.p-status { display: inline-block; margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--zielen-jasna); color: var(--zielen); font-weight: 700; }
.p-status-anul { background: var(--czerwony-tlo); color: var(--czerwony); }
.p-numer { font: 600 2.2rem/1.1 var(--szeryf); color: var(--zielen); margin: 10px 0 4px; letter-spacing: .02em; }

/* panel firmy */
.p-karta { background: var(--bialy); border-radius: 18px; padding: 16px; box-shadow: var(--cien); margin: 0 0 16px; }
.p-karta h2 { font: 600 1.35rem/1.2 var(--szeryf); color: var(--zielen); margin: 0 0 10px; }
.p-kafle { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 16px; }
.p-kafel { background: var(--zielen); color: var(--bialy); border-radius: 16px; padding: 14px; }
.p-kafel strong { display: block; font: 600 1.8rem/1.1 var(--szeryf); color: var(--zloto-jasne); }
.p-kafel span { font-size: .84rem; opacity: .9; }
.p-dni-firmy { display: grid; gap: 10px; }
.p-dzien-firmy { border: 1px solid var(--linia); border-radius: 16px; padding: 12px; background: var(--bialy); }
.p-dzien-firmy.p-zamk { background: #f6f3ec; }
.p-dzien-firmy header { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; flex-wrap: wrap; margin-bottom: 6px; }
.p-dzien-firmy header strong { color: var(--zielen); font-size: 1.05rem; }
.p-dzien-firmy .p-linie { display: grid; gap: 6px; }
.p-dzien-firmy .p-linia { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.p-dzien-firmy .p-linia input { width: 96px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--linia); border-radius: 12px; font: inherit;
  font-size: 1.1rem; text-align: center; }
.p-dzien-firmy .p-opcje-dnia { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 8px; font-size: .9rem; }
.p-dzien-firmy .p-opcje-dnia label { display: flex; gap: 6px; align-items: center; }
.p-znacznik { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: #efeadf; color: var(--tekst-2); }
.p-znacznik-ok { background: var(--zielen-jasna); color: var(--zielen); }
.p-znacznik-uwaga { background: #fbf1dc; color: var(--zloto-ciemne); }
.p-pasek { position: sticky; bottom: 0; padding: 12px 0; background: linear-gradient(transparent, var(--krem) 35%); display: flex; justify-content: flex-end; gap: 10px; }
.p-tabela-wrap { overflow-x: auto; }
.p-zakladki { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 16px; }
.p-zakladki a { padding: 8px 14px; border-radius: 999px; background: var(--bialy); border: 1px solid var(--linia); color: var(--zielen); text-decoration: none; font-weight: 600; font-size: .92rem; }
.p-zakladki a.p-aktywny { background: var(--zielen); color: var(--bialy); border-color: var(--zielen); }
.p-logowanie { max-width: 420px; margin: 24px auto; }
.ukryte { display: none !important; }
