html, body, #root { margin: 0; min-height: 100%; }
body { background: #faf7f2; }
.dad { font-family: "Segoe UI", Tahoma, system-ui, sans-serif; color: #141210; padding-bottom: 30px; direction: rtl; text-align: right; }
.hero { background: linear-gradient(135deg, #0f766e, #115e59 60%, #0b3b38); color: #fff; padding: 22px 16px 24px; }
.hero-in { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo { width: 52px; height: 52px; border-radius: 16px; background: #fff; color: #0f766e; display: grid; place-items: center; font-weight: 800; }
.hero h1 { margin: 0; font-size: 22px; }
.hero p { margin: 2px 0 0; opacity: .85; font-size: 13px; }
.cartBtn { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); color: #fff; padding: 10px 16px; border-radius: 14px; font-weight: 700; cursor: pointer; }
.cartBtn span { background: #f59e0b; color: #1a1a1a; border-radius: 999px; padding: 1px 8px; margin-inline-start: 6px; font-size: 13px; }
.notice { max-width: 1068px; margin: 14px 16px 0; background: #fff7e6; border: 1px solid #f3d9a4; color: #7a5200; padding: 9px 14px; border-radius: 12px; font-size: 13px; }
main { max-width: 1100px; margin: 0 auto; padding: 14px 16px 0; }
.search { width: 100%; padding: 12px 16px; border-radius: 14px; border: 1px solid #eae3d8; font-size: 15px; margin-bottom: 10px; box-sizing: border-box; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; }
.chip { border: 1px solid #eae3d8; background: #fff; color: #6b6560; padding: 8px 14px; border-radius: 999px; font-size: 13px; white-space: nowrap; cursor: pointer; }
.chip.on { background: #0f766e; border-color: #0f766e; color: #fff; font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.card { background: #fff; border: 1px solid #eae3d8; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.thumb { aspect-ratio: 4/3; background: linear-gradient(135deg, #e8f2f0, #d7e7e4); position: relative; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 1; }
.thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; font-weight: 800; color: #0f766e33; z-index: 0; }
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; font-size: 14px; line-height: 1.35; }
.cat { font-size: 11px; color: #6b6560; }
.row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 8px; }
.price { font-weight: 800; color: #115e59; }
.add { background: #0f766e; color: #fff; border: 0; border-radius: 12px; padding: 9px 12px; font-size: 13px; font-weight: 700; cursor: pointer; }
.empty { text-align: center; color: #6b6560; padding: 30px 0; }
.hint { color: #6b6560; font-size: 12px; margin: 8px 0 0; }
footer { text-align: center; color: #6b6560; font-size: 12px; padding: 20px 0 0; }
@media (min-width: 700px) { .hero h1 { font-size: 26px; } .grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }

@media (min-width: 700px) { .notice { margin: 14px auto 0; } }

.cart { max-width: 1068px; margin: 12px 16px 0; background: #fff; border: 1px solid #eae3d8; border-radius: 18px; padding: 12px 14px 14px; }
.cart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cart-head button { border: 0; background: #f1ece4; border-radius: 10px; width: 32px; height: 32px; cursor: pointer; font-size: 15px; }
.cart ul { list-style: none; margin: 0; padding: 0; }
.cart li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #f0eae0; font-size: 14px; }
.cart li:last-child { border-bottom: 0; }
.ci-name { flex: 1; }
.ci-sum { font-weight: 700; color: #115e59; min-width: 68px; text-align: left; }
.qty { display: inline-flex; align-items: center; gap: 6px; }
.qty button { width: 28px; height: 28px; border-radius: 9px; border: 1px solid #eae3d8; background: #faf7f2; cursor: pointer; font-size: 15px; line-height: 1; }
.cart-foot { display: flex; justify-content: space-between; padding-top: 10px; font-size: 16px; border-top: 1px solid #eae3d8; margin-top: 4px; }
.cart .muted { color: #6b6560; font-size: 14px; margin: 6px 0 2px; }
@media (min-width: 700px) { .cart { margin: 12px auto 0; } }
