@import "tailwindcss";

:root { --ink: #173f34; --accent: #2f725e; --cream: #f8e3bd; --paper: #fffaf0; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
button, input { font: inherit; }
.hero { min-height: 480px; padding: 20px clamp(20px, 5vw, 72px) 56px; color: var(--cream); background: radial-gradient(circle at 82% 18%, rgba(255,255,255,.09), transparent 28%), var(--ink); border-radius: 0 0 42px 42px; position: relative; overflow: hidden; }
.hero::after { content: "MENU"; position: absolute; right: -10px; bottom: -34px; color: rgba(248,227,189,.06); font: 900 clamp(90px, 18vw, 240px)/.8 Arial; letter-spacing: -.08em; }
.topbar { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.brand-mark { width: 86px; height: 86px; object-fit: contain; }
.since { border: 1px solid rgba(248,227,189,.35); border-radius: 999px; padding: 8px 14px; font-size: 13px; }
.hero-copy { max-width: 720px; margin-top: clamp(50px, 9vw, 105px); position: relative; z-index: 1; }
.eyebrow, .section-kicker { font-size: 12px; font-weight: 800; letter-spacing: .2em; }
.hero h1 { margin: 10px 0 16px; font-family: Georgia, serif; font-weight: 500; font-size: clamp(46px, 8vw, 92px); line-height: .94; letter-spacing: -.05em; }
.hero-copy > p:last-child { max-width: 470px; font-size: 17px; line-height: 1.6; color: rgba(248,227,189,.78); }
.menu-button { display: inline-flex; align-items: center; gap: 18px; margin-top: 20px; padding: 12px 14px 12px 20px; border: 1px solid rgba(248,227,189,.45); border-radius: 999px; color: var(--cream); text-decoration: none; font-size: 14px; }
.menu-button span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--ink); background: var(--cream); }
.menu-shell { max-width: 1180px; margin: 0 auto; padding: 64px clamp(18px, 4vw, 48px) 90px; }
.menu-heading { display: flex; gap: 20px; align-items: flex-end; justify-content: space-between; }
.section-kicker { color: var(--accent); }
.menu-heading h2 { margin: 6px 0 0; font: 500 clamp(38px, 5vw, 58px)/1 Georgia, serif; }
.search { min-width: 220px; display: flex; gap: 8px; align-items: center; padding: 12px 16px; background: #fff; border: 1px solid rgba(23,63,52,.13); border-radius: 999px; }
.search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.category-tabs { display: flex; gap: 8px; margin: 30px 0; overflow-x: auto; }
.category-tabs button { display: flex; gap: 10px; align-items: center; border: 1px solid rgba(23,63,52,.16); border-radius: 999px; padding: 10px 18px; color: var(--ink); background: transparent; cursor: pointer; white-space: nowrap; }
.category-tabs button span { display: grid; place-items: center; min-width: 23px; height: 23px; padding: 0 5px; border-radius: 999px; background: rgba(23,63,52,.09); font-size: 11px; font-weight: 800; }
.category-tabs button.active span { background: rgba(248,227,189,.15); }
.subcategory-tabs { display: flex; gap: 7px; margin: -18px 0 28px; padding-left: 10px; }
.subcategory-tabs[hidden] { display: none !important; }
.subcategory-tabs button { border: 0; border-bottom: 2px solid transparent; padding: 9px 12px; background: transparent; color: #6c7d76; cursor: pointer; font-size: 13px; font-weight: 700; }
.subcategory-tabs button.active { border-color: var(--accent); color: var(--ink); }
.category-tabs button.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { overflow: hidden; background: #fff; border-radius: 24px; box-shadow: 0 12px 36px rgba(23,63,52,.08); }
.product-image-wrap { aspect-ratio: 1; position: relative; overflow: hidden; background: #eee2ce; }
.product-image { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-image { transform: scale(1.035); }
.price { position: absolute; right: 14px; bottom: 14px; padding: 8px 12px; border-radius: 999px; background: var(--cream); color: var(--ink); font-weight: 800; box-shadow: 0 6px 20px rgba(0,0,0,.13); }
.product-copy { padding: 20px 20px 24px; }
.product-tag { display: inline-block; margin-bottom: 7px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.product-copy h3 { margin: 0 0 9px; font: 600 22px/1.2 Georgia, serif; }
.product-copy p { margin: 0; color: #587067; line-height: 1.55; font-size: 14px; }
.product-details { margin-top: 17px; border-top: 1px solid #e9ece7; }
.product-details summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 0 0; color: var(--ink); font-size: 12px; font-weight: 800; cursor: pointer; list-style: none; }
.product-details summary::-webkit-details-marker { display: none; }
.product-details[open] summary span { transform: rotate(45deg); }
.product-details summary span { transition: transform .2s ease; font-size: 16px; }
.details-body { padding-top: 14px; }
.verification-warning { margin-bottom: 13px !important; padding: 9px 10px; border-radius: 9px; background: #fff3df; color: #946027 !important; font-size: 11px !important; }
.nutrition-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.nutrition-grid div { padding: 9px; border-radius: 9px; background: #f5f4ee; }
.nutrition-grid div:last-child { grid-column: 1 / -1; }
.nutrition-grid span, .ingredients > span, .allergens > span { display: block; margin-bottom: 3px; color: #7b8a83; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nutrition-grid strong { font-size: 13px; }
.ingredients, .allergens { margin-top: 13px; }
.ingredients p, .allergens > p { color: #536c62 !important; font-size: 12px !important; }
.allergen-list { display: flex; flex-wrap: wrap; gap: 6px; }
.allergen-chip { display: inline-flex; gap: 5px; align-items: center; padding: 5px 7px; border: 1px solid #cfe0d8; border-radius: 999px; background: #eff7f2; color: #245847; font-size: 10px; font-weight: 700; }
.allergen-chip b { font-size: 13px; }
.empty { padding: 60px 0; text-align: center; color: #667d74; }
footer { display: flex; align-items: center; gap: 14px; padding: 28px clamp(20px, 5vw, 72px); background: var(--ink); color: var(--cream); }
footer img { width: 54px; height: 54px; object-fit: contain; }
footer div { display: flex; flex-direction: column; gap: 4px; }
footer strong { font-family: Georgia, serif; font-size: 18px; }
footer span { font-size: 12px; color: rgba(248,227,189,.65); }
footer a { margin-left: auto; color: rgba(248,227,189,.7); font-size: 12px; text-underline-offset: 3px; }

.admin-page { min-height: 100vh; background: #f6f0e4; }
.admin-header { min-height: 300px; padding: 26px clamp(20px, 5vw, 70px) 48px; display: grid; grid-template-columns: 1fr minmax(300px, 760px) 1fr; gap: 30px; align-items: start; background: var(--ink); color: var(--cream); border-radius: 0 0 36px 36px; }
.admin-header > a { color: var(--cream); text-decoration: none; font-size: 14px; }
.admin-header > div { align-self: end; }
.admin-header h1 { margin: 8px 0 10px; font: 500 clamp(44px, 7vw, 76px)/1 Georgia, serif; letter-spacing: -.04em; }
.admin-header p:last-child { color: rgba(248,227,189,.7); }
.admin-header img { width: 82px; justify-self: end; }
.admin-account { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.admin-account button, .admin-account a { border: 1px solid rgba(248,227,189,.35); border-radius: 999px; padding: 7px 12px; background: transparent; color: var(--cream); cursor: pointer; font-size: 11px; text-decoration: none; }
.admin-layout { max-width: 1180px; margin: -26px auto 0; padding: 0 clamp(18px, 4vw, 44px) 80px; position: relative; display: grid; grid-template-columns: minmax(300px, .85fr) minmax(420px, 1.15fr); gap: 24px; align-items: start; }
.admin-form, .admin-products { padding: 26px; background: #fff; border-radius: 24px; box-shadow: 0 14px 44px rgba(23,63,52,.09); }
.form-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.form-title h2 { margin: 0; font: 500 29px/1 Georgia, serif; }
.admin-form > label, .form-row label { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; color: #36574d; font-size: 12px; font-weight: 800; letter-spacing: .03em; }
#subcategory-wrap[hidden] { display: none !important; }
.admin-form input, .admin-form textarea, .admin-form select { width: 100%; border: 1px solid #d8ded8; border-radius: 11px; padding: 12px 13px; outline: none; background: #fbfcf9; color: var(--ink); font-weight: 400; letter-spacing: normal; }
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus { border-color: #709286; box-shadow: 0 0 0 3px rgba(112,146,134,.14); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.admin-form .check { flex-direction: row; align-items: center; font-weight: 600; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.form-section { margin: 28px 0 17px; padding-top: 22px; border-top: 1px solid #e6e9e4; }
.form-section h3 { margin: 5px 0 0; font: 500 22px/1.2 Georgia, serif; }
.macro-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.macro-row label { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; color: #36574d; font-size: 11px; font-weight: 800; }
.allergen-picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 2px 0 18px; padding: 14px; border: 1px solid #dfe4df; border-radius: 12px; }
.allergen-picker legend { padding: 0 6px; color: #36574d; font-size: 12px; font-weight: 800; }
.allergen-picker label { display: flex; gap: 7px; align-items: center; color: #4f665d; font-size: 11px; }
.allergen-picker input { width: 16px; height: 16px; accent-color: var(--ink); }
.verification-check { padding: 11px; border-radius: 10px; background: #eff6f1; }
.save-button { width: 100%; border: 0; border-radius: 12px; padding: 14px; background: var(--ink); color: var(--cream); font-weight: 800; cursor: pointer; }
.text-button { border: 0; background: transparent; color: #a55444; cursor: pointer; }
.notice { margin: 14px 0 0; padding: 11px 13px; border-radius: 10px; background: #edf5ef; color: #2f6245; font-size: 13px; }
.notice.error { background: #fff0ed; color: #a14335; }
.image-field { margin-bottom: 20px; }
.field-label { display: block; margin-bottom: 8px; color: #36574d; font-size: 12px; font-weight: 800; letter-spacing: .03em; }
.upload-input { display: none !important; }
.upload-dropzone { display: grid; grid-template-columns: 108px 1fr; gap: 16px; align-items: center; min-height: 132px; padding: 11px; border: 2px dashed #bfd1c9; border-radius: 16px; background: #f7fbf8; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.upload-dropzone:hover, .upload-dropzone:focus, .upload-dropzone.is-dragging { border-color: var(--accent); background: #eef7f2; outline: none; }
.upload-dropzone.is-dragging { transform: scale(1.01); }
.upload-dropzone.is-uploading { opacity: .65; pointer-events: none; }
.upload-dropzone img { width: 108px; aspect-ratio: 1; object-fit: cover; border-radius: 11px; background: #e8eee9; }
.upload-dropzone div { display: flex; flex-direction: column; gap: 5px; }
.upload-dropzone strong { font-size: 14px; }
.upload-dropzone span { color: #61786e; font-size: 11px; }
.upload-dropzone small { color: var(--accent); font-size: 10px; font-weight: 700; }
.login-page { min-height: 100vh; background: var(--ink); }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 58px 20px; position: relative; }
.login-back { position: absolute; top: 24px; left: clamp(20px, 5vw, 70px); color: var(--cream); text-decoration: none; font-size: 13px; }
.login-card { width: min(100%, 430px); padding: 36px; border-radius: 28px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.22); }
.login-card > img { display: block; width: 92px; margin: 0 auto 25px; }
.login-card h1 { margin: 8px 0 10px; font: 500 38px/1 Georgia, serif; }
.login-card > p { margin: 0 0 24px; color: #61766e; line-height: 1.5; font-size: 13px; }
.login-card label { display: flex; flex-direction: column; gap: 7px; margin: 0 0 15px; color: #36574d; font-size: 12px; font-weight: 800; }
.login-card input { width: 100%; border: 1px solid #d8ded8; border-radius: 11px; padding: 13px; outline: none; background: #fbfcf9; color: var(--ink); }
.login-card input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,114,94,.14); }
.login-error { margin: 14px 0 0 !important; padding: 11px; border-radius: 10px; background: #fff0ed; color: #a14335 !important; }
.admin-list { display: flex; flex-direction: column; gap: 10px; max-height: 670px; overflow-y: auto; padding-right: 4px; }
.admin-filters { display: grid; grid-template-columns: minmax(180px, 1fr) auto auto; gap: 8px; margin: -7px 0 18px; }
.admin-filters select, .admin-search { min-width: 0; border: 1px solid #d8ded8; border-radius: 10px; background: #fbfcf9; color: var(--ink); }
.admin-filters select { padding: 9px 10px; font-size: 11px; }
.admin-search { display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.admin-search input { width: 100%; border: 0; outline: 0; padding: 9px 0; background: transparent; color: var(--ink); font-size: 11px; }
.filter-empty { margin: 32px 0; text-align: center; color: #718078; font-size: 12px; }
.admin-list article { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; padding: 10px; border: 1px solid #e5e8e2; border-radius: 15px; }
.admin-list article > img { width: 70px; height: 70px; object-fit: cover; border-radius: 11px; }
.admin-list h3 { margin: 5px 0 3px; font: 600 17px/1.2 Georgia, serif; }
.admin-list p { margin: 0; color: #718078; font-size: 12px; }
.status { padding: 3px 7px; border-radius: 999px; background: #eee; color: #777; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.status.on { background: #e2f1e6; color: #2f6c46; }
.status.warning { margin-left: 4px; background: #fff0d8; color: #9b6428; }
.row-actions { display: flex; flex-direction: column; gap: 5px; }
.row-actions button { border: 1px solid #d9dfda; background: #fff; border-radius: 8px; padding: 6px 9px; color: var(--ink); font-size: 11px; cursor: pointer; }
.row-actions button.danger { color: #a9483c; }
@media (max-width: 780px) { .product-grid { grid-template-columns: 1fr 1fr; } .hero { min-height: 430px; border-radius: 0 0 30px 30px; } }
@media (max-width: 900px) { .admin-layout { grid-template-columns: 1fr; } .admin-header { grid-template-columns: 1fr auto; } .admin-header > div { grid-column: 1 / -1; grid-row: 2; } }
@media (max-width: 560px) { .menu-heading { align-items: stretch; flex-direction: column; } .search { width: 100%; } .product-grid { grid-template-columns: 1fr; } .hero h1 { font-size: 48px; } .brand-mark { width: 72px; height: 72px; } footer { align-items: flex-start; flex-wrap: wrap; } footer a { width: 100%; margin: 8px 0 0; } .admin-header { min-height: 270px; border-radius: 0 0 26px 26px; } .admin-header img { width: 58px; } .form-row, .macro-row { grid-template-columns: 1fr; gap: 0; } .allergen-picker { grid-template-columns: 1fr; } .admin-form, .admin-products { padding: 20px; } .admin-list article { grid-template-columns: 58px 1fr; } .admin-list article > img { width: 58px; height: 58px; } .row-actions { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; } .upload-dropzone { grid-template-columns: 82px 1fr; } .upload-dropzone img { width: 82px; } .login-card { padding: 28px 22px; } .admin-filters { grid-template-columns: 1fr 1fr; } .admin-search { grid-column: 1 / -1; } }
