:root {
    --brand-red: #C62828;
    /* Deep Vibrant Red */
    --brand-dark-red: #B71C1C;
    /* Slightly darker for pattern */
    --brand-cream: #FFF8E1;
    /* Cream/Beige */
    --brand-yellow: #FFD600;
    /* Vivid Yellow */
    --text-white: #FFFFFF;
    --text-black: #212121;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-white);
    background-color: var(--brand-red);

    /* Seigaiha (Wave) Pattern Effect */
    background-image:
        radial-gradient(circle at 50% 100%, rgba(183, 28, 28, 0.4) 20%, transparent 21%),
        radial-gradient(circle at 50% 100%, transparent 20%, rgba(183, 28, 28, 0.4) 21%, rgba(183, 28, 28, 0.4) 30%, transparent 31%);
    background-size: 60px 30px;
    /* Width, Height */
    background-position: 0 0, 30px 15px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 60px;
    /* Space for floating cart */
}

/* Container for mobile-first layout */
.container {
    width: 100%;
    max-width: 600px;
    /* Mobile focused */
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

/* --- Header Section --- */
header {
    text-align: center;
    margin-bottom: 30px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 20px;
    align-items: center;
}

.slogan {
    font-style: italic;
    font-weight: 500;
}

.socials {
    text-align: right;
}

.socials div {
    margin-bottom: 2px;
}

/* Compact Logo for Mobile Headers */
.brand-logo-compact {
    font-weight: 900;
    font-size: 2.2rem;
    line-height: 1;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
    margin: 10px 0 20px 0;
    letter-spacing: 2px;
    text-align: center;
}

/* Old Logo Styles (Keep for reference if needed, but not used) */
.brand-logo {
    font-weight: 900;
    font-size: 3rem;
    line-height: 1;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
    margin: 20px 0;
    letter-spacing: 2px;
}

.logo-line {
    display: block;
}

.logo-wave {
    font-size: 1.5rem;
    letter-spacing: -2px;
    opacity: 0.8;
    text-align: center;
}

/* Menu Toggle */
.menu-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.menu-toggle {
    background: none;
    border: 2px solid transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    padding: 5px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.menu-toggle.active {
    color: var(--brand-yellow);
    background: rgba(0, 0, 0, 0.2);
    border-color: var(--brand-yellow);
    box-shadow: 0 0 10px rgba(255, 214, 0, 0.3);
}

.menu-toggle:hover {
    color: white;
}

.toggle-divider {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    font-weight: 300;
}

/* --- Menu Cards --- */
.menu-grid {
    display: grid;
    gap: 20px;
}

.menu-card {
    background-color: var(--text-white);
    color: var(--text-black);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@media (prefers-reduced-motion: reduce) {

    .menu-card,
    .btn-order,
    .food-img {
        transition: none !important;
        transform: none !important;
    }
}

.menu-card:active {
    transform: scale(0.99);
}

.food-img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.food-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.food-img:hover {
    transform: scale(1.05);
}

.food-img-placeholder {
    font-size: 4rem;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fce4ec;
}

.card-details {
    padding: 15px;
    text-align: center;
}

.card-details h2 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
    color: var(--brand-red);
    font-weight: 800;
}

.card-details p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 0.9rem;
}

.price-tag {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-black);
    margin-bottom: 10px;
}

.btn-order {
    background: linear-gradient(135deg, var(--brand-red) 0%, #b71c1c 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.95rem;
    width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 4px 6px rgba(198, 40, 40, 0.3);
    /* Promote to GPU layer to prevent jitter */
    will-change: transform;
}

.btn-order:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 8px rgba(198, 40, 40, 0.4);
    filter: brightness(1.1);
}

/* --- Quantity Controls --- */
.qty-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

.btn-qty {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background-color: var(--brand-red);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-qty:active {
    background-color: var(--brand-dark-red);
    transform: scale(0.95);
}

.qty-display {
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--text-black);
    width: 30px;
    text-align: center;
}


/* --- Floating Cart --- */
.floating-cart {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background-color: var(--brand-yellow);
    color: var(--text-black);
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    display: none;
    /* Hidden by default until items added */
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        bottom: -100px;
    }

    to {
        bottom: 20px;
    }
}

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

.cart-cta {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* --- Divider --- */
.divider {
    height: 20px;
    width: 100%;
    /* Checkered pattern */
    background-image:
        linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%),
        linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%),
        linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%);
    background-position: 0 0, 10px 10px;
    background-size: 20px 20px;
    background-color: var(--brand-red);
}

/* --- Footer --- */
/* --- Footer --- */
footer {
    background-color: var(--brand-cream);
    color: var(--text-black);
    text-align: center;
    padding: 40px 20px;
}

.footer-header {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--brand-red);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.value-props {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.prop-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    background: rgba(255, 255, 255, 0.5);
    padding: 10px 15px;
    border-radius: 12px;
}

.prop-icon {
    font-size: 1.8rem;
}

.prop-text {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-black);
}

.footer-tagline {
    font-style: italic;
    font-weight: 500;
    color: #555;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.footer-contact-divider {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 0 auto 25px auto;
    width: 80%;
}

.contact-msg {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.hotline-badge {
    background-color: var(--brand-yellow);
    color: black;
    font-weight: 900;
    font-size: 1.1rem;
    padding: 12px 24px;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: transform 0.2s;
}

.hotline-badge:hover {
    transform: scale(1.05);
}

/* --- Checkout Specifics --- */
.checkout-form {
    background: var(--brand-cream);
    padding: 20px;
    border-radius: 12px;
    color: var(--text-black);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.form-group input:focus {
    border-color: var(--brand-red);
    outline: none;
}

.order-summary {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-total {
    border-top: 2px solid var(--text-black);
    padding-top: 15px;
    margin-top: 5px;
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--brand-red);
    display: flex;
    justify-content: space-between;
}

.btn-remove {
    color: #999;
    background: none;
    border: none;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 10px;
}

/* Coupon Section */
.coupon-section {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.coupon-section input {
    flex: 1;
}

.btn-apply {
    background: var(--text-black);
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

/* Payment Options Alignment */
.payment-option {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    /* Vertical Center */
    cursor: pointer;
    transition: border-color 0.2s;
}

.payment-option:hover {
    border-color: var(--brand-red);
}

.payment-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    margin-right: 15px;
    accent-color: var(--brand-red);
    flex-shrink: 0;
    /* Don't shrink the radio button */
}

.payment-option label {
    margin: 0;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    flex: 1;
    /* Take up remaining space */
    display: flex;
    align-items: center;
    gap: 10px;
}
