* {
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f8f9fa;
    color: #333;
    padding: 20px 20px 80px 20px;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 600px;
}

.food-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef0f2;
}

.food-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.food-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.food-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.food-desc {
    font-size: 0.9rem;
    color: #666;
    margin: 5px 0;
    line-height: 1.3;
}

.food-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: bold;
    font-size: 1.1rem;
}

/* Styling für die neuen Mengenzähler-Buttons */
.counter-box {
    display: flex;
    align-items: center;
    border: 1.5px solid #000;
    border-radius: 20px;
    overflow: hidden;
    background: white;
}

.btn-counter {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #333 !important;
    font-size: 22px;
    line-height: 1;
    font-weight: bold;
    user-select: none;
    -webkit-user-select: none;
}

.btn-counter:hover {
    background: #000;
    color: white;
}

.counter-value {
    padding: 0 8px;
    font-weight: bold;
    font-size: 1rem;
    min-width: 24px;
    text-align: center;
}

.cart-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 560px;
    background: #0f172a;
    color: white;
    padding: 15px 20px;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-decoration: none;
}

.cart-bar:hover {
    background: #1e293b;
}

.cart-btn {
    background: white;
    color: #0f172a;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
}

.summary-box {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.cart-item-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
}

.form-group {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    border: none;
    padding: 8px 0;
    font-size: 1rem;
    outline: none;
}

.form-group input:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.btn-submit {
    background: #0f172a;
    color: white;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
}

/* Container für die echten Apple/Google Pay Buttons */
#sumup-express-container {
    margin-bottom: 0px;
    min-height: 0px;
}

#sumup-express-container:not(:empty) {
    margin-bottom: 20px;
    margin-top: 10px;
}

/* Styling für die Kassen-Navigations-Buttons */
.checkout-nav-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    align-items: center;
}

.btn-nav-back,
.btn-nav-clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Zurück-Button: Dezent grau */
.btn-nav-back {
    background-color: #f1f5f9;
    color: #475569;
}

.btn-nav-back:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

/* Leeren-Button: Sanftes Rot */
.btn-nav-clear {
    background-color: #fef2f2;
    color: #dc2626;
}

.btn-nav-clear:hover {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Grunddesign für die Trinkgeld-Buttons */
.btn-tip {
    background-color: #ffffff;
    color: #1e293b;            /* Eleganter Anthrazit-Ton statt reinem Schwarz */
    border: 1px solid #e2e8f0;  /* Sehr feine, moderne graue Linie */
    border-radius: 20px;       /* Macht den Button pillenförmig */
    padding: 8px 16px;         /* Genug Platz für Touch-Eingaben auf dem Smartphone */
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* Minimaler, edler Schattenwurf */
    transition: all 0.2s ease-in-out;        /* Macht Farbwechsel butterweich */
}

/* Effekt, wenn man mit der Maus darüber fährt (Desktop) */
.btn-tip:hover {
    background-color: #f8fafc;  /* Ganz leichtes Hellgrau */
    border-color: #cbd5e1;      /* Der Rand wird etwas dunkler */
    transform: translateY(-1px); /* Der Button hebt sich minimal an (3D-Effekt) */
}

/* Effekt im Moment des Klickens (haptisches Feedback) */
.btn-tip:active {
    transform: translateY(0);   /* Button drückt sich wieder nach unten */
    box-shadow: none;
}