* {
    box-sizing: border-box;
}

:root {
    --brand-primary: #111111;
    --brand-accent: #ef3f2f;
    --background: #f6f6f4;
    --surface: #ffffff;
    --text: #191919;
    --muted: #6d6d6d;
    --border: #e7e7e4;
    --success: #177344;
    --danger: #a52e26;
    --radius: 18px;
    --shadow: 0 10px 28px
        rgba(0, 0, 0, 0.07);
}

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

body {
    margin: 0;
    padding-bottom: 90px;
    background: var(--background);
    color: var(--text);
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.topbar {
    position: sticky;
    z-index: 100;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

.topbar__brand {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.topbar__logo,
.topbar__logo-placeholder {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 14px;
}

.topbar__logo {
    object-fit: cover;
}

.topbar__logo-placeholder {
    display: grid;
    place-items: center;
    background: var(--brand-primary);
    color: white;
    font-size: 0.84rem;
    font-weight: 900;
}

.topbar__name {
    overflow: hidden;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar__location {
    overflow: hidden;
    max-width: 190px;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.status-badge {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 0.72rem;
    font-weight: 800;
}

.status-badge--open {
    background: #ddf7e9;
    color: var(--success);
}

.status-badge--closed {
    background: #fbe6e4;
    color: var(--danger);
}

.hero {
    padding: 26px 18px;
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 255, 255, 0.18),
            transparent 42%
        ),
        var(--brand-primary);
    color: white;
}

.hero__content {
    width: min(100%, 760px);
    margin: 0 auto;
}

.hero__eyebrow,
.section-heading__eyebrow {
    margin: 0 0 8px;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero__eyebrow {
    color: rgba(255, 255, 255, 0.74);
}

.hero h1 {
    max-width: 500px;
    margin: 0;
    font-size: clamp(2rem, 8vw, 3.7rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.hero__description {
    max-width: 560px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.96rem;
    line-height: 1.55;
}

.hero__details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.hero__details span {
    border: 1px solid
        rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 8px 11px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    font-weight: 750;
}

.fulfillment,
.menu,
.location-card {
    width: min(100%, 920px);
    margin: 0 auto;
}

.fulfillment {
    padding: 24px 16px 14px;
}

.section-heading h2 {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.section-heading__eyebrow {
    color: var(--brand-accent);
}

.fulfillment__options {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.fulfillment-card {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 14px;
    border: 2px solid transparent;
    border-radius: var(--radius);
    padding: 15px;
    background: var(--surface);
    box-shadow: var(--shadow);
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.fulfillment-card--active {
    border-color: var(--brand-accent);
}

.fulfillment-card__icon {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 15px;
    background: #f3f3f0;
    font-size: 1.4rem;
}

.fulfillment-card__content {
    display: grid;
    gap: 4px;
}

.fulfillment-card__content strong {
    font-size: 0.96rem;
}

.fulfillment-card__content small {
    color: var(--muted);
    line-height: 1.3;
}

.category-nav {
    position: sticky;
    z-index: 90;
    top: 68px;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(246, 246, 244, 0.97);
    backdrop-filter: blur(10px);
}

.category-nav__track {
    display: flex;
    overflow-x: auto;
    width: min(100%, 920px);
    margin: 0 auto;
    gap: 8px;
    padding: 10px 16px;
    scrollbar-width: none;
}

.category-nav__track::-webkit-scrollbar {
    display: none;
}

.category-nav__link {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 9px 14px;
    background: var(--surface);
    box-shadow: 0 3px 12px
        rgba(0, 0, 0, 0.05);
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.menu {
    padding: 26px 16px;
}

.menu-category {
    margin-top: 30px;
}

.menu-category__heading h3 {
    margin: 0;
    font-size: 1.32rem;
    letter-spacing: -0.02em;
}

.menu-category__heading p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.product-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.product-card {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) 112px;
    overflow: hidden;
    min-height: 148px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 8px 22px
        rgba(0, 0, 0, 0.05);
}

.product-card--sold-out {
    opacity: 0.62;
}

.product-card__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 14px;
}

.product-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-height: 18px;
}

.product-badge {
    border-radius: 999px;
    padding: 4px 7px;
    background: #fff0d2;
    color: #7c4c00;
    font-size: 0.62rem;
    font-weight: 850;
    text-transform: uppercase;
}

.product-badge--muted {
    background: #eeeeeb;
    color: #666;
}

.product-card h4 {
    margin: 7px 0 0;
    font-size: 1rem;
    line-height: 1.2;
}

.product-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card__footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
}

.product-price {
    display: block;
    font-size: 0.95rem;
}

.compare-price {
    color: var(--muted);
    font-size: 0.68rem;
    text-decoration: line-through;
}

.add-button {
    min-width: 76px;
    min-height: 38px;
    border: 0;
    border-radius: 12px;
    padding: 8px 12px;
    background: var(--brand-accent);
    color: white;
    font-size: 0.78rem;
    font-weight: 850;
    cursor: pointer;
}

.add-button:disabled {
    background: #c8c8c3;
    cursor: not-allowed;
}

.product-card__image {
    min-width: 0;
    background: #eeeeeb;
}

.product-card__image img,
.product-card__placeholder {
    width: 100%;
    height: 100%;
    min-height: 148px;
}

.product-card__image img {
    display: block;
    object-fit: cover;
}

.product-card__placeholder {
    display: grid;
    place-items: center;
    font-size: 2.4rem;
}

.location-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 30px;
    border-radius: var(--radius);
    padding: 22px 16px;
    background: var(--brand-primary);
    color: white;
}

.location-card h2 {
    margin: 0;
}

.location-card p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.76);
}

.location-card__reference {
    font-size: 0.8rem;
}

.secondary-button {
    flex: 0 0 auto;
    border-radius: 12px;
    padding: 10px 13px;
    background: white;
    color: var(--brand-primary);
    font-size: 0.76rem;
    font-weight: 850;
    text-decoration: none;
}

.cart-bar {
    position: fixed;
    z-index: 150;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-radius: 18px;
    padding: 12px 12px 12px 16px;
    background: var(--brand-primary);
    box-shadow: 0 12px 35px
        rgba(0, 0, 0, 0.25);
    color: white;
}

.cart-bar small,
.cart-bar strong {
    display: block;
}

.cart-bar small {
    color: rgba(255, 255, 255, 0.7);
}

.cart-bar__button {
    border: 0;
    border-radius: 13px;
    padding: 12px 17px;
    background: var(--brand-accent);
    color: white;
    font-weight: 850;
}

.empty-state {
    margin-top: 20px;
    border: 1px dashed #ccccca;
    border-radius: var(--radius);
    padding: 30px 20px;
    background: var(--surface);
    text-align: center;
}

.empty-state h3 {
    margin: 0;
}

.empty-state p {
    margin: 8px 0 0;
    color: var(--muted);
}

@media (min-width: 700px) {
    .hero {
        padding: 52px 24px;
    }

    .fulfillment {
        padding-top: 34px;
    }

    .fulfillment__options {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .product-list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .location-card {
        padding: 28px;
    }
}

@media (min-width: 1050px) {
    .product-list {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}
