/* ========================================
   Legal / info pages (public)
   Style dopasowane do szablonu "modern" QR menu.
   ======================================== */

:root {
    --lp-bg: #f6f7fb;
    --lp-card: #ffffff;
    --lp-text: #111827;
    --lp-muted: #6b7280;
    --lp-border: rgba(17, 24, 39, 0.08);
    --lp-primary: #2563eb;
    --lp-accent: #667eea;
    --lp-today-bg: #eef2ff;
    --lp-today-border: rgba(102, 126, 234, 0.35);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--lp-text);
    background: var(--lp-bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

/* --- Layout --- */
.lp-wrap {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 14px 40px;
}

/* --- Topbar --- */
.lp-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
}
.lp-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--lp-muted);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.12s ease;
}
.lp-back:hover { color: var(--lp-text); }

/* --- Header z logo/nazwą --- */
.lp-header {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--lp-card);
    border: 1px solid var(--lp-border);
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.04);
}
.lp-header__logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}
.lp-header__text { flex: 1; min-width: 0; }
.lp-header__title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.25;
}
.lp-header__subtitle {
    margin: 3px 0 0;
    font-size: 0.85rem;
    color: var(--lp-muted);
    font-weight: 500;
}

/* --- Card --- */
.lp-card {
    background: var(--lp-card);
    border: 1px solid var(--lp-border);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.05);
    padding: 20px 18px;
}

/* --- Tytuł i podtytuł (strony regulamin/polityka bez headera) --- */
.lp-title {
    margin: 0 0 6px;
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1.25;
}
.lp-subtitle {
    margin: 0 0 16px;
    color: var(--lp-muted);
    font-size: 0.88rem;
}

/* --- Sekcje --- */
.lp-section {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--lp-border);
}
.lp-section--first {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.lp-sectionTitle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--lp-text);
}
.lp-sectionTitle__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--lp-accent);
}

/* --- Siatka kontaktowa (o_nas) --- */
.lp-contactGrid {
    display: grid;
    gap: 8px;
}
.lp-contactCard {
    background: #f8f9fc;
    border-radius: 12px;
    padding: 12px 14px;
}
.lp-contactCard__label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--lp-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.lp-contactCard__value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--lp-text);
}
.lp-contactCard__value a {
    color: var(--lp-primary);
    text-decoration: none;
}
.lp-contactCard__value a:hover { text-decoration: underline; }

/* --- Dane klucz-wartość (regulamin/polityka) --- */
.lp-kv {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 6px 12px;
    margin: 10px 0 0;
    padding: 12px 14px;
    background: #f8f9fc;
    border-radius: 12px;
}
.lp-k {
    color: var(--lp-muted);
    font-weight: 700;
    font-size: 0.88rem;
}
.lp-v {
    font-weight: 700;
    font-size: 0.92rem;
    word-break: break-word;
}
.lp-v a {
    color: var(--lp-primary);
    text-decoration: none;
}
.lp-v a:hover { text-decoration: underline; }

/* --- Lista (regulamin/polityka) --- */
.lp-list {
    margin: 8px 0 0;
    padding-left: 20px;
    line-height: 1.65;
}
.lp-list li {
    margin-bottom: 6px;
    font-size: 0.93rem;
}
.lp-list li:last-child { margin-bottom: 0; }

/* --- Tekst wyciszony --- */
.lp-muted {
    color: var(--lp-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* --- Godziny otwarcia --- */
.lp-hours {
    margin-top: 8px;
    display: grid;
    gap: 6px;
}
.lp-hourRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid var(--lp-border);
    border-radius: 12px;
    background: #fafbff;
    transition: background 0.12s ease, border-color 0.12s ease;
}
.lp-hourRow--today {
    background: var(--lp-today-bg);
    border-color: var(--lp-today-border);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.08);
}
.lp-hourDay {
    font-weight: 800;
    font-size: 0.93rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.lp-hourDay__badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    background: var(--lp-accent);
    border-radius: 6px;
    padding: 1px 7px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.lp-hourVal {
    font-weight: 700;
    color: var(--lp-text);
    font-size: 0.93rem;
    text-align: right;
}

/* --- Akapit info (sekcje regulamin/polityka) --- */
.lp-infoText {
    margin: 10px 0 0;
    color: var(--lp-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* --- Responsywność --- */
@media (max-width: 560px) {
    .lp-kv { grid-template-columns: 1fr; gap: 4px 0; }
    .lp-k { margin-top: 4px; }
    .lp-header { padding: 14px; }
    .lp-card { padding: 16px 14px; }
}
