* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #faf5f0;
    color: #333;
}

:root {
    --bunter-red: #ab1f1f;
    --bunter-dark: #6b1111;
    --bunter-light: #f5e6e0;
    --accent-yellow: #ffc107;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

/* Header */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0 10px 0;
    margin-bottom: 15px;
}

.header-logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    object-fit: contain;
    line-height: 1;
}

/* Category Navigation - Mobile First */
.category-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 5px 0;
}

.category-nav::-webkit-scrollbar {
    height: 4px;
}

.category-nav::-webkit-scrollbar-track {
    background: #e0d5ce;
    border-radius: 10px;
}

.category-nav::-webkit-scrollbar-thumb {
    background: var(--bunter-red);
    border-radius: 10px;
}

.category-btn {
    background-color: white;
    border: 2px solid var(--bunter-red);
    color: var(--bunter-red);
    padding: 10px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(171, 31, 31, 0.2);
}

.category-btn.active {
    background-color: var(--bunter-red);
    color: white;
    box-shadow: 0 6px 15px rgba(171, 31, 31, 0.3);
}

/* Menu Content */
.menu-content {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category {
    display: none;
}

.category.active {
    display: block;
}

.category-title {
    font-size: 1.5em;
    color: var(--bunter-red);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--bunter-red);
}

.featured-extras {
    margin: -5px 0 22px;
    padding: 15px;
    border-radius: 12px;
    color: white;
    background: linear-gradient(135deg, var(--bunter-red), var(--bunter-dark));
    box-shadow: 0 6px 16px rgba(107, 17, 17, 0.2);
}

.featured-extras-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.featured-extras-kicker {
    font-size: 0.9em;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.featured-extras-note {
    font-size: 0.75em;
    opacity: 0.8;
}

.featured-extra-options {
    display: grid;
    gap: 8px;
}

.featured-extra {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
    padding: 10px;
    border: 0;
    border-radius: 8px;
    color: #333;
    background: white;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-extra:hover,
.featured-extra:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    outline: none;
}

.featured-extra-icon {
    font-size: 1.35em;
}

.featured-extra-info {
    display: grid;
    min-width: 0;
    flex: 1;
}

.featured-extra-info strong {
    color: var(--bunter-red);
    font-size: 0.9em;
}

.featured-extra-info small {
    color: #666;
    font-size: 0.75em;
}

.featured-extra-price {
    color: var(--bunter-red);
    font-size: 0.85em;
    font-weight: 800;
    white-space: nowrap;
}

.menu-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.menu-item {
    background: white;
    border: 2px solid #e0d5ce;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.menu-item-body {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.menu-item-content {
    min-width: 0;
    flex: 1;
}

.item-image {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border-radius: 8px;
    object-fit: cover;
}

.has-image {
    cursor: pointer;
}

.has-image:focus-visible {
    outline: 3px solid var(--accent-yellow);
    outline-offset: 2px;
}

.image-modal[hidden] {
    display: none;
}

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
}

.image-modal-content {
    max-width: min(90vw, 700px);
    max-height: 85vh;
    border-radius: 10px;
    object-fit: contain;
}

.image-modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    border: 0;
    background: transparent;
    color: white;
    cursor: pointer;
    font-size: 2.5rem;
    line-height: 1;
}

.modal-open {
    overflow: hidden;
}

.menu-item:hover {
    border-color: var(--bunter-red);
    box-shadow: 0 8px 20px rgba(171, 31, 31, 0.15);
    transform: translateY(-3px);
}

.item-title {
    font-size: 1.1em;
    color: var(--bunter-red);
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.item-price {
    font-size: 1em;
    color: var(--bunter-red);
    font-weight: 800;
}

.item-description {
    font-size: 0.9em;
    color: #666;
    margin: 10px 0 12px 0;
    line-height: 1.5;
    white-space: pre-line;
}

.item-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

/* Tablet */
@media (min-width: 768px) {
    .container {
        padding: 20px;
    }

    .header {
        padding: 8px 0 12px 0;
        margin-bottom: 30px;
    }

    .header-logo {
        max-width: 350px;
    }

    .category-nav {
        justify-content: center;
        flex-wrap: wrap;
        overflow: visible;
    }

    .category-btn {
        font-size: 0.95em;
        padding: 12px 18px;
    }

    .category-title {
        font-size: 1.8em;
    }

    .menu-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .menu-item {
        padding: 18px;
    }

    .item-title {
        font-size: 1.2em;
    }

    .item-price {
        font-size: 1.05em;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .container {
        padding: 25px;
    }

    .header {
        padding: 10px 0 15px 0;
        margin-bottom: 35px;
    }

    .header-logo {
        max-width: 400px;
    }

    .category-nav {
        margin-bottom: 40px;
    }

    .category-btn {
        font-size: 1em;
        padding: 12px 20px;
        letter-spacing: 1px;
    }

    .category-title {
        font-size: 2em;
        letter-spacing: 2px;
    }

    .menu-items {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
        margin-bottom: 40px;
    }

    .menu-item {
        padding: 20px;
    }

    .item-title {
        font-size: 1.3em;
        letter-spacing: 1px;
    }

    .item-price {
        font-size: 1.1em;
    }

    .item-description {
        font-size: 0.95em;
        margin: 12px 0 15px 0;
    }
}