/* ============================================================
   Silver Book — التصميم
   ============================================================ */

:root {
  --ink: #101318;
  --ink-2: #1a1f27;
  --silver: #c9ced6;
  --silver-2: #eef0f3;
  --paper: #f6f7f9;
  --line: #e3e6ea;
  --muted: #6b7280;
  --gold: #c8a24a;
  --gold-dark: #a8832f;
  --green: #1f7a4d;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(16, 19, 24, .08);
  --shadow-lg: 0 24px 60px rgba(16, 19, 24, .18);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Cairo", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.mono { font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; letter-spacing: .5px; direction: ltr; unicode-bidi: embed; display: inline-block; }
.muted { color: var(--muted); }
a { color: inherit; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(16, 19, 24, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: #fff;
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; flex: 0 0 auto; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  font-weight: 900; font-size: 15px; letter-spacing: .5px; color: #14171c;
  background: linear-gradient(145deg, #f2f4f7, #b9c0ca);
  box-shadow: inset 0 1px 0 #fff, 0 4px 12px rgba(0, 0, 0, .35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 17px; font-weight: 900; letter-spacing: .3px; }
.brand-text small { font-size: 11.5px; color: #a9b1bd; font-weight: 600; }

.search { flex: 1 1 auto; max-width: 460px; }
.search input {
  width: 100%; height: 42px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .07); color: #fff; padding: 0 18px; font-family: inherit; font-size: 14px;
  outline: none; transition: .2s;
}
.search input::placeholder { color: #8b93a1; }
.search input:focus { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .3); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.ghost-link { font-size: 13px; color: #c3cad4; text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.ghost-link:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.cart-btn {
  display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16);
  background: linear-gradient(145deg, #f6f7f9, #c9ced6); color: #14171c;
  font-family: inherit; font-weight: 800; font-size: 14px; cursor: pointer; transition: .2s;
}
.cart-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0, 0, 0, .3); }
.cart-count {
  min-width: 22px; height: 22px; border-radius: 999px; background: #14171c; color: #fff;
  font-size: 12px; display: grid; place-items: center; padding: 0 6px;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 380px at 85% -10%, rgba(200, 162, 74, .22), transparent 60%),
    radial-gradient(700px 320px at 10% 0%, rgba(200, 206, 214, .16), transparent 60%),
    linear-gradient(160deg, #14181e, #0c0e12);
  color: #fff;
  padding: 54px 0 60px;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.pill {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: #e6d3a3;
  border: 1px solid rgba(200, 162, 74, .45); background: rgba(200, 162, 74, .1);
  padding: 5px 13px; border-radius: 999px; margin-bottom: 16px;
}
.hero h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.28; margin: 0 0 14px; font-weight: 900; letter-spacing: -.3px; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #f4e6bd, #c8a24a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: #b9c0cb; font-size: 15.5px; max-width: 560px; margin: 0 0 22px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { list-style: none; display: flex; gap: 22px; padding: 0; margin: 26px 0 0; color: #9aa3b0; font-size: 13px; flex-wrap: wrap; }
.hero-points li::before { content: "✦"; color: var(--gold); margin-inline-end: 7px; }

.hero-art { position: relative; height: 320px; }
.hero-art .book {
  position: absolute; width: 118px; height: 172px; border-radius: 6px 12px 12px 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5), inset -6px 0 0 rgba(0, 0, 0, .25);
  display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 17px;
  border: 1px solid rgba(255, 255, 255, .16);
}
.hero-art .book::after { content: ""; position: absolute; inset-inline-start: 10px; top: 12px; bottom: 12px; width: 3px; background: rgba(255, 255, 255, .28); border-radius: 2px; }
.hero-art .b1 { background: linear-gradient(150deg, #2c6e52, #10301f); transform: rotate(-8deg); top: 26px; inset-inline-start: 18%; }
.hero-art .b2 { background: linear-gradient(150deg, #c8a24a, #7a5c17); transform: rotate(4deg); top: 66px; inset-inline-start: 48%; height: 186px; }
.hero-art .b3 { background: linear-gradient(150deg, #3b4a66, #141b27); transform: rotate(14deg); top: 118px; inset-inline-start: 4%; height: 156px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font-family: inherit; font-weight: 800; font-size: 14.5px; cursor: pointer; text-decoration: none;
  transition: .18s; white-space: nowrap;
}
.btn.small { height: 38px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn.wide { width: 100%; }
.btn-primary { background: linear-gradient(160deg, #1c222b, #0d1014); color: #fff; box-shadow: 0 8px 20px rgba(16, 19, 24, .18); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(16, 19, 24, .26); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { background: #fff; border-color: #c9ced6; }
.hero .btn-outline { border-color: rgba(255, 255, 255, .28); color: #fff; }
.hero .btn-outline:hover { background: rgba(255, 255, 255, .1); }
.btn-wa { background: #128c7e; color: #fff; }
.btn-wa:hover { background: #0f776b; }

/* ---------- How it works ---------- */
.how { padding: 34px 0 6px; }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.how-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; box-shadow: 0 2px 6px rgba(16, 19, 24, .03); }
.how-card .num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--silver-2); font-weight: 900; color: var(--gold-dark); font-size: 14px; margin-bottom: 8px; }
.how-card h3 { margin: 0 0 4px; font-size: 15px; }
.how-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---------- Products ---------- */
#products { padding: 40px 0 10px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.section-head h2 { font-size: 25px; margin: 0; font-weight: 900; }
.section-tools { display: flex; gap: 10px; }
select {
  height: 42px; border-radius: 11px; border: 1px solid var(--line); background: #fff;
  font-family: inherit; font-size: 13.5px; padding: 0 12px; color: var(--ink); cursor: pointer; outline: none;
}
select:focus { border-color: #b9c0ca; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 22px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: #40474f;
  padding: 8px 16px; border-radius: 999px; font-family: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: .15s;
}
.chip:hover { border-color: #c9ced6; }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: .2s; box-shadow: 0 1px 3px rgba(16, 19, 24, .04);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d7dbe0; }

.cover {
  position: relative; aspect-ratio: 4 / 3.1; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 14px; color: #fff; cursor: pointer; overflow: hidden;
}
.cover::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .45));
}
.cover::after {
  content: ""; position: absolute; inset-inline-start: 12px; top: 0; bottom: 0; width: 2px;
  background: rgba(255, 255, 255, .18);
}
.cover-subj { position: relative; font-size: 11.5px; letter-spacing: .5px; opacity: .9; margin-bottom: 4px; }
.cover-title { position: relative; font-size: 17px; font-weight: 900; line-height: 1.35; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.cover-brand { position: absolute; top: 12px; inset-inline-end: 12px; font-size: 9px; letter-spacing: 2px; opacity: .55; font-weight: 700; }
.badge {
  position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2;
  background: var(--gold); color: #20180a; font-size: 10.5px; font-weight: 900;
  padding: 3px 9px; border-radius: 999px;
}

.card-body { padding: 14px 14px 15px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.4; }
.card-meta { margin: 0; font-size: 12px; color: var(--muted); }
.card-price { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; flex-wrap: wrap; }
.card-price strong { font-size: 17px; font-weight: 900; }
.card-price s { color: #9aa3b0; font-size: 12.5px; }
.off { background: #fdecec; color: #b42318; font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 6px; }
.card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }
.card-actions .btn { flex: 1; }

.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Notice ---------- */
.notice { margin: 34px auto 46px; }
.notice p {
  background: #fff; border: 1px dashed #d9dee4; border-radius: 14px; padding: 14px 18px;
  font-size: 13.5px; color: #4b5563; margin: 0;
}
.notice code { background: var(--silver-2); padding: 2px 6px; border-radius: 6px; font-size: 12px; direction: ltr; display: inline-block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c3cad4; padding: 40px 0 22px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
.site-footer h4 { color: #fff; font-size: 14px; margin: 0 0 6px; }
.site-footer .muted { color: #8f98a5; font-size: 13px; margin: 4px 0; }
.site-footer a { color: #d7dbe0; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.brand.small .brand-mark { width: 34px; height: 34px; font-size: 13px; }
.copy { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 26px; padding-top: 16px; font-size: 12px; color: #7b8492; }

/* ---------- Drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(8, 10, 13, .55); z-index: 50; backdrop-filter: blur(2px); }
.drawer {
  position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: min(420px, 100%);
  background: #fff; z-index: 60; display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg); animation: slideIn .22s ease-out;
}
@keyframes slideIn { from { transform: translateX(-24px); opacity: .4; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-size: 17px; }
.icon-btn { border: 0; background: var(--silver-2); width: 34px; height: 34px; border-radius: 10px; cursor: pointer; font-size: 14px; color: #4b5563; }
.icon-btn:hover { background: #e3e6ea; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 20px; }
.cart-empty { color: var(--muted); text-align: center; padding: 40px 0; font-size: 14px; }
.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f2f4; }
.ci-cover {
  width: 54px; height: 70px; border-radius: 8px; color: #fff; font-size: 10px; font-weight: 700;
  display: grid; place-items: center; flex: 0 0 auto; text-align: center; padding: 4px;
}
.ci-main { flex: 1; min-width: 0; }
.ci-main strong { display: block; font-size: 14px; line-height: 1.4; }
.ci-main small { color: var(--muted); font-size: 11.5px; }
.qty { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.q-btn { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 15px; line-height: 1; }
.q-btn:hover { background: var(--silver-2); }
.qty span { font-size: 13.5px; font-weight: 700; min-width: 14px; text-align: center; }
.ci-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.ci-side strong { font-size: 14px; }
.link-btn { border: 0; background: none; color: #b42318; font-family: inherit; font-size: 12px; cursor: pointer; padding: 0; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px 20px; background: #fbfbfc; }
.drawer-foot .row { display: flex; justify-content: space-between; font-size: 13.5px; color: #4b5563; margin-bottom: 6px; }
.drawer-foot .row.total { font-size: 16px; color: var(--ink); border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 8px; }
.drawer-foot .row.total strong { font-size: 19px; font-weight: 900; }
.hint { font-size: 12px; color: var(--gold-dark); margin: 2px 0 12px; min-height: 16px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 70; background: rgba(8, 10, 13, .6); display: grid; place-items: center; padding: 20px; overflow-y: auto; }
.modal-card { position: relative; background: #fff; border-radius: 20px; width: min(760px, 100%); box-shadow: var(--shadow-lg); animation: pop .18s ease-out; max-height: calc(100vh - 40px); overflow-y: auto; }
@keyframes pop { from { transform: scale(.97); opacity: .6; } to { transform: none; opacity: 1; } }
.modal-x { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 3; }
.pm-grid { display: grid; grid-template-columns: 260px 1fr; gap: 0; }
.cover.big { aspect-ratio: auto; min-height: 320px; border-radius: 20px 0 0 20px; padding: 22px; }
.cover.big .cover-title { font-size: 26px; }
.pm-info { padding: 30px 26px; }
.pm-info h3 { margin: 0 0 6px; font-size: 22px; font-weight: 900; }
.pm-info p { color: #4b5563; font-size: 14px; }

/* ---------- Checkout ---------- */
.modal-card.checkout { width: min(560px, 100%); padding: 22px 24px 26px; }
.checkout-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.checkout-head h3 { margin: 0; font-size: 19px; }
.steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 10px 0 20px; }
.steps li {
  flex: 1; text-align: center; font-size: 12.5px; font-weight: 700; color: #9aa3b0;
  background: var(--silver-2); border-radius: 9px; padding: 7px 4px;
}
.steps li.active { background: var(--ink); color: #fff; }
.steps li.done { background: #e7f3ec; color: var(--green); }
.step-body { display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 13px; font-weight: 700; color: #374151; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 11px 13px;
  font-family: inherit; font-size: 14px; outline: none; background: #fff; transition: .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: #8b93a1; box-shadow: 0 0 0 3px rgba(16, 19, 24, .06); }
.err { color: #b42318; font-size: 12.5px; margin: 0; background: #fdecec; padding: 8px 12px; border-radius: 9px; }
.checkout-actions { display: flex; gap: 10px; margin-top: 6px; }
.checkout-actions .btn { flex: 1; }

.pay-box { background: linear-gradient(160deg, #fdfdfe, #f3f5f7); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.pay-brand { font-weight: 900; font-size: 16px; color: #e60000; display: flex; align-items: center; gap: 8px; }
.pay-brand span { color: #374151; font-size: 13px; font-weight: 700; }
.pay-box p { font-size: 13px; color: #4b5563; margin: 6px 0; }
.pay-number {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; border: 1px dashed #c9ced6; border-radius: 11px; padding: 10px 14px; margin: 8px 0 12px;
}
.pay-number .mono { font-size: 19px; font-weight: 800; letter-spacing: 1.5px; }
.pay-amount { font-size: 14px; color: #374151; }
.pay-amount strong { font-size: 17px; color: var(--ink); }
.pay-steps { margin: 10px 0 0; padding-inline-start: 18px; font-size: 12.5px; color: #4b5563; line-height: 1.75; }

.done { text-align: center; padding: 6px 0 4px; }
.done-ico {
  width: 52px; height: 52px; border-radius: 50%; background: #e7f3ec; color: var(--green);
  font-size: 26px; display: grid; place-items: center; margin: 0 auto 10px;
}
.done h3 { margin: 0 0 4px; font-size: 20px; }
.done p { margin: 2px 0; font-size: 14px; }

.summary { border: 1px solid var(--line); border-radius: 13px; padding: 12px 16px; margin: 14px 0; }
.sum-row { display: flex; justify-content: space-between; gap: 14px; font-size: 13.5px; padding: 5px 0; color: #374151; }
.sum-row.total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 9px; font-weight: 900; font-size: 15px; color: var(--ink); }
.pay-recap { background: #fbf7ec; border: 1px solid #efe3c6; border-radius: 13px; padding: 14px 16px; margin-bottom: 12px; }
.pay-recap p { margin: 0 0 10px; font-size: 13.5px; color: #5b4a1d; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; inset-inline: 0; bottom: 26px; margin-inline: auto; width: max-content; max-width: 90%;
  background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 700;
  padding: 11px 20px; border-radius: 999px; z-index: 90; box-shadow: var(--shadow-lg);
  animation: toastIn .2s ease-out;
}
@keyframes toastIn { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
}
@media (max-width: 760px) {
  .wrap { width: min(1180px, 100% - 28px); }
  .header-inner { height: auto; padding: 12px 0; flex-wrap: wrap; gap: 12px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .ghost-link { display: none; }
  .hero { padding: 34px 0 38px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .how-grid { grid-template-columns: 1fr; }
  .card-actions { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; }
  .pm-grid { grid-template-columns: 1fr; }
  .cover.big { border-radius: 20px 20px 0 0; min-height: 200px; }
  .modal-card.checkout { padding: 18px; }
  .section-head h2 { font-size: 21px; }
}
@media (max-width: 360px) {
  .grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
}

/* ---------- أغلفة المنتجات بالصور ---------- */
.cover {
  aspect-ratio: 4 / 3.4;
  display: block;
  padding: 0;
  background: #eceef1;
  position: relative;
  overflow: hidden;
}
.cover::before, .cover::after { content: none; }

.cover-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 14px; color: #fff;
}
.cover-fallback::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.45));
}
.cover-fallback::after {
  content: ""; position: absolute; inset-inline-start: 12px; top: 0; bottom: 0; width: 2px;
  background: rgba(255,255,255,.18);
}
.cover-fallback .cover-subj,
.cover-fallback .cover-title,
.cover-fallback .cover-brand { position: relative; z-index: 1; }

.cover-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; background: #fff; padding: 8px;
}
.cover.has-img .cover-fallback { display: none; }

.cover.big { min-height: 340px; aspect-ratio: auto; }
.cover.big .cover-img { padding: 18px; }
.cover.big .cover-title { font-size: 26px; }

.card-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.8em;
}

.ci-cover { overflow: hidden; background: #eceef1; }
.ci-cover img { width: 100%; height: 100%; object-fit: contain; background: #fff; }

.result-count { color: var(--muted); font-size: 13px; margin: -10px 0 12px; }
.more-wrap { display: flex; justify-content: center; margin: 26px 0 8px; }
#showMore { min-width: 220px; }

@media (max-width: 760px) {
  .cover { aspect-ratio: 3 / 3.6; }
}

/* ---------- لمسات أخيرة ---------- */
.cart-ico { display: inline-flex; align-items: center; }
.hero h1, .section-head h2 { text-wrap: balance; }
.card-meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pay-number .mono { letter-spacing: 2px; }

/* صفوف ملخص الطلب: السعر ما يتكسرش على سطرين */
.sum-row { align-items: flex-start; }
.sum-row > span:first-child { flex: 1 1 auto; }
.sum-row > span:last-child { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 480px) {
  .sum-row { font-size: 13px; }
}
