/* =====================================================================
   SOURA CROCHET — الأنماط الأساسية (mobile-first, RTL)
   نستخدم خصائص منطقية (inline-start/end) ليسهل دعم الإنجليزية لاحقاً.
   ===================================================================== */
:root {
  --rose: #c48b86;
  --rose-d: #a5655f;
  --rose-dd: #8c524c;
  --rose-l: #f3dedb;
  --rose-xl: #faeeec;
  --cream: #fcf8f2;
  --beige: #efe4d4;
  --beige-d: #dccaaf;
  --brown: #4b3329;
  --brown-l: #7a6256;
  --gold: #bf9a5f;
  --gold-l: #e9d9b8;
  --white: #fff;
  --ok: #4f7f5c;
  --warn: #b97a2c;
  --err: #b0473f;
  --radius: 22px;
  --radius-s: 14px;
  --shadow: 0 14px 34px -16px rgba(75, 51, 41, .35);
  --shadow-s: 0 6px 18px -10px rgba(75, 51, 41, .3);
  --font: "Cairo", "Segoe UI", Tahoma, system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-script: "Aref Ruqaa", "Cairo", serif;
  --header-h: 64px;
  --bottom-nav-h: 64px;
  --maxw: 1180px;
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--brown); background: var(--cream);
  line-height: 1.75; font-size: 16px; min-height: 100vh;
  padding-block-end: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
  animation: pageIn .45s ease both;
}
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }
[hidden] { display: none !important; }

/* ---------- أزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .72em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; transition: transform .18s, background .2s, box-shadow .2s, color .2s;
  min-height: 46px; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--rose-d); color: #fff; box-shadow: 0 10px 22px -12px var(--rose-dd); }
.btn-primary:hover { background: var(--rose-dd); }
.btn-outline { border-color: var(--brown); color: var(--brown); background: transparent; }
.btn-outline:hover { background: var(--brown); color: var(--cream); }
.btn-soft { background: var(--rose-l); color: var(--rose-dd); }
.btn-soft:hover { background: var(--rose); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: .4em 1em; min-height: 36px; font-size: .9rem; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- الشريط العلوي ---------- */
.preview-banner { background: var(--brown); color: var(--gold-l); text-align: center; font-size: .85rem; padding: .45em 1em; }
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(252, 248, 242, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-block-end: 1px dashed var(--beige-d);
}
.header-row { height: var(--header-h); display: flex; align-items: center; gap: 12px; }
.brand { display: flex; flex-direction: column; line-height: 1; align-items: flex-start; gap: 3px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; letter-spacing: .14em; font-size: 1.15rem; display: flex; align-items: center; gap: .45em; direction: ltr; }
.brand-name svg { width: 1.2em; height: 1.2em; color: var(--rose-d); }
.brand-sub { font-family: var(--font-display); font-size: .56rem; letter-spacing: .32em; color: var(--gold); direction: ltr; padding-inline-start: 1.9em; }
.brand img.brand-logo { height: 38px; width: auto; }
.main-nav { display: none; gap: 4px; margin-inline-start: 18px; }
.main-nav a { padding: .4em .95em; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--brown-l); transition: .2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--rose-l); color: var(--rose-dd); }
.header-spacer { flex: 1; }
.search-form { display: none; position: relative; flex: 0 1 300px; }
.search-form input { width: 100%; border: 1.5px solid var(--beige-d); background: #fff; border-radius: 999px; padding: .55em 1.1em; padding-inline-end: 2.6em; font: inherit; font-size: .95rem; color: var(--brown); }
.search-form button { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--rose-d); padding: 6px; }
.icon-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--brown); transition: .2s; }
.icon-btn:hover { background: var(--rose-l); }
.icon-btn .icon { width: 24px; height: 24px; }
.badge { position: absolute; top: 2px; inset-inline-start: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--rose-d); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.badge:empty, .badge[data-n="0"] { display: none; }
.mobile-search { display: none; padding-block: 0 12px; }
.mobile-search.open { display: block; }
.mobile-search .search-form { display: block; flex: none; }

/* ---------- شريط التنقل السفلي (جوال) ---------- */
.bottom-nav {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 60; height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--beige); display: grid; grid-template-columns: repeat(5, 1fr);
}
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: .7rem; font-weight: 600; color: var(--brown-l); position: relative; }
.bottom-nav a .icon { width: 23px; height: 23px; }
.bottom-nav a[aria-current="page"] { color: var(--rose-dd); }
.bottom-nav a[aria-current="page"]::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 4px 4px; background: var(--rose-d); }
.bottom-nav .badge { top: 6px; inset-inline-start: calc(50% + 4px); }

