* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    color: #222;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

header {
    background-color: #222;
    color: white;
    padding: 20px 0;
}

header h1 {
    margin-bottom: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
}

nav a:hover {
    text-decoration: underline;
}

.hero {
    text-align: center;
    padding: 60px 20px;
    background: white;
    margin-top: 30px;
    border-radius: 10px;
}

.hero h2 {
    margin-bottom: 15px;
    font-size: 32px;
}

.hero p {
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background-color: #d62828;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 6px;
}

.btn:hover {
    background-color: #b71f1f;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    margin-bottom: 10px;
}

button {
    background-color: #d62828;
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
}

button:hover {
    background-color: #b71f1f;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    gap: 20px;
}

.cart-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cart-summary {
    background: white;
    margin: 30px 0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.cart-summary h3 {
    margin-bottom: 20px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.checkout-form-box,
.checkout-summary-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="time"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.payment-options label {
    display: block;
    margin-bottom: 10px;
    font-weight: normal;
}

.checkout-item {
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

.checkout-item:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

.menu-category {
    margin: 40px 0;
}

.menu-category h2 {
    margin-bottom: 20px;
}

.product-image {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.admin-orders {
    margin: 30px 0;
}

.admin-order-card {
    background: white;
    padding: 24px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.admin-order-card h3 {
    margin-bottom: 15px;
}

.admin-order-card p {
    margin-bottom: 8px;
}

.admin-order-items {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.admin-order-items h4 {
    margin-bottom: 10px;
}

.admin-order-items ul {
    padding-left: 20px;
}

.admin-order-items li {
    margin-bottom: 8px;
}

.admin-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: bold;
}

.status-neu {
    background: #ffe9a8;
    color: #6b5300;
}

.status-in_bearbeitung {
    background: #cfe8ff;
    color: #0b4f8a;
}

.status-fertig {
    background: #d9f7be;
    color: #237804;
}

.status-abgeholt {
    background: #e5e5e5;
    color: #444;
}

.status-form {
    margin-top: 18px;
    margin-bottom: 18px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.status-form select {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: white;
}

@media (max-width: 768px) {
    .admin-order-header {
        align-items: flex-start;
    }

    .status-form {
        flex-direction: column;
        align-items: flex-start;
    }

    .status-form select,
    .status-form button {
        width: 100%;
    }
}

.admin-filters {
    margin: 20px 0 30px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-filters a {
    padding: 10px 14px;
    background: #eee;
    color: #222;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.admin-filters a:hover {
    background: #ddd;
}

.admin-filters a.active {
    background: #d62828;
    color: white;
}

.live-info {
    margin: 10px 0 20px 0;
    padding: 10px 14px;
    background: #fff4d6;
    border-left: 4px solid #d62828;
    border-radius: 6px;
}

.kitchen-mode {
    background: #111;
    color: white;
    font-size: 18px;
}

.kitchen-container {
    padding: 20px;
}

.kitchen-container h1 {
    margin-bottom: 20px;
}

.kitchen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.kitchen-card {
    background: #222;
    padding: 20px;
    border-radius: 12px;
}

.kitchen-card h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.kitchen-card ul {
    margin: 15px 0;
    padding-left: 20px;
}

.kitchen-card li {
    margin-bottom: 8px;
}

.pickup-time {
    font-weight: bold;
    margin-bottom: 10px;
}

.kitchen-card button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

.status-neu {
    border-left: 6px solid orange;
}

.status-in_bearbeitung {
    border-left: 6px solid #3498db;
}

.no-orders {
    font-size: 22px;
    text-align: center;
    margin-top: 50px;
}

.new-order-highlight {
    animation: kitchenBlink 0.8s ease-in-out 8;
    box-shadow: 0 0 0 4px #ffcc00, 0 0 26px rgba(255, 204, 0, 0.9);
}

@keyframes kitchenBlink {
    0% {
        transform: scale(1);
        opacity: 1;
        background-color: #222;
    }
    50% {
        transform: scale(1.04);
        opacity: 1;
        background-color: #4a3500;
    }
    100% {
        transform: scale(1);
        opacity: 1;
        background-color: #222;
    }
}

.kitchen-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.kitchen-badge {
    background: #ffcc00;
    color: #111;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 14px;
}

.kitchen-customer {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.pickup-time {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 18px;
}

.kitchen-items {
    margin: 18px 0;
    padding-left: 20px;
}

.kitchen-items li {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.kitchen-btn {
    width: 100%;
    padding: 14px 16px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 10px;
}

.kitchen-btn-start {
    background: #3498db;
}

.kitchen-btn-start:hover {
    background: #2b7cb8;
}

.kitchen-btn-finish {
    background: #27ae60;
}

.kitchen-btn-finish:hover {
    background: #1f8a4d;
}

.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cart-count {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: #d62828;
    color: white;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}

.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.cart-label {
    color: inherit;
}

.cart-count {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: #d62828;
    color: white;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}

.cart-total-header {
    font-size: 14px;
    font-weight: bold;
    color: white;
}

.mini-cart {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 320px;
    background: #ffffff;
    color: #222;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
    padding: 18px;
    z-index: 9999;
    text-align: left;
}

.cart-link:hover .mini-cart {
    display: block;
}

.mini-cart-title {
    display: block;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 14px;
    color: #111;
}

.mini-cart-items {
    display: block;
    max-height: 260px;
    overflow-y: auto;
}

.mini-cart-item {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #ececec;
    font-size: 14px;
    color: #222;
    line-height: 1.45;
}

.mini-cart-item:last-child {
    border-bottom: none;
}

.mini-cart-name {
    display: block;
    font-weight: bold;
    margin-bottom: 3px;
}

.mini-cart-meta {
    display: block;
    color: #666;
    font-size: 13px;
}

.mini-cart-price {
    display: block;
    margin-top: 4px;
    color: #111;
    font-weight: bold;
}

.mini-cart-footer {
    display: block;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #ececec;
}

.mini-cart-total {
    display: block;
    font-weight: bold;
    font-size: 16px;
    color: #111;
}

.mini-cart-empty {
    display: block;
    padding: 8px 0;
    color: #666;
    font-size: 14px;
}

@media (max-width: 768px) {
    .mini-cart {
        display: none !important;
    }

    .cart-total-header {
        display: none;
    }
}

.mini-cart-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.mini-cart-btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

.mini-cart-btn-cart {
    background: #eee;
    color: #333;
}

.mini-cart-btn-cart:hover {
    background: #ddd;
}

.mini-cart-btn-checkout {
    background: #27ae60;
    color: white;
}

.mini-cart-btn-checkout:hover {
    background: #219150;
}

.option-label {
    display: block;
    margin: 10px 0 6px;
    font-weight: bold;
}

.product-option-select {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: white;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #111; /* dunkel statt weiß */
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.sticky-header .container {
    position: relative;
}

.sticky-header nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Falls das Mini-Cart beim Sticky Header sauber sichtbar bleiben soll */
.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mini-cart {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 10000;
    background: #fff;
}

.floating-food {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.food {
    position: absolute;
    font-size: 42px;
    opacity: 0.18;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.food-1 {
    left: 5%;
    top: 80%;
    animation: floatUp 18s linear infinite, sway 6s ease-in-out infinite;
}

.food-2 {
    left: 20%;
    top: 90%;
    animation: floatUp 22s linear infinite, sway 7s ease-in-out infinite;
    animation-delay: 2s;
}

.food-3 {
    left: 40%;
    top: 85%;
    animation: floatUp 20s linear infinite, sway 5s ease-in-out infinite;
    animation-delay: 4s;
}

.food-4 {
    left: 60%;
    top: 95%;
    animation: floatUp 24s linear infinite, sway 8s ease-in-out infinite;
    animation-delay: 1s;
}

.food-5 {
    left: 78%;
    top: 88%;
    animation: floatUp 19s linear infinite, sway 6s ease-in-out infinite;
    animation-delay: 3s;
}

.food-6 {
    left: 90%;
    top: 92%;
    animation: floatUp 21s linear infinite, sway 7s ease-in-out infinite;
    animation-delay: 5s;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.18;
    }
    50% {
        opacity: 0.22;
    }
    100% {
        transform: translateY(-120vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes sway {
    0% {
        margin-left: 0;
    }
    50% {
        margin-left: 20px;
    }
    100% {
        margin-left: 0;
    }
}

body {
    margin: 0;
    min-height: 100vh;

    background: radial-gradient(
        circle at center,
        #5a0000 0%,
        #2b0000 40%,
        #000000 100%
    );

    color: #fff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.home-page {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    color: #fff;
    background:
        radial-gradient(circle at center, #5b0a0a 0%, #2a0000 38%, #000000 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

.container {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.45);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
    min-height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.main-nav {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s ease;
}

.main-nav a:hover {
    color: #ffb3b3;
}

/* HERO */
.hero-section {
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(91,10,10,0.12), rgba(0,0,0,0.45));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 80px 0;
    animation: fadeUp 1.1s ease;
}

.hero-kicker {
    margin: 0 0 10px;
    color: #ffb8b8;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 14px;
}

.hero-content h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.05;
    text-shadow: 0 0 18px rgba(255, 80, 80, 0.18);
}

.hero-text {
    margin: 0;
    max-width: 620px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.88);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #9d1111, #cf2c2c);
    color: #fff;
    box-shadow: 0 8px 30px rgba(207, 44, 44, 0.35);
}

.btn-secondary {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.14);
}

/* HIGHLIGHTS */
.highlights-section {
    padding: 70px 0 90px;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    margin: 0 0 30px;
    text-align: center;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.highlight-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 28px;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.highlight-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 170, 170, 0.35);
}

.highlight-icon {
    font-size: 42px;
    margin-bottom: 14px;
}

.highlight-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.highlight-card p {
    margin: 0;
    line-height: 1.7;
    color: rgba(255,255,255,0.82);
}

/* FOOD ANIMATION */
.floating-food {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.food {
    position: absolute;
    font-size: 42px;
    opacity: 0.12;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.food-1 {
    left: 6%;
    top: 90%;
    animation: floatUp 18s linear infinite, sway 6s ease-in-out infinite;
}

.food-2 {
    left: 22%;
    top: 100%;
    animation: floatUp 22s linear infinite, sway 8s ease-in-out infinite;
    animation-delay: 2s;
}

.food-3 {
    left: 48%;
    top: 92%;
    animation: floatUp 20s linear infinite, sway 7s ease-in-out infinite;
    animation-delay: 4s;
}

.food-4 {
    left: 70%;
    top: 96%;
    animation: floatUp 24s linear infinite, sway 7s ease-in-out infinite;
    animation-delay: 1s;
}

.food-5 {
    left: 88%;
    top: 94%;
    animation: floatUp 19s linear infinite, sway 5s ease-in-out infinite;
    animation-delay: 3s;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.16;
    }
    100% {
        transform: translateY(-120vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes sway {
    0% {
        margin-left: 0;
    }
    50% {
        margin-left: 18px;
    }
    100% {
        margin-left: 0;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        padding: 14px 0;
        align-items: flex-start;
        gap: 10px;
        flex-direction: column;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-content {
        padding: 70px 0 60px;
    }
}

/* =========================
   Lesbare Schrift in hellen Boxen
   für menu.php + checkout.php
   ========================= */

/* Allgemeine weiße Boxen / Karten */
.card,
.checkout-container,
.checkout-box,
.order-summary,
.checkout-form,
.form-box,
.white-box {
    color: #111;
}

/* Überschriften in hellen Boxen */
.card h1,
.card h2,
.card h3,
.card h4,
.checkout-container h1,
.checkout-container h2,
.checkout-container h3,
.checkout-box h1,
.checkout-box h2,
.checkout-box h3,
.order-summary h1,
.order-summary h2,
.order-summary h3,
.checkout-form h1,
.checkout-form h2,
.checkout-form h3,
.form-box h1,
.form-box h2,
.form-box h3,
.white-box h1,
.white-box h2,
.white-box h3 {
    color: #111;
}

/* Normaler Text in hellen Boxen */
.card p,
.card span,
.card label,
.card li,
.checkout-container p,
.checkout-container span,
.checkout-container label,
.checkout-container li,
.checkout-box p,
.checkout-box span,
.checkout-box label,
.checkout-box li,
.order-summary p,
.order-summary span,
.order-summary label,
.order-summary li,
.checkout-form p,
.checkout-form span,
.checkout-form label,
.checkout-form li,
.form-box p,
.form-box span,
.form-box label,
.form-box li,
.white-box p,
.white-box span,
.white-box label,
.white-box li {
    color: #222;
}

/* Preise sichtbar machen */
.card strong,
.card b,
.checkout-container strong,
.checkout-box strong,
.order-summary strong,
.checkout-form strong,
.form-box strong,
.white-box strong {
    color: #8b0000;
}

/* Dropdowns, Inputs, Textareas */
.card select,
.card option,
.card input,
.card textarea,
.checkout-container select,
.checkout-container option,
.checkout-container input,
.checkout-container textarea,
.checkout-box select,
.checkout-box option,
.checkout-box input,
.checkout-box textarea,
.order-summary select,
.order-summary option,
.order-summary input,
.order-summary textarea,
.checkout-form select,
.checkout-form option,
.checkout-form input,
.checkout-form textarea,
.form-box select,
.form-box option,
.form-box input,
.form-box textarea,
.white-box select,
.white-box option,
.white-box input,
.white-box textarea {
    color: #111;
    background: #fff;
}

/* Placeholder lesbar */
input::placeholder,
textarea::placeholder {
    color: #666;
}

/* Mini-Cart / Warenkorb-Dropdown */
.mini-cart,
.mini-cart-title,
.mini-cart-items,
.mini-cart-total,
.mini-cart-footer,
.mini-cart span,
.mini-cart p,
.mini-cart a {
    color: #111;
}

/* Links in weißen Boxen */
.card a,
.checkout-container a,
.checkout-box a,
.order-summary a,
.checkout-form a,
.form-box a,
.white-box a {
    color: #8b0000;
}

/* Buttons sollen weiter helle Schrift behalten */
button,
.card button,
.add-option-to-cart-btn,
.mini-cart-btn,
.checkout-container button,
.checkout-box button,
.order-summary button,
.checkout-form button,
.form-box button,
.white-box button {
    color: #fff;
}

/* Falls Tabellen im Checkout vorhanden sind */
table,
th,
td {
    color: #111;
}

form,
form label,
form p,
form span,
form li {
    color: #111;
}

form input,
form select,
form textarea {
    color: #111;
    background: #fff;
}

/* =========================
   CHECKOUT + MENU LESBARKEIT
   ========================= */

/* Dunkler Premium-Hintergrund */
body {
    color: #fff;
}

/* Weiße Boxen im Checkout */
.checkout-form-box,
.checkout-summary-box {
    background: #ffffff;
    color: #111;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Überschriften in weißen Boxen */
.checkout-form-box h1,
.checkout-form-box h2,
.checkout-form-box h3,
.checkout-summary-box h1,
.checkout-summary-box h2,
.checkout-summary-box h3 {
    color: #111;
}

/* Normaler Text in weißen Boxen */
.checkout-form-box p,
.checkout-form-box span,
.checkout-form-box label,
.checkout-summary-box p,
.checkout-summary-box span,
.checkout-summary-box label,
.checkout-summary-box div {
    color: #222;
}

/* Formulargruppen */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #111;
}

/* Inputs lesbar machen */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    background: #fff;
    color: #111;
    font-size: 15px;
    box-sizing: border-box;
}

/* Placeholder */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

/* Fokus-Effekt */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9d1111;
    box-shadow: 0 0 0 3px rgba(157, 17, 17, 0.12);
}

/* Radio-Bereich */
.payment-options {
    color: #111;
}

.payment-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111;
    font-weight: 500;
}

.payment-options input[type="radio"] {
    width: auto;
    margin: 0;
}

/* Button */
#checkout-form button,
.checkout-form-box button {
    display: inline-block;
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #9d1111, #cf2c2c);
    box-shadow: 0 8px 24px rgba(207, 44, 44, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#checkout-form button:hover,
.checkout-form-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(207, 44, 44, 0.35);
}

/* Checkout Layout */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: start;
}

/* Bestellübersicht */
#checkout-cart-items {
    color: #111;
}

#checkout-total {
    color: #8b0000;
    font-weight: 700;
}

/* Mini-Cart lesbar machen */
.mini-cart {
    background: #fff;
    color: #111;
}

.mini-cart-title,
.mini-cart-items,
.mini-cart-total,
.mini-cart-footer,
.mini-cart span,
.mini-cart p,
.mini-cart a {
    color: #111;
}

/* Menü-Karten ebenfalls lesbar */
.card {
    color: #fff;
}

.card select,
.card option {
    color: #111;
    background: #fff;
}

/* Falls weiße Karten im Menü benutzt werden */
.card.white-box,
.white-box {
    background: #fff;
    color: #111;
}

.card.white-box h1,
.card.white-box h2,
.card.white-box h3,
.card.white-box p,
.card.white-box span,
.card.white-box label,
.white-box h1,
.white-box h2,
.white-box h3,
.white-box p,
.white-box span,
.white-box label {
    color: #111;
}

/* Responsive */
@media (max-width: 900px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: #fff;
    color: #111;
}

.card h3,
.card p,
.card label,
.card span,
.card strong {
    color: #111;
}

.card strong {
    color: #8b0000;
}

/* =========================
   CHECKOUT PAGE PREMIUM STYLE
   ========================= */

body.checkout-page {
    margin: 0;
    min-height: 100vh;
    color: #fff;
    background:
        radial-gradient(circle at center, #5b0a0a 0%, #2a0000 40%, #000000 100%);
    background-attachment: fixed;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Checkout Layout */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: start;
    margin-top: 24px;
    margin-bottom: 40px;
}

/* Weiße Boxen */
.checkout-form-box,
.checkout-summary-box {
    background: #fff;
    color: #111;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Lesbare Überschriften */
.checkout-form-box h1,
.checkout-form-box h2,
.checkout-form-box h3,
.checkout-summary-box h1,
.checkout-summary-box h2,
.checkout-summary-box h3 {
    color: #111;
    margin-top: 0;
}

/* Lesbarer Text */
.checkout-form-box p,
.checkout-form-box span,
.checkout-form-box label,
.checkout-summary-box p,
.checkout-summary-box span,
.checkout-summary-box label,
.checkout-summary-box div {
    color: #222;
}

/* Formular */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #111;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    background: #fff;
    color: #111;
    font-size: 15px;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9d1111;
    box-shadow: 0 0 0 3px rgba(157, 17, 17, 0.12);
}

/* Zahlung */
.payment-options {
    color: #111;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111;
    font-weight: 500;
}

.payment-option input[type="radio"] {
    width: auto;
    margin: 0;
}

/* Button */
#checkout-form button,
.checkout-form-box button {
    display: inline-block;
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #9d1111, #cf2c2c);
    box-shadow: 0 8px 24px rgba(207, 44, 44, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#checkout-form button:hover,
.checkout-form-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(207, 44, 44, 0.35);
}

/* Bestellübersicht */
#checkout-cart-items {
    color: #111;
}

#checkout-total {
    color: #8b0000;
    font-weight: 700;
}

/* Mini-Cart lesbar */
.mini-cart {
    background: #fff;
    color: #111;
}

.mini-cart-title,
.mini-cart-items,
.mini-cart-total,
.mini-cart-footer,
.mini-cart span,
.mini-cart p,
.mini-cart a {
    color: #111;
}

/* Responsive */
@media (max-width: 900px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   MENU PAGE PREMIUM STYLE
   ========================= */

body.menu-page {
    margin: 0;
    min-height: 100vh;
    color: #fff;
    background:
        radial-gradient(circle at center, #5b0a0a 0%, #2a0000 40%, #000000 100%);
    background-attachment: fixed;
}

/* Container */
.container {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 12px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.site-header h1 {
    margin: 0;
    color: #fff;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.site-header nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.site-header nav a:hover {
    color: #ffb3b3;
}

/* Titel */
.page-title {
    margin-top: 30px;
    margin-bottom: 10px;
    color: #fff;
}

/* Kategorien */
.menu-category {
    margin-bottom: 42px;
}

.menu-category h2 {
    font-size: 28px;
    margin: 32px 0 18px;
    border-left: 4px solid #b30000;
    padding-left: 12px;
    color: #fff;
}

/* Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

/* Karten */
.card {
    background: #ffffff;
    color: #111;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.35);
    border-color: rgba(255, 120, 120, 0.3);
}

/* Texte in Karten */
.card h3 {
    margin: 0 0 8px;
    font-size: 22px;
    color: #111;
}

.card p {
    color: #333;
    line-height: 1.6;
}

.card strong {
    color: #8b0000;
    font-size: 18px;
}

.product-price {
    margin-top: 12px;
    margin-bottom: 8px;
}

/* Bild */
.product-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 14px;
    display: block;
}

/* Auswahl */
.option-label {
    display: block;
    margin: 14px 0 8px;
    font-weight: 600;
    color: #111;
}

.product-option-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d6d6d6;
    border-radius: 10px;
    background: #fff;
    color: #111;
    font-size: 15px;
    box-sizing: border-box;
}

.product-option-select option {
    color: #111;
    background: #fff;
}

.product-option-select:focus {
    outline: none;
    border-color: #9d1111;
    box-shadow: 0 0 0 3px rgba(157, 17, 17, 0.12);
}

/* Buttons */
.card button,
.add-option-to-cart-btn {
    display: inline-block;
    width: 100%;
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    background: linear-gradient(135deg, #9d1111, #cf2c2c);
    box-shadow: 0 8px 24px rgba(207, 44, 44, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card button:hover,
.add-option-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(207, 44, 44, 0.32);
}

/* Warenkorb-Link */
.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

/* Mini-Cart */
.mini-cart {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 280px;
    background: #fff;
    color: #111;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    z-index: 1001;
}

.mini-cart-title,
.mini-cart-items,
.mini-cart-total,
.mini-cart-footer,
.mini-cart span,
.mini-cart p,
.mini-cart a {
    color: #111;
}

.mini-cart-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.mini-cart-btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    color: #fff !important;
    background: linear-gradient(135deg, #9d1111, #cf2c2c);
}

/* Responsive */
@media (max-width: 900px) {
    .site-header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-header nav {
        width: 100%;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .mini-cart {
        right: auto;
        left: 0;
    }
}

/* =========================
   CART PAGE PREMIUM STYLE
   ========================= */

body.cart-page {
    margin: 0;
    min-height: 100vh;
    color: #fff;
    background:
        radial-gradient(circle at center, #5b0a0a 0%, #2a0000 40%, #000000 100%);
    background-attachment: fixed;
}

.page-title {
    margin-top: 30px;
    margin-bottom: 16px;
    color: #fff;
}

/* Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 40px;
}

/* Boxen */
.cart-box,
.cart-summary-box {
    background: #fff;
    color: #111;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.28);
}

.cart-box h3,
.cart-summary-box h3 {
    margin-top: 0;
    color: #111;
}

/* Warenkorb-Inhalt */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 16px;
    border: 1px solid #ececec;
    border-radius: 14px;
    background: #fafafa;
}

.cart-item-info h4 {
    margin: 0 0 6px;
    color: #111;
    font-size: 18px;
}

.cart-item-info p,
.cart-item-info span {
    margin: 0;
    color: #444;
    line-height: 1.5;
}

.cart-item-price {
    font-weight: 700;
    color: #8b0000;
    white-space: nowrap;
}

.cart-item-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.cart-item-actions button {
    border: none;
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #9d1111, #cf2c2c);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-item-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(207, 44, 44, 0.25);
}

.cart-empty-message {
    color: #444;
    padding: 18px 0;
}

/* Zusammenfassung */
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: #222;
}

.total-row {
    font-size: 18px;
    font-weight: 700;
}

.total-row span:last-child {
    color: #8b0000;
}

/* Buttons */
.cart-actions-large {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
}

.primary-btn,
.secondary-btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    padding: 14px 18px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
    color: #fff;
    background: linear-gradient(135deg, #9d1111, #cf2c2c);
    box-shadow: 0 8px 24px rgba(207, 44, 44, 0.22);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(207, 44, 44, 0.32);
}

.secondary-btn {
    color: #111;
    background: #f2f2f2;
    border: 1px solid #ddd;
}

.secondary-btn:hover {
    transform: translateY(-2px);
    background: #ebebeb;
}

/* Mini-Cart lesbar */
.mini-cart {
    background: #fff;
    color: #111;
}

.mini-cart-title,
.mini-cart-items,
.mini-cart-total,
.mini-cart-footer,
.mini-cart span,
.mini-cart p,
.mini-cart a {
    color: #111;
}

/* Responsive */
@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 1fr;
    }
}

/* =========================
   SUCCESS PAGE
   ========================= */

body.success-page {
    margin: 0;
    min-height: 100vh;
    color: #fff;
    background:
        radial-gradient(circle at center, #5b0a0a 0%, #2a0000 40%, #000000 100%);
    background-attachment: fixed;
}

/* Container */
.success-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

/* Box */
.success-box {
    background: #fff;
    color: #111;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    animation: fadeUp 0.8s ease;
}

/* Icon */
.success-icon {
    font-size: 60px;
    margin-bottom: 16px;
}

/* Texte */
.success-box h2 {
    margin: 0 0 12px;
    color: #111;
}

.success-box p {
    color: #444;
    line-height: 1.6;
}

.success-subtext {
    margin-top: 10px;
    font-size: 14px;
    color: #777;
}

/* Buttons */
.success-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.primary-btn {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #9d1111, #cf2c2c);
    box-shadow: 0 8px 24px rgba(207, 44, 44, 0.25);
}

.primary-btn:hover {
    transform: translateY(-2px);
}

.secondary-btn {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    color: #111;
    background: #eee;
}

.secondary-btn:hover {
    background: #ddd;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.admin-page,
body.checkout-page,
body.success-page {
    margin: 0;
    min-height: 100vh;
    color: #fff;
    background: radial-gradient(circle at center, #5b0a0a 0%, #2a0000 40%, #000000 100%);
    background-attachment: fixed;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin: 24px 0 40px;
}

.admin-card,
.checkout-form-box,
.checkout-summary-box,
.success-box {
    background: #fff;
    color: #111;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.admin-card h3,
.success-box h2,
.checkout-form-box h3,
.checkout-summary-box h3 {
    color: #111;
    margin-top: 0;
}

.admin-card p,
.admin-card li,
.checkout-form-box label,
.checkout-form-box p,
.checkout-summary-box div,
.success-box p {
    color: #222;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    margin: 24px 0 40px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #111;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    background: #fff;
    color: #111;
    box-sizing: border-box;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111;
}

.payment-option input[type="radio"] {
    width: auto;
    margin: 0;
}

button,
.primary-btn,
.secondary-btn {
    display: inline-block;
    padding: 14px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

button,
.primary-btn {
    color: #fff;
    background: linear-gradient(135deg, #9d1111, #cf2c2c);
}

.secondary-btn {
    color: #111;
    background: #eee;
}

.success-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.success-icon {
    font-size: 60px;
    margin-bottom: 16px;
}

.success-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.admin-table-wrap {
    overflow-x: auto;
    margin: 24px 0 40px;
    background: #fff;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    color: #111;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.admin-table th {
    color: #111;
    background: #fafafa;
}

@media (max-width: 900px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

.kitchen-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 24px 0 10px;
}

.live-info {
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.status-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.status-neu {
    background: #8b0000;
}

.status-in_bearbeitung {
    background: #d97706;
}

.status-fertig {
    background: #15803d;
}

.status-abgeholt {
    background: #374151;
}

.kitchen-items {
    padding-left: 18px;
    margin: 0 0 18px;
}

.kitchen-items li {
    margin-bottom: 6px;
    color: #222;
}

.status-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.status-actions form {
    margin: 0;
}

.status-btn {
    width: 100%;
    padding: 12px 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    color: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.status-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.btn-neu {
    background: #8b0000;
}

.btn-work {
    background: #d97706;
}

.btn-ready {
    background: #15803d;
}

.btn-done {
    background: #374151;
}

@media (max-width: 700px) {
    .status-actions {
        grid-template-columns: 1fr;
    }
}

.new-order-highlight {
    animation: newOrderGlow 2s ease;
    border: 2px solid rgba(255, 215, 0, 0.7);
}

@keyframes newOrderGlow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 215, 0, 0);
    }
    20% {
        transform: scale(1.02);
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    }
}

.status-updated-flash {
    animation: statusUpdatedFlash 1.2s ease;
}

@keyframes statusUpdatedFlash {
    0% {
        box-shadow: 0 0 0 rgba(34, 197, 94, 0);
    }
    30% {
        box-shadow: 0 0 24px rgba(34, 197, 94, 0.6);
    }
    100% {
        box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    }
}

.kitchen-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 24px 0 10px;
}

.live-info {
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.sound-enable-box {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 10px 0 20px;
}

.sound-hint {
    color: rgba(255,255,255,0.82);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.status-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.status-neu {
    background: #8b0000;
}

.status-in_bearbeitung {
    background: #d97706;
}

.status-fertig {
    background: #15803d;
}

.status-abgeholt {
    background: #374151;
}

.kitchen-items {
    padding-left: 18px;
    margin: 0 0 18px;
}

.kitchen-items li {
    margin-bottom: 6px;
    color: #222;
}

.status-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.status-btn {
    width: 100%;
    padding: 12px 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    color: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.status-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.status-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-neu {
    background: #8b0000;
}

.btn-work {
    background: #d97706;
}

.btn-ready {
    background: #15803d;
}

.btn-done {
    background: #374151;
}

.new-order-highlight {
    animation: newOrderGlow 2s ease;
    border: 2px solid rgba(255, 215, 0, 0.7);
}

@keyframes newOrderGlow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 215, 0, 0);
    }
    20% {
        transform: scale(1.02);
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    }
}

.status-updated-flash {
    animation: statusUpdatedFlash 1.2s ease;
}

@keyframes statusUpdatedFlash {
    0% {
        box-shadow: 0 0 0 rgba(34, 197, 94, 0);
    }
    30% {
        box-shadow: 0 0 24px rgba(34, 197, 94, 0.6);
    }
    100% {
        box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    }
}

@media (max-width: 700px) {
    .status-actions {
        grid-template-columns: 1fr;
    }
}

.dashboard-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 24px 0 14px;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.dashboard-stat-card {
    background: #fff;
    color: #111;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dashboard-stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.dashboard-stat-number {
    font-size: 30px;
    line-height: 1.1;
    color: #111;
}

.revenue-card .dashboard-stat-number {
    color: #8b0000;
}

.admin-filter-box {
    background: #fff;
    color: #111;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    margin-bottom: 24px;
}

.admin-filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    background: #fff;
    color: #111;
    box-sizing: border-box;
}

.filter-search {
    grid-column: span 2;
}

.filter-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 900px) {
    .filter-search {
        grid-column: span 1;
    }
}

.dashboard-analytics-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    margin-bottom: 24px;
}

.dashboard-panel {
    background: #fff;
    color: #111;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.panel-header {
    margin-bottom: 18px;
}

.panel-header h3 {
    margin: 0;
    color: #111;
}

.mini-chart {
    height: 260px;
    display: flex;
    align-items: end;
    gap: 14px;
    padding: 16px 0 8px;
    border-bottom: 1px solid #eee;
    margin-bottom: 18px;
}

.mini-chart-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mini-chart-bar {
    width: 100%;
    max-width: 56px;
    min-height: 0;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(180deg, #cf2c2c 0%, #7a0d0d 100%);
    box-shadow: 0 6px 18px rgba(207, 44, 44, 0.25);
    transition: transform 0.2s ease;
}

.mini-chart-bar:hover {
    transform: translateY(-4px);
}

.mini-chart-value {
    font-size: 12px;
    color: #555;
    font-weight: 700;
}

.mini-chart-label {
    font-size: 13px;
    color: #333;
    font-weight: 600;
}

.chart-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 10px;
}

.chart-summary-item {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chart-summary-item strong {
    color: #111;
    font-size: 13px;
}

.chart-summary-item span {
    color: #8b0000;
    font-weight: 700;
    font-size: 13px;
}

.chart-summary-item small {
    color: #666;
    font-size: 12px;
}

.top-products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.top-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid #eee;
    border-radius: 14px;
    background: #fafafa;
}

.top-product-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.top-product-main strong {
    color: #111;
}

.top-product-main span {
    color: #666;
    font-size: 14px;
}

.top-product-revenue {
    color: #8b0000;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 1000px) {
    .dashboard-analytics-grid {
        grid-template-columns: 1fr;
    }
}

.month-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.month-compare-card {
    background: #fff;
    color: #111;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.month-compare-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.month-compare-header h3 {
    margin: 0;
    color: #111;
}

.month-compare-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.trend-up {
    background: #15803d;
}

.trend-down {
    background: #b91c1c;
}

.month-compare-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.month-value-box {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.month-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.month-value-box strong {
    font-size: 24px;
    color: #111;
}

@media (max-width: 900px) {
    .month-compare-grid {
        grid-template-columns: 1fr;
    }

    .month-compare-values {
        grid-template-columns: 1fr;
    }
}

html {
    scroll-behavior: smooth;
}

.category-nav {
    position: sticky !important;
    top: 88px !important;
    z-index: 9998 !important;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    border-radius: 24px;
    padding: 18px 70px;
    margin: 20px 0 35px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.7);
    overflow: hidden;
}




.category-scroll-bar {
    width: 120px;
    height: 5px;
    background: #000;
    border-radius: 999px;
    margin: 14px auto 0;
    opacity: 0.9;
    cursor: pointer;
    animation: sliderHint 2s ease-in-out infinite;
}

@keyframes sliderHint {
    0% {
        transform: translateX(-20px);
        opacity: 0.5;
    }

    50% {
        transform: translateX(20px);
        opacity: 1;
    }

    100% {
        transform: translateX(-20px);
        opacity: 0.5;
    }
}

.category-nav-inner {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 6px 10px;
    scrollbar-width: none;
}

.category-nav-inner::-webkit-scrollbar {
    display: none;
}

.category-btn {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #ececec;
    font-weight: 700;
    text-decoration: none;
    color: #111;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.category-btn.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.category-btn-icon {
    font-size: 20px;
}

.menu-category {
    scroll-margin-top: 150px;
}

@media (max-width: 900px) {
    .category-nav {
        top: 80px;
    }

    .menu-category {
        scroll-margin-top: 140px;
    }
}

.category-btn.active {
    background: #8b0000;
    color: #fff;
    box-shadow: 0 10px 24px rgba(139, 0, 0, 0.35);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.55);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 10px 0;
}

.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.site-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.96);
    padding: 8px 12px;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.site-logo {
    display: block;
    height: 52px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.site-brand-text {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.site-header nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-header nav a:hover {
    color: #ffb3b3;
    transform: translateY(-1px);
}

/* Falls der Warenkorb-Link im Header ist */
.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

/* Mini-Cart lesbar */
.mini-cart {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 280px;
    background: #fff;
    color: #111;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    z-index: 1001;
}

.mini-cart-title,
.mini-cart-items,
.mini-cart-total,
.mini-cart-footer,
.mini-cart span,
.mini-cart p,
.mini-cart a {
    color: #111;
}

@media (max-width: 900px) {
    .header-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-brand {
        width: 100%;
    }

    .site-brand-text {
        font-size: 20px;
    }

    .site-logo {
        height: 44px;
        max-width: 150px;
    }

    .site-header nav {
        width: 100%;
    }
}

.success-logo-box {
    text-align: center;
    margin-bottom: 18px;
}

.success-logo {
    max-height: 90px;
    width: auto;
    object-fit: contain;
}

.delivery-fields {
    margin-bottom: 10px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.03);
}

.checkout-item {
    padding: 12px 0;
    border-bottom: 1px solid #ececec;
    color: #111;
}

.checkout-item:last-child {
    border-bottom: none;
}

.tracking-box {
    max-width: 720px;
}

.tracking-status-badge {
    display: inline-block;
    margin: 10px 0 22px;
    padding: 10px 18px;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
}

.tracking-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 20px 0 24px;
}

.tracking-step {
    text-align: center;
    opacity: 0.45;
}

.tracking-step.is-active {
    opacity: 1;
}

.tracking-step-dot {
    width: 18px;
    height: 18px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: #d1d5db;
}

.tracking-step.is-active .tracking-step-dot {
    background: #9d1111;
    box-shadow: 0 0 0 6px rgba(157, 17, 17, 0.12);
}

.tracking-step-label {
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.tracking-order-info {
    margin-top: 20px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.04);
    text-align: left;
}

.tracking-order-info p {
    margin: 0 0 8px;
    color: #222;
}

.tracking-order-info p:last-child {
    margin-bottom: 0;
}

@media (max-width: 700px) {
    .tracking-steps {
        grid-template-columns: 1fr 1fr;
    }
}

.delivery-fields {
    margin-bottom: 10px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.03);
}

.checkout-item {
    padding: 12px 0;
    border-bottom: 1px solid #ececec;
    color: #111;
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-time-note {
    margin-top: 14px;
    color: #666;
    font-size: 14px;
}

.time-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 16px;
}

.time-btn {
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    color: #111;
    background: #f1f1f1;
    transition: transform 0.2s ease, background 0.2s ease;
}

.time-btn:hover {
    transform: translateY(-2px);
    background: #e5e5e5;
}

.estimated-time {
    color: #8b0000;
    font-weight: 800;
}

.tracking-box {
    max-width: 720px;
}

.tracking-status-badge {
    display: inline-block;
    margin: 10px 0 22px;
    padding: 10px 18px;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
}

.tracking-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 20px 0 24px;
}

.tracking-step {
    text-align: center;
    opacity: 0.45;
}

.tracking-step.is-active {
    opacity: 1;
}

.tracking-step-dot {
    width: 18px;
    height: 18px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: #d1d5db;
}

.tracking-step.is-active .tracking-step-dot {
    background: #9d1111;
    box-shadow: 0 0 0 6px rgba(157, 17, 17, 0.12);
}

.tracking-step-label {
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.tracking-order-info {
    margin-top: 20px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.04);
    text-align: left;
}

.tracking-order-info p {
    margin: 0 0 8px;
    color: #222;
}

.tracking-order-info p:last-child {
    margin-bottom: 0;
}

@media (max-width: 700px) {
    .time-actions {
        grid-template-columns: repeat(2, 1fr);
    }

    .tracking-steps {
        grid-template-columns: 1fr 1fr;
    }
}

.dashboard-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 24px 0 14px;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.dashboard-stat-card {
    background: #fff;
    color: #111;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dashboard-stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.dashboard-stat-number {
    font-size: 30px;
    line-height: 1.1;
    color: #111;
}

.revenue-card .dashboard-stat-number {
    color: #8b0000;
}

.month-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.month-compare-card {
    background: #fff;
    color: #111;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.month-compare-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.month-compare-header h3 {
    margin: 0;
    color: #111;
}

.month-compare-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.trend-up {
    background: #15803d;
}

.trend-down {
    background: #b91c1c;
}

.month-compare-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.month-value-box {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.month-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.month-value-box strong {
    font-size: 24px;
    color: #111;
}

.dashboard-analytics-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    margin-bottom: 24px;
}

.dashboard-panel {
    background: #fff;
    color: #111;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.panel-header {
    margin-bottom: 18px;
}

.panel-header h3 {
    margin: 0;
    color: #111;
}

.mini-chart {
    height: 260px;
    display: flex;
    align-items: end;
    gap: 14px;
    padding: 16px 0 8px;
    border-bottom: 1px solid #eee;
    margin-bottom: 18px;
}

.mini-chart-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mini-chart-bar {
    width: 100%;
    max-width: 56px;
    min-height: 0;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(180deg, #cf2c2c 0%, #7a0d0d 100%);
    box-shadow: 0 6px 18px rgba(207, 44, 44, 0.25);
    transition: transform 0.2s ease;
}

.mini-chart-bar:hover {
    transform: translateY(-4px);
}

.mini-chart-value {
    font-size: 12px;
    color: #555;
    font-weight: 700;
}

.mini-chart-label {
    font-size: 13px;
    color: #333;
    font-weight: 600;
}

.chart-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 10px;
}

.chart-summary-item {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chart-summary-item strong {
    color: #111;
    font-size: 13px;
}

.chart-summary-item span {
    color: #8b0000;
    font-weight: 700;
    font-size: 13px;
}

.chart-summary-item small {
    color: #666;
    font-size: 12px;
}

.top-products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.top-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid #eee;
    border-radius: 14px;
    background: #fafafa;
}

.top-product-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.top-product-main strong {
    color: #111;
}

.top-product-main span {
    color: #666;
    font-size: 14px;
}

.top-product-revenue {
    color: #8b0000;
    font-weight: 700;
    white-space: nowrap;
}

.admin-filter-box {
    background: #fff;
    color: #111;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    margin-bottom: 24px;
}

.admin-filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    background: #fff;
    color: #111;
    box-sizing: border-box;
}

.filter-search {
    grid-column: span 2;
}

.filter-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.admin-table-wrap {
    overflow-x: auto;
    margin: 24px 0 40px;
    background: #fff;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    color: #111;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: #111;
    background: #fafafa;
}

@media (max-width: 1000px) {
    .dashboard-analytics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .month-compare-grid {
        grid-template-columns: 1fr;
    }

    .month-compare-values {
        grid-template-columns: 1fr;
    }

    .filter-search {
        grid-column: span 1;
    }
}

.sound-enable-box {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 10px 0 20px;
}

.sound-hint {
    color: rgba(255,255,255,0.82);
}

.time-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 16px;
}

.time-btn {
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    color: #111;
    background: #f1f1f1;
    transition: transform 0.2s ease, background 0.2s ease;
}

.time-btn:hover {
    transform: translateY(-2px);
    background: #e5e5e5;
}

.estimated-time {
    color: #8b0000;
    font-weight: 800;
}

@media (max-width: 700px) {
    .time-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tracking-box {
    max-width: 720px;
}

.tracking-status-badge {
    display: inline-block;
    margin: 10px 0 22px;
    padding: 10px 18px;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
}

.tracking-time-box {
    margin: 18px 0 22px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(157, 17, 17, 0.08);
    border: 1px solid rgba(157, 17, 17, 0.12);
}

.tracking-time-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    text-align: center;
    margin-bottom: 8px;
}

.tracking-time-main strong {
    font-size: 30px;
    line-height: 1;
    color: #8b0000;
}

.tracking-time-main span {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.tracking-time-sub {
    text-align: center;
    color: #222;
    font-weight: 600;
    margin-bottom: 12px;
}

.tracking-progress {
    width: 100%;
    height: 12px;
    background: #eadede;
    border-radius: 999px;
    overflow: hidden;
}

.tracking-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #8b0000 0%, #c21d1d 100%);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.tracking-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 20px 0 24px;
}

.tracking-step {
    text-align: center;
    opacity: 0.45;
}

.tracking-step.is-active {
    opacity: 1;
}

.tracking-step-dot {
    width: 18px;
    height: 18px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: #d1d5db;
}

.tracking-step.is-active .tracking-step-dot {
    background: #9d1111;
    box-shadow: 0 0 0 6px rgba(157, 17, 17, 0.12);
}

.tracking-step-label {
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.tracking-order-info {
    margin-top: 20px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.04);
    text-align: left;
}

.tracking-order-info p {
    margin: 0 0 8px;
    color: #222;
}

.tracking-order-info p:last-child {
    margin-bottom: 0;
}

@media (max-width: 700px) {
    .tracking-steps {
        grid-template-columns: 1fr 1fr;
    }
}

.dashboard-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 24px 0 14px;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.dashboard-stat-card {
    background: #fff;
    color: #111;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dashboard-stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.dashboard-stat-number {
    font-size: 30px;
    line-height: 1.1;
    color: #111;
}

.revenue-card .dashboard-stat-number {
    color: #8b0000;
}

.month-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.month-compare-card {
    background: #fff;
    color: #111;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.month-compare-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.month-compare-header h3 {
    margin: 0;
    color: #111;
}

.month-compare-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.trend-up {
    background: #15803d;
}

.trend-down {
    background: #b91c1c;
}

.month-compare-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.month-value-box {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.month-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.month-value-box strong {
    font-size: 24px;
    color: #111;
}

.dashboard-analytics-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    margin-bottom: 24px;
}

.dashboard-panel {
    background: #fff;
    color: #111;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.panel-header {
    margin-bottom: 18px;
}

.panel-header h3 {
    margin: 0;
    color: #111;
}

.mini-chart {
    height: 260px;
    display: flex;
    align-items: end;
    gap: 14px;
    padding: 16px 0 8px;
    border-bottom: 1px solid #eee;
    margin-bottom: 18px;
}

.mini-chart-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mini-chart-bar {
    width: 100%;
    max-width: 56px;
    min-height: 0;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(180deg, #cf2c2c 0%, #7a0d0d 100%);
    box-shadow: 0 6px 18px rgba(207, 44, 44, 0.25);
    transition: transform 0.2s ease;
}

.mini-chart-bar:hover {
    transform: translateY(-4px);
}

.mini-chart-value {
    font-size: 12px;
    color: #555;
    font-weight: 700;
}

.mini-chart-label {
    font-size: 13px;
    color: #333;
    font-weight: 600;
}

.chart-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 10px;
}

.chart-summary-item {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chart-summary-item strong {
    color: #111;
    font-size: 13px;
}

.chart-summary-item span {
    color: #8b0000;
    font-weight: 700;
    font-size: 13px;
}

.chart-summary-item small {
    color: #666;
    font-size: 12px;
}

.top-products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.top-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid #eee;
    border-radius: 14px;
    background: #fafafa;
}

.top-product-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.top-product-main strong {
    color: #111;
}

.top-product-main span {
    color: #666;
    font-size: 14px;
}

.top-product-revenue {
    color: #8b0000;
    font-weight: 700;
    white-space: nowrap;
}

.admin-filter-box {
    background: #fff;
    color: #111;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    margin-bottom: 24px;
}

.admin-filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    background: #fff;
    color: #111;
    box-sizing: border-box;
}

.filter-search {
    grid-column: span 2;
}

.filter-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.admin-table-wrap {
    overflow-x: auto;
    margin: 24px 0 40px;
    background: #fff;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    color: #111;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: #111;
    background: #fafafa;
}

@media (max-width: 1000px) {
    .dashboard-analytics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .month-compare-grid {
        grid-template-columns: 1fr;
    }

    .month-compare-values {
        grid-template-columns: 1fr;
    }

    .filter-search {
        grid-column: span 1;
    }
}

.legal-section {
    margin: 50px auto;
}

.legal-box {
    background: #fff;
    color: #111;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.22);
    line-height: 1.7;
}

.legal-box h2 {
    margin-top: 0;
    margin-bottom: 18px;
    color: #8b0000;
}

.legal-box h3 {
    margin-top: 24px;
    margin-bottom: 8px;
    color: #111;
}

.legal-box p,
.legal-box li {
    color: #333;
}

.legal-box ul {
    padding-left: 20px;
}

.site-footer {
    background: #111;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
}

.site-footer a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    font-weight: 600;
}

.site-footer a:hover {
    text-decoration: underline;
}

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    display: flex;
    justify-content: center;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner-box {
    width: 100%;
    max-width: 980px;
    background: rgba(18, 18, 18, 0.98);
    color: #fff;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
    backdrop-filter: blur(8px);
}

.cookie-banner-text h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.cookie-banner-text p {
    margin: 0;
    color: rgba(255,255,255,0.88);
    line-height: 1.6;
}

.cookie-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.cookie-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
}

.cookie-check-disabled {
    opacity: 0.8;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.cookie-btn {
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
}

.cookie-btn-light {
    background: #f3f3f3;
    color: #111;
}

.cookie-btn-primary {
    background: #9d1111;
    color: #fff;
}

.cookie-links {
    margin-top: 14px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.cookie-links a {
    color: #fff;
    text-decoration: underline;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

.container {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15,15,15,0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-bar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.site-logo-wrap {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.site-logo {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.site-brand-text {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

header nav {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

header nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 999px;
    transition: background 0.2s ease, transform 0.2s ease;
}

header nav a:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-1px);
}

.page-title,
main h2 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
}

.menu-grid,
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 18px;
}

.card,
.admin-card,
.success-box,
.checkout-form-box,
.checkout-summary-box {
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

.card,
.admin-card {
    background: #fff;
    color: #111;
    padding: 18px;
}

.card h3,
.admin-card h3 {
    margin-top: 10px;
    margin-bottom: 8px;
    font-size: 22px;
}

.card p,
.admin-card p {
    color: #444;
    line-height: 1.6;
}

.product-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 18px;
}

button,
.primary-btn,
.secondary-btn,
.status-btn,
.time-btn,
.add-option-to-cart-btn {
    min-height: 46px;
    border-radius: 14px;
    font-weight: 700;
}

.time-actions,
.status-actions {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.time-actions {
    grid-template-columns: repeat(4, 1fr);
}

.status-actions {
    grid-template-columns: repeat(2, 1fr);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
}

.mini-cart {
    right: 0;
    left: auto;
    width: min(92vw, 360px);
    border-radius: 18px;
}

.legal-box {
    padding: 22px;
}

@media (max-width: 960px) {
    .header-bar {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px 0;
    }

    header nav {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        scrollbar-width: thin;
    }

    header nav a {
        white-space: nowrap;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .time-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 20px, 1180px);
    }

    .site-logo-wrap {
        width: 46px;
        height: 46px;
    }

    .site-brand-text {
        font-size: 19px;
    }

    .menu-grid,
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 190px;
    }

    .status-actions {
        grid-template-columns: 1fr;
    }

    .cookie-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .card,
    .admin-card,
    .success-box,
    .checkout-form-box,
    .checkout-summary-box,
    .legal-box {
        padding: 16px;
        border-radius: 18px;
    }

    .product-image {
        height: 170px;
    }

    .time-actions {
        grid-template-columns: 1fr 1fr;
    }

    .site-brand {
        gap: 10px;
    }

    .site-brand-text {
        font-size: 17px;
    }
}

.site-footer {
    background: #111;
    padding: 22px 0;
    margin-top: 40px;
}

.site-footer .container {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.site-footer a:hover {
    text-decoration: underline;
}

.checkout-error {
    margin: 12px 0;
    padding: 12px 14px;
    border-radius: 8px;
    background: #ffe5e5;
    color: #b30000;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #ffb3b3;
}

.checkout-summary-line {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.order-buttons {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.order-btn {
    display: inline-block;
    padding: 14px 20px;
    border-radius: 999px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    transition: 0.2s ease;
}

.phone-btn {
    background: #333;
}

.phone-btn:hover {
    background: #000;
}

.whatsapp-btn {
    background: #25D366;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
}

.fixed-order-bar {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 10px 0;
}

.fixed-order-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.fixed-order-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    color: #222;
}

.opening-times {
    font-size: 13px;
    color: #666;
}

.fixed-order-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    transition: 0.2s ease;
    white-space: nowrap;
}

.phone-btn {
    background: #222;
}

.phone-btn:hover {
    background: #000;
}

.whatsapp-btn {
    background: #25D366;
}

.whatsapp-btn:hover {
    background: #1faa50;
}

.contact-order-box {
    margin: 30px 0;
    padding: 24px;
    border-radius: 18px;
    background: #f8f8f8;
    border: 1px solid #e4e4e4;
}

.contact-order-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.contact-order-text {
    flex: 1 1 320px;
}

.contact-order-text h2 {
    margin-bottom: 10px;
}

.opening-times-box {
    margin-top: 12px;
    line-height: 1.7;
    color: #333;
}

.contact-order-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .fixed-order-bar-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .fixed-order-info {
        text-align: center;
    }

    .fixed-order-buttons {
        width: 100%;
        justify-content: center;
    }

    .order-btn {
        flex: 1 1 100%;
    }

    .contact-order-content {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-order-actions {
        flex-direction: column;
    }

    .contact-order-actions .order-btn {
        width: 100%;
    }
}

.bonus-box {
    margin: 14px 0;
    padding: 14px;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    background: #f8f8f8;
}

.bonus-box label {
    display: block;
    margin-bottom: 8px;
}

.bonus-box select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #fff;
}

.family-pizza-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.family-pizza-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.family-pizza-modal-content {
    position: relative;
    width: min(92%, 560px);
    max-height: 85vh;
    overflow-y: auto;
    margin: 40px auto;
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.family-pizza-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}

.family-pizza-extra-list {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.family-pizza-extra-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fafafa;
    cursor: pointer;
}

.family-pizza-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.family-pizza-add-btn {
    padding: 12px 18px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
}

@media (max-width: 640px) {
    .family-pizza-modal-content {
        margin: 20px auto;
        padding: 18px;
    }

    .family-pizza-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .family-pizza-add-btn {
        width: 100%;
    }
}

.family-pizza-modal-content {
    color: #000;
}

.family-pizza-extra-list label {
    color: #000;
}

.family-pizza-modal-footer {
    color: #000;
}

#family-pizza-total-price {
    color: #000;
}

.top-seller-section {
    margin: 30px 0 40px;
    padding: 24px;
    border-radius: 20px;
    background: #fff7ef;
    border: 1px solid #f1dcc6;
}

.top-seller-header {
    margin-bottom: 18px;
}

.top-seller-header h2 {
    margin-bottom: 6px;
}


.top-seller-header h2 {
    color: #000 !important;
}



.top-seller-header p {
    margin: 0;
    color: #555;
}

.top-seller-card {
    position: relative;
}

.top-seller-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.top-seller-count {
    margin: 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}



.category-nav-inner {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.category-nav-inner::-webkit-scrollbar {
    display: none;
}

.category-btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

.menu-category {
    scroll-margin-top: 140px;
}

@media (max-width: 768px) {
    .category-nav {
        top: 60px;
        padding: 8px 0;
    }

    .category-nav-inner {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .category-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .menu-category {
        scroll-margin-top: 110px;
    }
}



@keyframes sliderHint {
    0% {
        transform: translateX(-20px);
        opacity: 0.5;
    }

    50% {
        transform: translateX(20px);
        opacity: 1;
    }

    100% {
        transform: translateX(-20px);
        opacity: 0.5;
    }
}

.category-nav {
    position: sticky !important;
    top: 86px !important;
    z-index: 9998 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 14px;
    margin: 18px 0 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    overflow: visible !important;
}

.category-nav-inner {
    display: flex !important;
    gap: 14px;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    scroll-behavior: smooth;
    padding: 6px 10px;
    scrollbar-width: none;
}

.category-nav-inner::-webkit-scrollbar {
    display: none;
}

.category-btn {
    flex: 0 0 auto !important;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    padding: 14px 22px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #ececec;
    color: #111 !important;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.category-btn.active {
    background: #8b0000 !important;
    color: #fff !important;
    border-color: #8b0000;
}

.category-scroll-bar {
    width: 120px;
    height: 5px;
    background: #000;
    border-radius: 999px;
    margin: 14px auto 0;
    opacity: 0.9;
    cursor: pointer;
    animation: sliderHint 2s ease-in-out infinite;
}

.category-nav::after {
    display: none !important;
    content: none !important;
}

.menu-category {
    scroll-margin-top: 170px;
}

@media (max-width: 768px) {
    .category-nav {
        top: 92px !important;
    }

    .menu-category {
        scroll-margin-top: 175px;
    }
}

/* =======================================
   PREMIUM KATEGORIE BUTTONS MIT PFEILEN
   Für menu.php
======================================= */

.category-nav {
    position: sticky !important;
    top: 88px !important;
    z-index: 9998 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(14px);
    border-radius: 24px;
    padding: 18px 70px !important;
    margin: 20px 0 35px !important;
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.7);
    overflow: hidden !important;
}

/* Linker und rechter Pfeil */
.category-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #8b0000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 26px;
    font-weight: 900;
    z-index: 20;
    box-shadow: 0 10px 25px rgba(139,0,0,0.35);
    transition: 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Hover-Effekt für Pfeile */
.category-arrow:hover {
    transform: translateY(-50%) scale(1.08);
    background: #b30000;
    box-shadow: 0 14px 30px rgba(139,0,0,0.45);
}

.category-arrow.left {
    left: 14px;
}

.category-arrow.right {
    right: 14px;
}

/* Button-Leiste */
.category-nav-inner {
    display: flex !important;
    gap: 14px !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 6px 4px !important;
}

.category-nav-inner::-webkit-scrollbar {
    display: none;
}

/* Kategorie Buttons */
.category-btn {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    padding: 16px 24px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1px solid #ececec !important;
    color: #111 !important;
    font-weight: 800 !important;
    font-size: 15px;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
}

/* Hover-Effekt für Kategorie Buttons */
.category-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.14);
    border-color: #d9d9d9 !important;
}

/* Aktive Kategorie */
.category-btn.active {
    background: linear-gradient(135deg, #8b0000, #c41212) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 14px 28px rgba(139,0,0,0.35);
}

.category-btn-icon {
    font-size: 20px;
}

/* Alte schwarze Leiste verstecken */
.category-scroll-bar,
.category-nav::after {
    display: none !important;
    content: none !important;
}

/* Damit beim Klick auf Kategorie nichts verdeckt wird */
.menu-category {
    scroll-margin-top: 180px !important;
}

/* Handy Ansicht */
@media (max-width: 768px) {
    .category-nav {
        top: 92px !important;
        padding: 14px 55px !important;
        border-radius: 18px;
    }

    .category-btn {
        padding: 14px 18px !important;
        font-size: 14px;
    }

    .category-arrow {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .category-arrow.left {
        left: 8px;
    }

    .category-arrow.right {
        right: 8px;
    }

    .menu-category {
        scroll-margin-top: 175px !important;
    }
}

/* iPhone / Safari Fix für feste Kategorie-Buttons */
@media (max-width: 768px) {
    .category-nav {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 200px !important;
        z-index: 99999 !important;
        display: block !important;
        min-height: 88px !important;
        background: rgba(255,255,255,0.98) !important;
        overflow: hidden !important;
        padding: 14px 55px !important;
    }

    .category-nav-inner {
        display: flex !important;
        align-items: center !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch;
    }

    .category-btn {
        flex: 0 0 auto !important;
        min-height: 48px !important;
    }

    .category-arrow {
        top: 50% !important;
        z-index: 100000 !important;
    }

    .site-header {
        z-index: 100000 !important;
    }
}

@media (max-width: 768px) {
    .category-nav {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 200px !important;
        z-index: 99999 !important;
        background: rgba(255,255,255,0.98) !important;
        min-height: 90px !important;
        padding: 14px 55px !important;
        border-radius: 18px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }

    .site-header {
        z-index: 100000 !important;
    }

    .menu-category {
        scroll-margin-top: 260px !important;
    }
}

.legal-section {
    display: none;
}

.legal-section.legal-modal-open {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,0.72);
}

.legal-section.legal-modal-open .legal-box {
    position: relative;
    width: min(900px, 96vw);
    max-height: 86vh;
    overflow-y: auto;
    background: #fff;
    color: #111;
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.legal-section.legal-modal-open .legal-box::before {
    content: "×";
    position: sticky;
    top: 0;
    float: right;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-left: 12px;
    border-radius: 50%;
    background: #8b0000;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.legal-section.legal-modal-open .legal-box h2,
.legal-section.legal-modal-open .legal-box h3,
.legal-section.legal-modal-open .legal-box p,
.legal-section.legal-modal-open .legal-box li {
    color: #111;
}

.payment-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 8px;
}

.payment-badge.paid {
    background: #d1fae5;
    color: #065f46;
}

.payment-badge.unpaid {
    background: #fee2e2;
    color: #991b1b;
}

.payment-option span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.payment-option i {
    font-size: 18px;
}

/* PayPal */
.paypal-option span {
    color: #003087;
    font-weight: 700;
}

/* Klarna */
.klarna-option span {
    background: #ffb3c7;
    color: #000;
    padding: 8px 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
}

.payment-brand {
    border: 2px solid #e5e7eb;
    border-radius: 18px;
    padding: 14px 16px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.payment-brand:hover {
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.payment-brand input {
    margin-right: 12px;
}

.payment-brand-content img {
    width: auto;
    display: block;
    object-fit: contain;
}

/* PayPal */
.paypal-option img {
    height: 14px;
    max-width: 55px;
}

/* Klarna */
.klarna-option img {
    height: 14px;
    max-width: 55px;
}

.paypal-option {
    background: #f8fbff;
}

.klarna-option {
    background: #fff5f8;
}

.payment-brand-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-brand-content img {
    width: auto;
    display: block;
    object-fit: contain;
}

/* PayPal */
.paypal-option img {
    height: 16px;
    max-width: 60px;
}

/* Klarna */
.klarna-option img {
    height: 16px;
    max-width: 60px;
}

.payment-overview-card {
    background: #fff;
    padding: 22px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin: 24px 0;
}

.payment-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 14px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ececec;
}

.payment-row small {
    color: #777;
    font-size: 12px;
}

.payment-highlight {
    background: #f5f9ff;
    padding: 12px;
    border-radius: 12px;
    border-bottom: none;
}

.payment-total {
    background: #f4fff4;
    padding: 14px;
    border-radius: 12px;
    border-bottom: none;
    font-size: 18px;
}

.payment-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    margin-bottom: 14px;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.25s ease;
}

.payment-option:hover {
    border-color: #111827;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.payment-option input[type="radio"] {
    transform: scale(1.2);
    accent-color: #111827;
}

.payment-option:has(input:checked) {
    border-color: #111827;
    background: #f9fafb;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.payment-brand-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.payment-brand-content img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.payment-bank-icon {
    font-size: 24px;
    color: #111827;
}

.checkout-submit-btn {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 16px;
    background: #111827;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 10px 20px rgba(17,24,39,0.18);
}

.checkout-submit-btn:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}

.menu-grid {
    gap: 22px;
}

.card {
    position: relative;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 18px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0,0,0,0.10);
    border-color: #d1d5db;
}

.card h3 {
    margin-top: 12px;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 800;
    color: #111827;
}

.card p {
    color: #4b5563;
    line-height: 1.5;
}

.product-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 16px;
}

.product-price {
    margin-top: 14px;
    margin-bottom: 14px;
    font-size: 20px;
    color: #9d1111;
}

.card button,
.add-option-to-cart-btn,
.family-pizza-add-btn {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 14px 16px;
    background: #9d1111;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.card button:hover,
.add-option-to-cart-btn:hover,
.family-pizza-add-btn:hover {
    background: #7f0d0d;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(157,17,17,0.25);
}

.product-option-select {
    width: 100%;
    padding: 13px 14px;
    border-radius: 14px;
    border: 1px solid #d1d5db;
    margin: 8px 0 14px;
    font-size: 15px;
    background: #fff;
}

.option-label {
    display: block;
    margin-top: 12px;
    font-weight: 800;
    color: #111827;
}

.closed-notice {
    margin: 20px 0;
    padding: 18px 20px;
    border-radius: 16px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 16px;
    line-height: 1.5;
}

.menu-disabled-btn,
.menu-disabled-btn:hover {
    background: #9ca3af !important;
    color: #ffffff !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}