:root {
  --cream: #fbf8f4; --sand: #f1ebe3; --plum: #3b2a3f; --gold: #b08d57; --rose: #c4677a; --sage: #7f9c8a;
  --muted: #7a6a72; --line: #e6ddd2; --wa: #1f9d55;
  --font: "Tajawal", "Heebo", "Jost", system-ui, sans-serif;
  --radius: 18px;
}
html[lang="he"] { --font: "Heebo", "Jost", system-ui, sans-serif; }
html[lang="en"] { --font: "Jost", system-ui, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--plum); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .4em; font-weight: 700; }

.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px;
  padding: 8px max(16px, env(safe-area-inset-right)) 8px max(16px, env(safe-area-inset-left));
  background: rgba(251, 248, 244, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.brand { display: block; width: 116px; margin-inline-end: auto; }
.brand svg { width: 100%; height: auto; overflow: visible; }
.b-latin { font: italic 500 112px "Playfair Display", serif; fill: var(--plum); }
.b-tag { font: 500 22px "Jost", sans-serif; letter-spacing: 9px; fill: var(--muted); }
.langs { display: flex; background: var(--sand); border-radius: 999px; padding: 3px; }
.langs button { border: 0; background: none; padding: 5px 11px; border-radius: 999px; cursor: pointer; font-size: 14px; color: var(--muted); }
.langs button.on { background: #fff; color: var(--plum); box-shadow: 0 1px 4px #0001; font-weight: 600; }
.cart-btn { position: relative; border: 0; background: var(--plum); color: #fff; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.cart-btn svg { width: 22px; height: 22px; }
.badge { position: absolute; top: -4px; inset-inline-end: -4px; background: var(--rose); color: #fff; font-size: 12px; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; font-weight: 700; }

.hero { text-align: center; padding: 44px 20px 26px; max-width: 680px; margin: 0 auto; }
.hero-ar { font: 700 64px/1 "Aref Ruqaa", serif; color: var(--rose); margin: 0 0 10px; }
.hero h1 { font-size: clamp(24px, 5vw, 34px); }
.hero p { color: var(--muted); margin: 0 0 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--plum); color: #fff; padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; }
.btn:hover { filter: brightness(1.12); }
.btn.wa { background: var(--wa); width: 100%; font-size: 17px; padding: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.cats { display: flex; gap: 8px; overflow-x: auto; padding: 6px 16px 14px; scrollbar-width: none; position: sticky; top: 58px; z-index: 10; background: var(--cream); }
.cats::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .cats { justify-content: center; } }
.cats button { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 16px; cursor: pointer; font-size: 15px; white-space: nowrap; }
.cats button.on { background: var(--plum); color: #fff; border-color: var(--plum); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 14px; padding: 6px 16px 40px; max-width: 1200px; margin: 0 auto; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; } }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px #3b2a3f0d, 0 6px 18px #3b2a3f0f; display: flex; flex-direction: column; transition: transform .2s; }
.card:hover { transform: translateY(-3px); }
.card .ph { aspect-ratio: 1; background: var(--sand); cursor: zoom-in; border: 0; padding: 0; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .info { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 15px; font-weight: 600; margin: 0; }
.card .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.price { font-weight: 700; color: var(--rose); font-family: "Jost", var(--font); }
.price.ask { font-family: var(--font); font-weight: 500; color: var(--muted); font-size: 13px; }
.add { border: 0; background: var(--sand); color: var(--plum); width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; flex: none; }
.add:hover { background: var(--plum); color: #fff; }
.cat-title { grid-column: 1 / -1; font-size: 20px; margin: 18px 0 0; display: flex; align-items: center; gap: 12px; }
.cat-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.about { display: grid; gap: 28px; align-items: center; max-width: 960px; margin: 20px auto; padding: 36px 20px; }
@media (min-width: 760px) { .about { grid-template-columns: 340px 1fr; } }
.about img { border-radius: 24px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; max-width: 340px; margin: 0 auto; box-shadow: 0 10px 30px #3b2a3f22; }
.about h2 { font-size: 28px; }
.about p { font-size: 17px; color: #4d3d51; }

.delivery { max-width: 720px; margin: 0 auto 40px; padding: 28px 20px; background: #fff; border-radius: 24px; text-align: center; }
.delivery ul { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.delivery li { display: flex; justify-content: space-between; padding: 10px 14px; background: var(--cream); border-radius: 12px; }
.muted { color: var(--muted); font-size: 14px; }

.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 26px 16px 90px; border-top: 1px solid var(--line); }
.foot a { color: inherit; }

.wa-float { position: fixed; bottom: max(18px, env(safe-area-inset-bottom)); inset-inline-start: 18px; z-index: 30; width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px #0003; }
.wa-float svg { width: 30px; height: 30px; }

.sheet { position: fixed; inset: 0; z-index: 50; background: #2a1f2c88; display: flex; align-items: flex-end; justify-content: center; }
.sheet[hidden] { display: none; }
.sheet-panel { background: var(--cream); width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; border-radius: 24px 24px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); animation: up .25s ease; }
@media (min-width: 700px) { .sheet { align-items: center; } .sheet-panel { border-radius: 24px; } }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
.sheet-head { display: flex; justify-content: space-between; align-items: center; }
.x { border: 0; background: var(--sand); width: 36px; height: 36px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.line { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.line img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.line .nm { flex: 1; font-size: 14px; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.empty { text-align: center; color: var(--muted); padding: 28px 0; }
.field { display: grid; gap: 4px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 12px; color: var(--plum); font-size: 16px; }
.totals { margin: 14px 0; display: grid; gap: 4px; }
.totals div { display: flex; justify-content: space-between; }
.totals .sum { font-weight: 700; font-size: 18px; border-top: 1px solid var(--line); padding-top: 6px; }

.viewer { position: relative; padding: 0; overflow: hidden; }
.viewer .x { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; background: #fffc; }
.viewer img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--sand); }
.v-body { padding: 16px 18px calc(18px + env(safe-area-inset-bottom)); }
.v-body p { margin: 0 0 10px; }

.toast { position: fixed; bottom: 90px; left: 50%; transform: translate(-50%, 20px); background: var(--plum); color: #fff; padding: 10px 18px; border-radius: 999px; opacity: 0; pointer-events: none; transition: .25s; z-index: 60; font-size: 14px; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.badge[hidden] { display: none; }