/* ---------- عناوين الأقسام ---------- */
.section { padding-block: 44px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.eyebrow { font-family: var(--font-display); font-size: .7rem; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; direction: ltr; text-align: start; display: block; margin-bottom: 4px; }
.section-title { font-size: clamp(1.45rem, 4.5vw, 2.1rem); margin: 0; }
.link-more { color: var(--rose-dd); font-weight: 700; font-size: .95rem; display: inline-flex; align-items: center; gap: .3em; }
.link-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.stitch { border: 0; border-block-start: 2px dashed var(--beige-d); margin: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: 28px 40px; background: radial-gradient(120% 90% at 85% 0%, var(--rose-l) 0%, transparent 60%), radial-gradient(90% 70% at 0% 100%, var(--beige) 0%, transparent 60%), var(--cream); }
.hero-grid { display: grid; gap: 24px; align-items: center; }
.hero-text .tagline { font-family: var(--font-script); font-size: clamp(2rem, 8vw, 3.4rem); line-height: 1.35; color: var(--brown); margin: .15em 0 .35em; }
.hero-text .tagline em { font-style: normal; color: var(--rose-d); }
.hero-text p.lead { color: var(--brown-l); font-size: 1.05rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-art { position: relative; justify-self: center; width: min(100%, 440px); aspect-ratio: 1.08; }
.hero-art img, .hero-art svg { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 22px 28px rgba(75, 51, 41, .22)); }
.hero-art:has(.hero-photo) { aspect-ratio: 1.4; width: min(100%, 520px); }
.hero-photo { border-radius: 36px 120px 36px 120px; object-fit: cover !important; filter: none !important; box-shadow: var(--shadow); border: 6px solid #fff; }
.hero-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; color: var(--brown-l); font-size: .85rem; }
.hero-chips span { background: #fff; border: 1px solid var(--beige); border-radius: 999px; padding: .15em .9em; display: inline-flex; gap: .4em; align-items: center; }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- التصنيفات ---------- */
.cat-row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 16px 14px; margin-inline: -16px; scrollbar-width: none; }
.cat-row::-webkit-scrollbar { display: none; }
.cat-chip { flex: none; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 92px; text-align: center; font-size: .82rem; font-weight: 600; line-height: 1.35; }
.cat-chip .bubble { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--rose-xl); border: 2px dashed var(--beige-d); font-size: 1.7rem; transition: .25s; overflow: hidden; }
.cat-chip .bubble img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.cat-chip:hover .bubble, .cat-chip.active .bubble { border-color: var(--rose-d); background: var(--rose-l); transform: translateY(-3px); }
.cat-chip.active { color: var(--rose-dd); }

