html, body, #root { margin: 0; min-height: 100%; }
body { background: #fbf4e6; }
.rs-root { --wine: #6b1f2a; --wine2: #4a131c; --gold: #c9a04a; --cream: #fbf4e6; --card: #fffaf0; --ink: #2b1a1a;
  font-family: "Cairo", "Tajawal", "Segoe UI", Tahoma, system-ui, sans-serif; color: var(--ink); background: var(--cream); padding-bottom: 96px; font-size: 15px; line-height: 1.6; }
.rs-root * { box-sizing: border-box; }
.rs-hero { background: linear-gradient(160deg, var(--wine2), var(--wine) 60%, #8a2b37); position: relative; overflow: hidden;
  color: #fff; padding: 36px 20px 40px; text-align: center; border-bottom: 4px solid var(--gold); }
.rs-pat { position: absolute; inset: 0; width: 100%; height: 100%; }
.rs-hero-in { position: relative; }
.rs-kicker { color: var(--gold); letter-spacing: .05em; font-weight: 700; font-size: 14px; }
.rs-hero h1 { font-size: 46px; line-height: 1.2; margin: 4px 0; font-weight: 800; }
.rs-tag { display: inline-block; color: var(--gold); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); padding: 4px 14px; font-weight: 700; margin: 6px 0 10px; }
.rs-hero p { margin: 8px 0 0; color: #f3e6d0; }
.rs-chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px; background: var(--cream); border-bottom: 1px solid #e8dcc3; scrollbar-width: none; }
.rs-chips::-webkit-scrollbar { display: none; }
.rs-chip { flex: 0 0 auto; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--gold); background: transparent; color: var(--wine); font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.rs-chip.is-on { background: var(--wine); color: #fff; border-color: var(--wine); }
.rs-main { padding: 8px 16px 0; max-width: 860px; margin: 0 auto; }
.rs-sec { padding-top: 20px; scroll-margin-top: 8px; }
.rs-sec h2 { display: flex; align-items: center; gap: 10px; font-size: 24px; color: var(--wine); margin: 0 0 4px; font-weight: 800; }
.rs-ico { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.rs-secnote { margin: 0 0 8px; color: #6e5a4a; font-size: 13px; }
.rs-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 10px; }
@media (min-width: 700px) { .rs-grid { grid-template-columns: 1fr 1fr; } }
.rs-card { background: var(--card); border: 1px solid #eadbbd; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 1px 0 rgba(107,31,42,.06); }
.rs-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.rs-card h3 { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 700; }
.rs-badge { flex: 0 0 auto; background: var(--gold); color: var(--wine2); font-weight: 800; padding: 2px 12px; border-radius: 999px; font-size: 16px; }
.rs-note { font-size: 13px; color: #6e5a4a; }
.rs-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #f1e6cf; border-radius: 10px; padding: 3px; gap: 3px; }
.rs-tabs button { min-height: 40px; border: 0; border-radius: 8px; background: transparent; font: inherit; font-weight: 700; color: var(--wine); cursor: pointer; }
.rs-tabs button.is-on { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.rs-tabs small { font-weight: 600; opacity: .8; }
.rs-add { min-height: 46px; border: 0; border-radius: 10px; background: var(--wine); color: #fff; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; transition: background .2s, transform .1s; }
.rs-add:active { transform: scale(.98); }
.rs-add.is-done { background: #2e7d4f; }
.rs-foot { margin: 28px 0 0; padding: 20px 16px; background: var(--wine2); color: #f3e6d0; border-radius: 14px; }
.rs-foot h2 { color: var(--gold); margin: 0 0 6px; font-size: 20px; }
.rs-foot p { margin: 4px 0; }
.rs-small { font-size: 12px; opacity: .8; }
.rs-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 20; display: flex; gap: 10px; padding: 10px 14px; background: var(--wine2); border-top: 2px solid var(--gold); }
.rs-bar-cart { flex: 1; display: flex; align-items: center; gap: 12px; background: transparent; border: 0; color: #fff; font: inherit; cursor: pointer; min-height: 48px; text-align: start; }
.rs-count { min-width: 32px; height: 32px; border-radius: 16px; background: var(--gold); color: var(--wine2); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; animation: rs-pop .35s ease; }
@keyframes rs-pop { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
.rs-bar-t { display: flex; flex-direction: column; line-height: 1.2; }
.rs-bar-t b { font-size: 18px; } .rs-bar-t small { color: #e6d3b0; }
.rs-bar-go { min-height: 48px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--gold); color: var(--wine2); font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; }
.rs-bar-go:disabled { opacity: .5; }
.rs-sheet { position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: 100%; max-height: 88vh; border: 0; padding: 0; background: var(--cream); color: var(--ink); border-radius: 20px 20px 0 0; overflow: auto; font-family: inherit; }
.rs-sheet::backdrop { background: rgba(30,10,12,.55); }
.rs-sheet[open] { animation: rs-up .25s ease; }
@keyframes rs-up { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
.rs-sheet-in { padding: 16px; max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.rs-sheet-head { display: flex; justify-content: space-between; align-items: center; }
.rs-sheet-head h2 { margin: 0; color: var(--wine); font-size: 24px; }
.rs-x { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--gold); background: none; font-size: 26px; color: var(--wine); cursor: pointer; }
.rs-empty { text-align: center; padding: 24px 0; }
.rs-line { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #e8dcc3; }
.rs-lname { display: flex; flex-direction: column; } .rs-lname span { font-size: 13px; color: #6e5a4a; }
.rs-qty { display: flex; align-items: center; gap: 10px; }
.rs-qty button { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--gold); background: #fff; font-size: 22px; color: var(--wine); cursor: pointer; }
.rs-ltotal { font-weight: 800; color: var(--wine); }
.rs-del { background: none; border: 0; color: #b3261e; font: inherit; min-height: 44px; justify-self: end; cursor: pointer; }
.rs-total { display: flex; justify-content: space-between; font-size: 20px; font-weight: 800; color: var(--wine); padding-top: 4px; }
.rs-f { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 14px; }
.rs-f input, .rs-f textarea { font: inherit; padding: 10px; border: 1px solid #d9c79f; border-radius: 10px; background: #fff; color: var(--ink); }
.rs-f input { min-height: 44px; }
.rs-clear { background: none; border: 0; color: #6e5a4a; min-height: 44px; font: inherit; cursor: pointer; }
.rs-wa { display: block; text-align: center; line-height: 52px; background: #25a244; color: #fff; border-radius: 12px; font-weight: 800; text-decoration: none; }
.rs-strip { display: flex; gap: 10px; align-items: center; margin: 14px 16px 0; padding: 8px 10px; background: var(--wine2); border: 1px solid var(--gold); border-radius: 14px; }
.rs-main .rs-strip { margin: 14px 0 0; }
.rs-strip-c { flex: 1; display: flex; align-items: center; gap: 10px; background: none; border: 0; color: #fff; font: inherit; cursor: pointer; min-height: 44px; text-align: start; }
.rs-strip-c b { font-size: 17px; } .rs-strip-c small { color: #e6d3b0; margin-inline-start: 6px; }
.rs-strip-go { min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--gold); color: var(--wine2); font: inherit; font-weight: 800; cursor: pointer; }
.rs-strip-go:disabled { opacity: .5; }

.rs-chips { position: sticky; top: 0; z-index: 10; }
.rs-sheet-in input, .rs-sheet-in textarea { width: 100%; }
