@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
    --red: #ad352d;
    --red-dark: #84251f;
    --yellow: #efad38;
    --cream: #f1dfc8;
    --cream-light: #f8eee2;
    --brown: #35251f;
    --muted: #806f65;
    --white: #fffaf5;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

body {
    margin: 0;
    background: var(--cream-light);
    color: var(--brown);
    font-family: "DM Sans", Arial, sans-serif;
}

.hero {
    background:
        radial-gradient(circle at 50% 20%, rgba(239,173,56,.25), transparent 35%),
        var(--red);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 20px 36px;
    text-align: center;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    width: min(300px, 78vw);
    height: auto;
    display: block;
}

.hero-subtitle {
    color: var(--yellow);
    font-weight: 700;
    letter-spacing: 5px;
    margin: -8px 0 0;
}

.hero-note {
    color: rgba(255,255,255,.75);
    font-size: 13px;
    margin: 8px 0 0;
}

.categories {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,250,245,.96);
    border-bottom: 1px solid rgba(53,37,31,.1);
    box-shadow: 0 4px 18px rgba(53,37,31,.08);
    backdrop-filter: blur(10px);
}

.categories-inner {
    width: min(1180px, 100%);
    margin: auto;
    padding: 10px 14px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.categories-inner::-webkit-scrollbar {
    display: none;
}

.categories a {
    flex: 0 0 auto;
    color: var(--brown);
    text-decoration: none;
    background: var(--cream);
    border: 1px solid rgba(53,37,31,.08);
    padding: 9px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.categories a:hover {
    background: var(--yellow);
}

.container {
    width: min(1050px, calc(100% - 30px));
    margin: auto;
    padding: 35px 0 50px;
}

.welcome {
    background: var(--cream);
    border-radius: 22px;
    padding: 25px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 38px;
}

.eyebrow,
.section-kicker {
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.welcome h1 {
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 48px;
    line-height: .95;
    color: var(--red);
    margin: 6px 0 7px;
    letter-spacing: 1px;
}

.welcome p {
    margin: 0;
    color: var(--muted);
}

.search-box {
    width: min(320px, 100%);
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--white);
    border: 1px solid rgba(53,37,31,.12);
    border-radius: 12px;
    padding: 0 14px;
}

.search-box span {
    font-size: 27px;
    line-height: 1;
    color: var(--red);
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 13px 0;
    font: inherit;
    color: var(--brown);
}

.menu-section {
    margin: 0 0 45px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 14px;
    border-bottom: 2px solid rgba(173,53,45,.18);
    padding-bottom: 10px;
}

.section-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--red);
    color: var(--yellow);
    display: grid;
    place-items: center;
    font-size: 23px;
}

.section-title h2 {
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 35px;
    line-height: 1;
    color: var(--red);
    margin: 2px 0 0;
    letter-spacing: .5px;
}

.products {
    display: grid;
    gap: 9px;
}

.product {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 74px;
    background: var(--white);
    border: 1px solid rgba(53,37,31,.07);
    border-radius: 14px;
    padding: 12px 15px;
    box-shadow: 0 2px 9px rgba(53,37,31,.04);
}

.product-image {
    width: 62px;
    height: 62px;
    object-fit: cover;
    border-radius: 10px;
    flex: 0 0 auto;
}

.product-body {
    flex: 1;
    min-width: 0;
}

.product h3 {
    margin: 0 0 3px;
    font-size: 16px;
    font-weight: 700;
}

.product p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.product-price {
    min-width: 105px;
    text-align: right;
    color: var(--red);
    white-space: nowrap;
}

.product-price strong {
    font-size: 18px;
}

.product-price span {
    font-size: 16px;
    font-weight: 700;
}

.product-price small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 10px;
}

.no-results {
    background: var(--cream);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    color: var(--muted);
    margin-bottom: 30px;
}

.footer {
    background: var(--red);
    color: white;
    text-align: center;
    padding: 42px 20px 35px;
}

.footer-logo {
    width: 120px;
    height: auto;
    margin-bottom: -12px;
}

.footer h2 {
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 32px;
    color: var(--yellow);
    margin: 0 0 7px;
}

.footer p {
    margin: 0 0 18px;
    color: rgba(255,255,255,.8);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.footer-links a {
    color: var(--red);
    background: var(--yellow);
    padding: 10px 15px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.footer small {
    color: rgba(255,255,255,.6);
}

.back-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--red);
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: .2s;
}

.back-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

[hidden] {
    display: none !important;
}

@media (max-width: 700px) {
    .hero {
        min-height: 255px;
        padding-top: 18px;
    }

    .logo {
        width: min(245px, 76vw);
    }

    .welcome {
        display: block;
        padding: 21px;
    }

    .welcome h1 {
        font-size: 42px;
    }

    .search-box {
        width: 100%;
        margin-top: 20px;
    }

    .container {
        width: min(100% - 20px, 1050px);
        padding-top: 20px;
    }

    .menu-section {
        margin-bottom: 34px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .product {
        align-items: flex-start;
        padding: 12px;
    }

    .product-price {
        min-width: 86px;
    }

    .product-price strong {
        font-size: 16px;
    }

    .product-price span {
        font-size: 14px;
    }
}
