@font-face {
    font-family: 'Potykacz';
    src: url('/assets/font/potykacz.ttf') format('truetype');
    font-display: swap;
}

:root {
    --bg: #f7f3ea;
    --surface: #fffdf8;
    --surface-alt: #efe5d6;
    --text: #2b241d;
    --muted: #75695d;
    --accent: #87927b;
    --accent-dark: #65705d;
    --brown: #9a6f55;
    --line: #ded3c4;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
}

.site {
    width: min(1280px, calc(100% - 32px));
    margin: 24px auto;
    overflow: clip;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 18px 50px rgba(55, 40, 25, 0.10);
}

.layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    min-height: 100vh;
}

.content {
    min-width: 0;
    padding: 56px 64px;
}

.sidebar {
    padding: 32px 24px;
    border-left: 1px solid var(--line);
    background: #faf7f1;
}

.logo {
    display: block;
    width: min(100%, 245px);
    margin: 0 auto 30px;
}

.nav {
    display: grid;
    gap: 8px;
    margin: 0 0 28px;
    padding: 0;
}

.nav a {
    display: block;
    padding: 11px 13px;
    border-radius: 10px;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
    background: var(--surface-alt);
    color: var(--accent-dark);
    outline: none;
}

.page-title {
    margin: 0 0 28px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
}

.info {
    max-width: 760px;
    margin-bottom: 32px;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.55;
}

.menu-day {
    margin-bottom: 26px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 8px 20px rgba(55, 40, 25, 0.05);
}

.menu-day h2 {
    margin: 0;
    padding: 12px 16px;
    background: var(--accent);
    color: white;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.menu-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    padding: 13px 16px;
    border-top: 1px solid #eee6dc;
    line-height: 1.4;
}

.menu-row:nth-child(even) {
    background: #fbf7f0;
}

.menu-row .price {
    align-self: center;
    color: var(--brown);
    font-weight: 700;
    white-space: nowrap;
}

.soup {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 14px;
}

.notice-board {
    position: relative;
    width: 100%;
    min-height: 350px;
    margin-top: 18px;
    background: url('/assets/img/potykacz.png') center / contain no-repeat;
}

.notice-board-content {
    position: absolute;
    inset: 34px 30px 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 12px;
    font-family: 'Potykacz', cursive;
    color: white;
    text-align: center;
    line-height: 1.25;
}

.notice-board-content p {
    margin: 5px 0;
    font-size: 18px;
}

.notice-board-content p:first-child {
    margin-bottom: 74px;
}

.ticker {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto 24px;
    overflow: hidden;
    padding: 10px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--text);
    background: var(--surface);
    white-space: nowrap;
    font-size: 22px;
}

