/* Lela public site: dark cocoa with gold. Colors and rounding are variables so the theme stays in one place. */
:root {
  --bg: #1f1511; --surface: #2b1e18; --line: #4a3728; --text: #f3e6d3; --muted: #d8c7b0;
  --gold: #d9ae62; --gold-light: #e3be7c; --on-gold: #1f1511; --ok: #7cc38b;
  --serif: "Frank Ruhl Libre", "Times New Roman", Georgia, serif;
  --sans: "Assistant", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --img-radius: 22px; /* every photo on the site shares this rounding */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #150e0b; }
body { margin: 0; background: #150e0b; color: var(--text); font-family: var(--sans); line-height: 1.5; }
main { max-width: 520px; margin: 0 auto; background: var(--bg); min-height: 100vh; padding-bottom: 96px; }
a { color: inherit; text-decoration: none; }
h1, h2 { margin: 0; font-family: var(--serif); }
img { border-radius: var(--img-radius); }

/* Menu header: full-bleed photo fading into the page */
.hero-top { position: relative; min-height: 470px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px 20px 26px; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,21,17,.55) 0%, rgba(31,21,17,0) 32%, rgba(31,21,17,.55) 70%, var(--bg) 100%); }
.hero-shade.plain { background: linear-gradient(180deg, #34241b, var(--bg)); }
.hero-bar, .hero-copy { position: relative; }
.hero-bar { display: flex; align-items: center; justify-content: space-between; }
.hero-bar h1 { font-weight: 900; font-size: 30px; letter-spacing: 6px; text-transform: uppercase; }
.gf { font-size: 13px; font-weight: 600; color: var(--gold); border: 1px solid var(--gold); border-radius: 999px; padding: 4px 14px; background: rgba(31,21,17,.55); }
.hero-title { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 34px; line-height: 1.15; }
.hero-sub { margin: 8px 0 0; font-size: 16px; color: var(--muted); }

.line-title { display: flex; align-items: center; gap: 12px; padding: 22px 22px 0; }
.line-title h2 { font-size: 24px; font-weight: 700; }
.line-title::after { content: ""; flex: 1; height: 1px; background: var(--line); order: 1; }
.line-title .more { order: 2; font-size: 14px; font-weight: 600; color: var(--gold-light); }

/* Menu items: card with a big photo */
.items { padding: 14px 16px 0; display: flex; flex-direction: column; gap: 14px; }
.item { display: flex; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.item img, .item .noimg { width: 128px; min-height: 148px; height: auto; flex: none; object-fit: cover; border-radius: 0; }
.item .noimg { background: #34241b; }
.item .info { padding: 16px; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.item b { font-family: var(--serif); font-size: 24px; font-weight: 700; display: block; }
.item small { color: var(--muted); font-size: 15px; line-height: 1.45; display: block; margin-top: 4px; }
.status { margin-top: auto; padding-top: 10px; font-size: 13px; color: var(--muted); }
.status.open { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; padding: 0 20px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-size: 15px; font-weight: 700; }
.item.closed { opacity: .78; }
.item.closed small { color: var(--gold-light); font-weight: 600; }

.noimg { border-radius: var(--img-radius); background: #34241b; color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 13px; text-align: center; }
.noimg.small { font-size: 11px; }

/* Custom order card */
.custom { display: flex; align-items: center; gap: 14px; margin: 16px 16px 0; padding: 20px; border: 1px solid var(--gold); border-radius: 28px; background: linear-gradient(135deg, #2b1e18, #34241b); }
.custom > span:first-child { flex: 1; }
.custom b { display: block; font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--gold-light); }
.custom small { display: block; margin-top: 3px; font-size: 15px; color: var(--muted); }
.custom .arrow { font-size: 30px; color: var(--gold-light); line-height: 1; }

/* Works: teaser on the menu, grids on the gallery page */
.teaser { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px 16px 0; }
.teaser img, .grid img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border-radius: 24px; }
.works { padding: 0 0 4px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px 16px 0; }

.top { display: flex; justify-content: space-between; align-items: center; padding: 24px 22px 0; }
.top h1 { font-size: 28px; font-weight: 700; }
.link, .more { color: var(--gold-light); }

/* Product page */
.hero { position: relative; padding: 10px 12px 0; }
.hero .noimg { height: 300px; }
.gallery { display: flex; gap: 10px; border-radius: var(--img-radius); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: 0 0 100%; width: 100%; height: 360px; object-fit: cover; scroll-snap-align: center; }
.back { position: absolute; top: 22px; right: 24px; width: 44px; height: 44px; line-height: 40px; text-align: center; border-radius: 50%; background: rgba(31,21,17,.7); border: 1px solid var(--gold); color: var(--gold-light); font-size: 26px; font-weight: 700; }
.detail { padding: 18px 20px 8px; }
.detail h1 { font-size: 32px; font-weight: 700; }
.tags { margin: 8px 0; }
.tags span { display: inline-block; border: 1px solid var(--gold); color: var(--gold-light); border-radius: 999px; padding: 2px 12px; font-size: 13px; font-weight: 600; margin-inline-end: 6px; }
.desc { margin: 10px 0; font-size: 17px; color: var(--muted); }
.closed-note { background: var(--surface); border: 1px solid var(--gold); color: var(--gold-light); border-radius: 18px; padding: 12px 14px; font-weight: 600; }
.qty { display: flex; align-items: center; gap: 14px; margin-top: 14px; font-size: 16px; }
.qty button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--gold); background: transparent; font-size: 22px; font-weight: 700; color: var(--gold-light); }
.qty b { min-width: 28px; text-align: center; font-size: 22px; }

.center { text-align: center; padding: 40px 16px; }
.empty { color: var(--muted); }
.closed-page h1 { font-size: 28px; margin-bottom: 8px; }

/* Bottom bar: floating pill */
.bar { position: fixed; bottom: 0; left: 0; right: 0; max-width: 520px; margin: 0 auto; display: flex; gap: 8px; padding: 8px; margin-bottom: calc(14px + env(safe-area-inset-bottom)); width: calc(100% - 28px); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 12px 30px rgba(0,0,0,.5); }
.btn { flex: 1; min-height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 700; font-size: 16px; text-align: center; padding: 0 12px; }
.btn.call { border: 1.5px solid var(--gold); color: var(--gold-light); }
.btn.wa { background: var(--gold); color: var(--on-gold); flex: 1.5; }
.btn.disabled { background: #3a2b22; color: #b3a08a; }