/* ---------- بطاقات المنتجات ---------- */
.grid-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.p-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; position: relative; }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.p-media { position: relative; aspect-ratio: 1; background: var(--rose-xl); overflow: hidden; }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.p-card:hover .p-media img { transform: scale(1.06); }
.p-media::after { content: ""; position: absolute; inset: 8px; border: 1.5px dashed rgba(255, 255, 255, .85); border-radius: calc(var(--radius) - 8px); opacity: 0; transition: .3s; pointer-events: none; }
.p-card:hover .p-media::after { opacity: 1; }
.p-tags { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; z-index: 2; }
.tag { font-size: .7rem; font-weight: 700; padding: .15em .75em; border-radius: 999px; background: #fff; color: var(--brown); box-shadow: var(--shadow-s); }
.tag.sale { background: var(--rose-d); color: #fff; }
.tag.gold { background: var(--gold); color: #fff; }
.tag.out { background: var(--brown); color: #fff; }
.p-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.p-cat { font-size: .74rem; color: var(--brown-l); }
.p-name { font-size: .98rem; font-weight: 700; margin: 0; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.price { font-weight: 800; color: var(--rose-dd); font-size: 1.05rem; }
.price-old { text-decoration: line-through; color: var(--brown-l); font-size: .82rem; }
.p-add { margin-top: 8px; }
.p-card.is-out .p-media img { filter: grayscale(.6); opacity: .8; }

.tabs { display: flex; gap: 6px; background: var(--beige); padding: 5px; border-radius: 999px; overflow-x: auto; scrollbar-width: none; }
.tab { border: 0; background: transparent; padding: .45em 1.2em; border-radius: 999px; font-weight: 700; color: var(--brown-l); font-size: .92rem; white-space: nowrap; }
.tab[aria-selected="true"] { background: #fff; color: var(--rose-dd); box-shadow: var(--shadow-s); }

/* ---------- أشرطة ترويجية ---------- */
.band { border-radius: var(--radius); padding: 30px 22px; position: relative; overflow: hidden; }
.band-rose { background: linear-gradient(135deg, var(--rose-d), var(--rose-dd)); color: #fff; }
.band-rose::before, .band-rose::after { content: ""; position: absolute; border: 2px dashed rgba(255, 255, 255, .28); border-radius: 50%; }
.band-rose::before { width: 220px; height: 220px; inset-block-start: -80px; inset-inline-end: -60px; }
.band-rose::after { width: 140px; height: 140px; inset-block-end: -60px; inset-inline-start: 20px; }
.band h2 { color: inherit; font-size: clamp(1.4rem, 4.5vw, 2rem); position: relative; }
.band p { position: relative; opacity: .92; max-width: 36em; }
.band .btn { position: relative; background: #fff; color: var(--rose-dd); }
.steps { display: grid; gap: 12px; margin: 18px 0 22px; position: relative; }
.step { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.step b { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; flex: none; }

.quote-grid { display: grid; gap: 14px; }
.quote { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-s); position: relative; }
.quote::before { content: "”"; font-family: var(--font-display); font-size: 4rem; color: var(--rose-l); position: absolute; top: -6px; inset-inline-end: 16px; line-height: 1; }
.quote cite { display: block; font-style: normal; font-weight: 700; color: var(--rose-dd); margin-top: 8px; }

.insta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.insta-grid a { aspect-ratio: 1; border-radius: var(--radius-s); overflow: hidden; display: block; background: var(--rose-xl); }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.photo-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); }
.photo-card img { width: 100%; height: auto; }
.insta-grid a:hover img { transform: scale(1.08); }

/* ---------- الفوتر ---------- */
.site-footer { background: var(--brown); color: var(--gold-l); margin-top: 56px; padding-block: 44px 28px; }
.footer-grid { display: grid; gap: 28px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .8em; }
.site-footer a { color: var(--gold-l); opacity: .9; }
.site-footer a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-brand .brand-name { color: #fff; font-size: 1.25rem; }
.footer-brand p { opacity: .8; margin-top: 12px; font-size: .92rem; }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px dashed rgba(233, 217, 184, .3); font-size: .82rem; opacity: .75; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
.contact-line { display: flex; align-items: center; gap: .6em; }

/* ---------- صفحات داخلية ---------- */
.page-head { padding-block: 28px 8px; }
.crumbs { font-size: .85rem; color: var(--brown-l); margin-bottom: 8px; }
.crumbs a:hover { color: var(--rose-dd); }
.page-title { font-size: clamp(1.6rem, 5vw, 2.4rem); }
.card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-s); }
.muted { color: var(--brown-l); }
.empty { text-align: center; padding: 56px 16px; color: var(--brown-l); }
.empty .icon { width: 64px; height: 64px; color: var(--beige-d); margin-inline: auto; margin-bottom: 8px; }

/* المتجر */
.shop-bar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.shop-controls { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.shop-controls .field { flex: 1 1 150px; }
.check { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .92rem; }
.check input { width: 18px; height: 18px; accent-color: var(--rose-d); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1.5px solid var(--beige-d); background: #fff; border-radius: 999px; padding: .3em 1em; font-weight: 600; font-size: .88rem; color: var(--brown-l); }
.chip.active { background: var(--rose-d); border-color: var(--rose-d); color: #fff; }
.results-count { font-size: .9rem; color: var(--brown-l); }

/* النماذج */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: .92rem; }
.field label .req { color: var(--err); }
.input, select.input, textarea.input {
  width: 100%; border: 1.5px solid var(--beige-d); background: #fff; border-radius: var(--radius-s);
  padding: .7em 1em; font: inherit; color: var(--brown); min-height: 48px; transition: border-color .2s, box-shadow .2s;
}
textarea.input { min-height: 110px; resize: vertical; }
.input:focus { outline: 0; border-color: var(--rose-d); box-shadow: 0 0 0 4px var(--rose-l); }
.input.invalid { border-color: var(--err); }
.field .hint { font-size: .8rem; color: var(--brown-l); }
.field .error { font-size: .82rem; color: var(--err); font-weight: 600; min-height: 0; }
.form-grid { display: grid; gap: 0 14px; }
.alert { padding: 12px 16px; border-radius: var(--radius-s); font-weight: 600; font-size: .92rem; margin-bottom: 14px; }
.alert-err { background: #fbe9e6; color: var(--err); }
.alert-ok { background: #e6f2e9; color: var(--ok); }
.alert-info { background: var(--gold-l); color: var(--brown); }
.drop { border: 2px dashed var(--beige-d); border-radius: var(--radius-s); padding: 18px; text-align: center; background: #fff; cursor: pointer; transition: .2s; }
.drop:hover { border-color: var(--rose-d); background: var(--rose-xl); }
.drop img { max-height: 160px; margin: 10px auto 0; border-radius: 12px; }

/* صفحة المنتج */
.pd-grid { display: grid; gap: 24px; }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--rose-xl); cursor: zoom-in; box-shadow: var(--shadow-s); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { flex: none; width: 68px; height: 68px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--rose-xl); opacity: .7; }
.thumbs button[aria-current="true"] { border-color: var(--rose-d); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-size: clamp(1.5rem, 5vw, 2.1rem); }
.pd-price { display: flex; gap: 12px; align-items: baseline; margin: 6px 0 14px; }
.pd-price .price { font-size: 1.7rem; }
.facts { display: grid; gap: 8px; margin: 14px 0; padding: 14px; border-radius: var(--radius-s); background: #fff; border: 1px dashed var(--beige-d); font-size: .92rem; }
.facts div { display: flex; justify-content: space-between; gap: 12px; }
.facts b { color: var(--brown); }
.stock-ok { color: var(--ok); font-weight: 700; }
.stock-low { color: var(--warn); font-weight: 700; }
.stock-out { color: var(--err); font-weight: 700; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--beige-d); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { width: 42px; height: 42px; border: 0; background: transparent; font-size: 1.3rem; color: var(--rose-dd); font-weight: 700; }
.qty button:hover { background: var(--rose-l); }
.qty span { min-width: 34px; text-align: center; font-weight: 700; }
.buy-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-block: 16px; }
.buy-row .btn-primary { flex: 1 1 180px; }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(40, 26, 20, .92); display: grid; place-items: center; padding: 16px; overflow: auto; }
.lightbox img { max-width: min(96vw, 1100px); max-height: 90vh; border-radius: 14px; cursor: zoom-out; transition: transform .25s; }
.lightbox img.zoomed { transform: scale(1.9); cursor: zoom-out; }
.lightbox .close { position: fixed; top: 14px; inset-inline-end: 14px; background: #fff; color: var(--brown); }

/* السلة والدفع */
.cart-layout { display: grid; gap: 20px; }
.cart-item { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--beige-d); }
.cart-item:last-child { border-bottom: 0; }
.cart-item img { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; background: var(--rose-xl); }
.ci-top { display: flex; justify-content: space-between; gap: 8px; align-items: start; }
.ci-name { font-weight: 700; line-height: 1.4; }
.ci-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 8px; flex-wrap: wrap; }
.rm { border: 0; background: none; color: var(--err); padding: 6px; border-radius: 8px; }
.rm:hover { background: #fbe9e6; }
.summary { position: sticky; top: calc(var(--header-h) + 14px); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.sum-row.total { border-top: 2px dashed var(--beige-d); margin-top: 6px; padding-top: 14px; font-weight: 800; font-size: 1.15rem; color: var(--rose-dd); }
.success { text-align: center; padding: 40px 16px; max-width: 560px; margin-inline: auto; }
.success .tick { width: 84px; height: 84px; border-radius: 50%; background: #e6f2e9; color: var(--ok); display: grid; place-items: center; margin: 0 auto 16px; animation: pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.success .tick .icon { width: 44px; height: 44px; stroke-width: 2.4; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
.order-no { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--rose-dd); direction: ltr; }

/* Toast */
.toasts { position: fixed; inset-inline: 0; bottom: calc(var(--bottom-nav-h) + 14px + env(safe-area-inset-bottom)); z-index: 300; display: grid; justify-items: center; gap: 8px; pointer-events: none; padding-inline: 16px; }
.toast { background: var(--brown); color: #fff; padding: .7em 1.3em; border-radius: 999px; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow); animation: toastIn .3s ease both; max-width: 100%; }
.toast.err { background: var(--err); }
.toast.ok { background: var(--ok); }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } }

.skeleton { background: linear-gradient(100deg, var(--beige) 30%, #f7efe3 50%, var(--beige) 70%); background-size: 200% 100%; animation: sk 1.3s linear infinite; border-radius: var(--radius); min-height: 220px; }
@keyframes sk { to { background-position: -200% 0; } }

.install-btn { display: none; }
.install-btn.show { display: inline-flex; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
