:root {
  --mustard: #FBB829;
  --mustard-soft: #FFE7A8;
  --ink: #161514;
  --ink-2: #2B2926;
  --cream: #F2ECE3;
  --paper: #FBF8F3;
  --card: #FFFFFF;
  --muted: #706A63;
  --line: #E4DCD0;
  --coral: #FF6F59;
  --green: #2F8F5B;
  --red: #C8412E;
  --radius-lg: 32px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px -12px rgba(22, 21, 20, .18);
  --display: 'Bricolage Grotesque', 'Archivo', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--cream); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.02; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.hidden { display: none !important; }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(242, 236, 227, .88); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 1.45rem; text-decoration: none; letter-spacing: -.03em; display: flex; align-items: center; gap: 8px; }
.logo-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--mustard); display: grid; place-items: center; font-size: .9rem; border: 2px solid var(--ink); }
.nav-links { display: flex; gap: 26px; margin-left: 24px; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a.active, .nav-links a:hover { border-color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; }
.badge { position: absolute; top: -6px; right: -6px; background: var(--coral); color: #fff; font-size: .72rem; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }
.icon-btn.menu-toggle { display: none; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid var(--ink); background: var(--ink); color: #fff; padding: 11px 22px; border-radius: 999px; font-weight: 600; cursor: pointer; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.white { background: #fff; color: var(--ink); border-color: #fff; }
.btn.yellow { background: var(--mustard); color: var(--ink); }
.btn.sm { padding: 7px 14px; font-size: .875rem; }
.btn.lg { padding: 15px 30px; font-size: 1.05rem; }
.btn.danger { background: transparent; color: var(--red); border-color: var(--red); }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; font-size: 1.05rem; transition: transform .15s; }
.icon-btn:hover { transform: scale(1.06); }
.icon-btn.on { background: var(--ink); color: var(--mustard); border-color: var(--ink); }

/* ── Hero ── */
.hero { margin-top: 10px; background: var(--mustard); border-radius: var(--radius-lg); position: relative; overflow: hidden; padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px); min-height: 520px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
.hero h1 { font-size: clamp(3rem, 8vw, 6.4rem); font-weight: 700; }
.hero h1 .indent { display: block; padding-left: clamp(30px, 8vw, 110px); }
.hero-note { display: flex; gap: 8px; max-width: 280px; font-size: .95rem; margin: 26px 0 30px; font-weight: 500; }
.hero-note::before { content: '♥'; color: var(--coral); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-photo { position: relative; justify-self: center; z-index: 1; }
.photo-placeholder { width: min(380px, 70vw); aspect-ratio: 4/5; border-radius: 200px 200px 28px 28px; background: repeating-linear-gradient(45deg, #fff3cf 0 14px, #ffeab0 14px 28px); border: 3px dashed var(--ink); display: grid; place-items: center; text-align: center; padding: 30px; font-weight: 600; }
.photo-placeholder span { font-size: 3rem; display: block; margin-bottom: 8px; }
.hero-photo img { width: min(380px, 70vw); aspect-ratio: 4/5; object-fit: cover; border-radius: 200px 200px 28px 28px; border: 3px solid var(--ink); }
.blob { position: absolute; background: var(--ink); border-radius: 50% 45% 55% 50% / 55% 50% 50% 45%; z-index: 0; }
.blob.b1 { width: 170px; height: 120px; left: -40px; bottom: -40px; }
.blob.b2 { width: 120px; height: 160px; right: -50px; bottom: 60px; }
.squiggle { position: absolute; top: -20px; left: 46%; width: 220px; opacity: .9; z-index: 0; }
.hero-stamp { position: absolute; right: 24px; top: 24px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .85rem; z-index: 2; transform: rotate(4deg); }

/* ── Sections ── */
section.block { padding: 72px 0 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--card); border-radius: var(--radius); padding: 28px; position: relative; }
.step-n { font-family: var(--display); font-size: 3.6rem; font-weight: 800; line-height: 1; color: var(--mustard); -webkit-text-stroke: 2px var(--ink); }
.step h3 { margin: 14px 0 8px; }
.step p { margin: 0; color: var(--muted); }

/* ── Dish cards ── */
.toolbar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 26px; }
.search { flex: 1; min-width: 220px; position: relative; }
.search input { width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 13px 18px 13px 46px; outline: none; }
.search input:focus { border-color: var(--ink); }
.search::before { content: '⌕'; position: absolute; left: 18px; top: 50%; transform: translateY(-52%); font-size: 1.3rem; color: var(--muted); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 18px; cursor: pointer; font-weight: 500; transition: all .15s; display: inline-flex; gap: 6px; align-items: center; }
.pill.active { background: var(--mustard); border-color: var(--ink); font-weight: 600; }
.pill:hover { border-color: var(--ink); }
.dish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.dish { background: var(--card); border-radius: var(--radius); padding: 18px 20px 18px 18px; display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; cursor: pointer; transition: transform .18s, box-shadow .18s; position: relative; border: 2px solid transparent; }
.dish:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.dish.dark { background: var(--ink); color: #fff; }
.dish.dark .meta { border-color: #3a3835; }
.dish.dark .meta small { color: #b9b2a8; }
.dish.in-cart { border-color: var(--mustard); }
.plate { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff 0 30%, #f3ede4 60%, #e6dccd 100%); box-shadow: 0 14px 22px -12px rgba(0,0,0,.45), inset 0 0 0 7px #fff; font-size: 3.3rem; flex-shrink: 0; }
.plate img { width: 100%; height: 100%; object-fit: cover; }
.plate.lg { width: 220px; height: 220px; font-size: 6.4rem; }
.dish h3 { font-size: 1.3rem; margin-bottom: 10px; }
.meta { display: flex; gap: 0; border-top: 1px solid var(--line); padding-top: 10px; }
.meta > div { flex: 1; }
.meta > div + div { border-left: 1px solid var(--line); padding-left: 14px; }
.meta small { display: block; color: var(--muted); font-size: .76rem; }
.meta b { font-size: .95rem; }
.dish .fav { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; font-size: .9rem; }
.tag { display: inline-block; font-size: .74rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--cream); margin: 2px 4px 2px 0; }
.tag.warn { background: #FFE1DB; color: #9b2f1f; }
.tag.ok { background: #DDF2E5; color: #1e6b41; }
.in-cart-flag { position: absolute; left: 12px; top: 12px; background: var(--mustard); color: var(--ink); font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1.5px solid var(--ink); }

/* ── Modal / drawer ── */
.overlay { position: fixed; inset: 0; background: rgba(22,21,20,.45); z-index: 50; display: grid; place-items: center; padding: 20px; animation: fade .15s; }
.modal { background: var(--paper); border-radius: var(--radius-lg); width: min(760px, 100%); max-height: 92vh; overflow: auto; padding: 34px; position: relative; animation: pop .2s; }
.modal .close { position: absolute; top: 18px; right: 18px; }
.dish-detail { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: start; }
@keyframes fade { from { opacity: 0 } }
@keyframes pop { from { transform: translateY(10px) scale(.98); opacity: 0 } }

/* ── Stepper ── */
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; background: #fff; }
.stepper button { border: 0; background: transparent; width: 38px; height: 38px; cursor: pointer; font-size: 1.15rem; font-weight: 700; }
.stepper button:hover { background: var(--mustard-soft); }
.stepper span { min-width: 34px; text-align: center; font-weight: 700; }

/* ── Order page ── */
.order-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; align-items: start; }
.panel { background: var(--card); border-radius: var(--radius); padding: 26px; }
.panel + .panel { margin-top: 18px; }
.panel h3 { margin-bottom: 16px; }
.line-item { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line-item:last-child { border-bottom: 0; }
.line-item .plate { width: 64px; height: 64px; font-size: 1.9rem; box-shadow: inset 0 0 0 4px #fff, 0 6px 10px -6px rgba(0,0,0,.35); }
.sticky { position: sticky; top: 90px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; }
.summary-total { font-family: var(--display); font-size: 2rem; font-weight: 700; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice label { border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 14px; cursor: pointer; display: block; background: #fff; }
.choice input { display: none; }
.choice label:has(input:checked) { border-color: var(--ink); background: var(--mustard-soft); }
.choice b { display: block; }
.progress { height: 10px; background: var(--cream); border-radius: 99px; overflow: hidden; margin: 8px 0 4px; }
.progress > div { height: 100%; background: var(--ink); border-radius: 99px; transition: width .3s; }
.progress.over > div { background: var(--red); }
.shop-group h4 { font-family: var(--body); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 6px; }
.shop-row { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: start; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.shop-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); }
.shop-row.have .name, .shop-row.have .qty { text-decoration: line-through; color: var(--muted); }
.shop-row .qty { font-weight: 700; text-align: right; white-space: nowrap; }
.shop-row .sub { font-size: .78rem; color: var(--muted); }
.slots { display: flex; flex-wrap: wrap; gap: 8px; max-height: 260px; overflow: auto; }
.slot { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 12px; cursor: pointer; font-size: .875rem; text-align: left; }
.slot b { display: block; font-size: .95rem; }
.slot.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── Forms ── */
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-weight: 600; font-size: .875rem; margin-bottom: 6px; }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; background: #fff; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { border-color: var(--ink); }
.field textarea { min-height: 84px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.check-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.check-grid label { border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; font-size: .875rem; background: #fff; user-select: none; }
.check-grid input { display: none; }
.check-grid label:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── Reviews ── */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.review { background: var(--card); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.review .stars { color: var(--coral); letter-spacing: 2px; font-size: 1.1rem; }
.review p { margin: 0; font-size: 1.02rem; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--mustard); border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 700; font-family: var(--display); }
.rating-big { display: flex; align-items: center; gap: 16px; }
.rating-big b { font-family: var(--display); font-size: 3.4rem; line-height: 1; }
.star-input { display: flex; gap: 4px; font-size: 2rem; }
.star-input button { background: none; border: 0; cursor: pointer; color: var(--line); padding: 0; }
.star-input button.on { color: var(--coral); }

/* ── Account / admin ── */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; background: #fff; padding: 6px; border-radius: 999px; width: fit-content; margin-bottom: 24px; }
.tabs button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--muted); }
.tabs button.active { background: var(--ink); color: #fff; }
.booking-card { background: var(--card); border-radius: var(--radius); padding: 22px; display: grid; grid-template-columns: 1fr auto; gap: 14px; margin-bottom: 14px; }
.booking-card h4 { font-size: 1.15rem; margin-bottom: 4px; }
.status { font-size: .76rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.status.noua { background: var(--mustard-soft); }
.status.confirmata { background: #DDE9FF; color: #1d4aa3; }
.status.finalizata { background: #DDF2E5; color: #1e6b41; }
.status.anulata { background: #eee; color: #777; }
table.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--paper); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl input, .tbl select { border: 1.5px solid var(--line); border-radius: 10px; padding: 7px 10px; width: 100%; background: #fff; }
.edit-rows .er { display: grid; gap: 8px; align-items: center; margin-bottom: 8px; }
.edit-rows .er.ing { grid-template-columns: 1fr 110px 80px 40px; }
.edit-rows .er.st { grid-template-columns: 34px 1fr 90px 40px 40px; }
.step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--mustard); border: 1.5px solid var(--ink); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.empty { text-align: center; padding: 50px 20px; background: var(--card); border-radius: var(--radius); }
.empty .big { font-size: 3rem; }
.admin-badge { background: var(--ink); color: var(--mustard); font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.worksheet { background: #fff; border-radius: var(--radius); padding: 26px; }
.worksheet ol { padding-left: 20px; }
.worksheet li { margin-bottom: 6px; }

/* ── Toast & misc ── */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 999px; z-index: 80; font-weight: 500; box-shadow: var(--shadow); animation: pop .2s; }
.toast.err { background: var(--red); }
.demo-bar { background: var(--ink); color: var(--mustard); text-align: center; font-size: .82rem; padding: 7px 12px; }
.demo-bar button { background: none; border: 0; color: #fff; text-decoration: underline; cursor: pointer; font-size: .82rem; }
footer.site-footer { margin-top: 90px; background: var(--ink); color: #d7d0c6; padding: 50px 0 40px; }
footer.site-footer .logo { color: #fff; }
.cta-band { margin-top: 72px; background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 50px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band h2 { max-width: 560px; }
.cta-band .blob { background: var(--mustard); }
.page-title { padding: 34px 0 26px; }
.page-title h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.floating-cart { position: fixed; bottom: 20px; right: 20px; z-index: 40; box-shadow: var(--shadow); }
.spinner { width: 36px; height: 36px; border: 4px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; margin: 80px auto; }
@keyframes spin { to { transform: rotate(360deg) } }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { justify-self: start; }
  .photo-placeholder, .hero-photo img { width: 240px; }
  .steps { grid-template-columns: 1fr; }
  .order-layout { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .dish-detail { grid-template-columns: 1fr; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 14px 20px; gap: 6px; margin: 0; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .icon-btn.menu-toggle { display: grid; }
  .row3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .nav { gap: 10px; }
  .logo { font-size: 1.1rem; white-space: nowrap; }
  .nav-right .btn.sm { padding: 6px 12px; }
  .hero-stamp { position: relative; top: 0; right: 0; display: inline-block; justify-self: start; z-index: 2; }
  .squiggle { display: none; }
  .dish-grid { grid-template-columns: 1fr; }
  .dish { grid-template-columns: 92px 1fr; }
  .plate { width: 92px; height: 92px; font-size: 2.5rem; }
  .row2, .row3, .choice { grid-template-columns: 1fr; }
  .modal { padding: 24px 20px; }
  .line-item { grid-template-columns: 52px 1fr; }
  .line-item .plate { width: 52px; height: 52px; }
  .edit-rows .er.ing { grid-template-columns: 1fr 80px 40px; }
  .edit-rows .er.ing .unit { display: none; }
  .edit-rows .er.st { grid-template-columns: 30px 1fr 40px; }
  .edit-rows .er.st .mins, .edit-rows .er.st .up { display: none; }
  .cta-band { padding: 34px 26px; }
  .tbl { font-size: .875rem; }
}

/* ── Buton mare „Comandă nouă” din cont ── */
.new-order { display: flex; align-items: center; gap: 20px; background: var(--mustard); border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px 28px; text-decoration: none; margin-bottom: 30px; transition: transform .15s, box-shadow .15s; }
.new-order:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink); }
.new-order .plus { width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; background: var(--ink); color: var(--mustard); display: grid; place-items: center; font-size: 2rem; font-weight: 700; }
.new-order b { display: block; font-family: var(--display); font-size: 1.7rem; line-height: 1.1; }
.new-order small { color: var(--ink-2); font-size: .95rem; }
.new-order .arrow { margin-left: auto; font-size: 1.8rem; font-weight: 700; }
.utensils { display: flex; flex-wrap: wrap; gap: 8px; }
.utensils span { background: var(--cream); border-radius: 999px; padding: 7px 14px; font-weight: 500; font-size: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; border-radius: 999px; padding: 6px 8px 6px 14px; font-size: .875rem; }
.chip button { background: rgba(255,255,255,.18); color: #fff; border: 0; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; line-height: 1; }
main#app { min-height: calc(100vh - 360px); }

/* ── Galerie ── */
.gallery { columns: 3 260px; column-gap: 14px; }
.gallery.home { columns: 4 220px; }
.g-item { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: none; border-radius: 18px; overflow: hidden; position: relative; cursor: zoom-in; break-inside: avoid; }
.g-item img { width: 100%; height: auto; display: block; transition: transform .35s; }
.g-item:hover img { transform: scale(1.04); }
.g-cap { position: absolute; left: 10px; bottom: 10px; right: 10px; background: rgba(22,21,20,.78); color: #fff; font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; width: fit-content; max-width: calc(100% - 20px); text-align: left; }
.modal.modal-photo { width: min(1000px, 100%); padding: 18px; background: var(--ink); color: #fff; }
.modal-photo .muted { color: #b9b2a8; }
.modal-photo .close { top: 26px; right: 26px; z-index: 2; }
.lightbox img { width: 100%; max-height: 74vh; object-fit: contain; border-radius: 14px; background: #000; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 4px 2px; }
.seen-btn { display: flex; align-items: center; gap: 18px; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 16px 24px; text-decoration: none; margin: -14px 0 30px; transition: transform .15s; }
.seen-btn:hover { transform: translateY(-2px); }
.seen-btn .thumbs { display: flex; flex-shrink: 0; }
.seen-btn .thumbs img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-left: -12px; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.seen-btn .thumbs img:first-child { margin-left: 0; }
.seen-btn b { display: block; font-family: var(--display); font-size: 1.25rem; }
.seen-btn small { color: var(--muted); }
.seen-btn .arrow { margin-left: auto; font-size: 1.5rem; font-weight: 700; }
.admin-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.ag-card { background: #fff; border-radius: 18px; overflow: hidden; }
.ag-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ag-card.off img { opacity: .35; }
.ag-card .ag-body { padding: 12px; display: grid; gap: 8px; }
.ag-card .ag-row { display: flex; gap: 6px; align-items: center; }
.dropzone { border: 2.5px dashed var(--ink); border-radius: var(--radius); padding: 34px; text-align: center; background: var(--mustard-soft); cursor: pointer; margin-bottom: 22px; display: block; }
.dropzone.drag { background: var(--mustard); }
@media (max-width: 560px) { .gallery, .gallery.home { columns: 2 140px; column-gap: 10px; } .g-item { margin-bottom: 10px; } .g-cap { font-size: .72rem; } }
.ag-row input[type=checkbox] { accent-color: var(--ink); width: 16px; height: 16px; }
.nav-right .btn.ghost.on { background: var(--ink); color: #fff; }
@media (max-width: 900px) { .nav-links { display: none !important; } }
@media (max-width: 560px) {
  .nav-right { gap: 6px; }
  .nav-right .btn.sm { padding: 7px 11px; font-size: .82rem; }
  .nav-right .icon-btn { width: 36px; height: 36px; }
  .logo-dot { display: none; }
}
.fill-hint { margin-top: 12px; background: #fff; border: 1.5px dashed var(--ink); border-radius: 999px; padding: 9px 18px; font-weight: 600; cursor: pointer; text-align: left; }
.fill-hint:hover { background: var(--mustard-soft); }
.edit-rows .er.ing { grid-template-columns: 1fr 110px 80px 40px 40px; }
@media (max-width: 560px) { .edit-rows .er.ing { grid-template-columns: 1fr 80px 40px 40px; } }

/* ── Căutare ingredient ── */
.combo { position: relative; }
.combo-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1.5px solid var(--ink); border-radius: 14px; box-shadow: var(--shadow); z-index: 20; max-height: 300px; overflow: auto; padding: 4px; }
.combo-opt { display: flex; justify-content: space-between; gap: 10px; width: 100%; text-align: left; border: 0; background: none; padding: 9px 12px; border-radius: 10px; cursor: pointer; font-weight: 500; }
.combo-opt.act, .combo-opt:hover { background: var(--mustard-soft); }
.combo-new { color: var(--ink); font-weight: 700; border-top: 1px dashed var(--line); border-radius: 0 0 10px 10px; }
.input.invalid { border-color: var(--red) !important; background: #fff4f2; }

/* ── Povestea mea ── */
.story { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
.story-main { background: var(--card); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); }
.story-text p { margin: 0 0 12px; font-size: 1.07rem; line-height: 1.65; }
.mission { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); position: sticky; top: 90px; }
.mission-label { font-family: var(--display); color: var(--mustard); font-weight: 700; font-size: 1.4rem; margin-bottom: 14px; }
.mission-text p { font-family: var(--display); font-size: 1.35rem; line-height: 1.35; margin: 0 0 12px; }
.mission-sign { color: #b9b2a8; margin-top: 8px; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .mission { position: static; } }
.ut-check { display: flex; flex-wrap: wrap; gap: 8px; }
.ut-check label { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px 7px 10px; cursor: pointer; font-weight: 500; font-size: .92rem; }
.ut-check input { width: 17px; height: 17px; accent-color: var(--ink); margin: 0; }
.ut-check label:has(input:checked) { background: var(--mustard-soft); border-color: var(--ink); }

/* ───────────── Meal prep ───────────── */
.mp-steps { display: flex; align-items: center; gap: 8px; margin: -6px 0 22px; flex-wrap: wrap; }
.mp-steps i { flex: 0 0 24px; height: 2px; background: var(--line); }
.mp-step { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; font-weight: 600; color: var(--muted); cursor: pointer; padding: 4px 0; }
.mp-step:disabled { cursor: default; }
.mp-step span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); background: #fff; font-size: .85rem; }
.mp-step.on { color: var(--ink); } .mp-step.on span { background: var(--mustard); border-color: var(--ink); }
.mp-step.done span { background: var(--ink); color: var(--mustard); border-color: var(--ink); }
.mp-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mp-day { border: 2px solid var(--line); background: #fff; border-radius: 20px; padding: 18px 10px; cursor: pointer; display: flex; flex-direction: column; align-items: center; }
.mp-day b { font-family: var(--display); font-size: 2.6rem; line-height: 1; }
.mp-day.on { border-color: var(--ink); background: var(--mustard); }
.check-grid.big label { padding: 10px 18px; font-size: 1rem; }
.mp-summary { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.mp-summary > span { background: #fff; border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .9rem; }
.mp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 8px 22px; padding-bottom: 120px; }
.day-card { position: relative; background: #fff; border: 2px solid var(--ink); border-radius: 24px; padding: 40px 18px 14px; margin-top: 30px; }
.day-title { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); background: var(--mustard); border: 2px solid var(--ink); border-radius: 14px; padding: 8px 46px; font-size: 1.1rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.day-copy { position: absolute; top: 10px; right: 12px; border: 1.5px solid var(--ink); background: var(--mustard-soft); border-radius: 10px; font-size: .74rem; font-weight: 700; padding: 3px 8px; cursor: pointer; }
.meal-row { display: grid; grid-template-columns: 118px 1fr; gap: 14px; align-items: center; padding: 7px 0; }
.meal-label { border: 2px solid var(--ink); background: var(--cream); text-align: center; padding: 7px 6px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .78rem; }
.meal-pick { text-align: left; border: 0; background: none; font-size: 1.02rem; cursor: pointer; padding: 7px 8px; border-radius: 10px; font-weight: 500; }
.meal-pick:hover { background: var(--mustard-soft); }
.meal-pick.empty { color: var(--muted); border: 1.5px dashed var(--line); }
.warn-dot { color: var(--red); }
.plan-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 40; width: min(760px, calc(100% - 24px)); background: var(--ink); color: #fff; border-radius: 22px; padding: 14px 16px 14px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; box-shadow: var(--shadow); }
.plan-bar .muted { color: #b9b2a8; }
.pick-list { display: grid; gap: 8px; max-height: 56vh; overflow: auto; }
.pick-row { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; text-align: left; background: #fff; border: 2px solid transparent; border-radius: 16px; padding: 10px; cursor: pointer; }
.pick-row:hover, .pick-row.on { border-color: var(--ink); }
.pick-row .plate { width: 64px; height: 64px; font-size: 1.9rem; box-shadow: inset 0 0 0 4px #fff, 0 6px 10px -6px rgba(0,0,0,.35); }
.mp-visits { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.mp-visit { border: 2px solid var(--line); background: #fff; border-radius: 16px; padding: 14px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.mp-visit span { font-size: .82rem; color: var(--muted); } .mp-visit .price { color: var(--ink); font-weight: 700; font-size: .95rem; }
.mp-visit.on { border-color: var(--ink); background: var(--mustard-soft); }
.visit-items { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.shop-details { margin-top: 14px; } .shop-details summary { cursor: pointer; font-weight: 600; }

/* ───────────── Servicii ───────────── */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { background: #fff; border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 12px; border: 2px solid transparent; transition: transform .15s, border-color .15s; text-decoration: none; }
.service:hover { transform: translateY(-3px); border-color: var(--ink); }
.service.main { background: var(--mustard); border-color: var(--ink); }
.service .s-icon { font-size: 2.4rem; }
.service h3 { font-size: 1.7rem; }
.service p { margin: 0; color: var(--ink-2); }
.service ul { margin: 0; padding-left: 18px; color: var(--ink-2); }
.service .s-price { font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin-top: auto; }
.service .s-price small { font-family: var(--body); font-weight: 500; font-size: .85rem; color: var(--muted); }
.service .main-muted { color: var(--ink-2); }
.sugg { display: grid; gap: 10px; }
.sugg label { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 14px; cursor: pointer; }
.sugg label:has(input:checked) { border-color: var(--ink); background: var(--mustard-soft); }
.sugg input { margin-top: 4px; accent-color: var(--ink); }
.voucher-preview { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 30px; position: relative; overflow: hidden; }
.voucher-preview .v-amount { font-family: var(--display); font-size: 2.4rem; color: var(--mustard); font-weight: 800; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .mp-grid { grid-template-columns: 1fr; }
  .meal-row { grid-template-columns: 96px 1fr; gap: 10px; }
  .meal-label { font-size: .7rem; }
  .day-title { padding: 7px 30px; }
}

/* ── v4: meal prep pe proteine, sărbători, evenimente în curând ── */
.mp-days { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.mp-day span { font-size: .82rem; color: var(--muted); margin-top: 6px; font-weight: 600; }
.mp-day.on span { color: var(--ink); }
a.mp-day { text-decoration: none; color: inherit; border-style: dashed; }
.mp-included ul { margin: 0; padding-left: 20px; } .mp-included li { margin: 4px 0; }
.protein-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.protein { border: 2px solid var(--line); background: #fff; border-radius: 16px; padding: 14px; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 2px; }
.protein b { font-family: var(--display); font-size: 1.25rem; }
.protein span { font-size: .8rem; color: var(--muted); }
.protein.on { border-color: var(--ink); background: var(--mustard); }
.protein.on span { color: var(--ink); }
.protein:disabled { opacity: .45; cursor: not-allowed; }
.variant-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px dashed var(--line); }
.variant-name { font-weight: 700; }
.mp-slots { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mp-slots .meal-pick { border: 1.5px solid var(--line); background: #fff; flex: 1 1 220px; }
.mp-slots .meal-pick.empty { border-style: dashed; }
.meal-pick.static { cursor: default; } .meal-pick.static:hover { background: none; }
.pick-row:disabled { opacity: .5; cursor: not-allowed; }
.hol-note { background: var(--mustard-soft); border-radius: 10px; padding: 10px 12px; margin: 12px 0 0; }
.slot-h { display: block; font-style: normal; font-size: .72rem; font-weight: 700; color: var(--coral, #d9534f); }
.service.soon { position: relative; opacity: .8; border-style: dashed !important; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.soon-tag { position: absolute; top: 16px; right: 16px; background: var(--ink); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; }
@media (max-width: 640px) { .variant-row { grid-template-columns: 1fr; gap: 6px; } }
.services { grid-template-columns: repeat(2, 1fr); }
.service.soon { border-color: var(--line); background: transparent; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }
