:root {
    --cream: #f4e6d7;
    --brown: #3b2b20;
    --tan: #c08b4e;
    --tan-light: #e4c9a3;
    --error: #b3261e;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--cream);
    color: var(--brown);
}

.site-header {
    display: flex;
    justify-content: center;
    padding: 1rem;
    background: var(--cream);
}

.logo {
    height: 140px;
    width: auto;
}

@media (max-width: 480px) {
    .site-header {
        padding: 0.6rem;
    }
    .logo {
        height: 90px;
    }
}

.wrap {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

.hero {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 1rem 2rem;
    text-align: center;
}

.hero-photo {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    object-position: center 90%;
    border-radius: 12px;
    display: block;
    margin: 0.75rem 0 1.25rem;
}

.tagline {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0 1rem;
}

.cta-btn {
    display: inline-block;
    background: var(--brown);
    color: white;
    text-decoration: none;
    padding: 0.9rem 2.2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-card {
    background: white;
    border: 1px solid var(--tan-light);
    border-radius: 10px;
    padding: 1.2rem;
    margin-top: 2rem;
    text-align: left;
}

.info-card h3 {
    margin-top: 0;
    font-size: 1rem;
}

.info-card p {
    margin: 0.3rem 0;
}

.menu-preview {
    margin-top: 0.75rem;
}

.menu-preview .menu-preview-row {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    padding: 0.45rem 0;
    border-bottom: 1px dashed var(--tan-light);
}

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

.menu-preview .name {
    font-weight: 600;
    white-space: nowrap;
}

.menu-preview .leader {
    flex: 1;
    border-bottom: 1px dotted var(--tan);
    margin-bottom: 0.3rem;
}

.menu-preview .price {
    color: var(--tan);
    font-weight: 700;
    white-space: nowrap;
}

h2 {
    font-size: 1.1rem;
    border-bottom: 2px solid var(--tan);
    padding-bottom: 0.3rem;
    margin-top: 2rem;
}

.menu-item, .cart-row, .slot-btn, .date-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.menu-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--tan-light);
}

.menu-item .name { font-weight: 600; }
.menu-item .price { color: var(--tan); }

.qty-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-controls button {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid var(--tan);
    background: white;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.qty-controls span {
    min-width: 1.5rem;
    text-align: center;
    display: inline-block;
}

.cart-row {
    padding: 0.4rem 0;
}

.total {
    font-weight: 700;
    font-size: 1.2rem;
    text-align: right;
}

.date-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.date-tab {
    flex: 0 0 auto;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--tan);
    background: white;
    cursor: pointer;
}

.date-tab.active {
    background: var(--tan);
    color: white;
}

.slot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.slot-btn {
    justify-content: center;
    padding: 0.6rem 0.3rem;
    border-radius: 8px;
    border: 1px solid var(--tan);
    background: white;
    cursor: pointer;
    font-size: 0.9rem;
    flex-direction: column;
}

.slot-btn.selected {
    background: var(--tan);
    color: white;
}

.slot-btn .remaining {
    font-size: 0.7rem;
    opacity: 0.8;
}

form label {
    display: block;
    margin-bottom: 0.9rem;
    font-weight: 600;
}

input, textarea {
    width: 100%;
    padding: 0.6rem;
    margin-top: 0.3rem;
    border: 1px solid var(--tan-light);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

button[type="submit"] {
    width: 100%;
    padding: 0.9rem;
    background: var(--brown);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    cursor: pointer;
}

button[type="submit"]:disabled {
    background: #a89a8d;
    cursor: not-allowed;
}

.muted { color: #8a7a6b; }

.error {
    color: var(--error);
    font-weight: 600;
}

.site-footer {
    text-align: center;
    padding: 1.5rem;
    color: #8a7a6b;
    font-size: 0.85rem;
}