.ticker span {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@media (min-width: 901px) {
    .sidebar {
        position: sticky;
        top: 0;
        align-self: start;
        min-height: 100vh;
    }
}

@media (max-width: 900px) {
    .site {
        width: min(100% - 20px, 760px);
        margin: 10px auto;
        border-radius: 14px;
    }

    .layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .content {
        order: 2;
        padding: 30px 20px;
    }

    .sidebar {
        order: 1;
        border-left: 0;
        border-bottom: 1px solid var(--line);
    }

    .nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .notice-board {
        max-width: 300px;
        margin: 20px auto 0;
    }

    .ticker {
        width: min(100% - 20px, 760px);
        font-size: 18px;
    }
}

@media (max-width: 560px) {
    .nav {
        grid-template-columns: 1fr;
    }

    .menu-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .menu-row .price {
        justify-self: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker {
        white-space: normal;
        text-align: center;
    }

    .ticker span {
        padding-left: 0;
        animation: none;
    }
}

.category-info {
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    background: var(--surface-alt);
    color: var(--muted);
    line-height: 1.5;
}

.pizza-name {
    font-weight: 700;
}

.pizza-ingredients {
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.pizza-row .price {
    align-self: start;
}

@media (max-width: 560px) {
    .pizza-row .price {
        margin-top: 2px;
    }
}

.about-hero {
    margin-bottom: 34px;
}

.about-kicker {
    margin: 0 0 10px;
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-lead {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.6;
}

.about-text {
    max-width: 820px;
    margin-bottom: 36px;
    font-size: 17px;
    line-height: 1.75;
}

.about-text p {
    margin: 0 0 18px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 34px;
}

.about-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 8px 20px rgba(55, 40, 25, 0.05);
}

.about-card h2 {
    margin: 0 0 10px;
    color: var(--accent-dark);
    font-size: 19px;
}

.about-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.about-closing {
    padding: 20px 24px;
    border-left: 4px solid var(--accent);
    border-radius: 10px;
    background: var(--surface-alt);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
}

.about-closing p {
    margin: 0;
}

@media (max-width: 760px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-lead {
        font-size: 18px;
    }
}

/* Uporządkowanie typografii i strony O firmie */

body,
button,
input,
textarea,
select {
    font-family:
        Inter,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
}

.content {
    font-size: 16px;
    line-height: 1.65;
}

.page-title {
    margin: 0 0 22px;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.about-hero {
    max-width: 820px;
    margin-bottom: 30px;
}

.about-kicker {
    margin: 0 0 12px;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.about-lead {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.6;
}

.about-text {
    max-width: 820px;
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.75;
}

.about-text p {
    margin: 0 0 16px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 30px;
}

.about-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fffdf8;
    box-shadow: none;
}

.about-card h2 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.about-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.about-closing {
    max-width: 820px;
    padding: 18px 22px;
    border: 0;
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    background: var(--surface-alt);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}

.about-closing p {
    margin: 0;
}

.nav a {
    font-size: 15px;
    font-weight: 600;
}

.notice-board-content {
    font-family: "Potykacz", cursive;
}

@media (max-width: 760px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-lead {
        font-size: 17px;
    }

    .page-title {
        font-size: 34px;
    }
}

.about-hero,
.about-text,
.about-closing {
    max-width: 780px;
}

.contact-header {
    max-width: 760px;
    margin-bottom: 34px;
}

.contact-kicker {
    margin: 0 0 12px;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.contact-lead {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 820px;
    margin-bottom: 28px;
}

.contact-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.contact-card h2,
.contact-callout h2 {
    margin: 0 0 14px;
    font-size: 20px;
}

.contact-card address {
    font-style: normal;
    line-height: 1.75;
}

.contact-card p {
    margin: 0;
}

.contact-phone {
    color: var(--accent-dark);
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
}

.contact-phone:hover,
.contact-phone:focus-visible {
    text-decoration: underline;
}

.contact-note {
    margin-top: 14px !important;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.contact-callout {
    max-width: 820px;
    padding: 22px 24px;
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    background: var(--surface-alt);
}

.contact-callout p {
    margin: 0;
    line-height: 1.7;
}

@media (max-width: 650px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.home-hero {
    max-width: 760px;
    margin-bottom: 40px;
}

.home-kicker {
    margin: 0 0 12px;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-lead {
    max-width: 680px;
    margin: 0 0 26px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.6;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
}

.button-primary {
    background: var(--accent);
    color: white;
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--accent-dark);
}

.button-secondary {
    border: 1px solid var(--line);
    color: var(--text);
    background: var(--surface);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: var(--surface-alt);
}

.home-panel {
    max-width: 760px;
    margin-bottom: 30px;
    padding: 22px 24px;
    border-left: 3px solid var(--accent);
    border-radius: 10px;
    background: var(--surface-alt);
}

.home-panel h2 {
    margin: 0 0 12px;
    font-size: 20px;
}

.home-panel p {
    margin: 6px 0;
    line-height: 1.6;
}

.home-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 820px;
}

.home-features article {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.home-features h2 {
    margin: 0 0 8px;
    font-size: 18px;
}

.home-features p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

@media (max-width: 760px) {
    .home-features {
        grid-template-columns: 1fr;
    }
}

.home-logo {
    display: block;
    width: min(100%, 520px);
    height: auto;
    margin: 0 0 34px;
}

/* Korekta tekstu na potykaczu */

.notice-board-content {
    inset: 46px 26px 78px;
    justify-content: flex-start;
    padding-top: 0;
    overflow: hidden;
    line-height: 1.12;
}

.notice-board-content p {
    margin: 3px 0;
    font-size: 15px;
}

.notice-board-content p:first-child {
    margin-bottom: 48px;
    font-size: 14px;
}

.notice-board-content p:nth-child(2) {
    margin-bottom: 10px;
}

@media (max-width: 900px) {
    .notice-board-content {
        inset: 44px 24px 72px;
    }

    .notice-board-content p {
        font-size: 14px;
    }

    .notice-board-content p:first-child {
        font-size: 13px;
        margin-bottom: 42px;
    }
}

.nav a.active {
    background: var(--surface-alt);
    color: var(--accent-dark);
}

.nav a.active::before {
    content: "•";
    margin-right: 8px;
    color: var(--accent);
}

.sidebar .nav a.active {
    background: var(--surface-alt);
    color: var(--accent-dark);
    font-weight: 700;
    box-shadow: inset 3px 0 0 var(--accent);
}

.admin-login {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 20px;
}

.admin-login-box {
    width: min(100%, 420px);
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 18px 50px rgba(55, 40, 25, 0.10);
}

.admin-login-box h1 {
    margin: 0 0 24px;
}

.admin-login-box label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.admin-login-box input {
    width: 100%;
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
}

.admin-login-box button {
    width: 100%;
    padding: 12px 16px;
    border: 0;
    border-radius: 10px;
    color: white;
    background: var(--accent);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.admin-error {
    padding: 10px 12px;
    border-radius: 8px;
    color: #7a1f1f;
    background: #f8dddd;
}

.admin-page {
    width: min(1100px, calc(100% - 32px));
    margin: 32px auto;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.admin-header h1 {
    margin: 0;
}

.admin-header p {
    margin: 6px 0 0;
    color: var(--muted);
}

.admin-header a {
    color: var(--accent-dark);
    font-weight: 700;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-grid a {
    display: grid;
    gap: 8px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--text);
    background: var(--surface);
    text-decoration: none;
}

.admin-grid a:hover {
    background: var(--surface-alt);
}

.admin-grid strong {
    font-size: 20px;
}

.admin-grid span {
    color: var(--muted);
}

@media (max-width: 700px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }
}

.admin-top-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.admin-top-nav a {
    color: var(--accent-dark);
    font-weight: 700;
}

.admin-success {
    padding: 12px 14px;
    border-radius: 9px;
    color: #294b2c;
    background: #dcebdc;
}

.admin-date-form,
.admin-form {
    max-width: 760px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

.admin-date-form {
    display: flex;
    align-items: end;
    gap: 12px;
    margin-bottom: 20px;
}

.admin-form {
    display: grid;
    gap: 10px;
}

.admin-form-heading {
    margin-bottom: 10px;
}

.admin-form-heading h2,
.admin-form-heading p {
    margin: 0;
}

.admin-form-heading p,
.admin-help {
    color: var(--muted);
}

.admin-form label,
.admin-date-form label {
    font-weight: 700;
}

.admin-form input,
.admin-form textarea,
.admin-date-form input {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: white;
    font: inherit;
}

.admin-form textarea {
    resize: vertical;
}

.admin-form button,
.admin-date-form button {
    width: fit-content;
    margin-top: 10px;
    padding: 11px 18px;
    border: 0;
    border-radius: 9px;
    color: white;
    background: var(--accent);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.admin-date-form button {
    margin-top: 0;
    white-space: nowrap;
}

.admin-form button:hover,
.admin-date-form button:hover {
    background: var(--accent-dark);
}

@media (max-width: 650px) {
    .admin-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-date-form {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-date-form button {
        width: 100%;
    }
}

.admin-date-navigation {
    display: grid;
    grid-template-columns: auto minmax(280px, 420px) auto;
    align-items: end;
    gap: 18px;
    margin-bottom: 26px;
}

.admin-date-navigation > a {
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--accent-dark);
    background: var(--surface);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.admin-date-navigation form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.admin-date-navigation label {
    grid-column: 1 / -1;
    font-weight: 700;
}

.admin-date-navigation input {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 9px;
    font: inherit;
}

.admin-date-navigation button {
    padding: 11px 18px;
    border: 0;
    border-radius: 9px;
    color: white;
    background: var(--accent);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.admin-weekly-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
    align-items: start;
    gap: 24px;
}

.admin-section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.admin-section-heading h2 {
    margin: 0;
}

.admin-section-heading span {
    color: var(--muted);
}

.admin-dish-list {
    display: grid;
    gap: 12px;
}

.admin-dish-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.admin-dish-item.is-hidden {
    opacity: 0.55;
}

.admin-dish-content {
    min-width: 0;
}

.admin-dish-soup {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 14px;
}

.admin-dish-content strong {
    display: block;
    line-height: 1.45;
}

.admin-dish-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 9px;
    color: var(--muted);
    font-size: 13px;
}

.admin-dish-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px 12px;
}

.admin-dish-actions a,
.admin-link-button {
    border: 0;
    padding: 0;
    color: var(--accent-dark);
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.admin-link-button.admin-delete {
    color: #9a3030;
}

.admin-empty {
    padding: 26px;
    border: 1px dashed var(--line);
    border-radius: 12px;
    color: var(--muted);
    text-align: center;
}

.admin-dish-form {
    position: sticky;
    top: 20px;
}

.admin-checkbox {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 6px;
}

.admin-checkbox input {
    width: auto;
    margin: 0;
}

.admin-form-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.admin-form-buttons a {
    color: var(--accent-dark);
    font-weight: 700;
}

@media (max-width: 900px) {
    .admin-weekly-layout {
        grid-template-columns: 1fr;
    }

    .admin-dish-form {
        position: static;
    }
}

@media (max-width: 720px) {
    .admin-date-navigation {
        grid-template-columns: 1fr;
    }

    .admin-date-navigation form {
        grid-template-columns: 1fr;
    }

    .admin-dish-item {
        flex-direction: column;
    }

    .admin-dish-actions {
        justify-content: flex-start;
    }
}

.admin-order-button {
    display: inline-grid;
    width: 30px;
    height: 30px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--accent-dark);
    background: var(--surface);
    font: inherit;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.admin-order-button:hover,
.admin-order-button:focus-visible {
    background: var(--surface-alt);
}

/* Małe strzałki kolejności po lewej stronie pozycji */

.admin-dish-item {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
}

.admin-order-controls {
    display: grid;
    gap: 3px;
    padding-top: 1px;
}

.admin-order-controls form {
    margin: 0;
}

.admin-order-button {
    display: grid;
    width: 22px;
    height: 22px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 5px;
    color: var(--muted);
    background: var(--surface);
    font-size: 10px;
    line-height: 1;
    cursor: pointer;
}

.admin-order-button:hover,
.admin-order-button:focus-visible {
    color: var(--accent-dark);
    background: var(--surface-alt);
}

@media (max-width: 720px) {
    .admin-dish-item {
        grid-template-columns: 24px minmax(0, 1fr);
    }

    .admin-dish-actions {
        grid-column: 2;
        justify-content: flex-start;
    }
}

.admin-order-placeholder {
    display: block;
    width: 22px;
    height: 22px;
}

.admin-fixed-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.5fr);
    align-items: start;
    gap: 24px;
}

.admin-fixed-list {
    display: grid;
    gap: 20px;
}

.admin-fixed-category {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

.admin-fixed-category.is-hidden {
    opacity: 0.65;
}

.admin-fixed-category-header {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
    padding: 16px 18px;
    background: var(--surface-alt);
}

.admin-fixed-category-title h2 {
    margin: 0;
    font-size: 20px;
}

.admin-fixed-category-title span {
    color: var(--muted);
    font-size: 13px;
}

.admin-fixed-category-info {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    line-height: 1.55;
}

.admin-fixed-category .admin-dish-list {
    padding: 14px;
}

.admin-fixed-category .admin-dish-item {
    box-shadow: none;
}

.admin-empty-small {
    margin: 14px;
    padding: 18px;
}

.admin-add-dish-link {
    display: inline-block;
    margin: 0 18px 18px;
    color: var(--accent-dark);
    font-weight: 700;
}

.admin-fixed-forms {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 20px;
}

.admin-form select {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: white;
    font: inherit;
}

@media (max-width: 980px) {
    .admin-fixed-layout {
        grid-template-columns: 1fr;
    }

    .admin-fixed-forms {
        position: static;
    }
}

@media (max-width: 720px) {
    .admin-fixed-category-header {
        grid-template-columns: 24px minmax(0, 1fr);
    }

    .admin-fixed-category-header .admin-dish-actions {
        grid-column: 2;
    }
}

/* Dzisiejsze menu na stronie głównej */

.home-today-menu {
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    background: var(--surface);
}

.home-today-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    background: var(--surface-alt);
}

.home-today-heading h2 {
    margin: 3px 0 0;
    font-size: 21px;
}

.home-today-heading a {
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.home-today-kicker {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.home-today-list {
    display: grid;
}

.home-today-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    padding: 14px 22px;
    border-top: 1px solid var(--line);
}

.home-today-item:first-child {
    border-top: 0;
}

.home-today-item:nth-child(even) {
    background: #fbf7f0;
}

.home-today-soup {
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 14px;
}

.home-today-name {
    line-height: 1.45;
}

.home-today-price {
    color: var(--brown);
    font-weight: 700;
    white-space: nowrap;
}

.home-today-empty {
    margin: 0;
    padding: 22px;
    color: var(--muted);
}

@media (max-width: 560px) {
    .home-today-heading {
        flex-direction: column;
        gap: 8px;
    }

    .home-today-item {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}

.menu-day {
    scroll-margin-top: 24px;
}

.menu-day-notice {
    margin: 14px 16px;
    padding: 13px 16px;
    border-left: 4px solid var(--brown);
    border-radius: 8px;
    background: #f4e5d8;
    color: var(--text);
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.home-daily-message {
    margin: 16px 20px 0;
    padding: 13px 16px;
    border-left: 4px solid var(--brown);
    border-radius: 8px;
    background: #f4e5d8;
    color: var(--text);
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.admin-copy-dialog {
    width: min(92vw, 440px);
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.admin-copy-dialog::backdrop {
    background: rgba(30, 25, 20, 0.45);
}

.admin-copy-dialog form {
    display: grid;
    gap: 14px;
    padding: 24px;
}

.admin-copy-dialog h2,
.admin-copy-dialog p {
    margin: 0;
}

.admin-copy-dialog label {
    font-weight: 700;
}

.admin-copy-dialog input[type="date"] {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 9px;
    font: inherit;
}

.admin-copy-dialog .button-secondary {
    padding: 11px 18px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--text);
    background: var(--surface);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

/* --- lekkie doszlifowanie układu strony głównej i sidebaru --- */

.layout {
    gap: 28px;
    align-items: start;
}

.sidebar {
    gap: 14px;
}

.sidebar .logo {
    display: block;
    margin: 0 auto 14px;
}

.sidebar .nav {
    margin-bottom: 6px;
}

.notice-board {
    margin-top: 0;
    align-self: center;
}

.home-hero {
    padding-top: 8px;
}

.home-logo {
    display: block;
    margin: 0 auto 28px;
}

.home-hero .home-kicker {
    margin-top: 0;
}

/* opcjonalnie lekko zawęża treść, żeby wyglądała równiej */
.home-hero,
.home-panel,
.home-features {
    max-width: 880px;
}

/* --- ciaśniejszy układ strony --- */

.layout {
    gap: 18px;
}

.sidebar {
    gap: 8px;
}

.sidebar .logo {
    display: block;
    margin: 0 auto 8px;
}

.sidebar .nav {
    margin-bottom: 0;
}

.notice-board {
    margin-top: 0;
    align-self: center;
}

.home-logo {
    display: block;
    max-width: 560px;
    width: 100%;
    height: auto;
    margin: 0 auto 24px;
}

.home-hero {
    padding-top: 0;
}

@media (min-width: 900px) {
    .main-content {
        padding-right: 12px;
    }

    .sidebar {
        padding-left: 18px;
    }
}

/* Pasek informacyjny na całą szerokość okna */
.ticker {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
}

/* Przyciski w oknie kopiowania dania */
.admin-copy-dialog .admin-form-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 2px;
}

.admin-copy-dialog button[type="submit"] {
    padding: 11px 18px;
    border: 1px solid #87947d;
    border-radius: 9px;
    background: #87947d;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.admin-copy-dialog button[type="submit"]:hover {
    filter: brightness(0.94);
}

.admin-copy-dialog .button-secondary {
    padding: 11px 18px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

/* Potykacz: bez dodatkowej przerwy po pierwszej linii */
.notice-board-content p:first-child {
    margin-bottom: 3px;
    font-size: 15px;
}

@media (max-width: 900px) {
    .notice-board-content p:first-child {
        margin-bottom: 3px;
        font-size: 14px;
    }
}

/* Panel galerii */
.admin-gallery-list {
    display: grid;
    gap: 18px;
}

.admin-gallery-item {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.admin-gallery-item > img {
    display: block;
    width: 220px;
    height: 165px;
    border-radius: 9px;
    object-fit: cover;
}

.admin-gallery-edit {
    display: grid;
    gap: 12px;
}

.admin-gallery-edit label:not(.admin-checkbox) {
    display: grid;
    gap: 7px;
    font-weight: 700;
}

.admin-gallery-edit input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    font: inherit;
}

.admin-gallery-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: flex-end;
}

.admin-gallery-actions form {
    margin: 0;
}

.admin-gallery-actions button {
    min-width: 40px;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-alt);
    color: var(--text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.admin-gallery-actions .admin-danger-button {
    color: #7a1f1f;
    background: #f8dddd;
    border-color: #e5bcbc;
}

.admin-hint {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 760px) {
    .admin-gallery-item {
        grid-template-columns: 1fr;
    }

    .admin-gallery-item > img {
        width: 100%;
        height: auto;
        max-height: 320px;
    }

    .admin-gallery-actions {
        justify-content: flex-start;
    }
}

/* Publiczna galeria */
.gallery-header {
    margin-bottom: 30px;
}

.public-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.public-gallery-item {
    display: grid;
    grid-template-rows: 220px auto;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--text);
    background: var(--surface);
    text-align: left;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(55, 40, 25, 0.07);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.public-gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(55, 40, 25, 0.12);
}

.public-gallery-item img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.public-gallery-item span {
    display: block;
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.45;
}

.gallery-dialog {
    width: min(94vw, 1100px);
    max-height: 94vh;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 14px;
    background: transparent;
}

.gallery-dialog::backdrop {
    background: rgba(20, 17, 14, 0.84);
}

.gallery-dialog img {
    display: block;
    max-width: 100%;
    max-height: 84vh;
    margin: 0 auto;
    border-radius: 12px;
    object-fit: contain;
    background: #111;
}

.gallery-dialog-caption {
    margin: 10px 0 0;
    padding: 10px 14px;
    border-radius: 9px;
    color: white;
    background: rgba(0, 0, 0, 0.72);
    text-align: center;
}

.gallery-dialog-close {
    position: absolute;
    top: -16px;
    right: -16px;
    z-index: 2;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: white;
    background: #2b241d;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 900px) {
    .public-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .public-gallery {
        grid-template-columns: 1fr;
    }

    .public-gallery-item {
        grid-template-rows: auto auto;
    }

    .public-gallery-item img {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .gallery-dialog-close {
        top: 8px;
        right: 8px;
    }
}

/* Przyklejony numer telefonu */
.site-phone {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 11px 16px 12px 14px;
    border-radius: 0 0 16px 0;
    color: #fff;
    background: var(--accent-dark);
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(43, 36, 29, 0.22);
}

.site-phone:hover,
.site-phone:focus-visible {
    color: #fff;
    background: var(--accent);
}

.site-phone-icon {
    font-size: 18px;
}

@media (max-width: 560px) {
    .site-phone {
        padding: 10px 13px 11px 11px;
        border-radius: 0 0 14px 0;
        font-size: 16px;
    }
}

/* większe logo w prawym panelu */
.sidebar .logo {
    width: min(220px, 100%);
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto 26px;
}

/* Logo po przycięciu przezroczystych marginesów */
.sidebar .logo {
    display: block;
    width: min(235px, 100%);
    max-width: 235px;
    height: auto;
    margin: 0 auto 24px;
}

.sidebar-logo-link {
    display: block;
    text-decoration: none;
}

/* Interaktywne okrągłe logo na stronie głównej */
.home-logo.home-logo-interactive {
    cursor: pointer;
    user-select: none;
    transition:
        max-width 0.55s ease,
        margin-bottom 0.55s ease,
        transform 0.18s ease;
}

.home-logo.home-logo-interactive:hover {
    transform: scale(1.015);
}

.home-logo.home-logo-interactive:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 6px;
    border-radius: 50%;
}

.home-logo.home-logo-collapsed {
    max-width: 240px;
    margin-bottom: 18px;
}

@media (max-width: 560px) {
    .home-logo.home-logo-collapsed {
        max-width: 170px;
        margin-bottom: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-logo.home-logo-interactive {
        transition: none;
    }
}

/* Okrągłe logo na stronie głównej — wersja poprawiona */
.home-logo-clickable {
    cursor: pointer;
    user-select: none;
    transition:
        width 0.55s ease,
        max-width 0.55s ease,
        margin-bottom 0.55s ease,
        transform 0.18s ease;
}

.home-logo-clickable:hover {
    transform: scale(1.015);
}

.home-logo-clickable.home-logo-small {
    width: 220px !important;
    max-width: 220px !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 18px !important;
}

.home-logo-clickable:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 5px;
    border-radius: 50%;
}

@media (max-width: 560px) {
    .home-logo-clickable.home-logo-small {
        width: 150px !important;
        max-width: 150px !important;
        margin-bottom: 14px !important;
    }
}

/* Mobilne menu w prawym górnym rogu */
.mobile-menu-toggle {
    display: none;
}

.mobile-site-menu {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(30, 25, 20, 0.55);
}

.mobile-site-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(86vw, 340px);
    min-height: 100%;
    padding: 20px;
    background: var(--surface);
    box-shadow: -12px 0 36px rgba(43, 36, 29, 0.24);
}

.mobile-site-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    font-size: 20px;
}

.mobile-site-menu-close {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--text);
    background: var(--surface-alt);
    font: inherit;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.mobile-site-menu-links {
    display: grid;
    gap: 8px;
}

.mobile-site-menu-links a {
    display: block;
    padding: 13px 14px;
    border-radius: 10px;
    color: var(--text);
    background: var(--surface-alt);
    font-weight: 700;
    text-decoration: none;
}

.mobile-site-menu-links a:hover,
.mobile-site-menu-links a:focus-visible {
    color: white;
    background: var(--accent-dark);
}

body.mobile-menu-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .mobile-menu-toggle {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1000;
        display: inline-flex;
        gap: 7px;
        align-items: center;
        padding: 11px 14px 12px 16px;
        border: 0;
        border-radius: 0 0 0 16px;
        color: white;
        background: var(--accent-dark);
        font: inherit;
        font-size: 16px;
        font-weight: 700;
        line-height: 1;
        cursor: pointer;
        box-shadow: 0 8px 24px rgba(43, 36, 29, 0.22);
    }

    .mobile-menu-toggle:hover,
    .mobile-menu-toggle:focus-visible {
        background: var(--accent);
    }

    .home-logo {
        scroll-margin-top: 64px;
    }
}

/* Telefon: hamburger zamiast zwykłego menu, bez potykacza */
@media (max-width: 900px) {
    .sidebar .nav,
    .sidebar .notice-board {
        display: none !important;
    }

    .sidebar {
        min-height: auto;
        padding-bottom: 12px;
        border-bottom: 0;
    }

    .sidebar .logo {
        margin-bottom: 0;
    }
}

/* Telefon: bez bocznego logo, menu i potykacza */
@media (max-width: 900px) {
    .sidebar .logo,
    .sidebar .nav,
    .sidebar .notice-board {
        display: none !important;
    }

    .sidebar {
        min-height: 0;
        padding: 0;
        border-bottom: 0;
        background: transparent;
    }
}

/* Danie dnia w panelu */
.admin-inline-form {
    display: inline;
    margin: 0;
}

.dish-of-day-button.active {
    border-color: #c89b32;
    color: #6d5114;
    background: #fff1b8;
}

/* Danie dnia na stronie */
.menu-row-featured {
    position: relative;
    border-left: 4px solid #c89b32;
    background: #fff8dc !important;
    box-shadow: inset 0 0 0 1px rgba(200, 155, 50, 0.18);
}

.dish-of-day-badge {
    grid-column: 1 / -1;
    justify-self: start;
    margin-bottom: 2px;
    padding: 4px 9px;
    border-radius: 999px;
    color: #6d5114;
    background: #f5dda0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Dziś polecamy */
.today-recommendation {
    margin: 14px 0 18px;
    overflow: hidden;
    border: 1px solid #dfc685;
    border-left: 5px solid #b8913f;
    border-radius: 11px;
    background: #fff8e7;
}

.today-recommendation-label {
    padding: 7px 14px 5px;
    color: #80611d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.today-recommendation-content {
    display: flex;
    gap: 8px 18px;
    align-items: baseline;
    padding: 4px 14px 12px;
}

.today-recommendation-content strong {
    flex: 1;
    font-size: 18px;
}

.today-recommendation-content > span:not(.today-recommendation-price) {
    color: var(--muted);
    font-size: 14px;
}

.today-recommendation-price {
    margin-left: auto;
    color: var(--brown);
    font-size: 17px;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 560px) {
    .today-recommendation-content {
        display: grid;
        gap: 4px;
    }

    .today-recommendation-price {
        margin-left: 0;
    }
}

/* Polecane danie / danie dnia */
.menu-row-featured {
    position: relative !important;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 14px 16px !important;
    border: 1px solid #d6bd78 !important;
    border-left: 5px solid #a98735 !important;
    border-radius: 10px;
    background: #fff8e5 !important;
}

.dish-of-day-badge {
    display: block !important;
    width: max-content;
    max-width: 100%;
    margin: 0 0 8px 0;
    padding: 5px 10px;
    border-radius: 6px;
    background: #a98735;
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .menu-row-featured {
        padding: 12px !important;
    }

    .dish-of-day-badge {
        font-size: 11px;
    }
}

/* =========================================================
   Polecane danie - finalny wygląd
   ========================================================= */

.menu-row.menu-row-featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 20px;
    row-gap: 7px;

    margin: 13px 0;
    padding: 13px 16px 14px;

    border: 1px solid rgba(113, 111, 63, .28) !important;
    border-left: 4px solid #77733f !important;
    border-radius: 10px;

    background: #faf7ea !important;
    box-shadow: 0 2px 7px rgba(55, 48, 30, .07);
}

.menu-row-featured .dish-of-day-badge {
    grid-column: 1 / -1;

    display: block !important;
    width: auto;
    margin: 0 0 2px;
    padding: 0;

    border: 0;
    border-radius: 0;

    background: transparent !important;
    color: #77733f !important;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.menu-row-featured .price {
    align-self: center;
    font-weight: 800;
}

/* żeby stare style nie robiły drugiego wizualnego oznaczenia */
.menu-row-featured::before,
.menu-row-featured::after {
    content: none !important;
}

@media (max-width: 600px) {
    .menu-row.menu-row-featured {
        margin: 11px 0;
        padding: 12px 13px;
        column-gap: 12px;
    }

    .menu-row-featured .dish-of-day-badge {
        font-size: 10px;
    }
}

/* Dziś polecamy - strona główna */
.home-today-item.home-today-item-featured {
    border: 1px solid rgba(113, 111, 63, .28);
    border-left: 4px solid #77733f;
    border-radius: 10px;
    background: #faf7ea;
    box-shadow: 0 2px 7px rgba(55, 48, 30, .07);
    padding: 13px 16px;
}

.home-today-recommendation-label {
    margin: 0 0 6px;
    color: #77733f;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

@media (max-width: 600px) {
    .home-today-item.home-today-item-featured {
        padding: 12px 13px;
    }

    .home-today-recommendation-label {
        font-size: 10px;
    }
}

/* Okrągłe logo nad menu - desktop */
.sidebar-round-logo {
    display: block;
    width: 190px !important;
    height: 190px !important;
    object-fit: contain;
    margin: 4px auto 18px !important;
}

@media (max-width: 900px) {
    .sidebar-round-logo {
        display: none !important;
    }
}

/* Desktop: białe tło pod logo, płynnie przechodzące w tło sidebaru */
@media (min-width: 901px) {
    .sidebar {
        background-image: linear-gradient(
            to bottom,
            #ffffff 0,
            #ffffff 205px,
            rgba(255, 255, 255, 0.92) 235px,
            rgba(255, 255, 255, 0.55) 275px,
            rgba(255, 255, 255, 0) 340px
        );
    }

    .sidebar-round-logo {
        width: 190px !important;
        height: 190px !important;
        margin: 2px auto 14px !important;
    }
}

/* Sidebar - tło dopasowane dokładnie do tła logo */
@media (min-width: 901px) {
    .sidebar {
        background-image: linear-gradient(
            to bottom,
            rgb(253, 253, 253) 0px,
            rgb(253, 253, 253) 205px,
            rgba(253, 253, 253, .94) 235px,
            rgba(253, 253, 253, .72) 270px,
            rgba(253, 253, 253, .38) 310px,
            rgba(253, 253, 253, 0) 360px
        ) !important;
    }
}

/* Alergeny */
.allergens-intro {
    max-width: 760px;
    line-height: 1.65;
}

.allergens-kicker {
    margin-bottom: 4px;
    color: #77733f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.allergens-list {
    display: grid;
    gap: 10px;
    margin: 22px 0;
}

.allergen-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: start;

    padding: 14px 16px;

    border: 1px solid #ddd7c5;
    border-radius: 10px;

    background: #faf8ef;
}

.allergen-code {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #77733f;
    color: #fff;

    font-weight: 800;
}

.allergen-card h2 {
    margin: 2px 0 4px;
    font-size: 17px;
}

.allergen-card p {
    margin: 4px 0 0;
    color: #666;
    line-height: 1.45;
}

.allergens-warning,
.allergens-cross-contact {
    margin-top: 18px;
    padding: 14px 16px;

    border-left: 4px solid #a98735;
    border-radius: 8px;

    background: #fff8e5;
}

.allergens-warning p {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .allergen-card {
        grid-template-columns: 40px minmax(0, 1fr);
        padding: 12px;
    }

    .allergen-code {
        width: 34px;
        height: 34px;
    }
}
