/* ==========================================================
   مجد للأدهان والعطور — التصميم
   الألوان: نيلي (لون الملحفة الموريتانية) + ذهبي من اللوجو + رمل
   الخطوط: IBM Plex Sans Arabic بوزن عريض (700) للعناوين العربية وللنصوص باللغتين،
           Marcellus للعناوين الفرنسية
   كل الهوامش تستعمل خصائص منطقية، فتنقلب تلقائياً بين RTL و LTR
   ========================================================== */

:root {
  --indigo: #14204A;
  --indigo-deep: #0D1636;
  --indigo-soft: #24336B;
  --gold: #E0A444;
  --gold-hover: #ECB65C;
  --gold-deep: #8A5C0E;
  --gold-pale: #F2DFAE;
  --paper: #FAF8F3;
  --sand: #EDE3CF;
  --ink: #1B2347;
  --muted: #59607F;
  --line: #DDD3BF;
  --radius: 14px;
  --radius-sm: 10px;

  --f-head: "IBM Plex Sans Arabic", "Segoe UI", system-ui, -apple-system, Tahoma, sans-serif;
  --f-body: "IBM Plex Sans Arabic", "Segoe UI", system-ui, -apple-system, Tahoma, sans-serif;
  --w-head: 700; /* IBM Plex Sans Arabic عريض */
}
html[lang="fr"] {
  --f-head: "Marcellus", Georgia, "Times New Roman", serif;
  --w-head: 400; /* Marcellus له وزن واحد فقط */
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: clamp(16px, 0.25vw + 13.5px, 21px);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.lock { overflow: hidden; }

img, svg { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
section[id] { scroll-margin-top: 4.5rem; }

.wrap { width: min(100% - 2.5rem, 76rem); margin-inline: auto; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.skip {
  position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100;
  background: var(--gold); color: var(--indigo-deep); padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip:focus { top: 1rem; }

/* ألوان الحلقة عند التنقل بلوحة المفاتيح */
.top, .hero, .contact, .foot, .drawer-head { --focus: var(--gold); }
:focus-visible { outline: 2.5px solid var(--focus, var(--indigo)); outline-offset: 3px; }

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: .7rem 1.4rem;
  border: 1.5px solid transparent; border-radius: var(--radius-sm);
  font: 500 1rem/1.2 var(--f-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { flex: none; }
.btn-gold { background: var(--gold); color: var(--indigo-deep); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-line { border-color: rgba(250, 248, 243, .5); color: var(--paper); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { min-height: 3.4rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.link-btn {
  background: none; border: 0; padding: .25rem 0; cursor: pointer;
  font: inherit; font-size: .88rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--indigo); }
.icon-btn {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  background: transparent; border: 0; border-radius: var(--radius-sm); color: inherit; cursor: pointer;
}
.icon-btn:hover { background: rgba(255, 255, 255, .1); }

/* ---------- شريط العروض المتحرك ---------- */
.ticker { background: var(--gold); color: var(--indigo-deep); overflow: hidden; font-size: .95rem; font-weight: 500; }
.tick-track {
  display: flex; align-items: center; width: max-content; min-height: 2.6rem;
  animation: tick var(--tick-dur, 30s) linear infinite;
}
[dir="rtl"] .tick-track { animation-name: tick-rtl; }
.ticker:hover .tick-track { animation-play-state: paused; }
.tick-half { display: flex; align-items: center; flex: none; }
.tick-item { white-space: nowrap; }
.tick-sep { flex: none; width: .5rem; height: .5rem; margin-inline: 1.75rem; background: var(--indigo); transform: rotate(45deg); }
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes tick-rtl { to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) {
  .tick-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; padding: .5rem 1rem; row-gap: .25rem; }
  .tick-half { flex-wrap: wrap; justify-content: center; }
  .tick-half[aria-hidden="true"] { display: none; }
}

/* ---------- الشريط العلوي ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: var(--indigo); color: var(--paper);
  border-bottom: 1px solid rgba(224, 164, 68, .2);
}
.top-in { display: flex; align-items: center; gap: 1.25rem; min-height: 4.4rem; }
.brand { display: flex; align-items: center; gap: .75rem; margin-inline-end: auto; text-decoration: none; min-width: 0; }
.brand img { height: 2.4rem; width: auto; flex: none; }
.brand-name {
  font: var(--w-head) 1.15rem/1.2 var(--f-head);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav { display: none; gap: 1.4rem; }
.nav a {
  text-decoration: none; font-size: .95rem; color: rgba(250, 248, 243, .78);
  padding-block: .4rem; border-bottom: 1.5px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); border-color: var(--gold); }
.tools { display: flex; align-items: center; gap: .55rem; }
.lang, .cart-btn {
  height: 2.75rem; border: 1.5px solid rgba(224, 164, 68, .5); border-radius: var(--radius-sm);
  background: transparent; color: var(--paper); font: 500 .92rem/1 var(--f-body); cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.lang { padding-inline: .9rem; }
.cart-btn { position: relative; width: 2.75rem; display: grid; place-items: center; }
.lang:hover, .cart-btn:hover { background: rgba(224, 164, 68, .14); border-color: var(--gold); }
.count {
  position: absolute; top: -.45rem; inset-inline-end: -.45rem;
  min-width: 1.35rem; height: 1.35rem; padding-inline: .3rem;
  display: grid; place-items: center; border-radius: 99px;
  background: var(--gold); color: var(--indigo-deep); font: 600 .75rem/1 var(--f-body);
}

/* ---------- الواجهة الرئيسية ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--indigo); color: var(--paper);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 6 50 28 28 50 6 28Z' fill='none' stroke='%23E0A444' stroke-opacity='.11' stroke-width='1'/%3E%3C/svg%3E");
}
.hero-in { display: grid; gap: 3rem; align-items: center; padding-block: 3rem 4.5rem; }
.hero-copy { max-width: 36rem; }
.hero h1 {
  font: var(--w-head) clamp(2.1rem, 5.4vw + .6rem, 4.3rem)/1.3 var(--f-head);
  letter-spacing: 0;
}
.lead { margin-top: 1.25rem; font-size: 1.1rem; color: rgba(250, 248, 243, .8); max-width: 32rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.seal {
  position: relative; width: min(74%, 21rem); justify-self: center;
  margin-inline-end: 1.1rem; margin-block-end: 1.1rem;
}
.seal img { display: block; width: 100%; height: auto; position: relative; z-index: 1; }
.seal::before {
  content: ""; position: absolute; z-index: 0;
  inset-block-start: 1.1rem; inset-inline-start: 1.1rem; width: 100%; height: 100%;
  border: 1.5px solid var(--gold); border-radius: 7%; opacity: .75;
}

@media (min-width: 900px) {
  .hero-in { grid-template-columns: 1.2fr .8fr; gap: 4rem; padding-block: 5.5rem 6.5rem; }
  .seal { width: min(100%, 27rem); justify-self: end; }
  .nav { display: flex; }
  .top-in { gap: 2rem; }
  .brand { margin-inline-end: auto; }
}
@media (min-width: 1100px) { .nav { gap: 2rem; } }

/* حركة واحدة عند فتح الصفحة فقط */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .85s cubic-bezier(.2, .7, .2, 1) both; }
  .r2 { animation-delay: .12s; }
  .r3 { animation-delay: .24s; }
  .r4 { animation-delay: .1s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- الأقسام ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
h2 { font: var(--w-head) clamp(1.7rem, 2.4vw + .9rem, 2.7rem)/1.35 var(--f-head); }
.sec-head { max-width: 40rem; margin-bottom: 2rem; }
.sec-head p { margin-top: .5rem; color: var(--muted); }

/* ---------- صور العروض ---------- */
.offers { background: var(--sand); }
.offers .sec-head { margin-bottom: 1.5rem; }
.posters { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.75rem 1.5rem; }
.poster { flex: 0 1 26rem; max-width: 26rem; display: grid; gap: .6rem; text-decoration: none; }
.poster.wide { flex-basis: 100%; max-width: 60rem; }
.poster img { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--paper); }
.poster-end { font-size: .92rem; color: var(--gold-deep); font-weight: 500; }

/* ---------- المجموعة ---------- */
.filters {
  display: flex; gap: .5rem; overflow-x: auto; padding-block: .25rem;
  margin-inline: -1.25rem; padding-inline: 1.25rem;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 2.75rem; padding: .45rem 1.1rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: transparent;
  color: var(--ink); font: 400 .95rem/1.2 var(--f-body); cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--indigo); }
.chip[aria-pressed="true"] { background: var(--indigo); border-color: var(--indigo); color: var(--paper); }
@media (min-width: 700px) {
  .filters { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
}

.grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem .9rem; margin-top: 2rem;
}
@media (min-width: 640px)  { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem 1.5rem; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.empty { margin-top: 2rem; color: var(--muted); }

.item { display: flex; flex-direction: column; }
.item-art {
  position: relative; display: grid; place-items: center; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--radius);
}
.item-art svg { width: 72%; height: auto; max-height: 86%; }
.item-art img.photo { width: 100%; height: 100%; object-fit: cover; }
.tone-1 { background: #EADFC6; }
.tone-2 { background: #D9DEEE; }
.tone-3 { background: #F0D8C8; }
.tone-4 { background: #D6DDC8; }
.tone-5 { background: #F2DFAE; }
.is-sold .item-art svg, .is-sold .item-art img { opacity: .5; filter: grayscale(.6); }
.sold-tag {
  position: absolute; inset-block-start: .6rem; inset-inline-start: .6rem;
  background: var(--indigo); color: var(--paper); font-size: .8rem; padding: .15rem .7rem; border-radius: 99px;
}

.feat-tag {
  position: absolute; inset-block-start: .6rem; inset-inline-start: .6rem;
  background: var(--gold); color: var(--indigo-deep, #0D1636); font-size: .8rem; font-weight: 600; padding: .15rem .7rem; border-radius: 99px;
}

.item-body { display: flex; flex-direction: column; flex: 1; padding-top: .9rem; }
.item h3 { font: var(--w-head) 1.15rem/1.4 var(--f-head); }
.notes { margin-top: .15rem; font-size: .9rem; line-height: 1.6; color: var(--muted); }
.more { margin-top: .35rem; font-size: .88rem; }
.more summary { cursor: pointer; color: var(--gold-deep); width: fit-content; padding-block: .2rem; }
.more summary:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 2px; }
.more p { margin-top: .25rem; line-height: 1.7; color: var(--muted); }
.retry { margin-top: .75rem; }
.noscript-msg { padding: 1rem; text-align: center; }

.item-foot { margin-top: auto; padding-top: .85rem; display: flex; flex-direction: column; gap: .7rem; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .4rem; }
.price strong { font: 600 1.25rem/1.4 var(--f-body); }
.price .cur { font-size: .85rem; color: var(--muted); }
.price .size { margin-inline-start: auto; font-size: .85rem; color: var(--gold-deep); }

.add {
  width: 100%; min-height: 2.9rem; padding-inline: .6rem;
  border: 1.5px solid var(--indigo); border-radius: var(--radius-sm); background: transparent; color: var(--indigo);
  font: 500 .95rem/1.2 var(--f-body); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.add:hover:not(:disabled) { background: var(--indigo); color: var(--paper); }
.add:disabled { border-color: var(--line); color: var(--muted); cursor: not-allowed; }

.step {
  display: grid; grid-template-columns: 2.9rem 1fr 2.9rem; align-items: center; text-align: center;
  min-height: 2.9rem; border-radius: var(--radius-sm); background: var(--indigo); color: var(--paper);
}
.step button {
  height: 100%; background: transparent; border: 0; color: inherit; font: 500 1.3rem/1 var(--f-body); cursor: pointer;
  border-radius: var(--radius-sm);
}
.step button:hover { background: var(--indigo-soft); }
.step .qty { font-weight: 600; }

/* ---------- عن المتجر ---------- */
.about { background: var(--sand); }
.about-in { display: grid; gap: 3rem; }
.about-copy p { margin-top: 1rem; max-width: 36rem; }
.about-copy h2 + p { margin-top: 1.25rem; }
.how {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.how h3 { font: var(--w-head) 1.4rem/1.4 var(--f-head); margin-bottom: 1.5rem; }
.how ol { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 1.5rem; }
.how li { counter-increment: step; display: grid; grid-template-columns: 2.75rem 1fr; column-gap: 1rem; }
.how li::before {
  content: counter(step); grid-row: span 2;
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--radius-sm);
  background: var(--indigo); color: var(--gold); font: var(--w-head) 1.2rem/1 var(--f-head);
}
.how strong { font-weight: 600; }
.how li span { color: var(--muted); font-size: .95rem; }
@media (min-width: 900px) {
  .about-in { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
}

/* ---------- تواصل ---------- */
.contact { background: var(--indigo); color: var(--paper); }
.contact-in { display: grid; gap: 2.5rem; align-items: center; }
.contact-copy p { margin-top: 1rem; color: rgba(250, 248, 243, .78); max-width: 30rem; }
.contact-card {
  border: 1px solid rgba(224, 164, 68, .35); border-radius: var(--radius);
  background: var(--indigo-deep); padding: clamp(1.5rem, 4vw, 2.25rem);
  display: grid; justify-items: start; gap: .25rem;
}
.contact-card .btn { width: 100%; }
.phone-label { margin-top: 1.5rem; font-size: .9rem; color: rgba(250, 248, 243, .65); }
.phone { font: 500 1.7rem/1.3 var(--f-body); color: var(--gold); }
.extras { list-style: none; padding: 0; margin-top: 1rem; display: grid; gap: .4rem; font-size: .95rem; }
.extras:empty { display: none; }
.extras a { color: var(--paper); text-underline-offset: 3px; }
.extras a:hover { color: var(--gold); }
@media (min-width: 800px) {
  .contact-in { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

/* ---------- التذييل ---------- */
.foot { background: var(--indigo-deep); color: rgba(250, 248, 243, .7); padding-top: 3rem; }
.foot-logo { width: 8.5rem; height: auto; }
.foot-note { font-size: .88rem; }

/* ---------- سلة المشتريات ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 40; background: rgba(13, 22, 54, .6);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.scrim.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 50;
  width: min(100%, 27rem); display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  visibility: hidden; transform: translateX(100%);
  transition: transform .3s ease, visibility 0s linear .3s;
}
[dir="rtl"] .drawer { transform: translateX(-100%); }
.drawer.open { visibility: visible; transform: none; transition: transform .3s ease; }

.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem; padding-inline: 1.25rem .75rem;
  background: var(--indigo); color: var(--paper); min-height: 4.4rem;
}
.drawer-head h2 { font: var(--w-head) 1.3rem/1.3 var(--f-head); }
/* التمرير في منطقة واحدة (الأصناف + الملخص + الحقول)، وشريط الإرسال خارجها فيبقى ظاهراً دائماً */
.drawer-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.drawer-body { padding: .5rem 1.25rem 1rem; }
.drawer-foot { padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--line); background: var(--paper); display: grid; gap: .8rem; }
.drawer-foot[hidden] { display: none; }

.cart-empty { text-align: center; padding: 3rem 1rem; display: grid; justify-items: center; gap: 1.5rem; color: var(--muted); }

.line { display: grid; grid-template-columns: 4.2rem 1fr; gap: .9rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.line-art { display: grid; place-items: center; height: 5.2rem; border-radius: var(--radius-sm); overflow: hidden; }
.line-art svg { width: 78%; height: auto; max-height: 90%; }
.line-art img.photo { width: 100%; height: 100%; object-fit: cover; }
.line-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; }
.line-top h3 { font: var(--w-head) 1.02rem/1.4 var(--f-head); }
.line-sub { display: flex; flex-wrap: wrap; column-gap: .7rem; font-size: .85rem; color: var(--muted); line-height: 1.5; }
.line-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .6rem; }
.mini {
  display: inline-grid; grid-template-columns: 2.6rem 2.2rem 2.6rem; align-items: center; text-align: center;
  border: 1.5px solid var(--line); border-radius: 9px; min-height: 2.6rem;
}
.mini button { height: 100%; background: transparent; border: 0; font: 500 1.2rem/1 var(--f-body); color: var(--ink); cursor: pointer; border-radius: 9px; }
.mini button:hover { background: var(--sand); }
.mini .qty { font-weight: 600; font-size: .95rem; }
.line-sum { font-weight: 600; }
.clear-wrap { padding-top: .75rem; }

.total { display: flex; align-items: baseline; justify-content: space-between; }
.total strong { font: 600 1.45rem/1.3 var(--f-body); }
.field { display: grid; gap: .3rem; font-size: .9rem; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: .65rem .8rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font: 400 1rem/1.5 var(--f-body); resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(20, 32, 74, .15); }
.fine { font-size: .82rem; line-height: 1.6; color: var(--muted); }

/* ---------- رسالة تأكيد صغيرة ---------- */
.toast {
  position: fixed; inset-inline: 0; margin-inline: auto; bottom: 1.25rem; z-index: 60;
  width: max-content; max-width: calc(100% - 2rem);
  background: var(--indigo); color: var(--paper); border: 1px solid var(--gold); border-radius: 12px;
  padding: .7rem 1.2rem; font-size: .95rem;
  opacity: 0; transform: translateY(150%); pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: none; }
body.lock .toast { bottom: 6.5rem; } /* والسلة مفتوحة: فوق شريط الإرسال لا فوق الزر */

/* ---------- شاشات صغيرة جداً ---------- */
@media (max-width: 359px) {
  .brand-name { display: none; }
  .filters { margin-inline: -1rem; padding-inline: 1rem; }
  .wrap { width: min(100% - 2rem, 76rem); }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
}
@media (max-width: 480px) {
  .top-in { gap: .6rem; }
  .brand { gap: .55rem; }
  .brand img { height: 2.2rem; }
  .brand-name { font-size: .95rem; }
  .tools { gap: .4rem; }
}
@media (max-width: 440px) {
  /* الشعار نفسه يقرأ «مجد»، فنوفّر المساحة في الشريط العلوي بالعربية */
  html[lang="ar"] .brand-name { display: none; }
}
@media (max-width: 420px) {
  .lang { padding-inline: .6rem; font-size: .85rem; }
  .price .size { margin-inline-start: 0; flex-basis: 100%; }
}

/* ---------- العروض: خصومات وباقات (المرحلة 4) ---------- */
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sale-tag {
  position: absolute; inset-block-start: .6rem; inset-inline-end: .6rem;
  background: #A62B2B; color: #fff; font-size: .8rem; font-weight: 600; padding: .15rem .65rem; border-radius: 99px;
}
.was { color: var(--muted); font-size: .92rem; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.packages { background: var(--sand); }
.packages .sec-head { margin-bottom: 1.75rem; }
.pkg-has { margin-top: .5rem; font-size: .85rem; color: var(--gold-deep); font-weight: 500; }
.pkg-list { list-style: none; margin: .15rem 0 0; padding: 0; display: grid; gap: .15rem; font-size: .92rem; }
.pkg-list li { display: flex; justify-content: space-between; gap: .75rem; padding-block: .2rem; border-bottom: 1px dashed var(--line); }
.pkg-list b { font-weight: 600; color: var(--indigo); white-space: nowrap; }
.pkg-end { margin-top: .5rem; font-size: .85rem; color: var(--gold-deep); font-weight: 500; }
.save { font-size: .9rem; font-weight: 600; color: #1F6B2E; }
.line-disc { display: inline-block; margin-inline-start: .5rem; padding: .05rem .5rem; border-radius: 99px; background: #A62B2B; color: #fff; font-size: .75rem; font-weight: 600; line-height: 1.5; vertical-align: middle; }
.line-contents { margin-top: .15rem; font-size: .82rem; line-height: 1.5; color: var(--muted); }

/* ---------- إرسال الطلب (المرحلة 5) ---------- */
.hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; opacity: 0; pointer-events: none; }
.btn[aria-busy="true"] { cursor: progress; }
.cart-msg {
  padding: .7rem .9rem; border: 1px solid var(--gold); border-radius: var(--radius-sm);
  background: #FBF1D9; color: var(--indigo-deep); font-size: .92rem; line-height: 1.6;
}
.cart-msg.is-closed { background: #F9E6E6; border-color: #A62B2B; color: #6E1B1B; }
.cart-done { display: grid; justify-items: center; gap: .7rem; text-align: center; padding: 2rem .5rem 1rem; }
.done-mark { color: #1F6B2E; }
.done-title { font: var(--w-head) 1.35rem/1.4 var(--f-head); }
.done-title:focus { outline: none; }
.done-label { margin-top: .4rem; font-size: .88rem; color: var(--muted); }
.done-code {
  padding: .35rem 1.1rem; border: 1.5px dashed var(--gold-deep); border-radius: var(--radius-sm); background: #fff;
  font: 600 1.6rem/1.5 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .08em; user-select: all;
}
.done-text { max-width: 22rem; font-size: .92rem; line-height: 1.75; color: var(--muted); }
.cart-done .btn { margin-top: .6rem; width: 100%; }


/* ==========================================================
   المرحلة 8: صفحات المتجر المنفصلة، التوصيل، السياسات
   ========================================================== */

/* ---------- الأزرار الإضافية ---------- */
.btn-outline { border-color: var(--indigo); color: var(--indigo); background: transparent; }
.btn-outline:hover { background: var(--indigo); color: var(--paper); }
.contact .btn-outline, .hero .btn-outline { border-color: rgba(250, 248, 243, .5); color: var(--paper); }

/* ---------- قائمة الجوال ---------- */
.menu-btn {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 1.5px solid rgba(224, 164, 68, .5); border-radius: var(--radius-sm);
  background: transparent; color: var(--paper); cursor: pointer;
}
.menu-btn:hover { background: rgba(224, 164, 68, .14); border-color: var(--gold); }
@media (min-width: 900px) { .menu-btn { display: none; } }
@media (max-width: 899px) {
  .top.menu-open .nav {
    display: grid; gap: 0; position: absolute; inset-inline: 0; top: 100%;
    padding: .25rem 1.25rem 1rem; background: var(--indigo-deep);
    border-bottom: 1px solid rgba(224, 164, 68, .3); box-shadow: 0 14px 28px rgba(13, 22, 54, .35);
  }
  .top.menu-open .nav a { padding: .9rem .25rem; font-size: 1.05rem; border-bottom: 1px solid rgba(250, 248, 243, .1); }
  .top.menu-open .nav a[aria-current="page"] { color: var(--gold); }
}

/* ---------- رأس الصفحات الداخلية ---------- */
.page-head { background: var(--indigo); color: var(--paper); padding-block: 2.2rem 2.6rem; border-bottom: 3px solid var(--gold); }
.page-head h1 { font: var(--w-head) clamp(1.9rem, 3.2vw + .8rem, 3rem)/1.3 var(--f-head); }
.page-lead { margin-top: .6rem; max-width: 40rem; color: rgba(250, 248, 243, .78); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1rem; font-size: .88rem; color: rgba(250, 248, 243, .7); }
.crumbs a { text-underline-offset: 3px; }
.crumbs a:hover { color: var(--gold); }
.pd-sec .crumbs { color: var(--muted); }
.pd-sec .crumbs a:hover { color: var(--indigo); }

/* ---------- شريط الثقة ---------- */
.trust { background: var(--sand); border-bottom: 1px solid var(--line); }
.trust-in { display: grid; gap: 1.25rem 2rem; grid-template-columns: 1fr; padding-block: 1.75rem; }
.trust-item { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.trust-item svg { color: var(--gold-deep); margin-top: .15rem; }
.trust-item strong { display: block; font-weight: 600; }
.trust-item span { display: block; font-size: .88rem; line-height: 1.6; color: var(--muted); }
@media (min-width: 640px) { .trust-in { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .trust-in { grid-template-columns: repeat(4, 1fr); } }

/* ---------- أقسام الرئيسية ---------- */
.cat-tiles { display: grid; gap: .9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .cat-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cat-tile {
  display: grid; align-content: end; gap: .15rem; min-height: 7.5rem; padding: 1.1rem 1.2rem;
  border-radius: var(--radius); text-decoration: none; border: 1px solid transparent;
  transition: transform .2s, border-color .2s;
}
.cat-tile:hover { border-color: var(--indigo); transform: translateY(-2px); }
.cat-tile strong { font: var(--w-head) 1.25rem/1.4 var(--f-head); }
.cat-tile span { font-size: .85rem; color: var(--muted); }
.more-wrap { margin-top: 2rem; text-align: center; }
.featured-sec { padding-top: 0; }
.cta { background: var(--indigo); color: var(--paper); }
.cta-in { display: grid; gap: 1.5rem; align-items: center; }
.cta p { margin-top: .5rem; color: rgba(250, 248, 243, .78); max-width: 34rem; }
@media (min-width: 800px) { .cta-in { grid-template-columns: 1fr auto; gap: 3rem; } }
.how-sec { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.how-sec .how { max-width: 46rem; margin-inline: auto; }
.values { display: grid; gap: 1rem; align-content: start; }
.value { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.value strong { display: block; font: var(--w-head) 1.1rem/1.4 var(--f-head); }
.value span { display: block; margin-top: .2rem; font-size: .92rem; color: var(--muted); }
.about-teaser .about-copy .btn, .about .about-copy .btn { margin-top: 1.5rem; }

/* ---------- صفحة المتجر ---------- */
.shop-sec { padding-top: 2rem; }
.shop-tools { display: grid; gap: .8rem; margin-bottom: 1rem; }
@media (min-width: 700px) { .shop-tools { grid-template-columns: 1fr auto; align-items: end; } }
.search { position: relative; display: block; }
.search svg { position: absolute; inset-inline-start: .85rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; min-height: 3rem; padding: .6rem .9rem; padding-inline-start: 2.7rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); font: 400 1rem/1.5 var(--f-body);
}
.search input:focus, .sort select:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(20, 32, 74, .15); }
.sort { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--muted); }
.sort select {
  min-height: 3rem; padding: .5rem .8rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font: 400 .95rem/1.4 var(--f-body);
}
.shop-count { margin-top: .9rem; font-size: .9rem; color: var(--muted); min-height: 1.4em; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.item-link { display: grid; place-items: center; width: 100%; height: 100%; text-decoration: none; }
.item h3 a { text-decoration: none; }
.item h3 a:hover { color: var(--indigo-soft); text-decoration: underline; text-underline-offset: 4px; }
.more-link { margin-top: .3rem; width: fit-content; font-size: .86rem; color: var(--gold-deep); text-underline-offset: 3px; }
.more-link:hover { color: var(--indigo); }

/* ---------- صفحة المنتج ---------- */
.pd-sec { padding-block: 1.5rem clamp(3rem, 7vw, 5rem); }
.pd-sec .crumbs { margin-bottom: 1.5rem; }
.pd { display: grid; gap: 2rem; }
@media (min-width: 820px) { .pd { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4rem; align-items: start; } .pd-media { position: sticky; top: 6rem; } }
.pd-media { display: grid; gap: .75rem; min-width: 0; }
.pd-thumbs { display: flex; gap: .5rem; overflow-x: auto; padding-block: .15rem .35rem; scrollbar-width: thin; }
.pd-thumb { flex: none; width: 4.6rem; aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--sand); cursor: pointer; opacity: .8; }
.pd-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:hover { opacity: 1; }
.pd-thumb.is-on { border-color: var(--gold); opacity: 1; }
.pd-thumb:focus-visible { outline: 2.5px solid var(--indigo); outline-offset: 2px; }

/* أحجام العطر الواحد (٣٠ / ٥٠ / ١٠٠ مل): أزرار صغيرة في البطاقة وروابط في صفحة المنتج */
.sizes { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.sz {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 3.4rem; min-height: 2.5rem; padding: .3rem .8rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: transparent;
  color: var(--ink); font: 500 .9rem/1.2 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.sz:hover { border-color: var(--indigo); }
.sz.is-on, .sz[aria-pressed="true"] { background: var(--indigo); border-color: var(--indigo); color: var(--paper); }
.sz.is-out { border-style: dashed; color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.sz.is-out.is-on, .sz.is-out[aria-pressed="true"] { background: var(--muted); border-color: var(--muted); color: var(--paper); }
.sz:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 2px; }
.pd-sizes { margin-top: .9rem; }
.pd-art { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius); max-height: 38rem; width: 100%; }
.pd-art svg { width: 66%; height: auto; max-height: 86%; }
.pd-art img.photo { width: 100%; height: 100%; object-fit: cover; }
.pd-art.is-sold svg, .pd-art.is-sold img { opacity: .5; filter: grayscale(.6); }
.pd-cat a { font-size: .9rem; color: var(--gold-deep); text-underline-offset: 3px; }
.pd-info h1 { margin-top: .2rem; font: var(--w-head) clamp(1.8rem, 2.6vw + .8rem, 2.7rem)/1.3 var(--f-head); }
.pd-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .6rem; margin-top: 1rem; }
.pd-price strong { font: 600 clamp(1.7rem, 2vw + 1rem, 2.2rem)/1.2 var(--f-body); }
.pd-price .cur { color: var(--muted); }
.pd-price .save { margin-inline-start: .5rem; }
.pd-excl { margin-top: .2rem; font-size: .88rem; font-weight: 500; color: var(--gold-deep); }
.pd-avail { margin-top: .9rem; font-size: .92rem; font-weight: 600; }
.pd-avail.is-in { color: #1F6B2E; }
.pd-avail.is-out { color: #A62B2B; }
.pd-buy { margin-top: 1rem; max-width: 22rem; }
.pd-buy .add { min-height: 3.3rem; background: var(--indigo); color: var(--paper); font-size: 1.05rem; }
.pd-buy .add:hover:not(:disabled) { background: var(--indigo-soft); }
.pd-buy .add:disabled { background: transparent; }
.pd-buy .step { min-height: 3.3rem; }
.pd-facts { margin: 1.75rem 0 0; display: grid; gap: .8rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.pd-facts div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; }
.pd-facts dt { color: var(--muted); font-size: .92rem; }
.pd-facts dd { margin: 0; }
.pd-desc { margin-top: 1.5rem; }
.pd-desc h2 { font: var(--w-head) 1.2rem/1.4 var(--f-head); margin-bottom: .4rem; }
.pd-desc p { color: var(--muted); max-width: 38rem; }
.pd-deliv { margin-top: 1.75rem; padding: 1rem 1.15rem; background: var(--sand); border-radius: var(--radius-sm); font-size: .92rem; }
.pd-deliv p { margin-top: .25rem; color: var(--muted); }
.pd-deliv a { text-underline-offset: 3px; }
.pd-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.pd-missing { max-width: 30rem; margin: 3rem auto; text-align: center; display: grid; gap: 1rem; justify-items: center; }
.related { background: var(--sand); }
.related .sec-head { margin-bottom: 0; }

/* ---------- صفحات النصوص والسياسات ---------- */
.prose-sec { padding-block: clamp(2rem, 5vw, 3.5rem); }
.prose { max-width: 46rem; margin-inline: auto; }
.prose h2 { margin-top: 2.2rem; font: var(--w-head) 1.35rem/1.45 var(--f-head); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: .8rem; }
.prose ul { margin: .8rem 0 0; padding-inline-start: 1.4rem; display: grid; gap: .45rem; }
.prose li::marker { color: var(--gold-deep); }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-top: .75rem; }
.faq-item summary { cursor: pointer; padding: 1rem 1.15rem; font-weight: 600; list-style-position: inside; }
.faq-item summary:focus-visible { outline: 2.5px solid var(--indigo); outline-offset: -2px; border-radius: var(--radius-sm); }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-a { padding: .25rem 1.15rem 1rem; color: var(--muted); }
.callout { max-width: 46rem; margin: 0 auto 2rem; padding: 1rem 1.25rem; background: #FBF1D9; border: 1px solid var(--gold); border-radius: var(--radius-sm); color: var(--indigo-deep); }
.zones { max-width: 46rem; margin: 0 auto 2.5rem; }
.zones h2 { font: var(--w-head) 1.35rem/1.45 var(--f-head); }
.dv-free { margin-top: .6rem; font-weight: 600; color: #1F6B2E; }
.table-wrap { margin-top: 1rem; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.ztable { width: 100%; border-collapse: collapse; font-size: .98rem; }
.ztable th, .ztable td { padding: .8rem 1rem; text-align: start; border-bottom: 1px solid var(--line); }
.ztable thead th { background: var(--sand); font-weight: 600; font-size: .9rem; }
.ztable tbody th { font-weight: 500; }
.ztable tbody tr:last-child th, .ztable tbody tr:last-child td { border-bottom: 0; }
.ztable td.is-tbd { color: var(--gold-deep); }
.ztable td.is-free { color: #1F6B2E; font-weight: 600; }
.quick-links { list-style: none; padding: 0; margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.quick-links a { color: var(--gold); text-underline-offset: 3px; }
.quick-links a:hover { color: var(--paper); }

/* ---------- التذييل ---------- */
.foot-grid { display: grid; gap: 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 2.5rem; }
.foot-brand { grid-column: 1 / -1; display: grid; gap: .8rem; justify-items: start; }
.foot-about { max-width: 24rem; font-size: .92rem; }
.foot-wa { display: inline-flex; align-items: center; gap: .5rem; color: var(--gold); text-decoration: none; font-weight: 500; }
.foot-wa:hover { color: var(--gold-hover); }
.foot-social { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .9rem; }
.foot-social a { text-underline-offset: 3px; }
.foot-social a:hover { color: var(--gold); }
.foot-col { display: grid; gap: .5rem; align-content: start; }
.foot-col h3 { font: var(--w-head) 1rem/1.4 var(--f-head); color: var(--paper); margin-bottom: .2rem; }
.foot-col a { text-decoration: none; font-size: .92rem; }
.foot-col a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.foot-bar { border-top: 1px solid rgba(250, 248, 243, .12); padding-block: 1.1rem; }
.foot-bar-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; }
@media (min-width: 800px) {
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; }
  .foot-brand { grid-column: auto; }
}

/* ---------- زر واتساب العائم ---------- */
.wa-float {
  position: fixed; inset-block-end: 1.1rem; inset-inline-end: 1.1rem; z-index: 25;
  display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: var(--gold); color: var(--indigo-deep); box-shadow: 0 8px 22px rgba(13, 22, 54, .35);
  transition: transform .2s, background-color .2s;
}
.wa-float:hover { background: var(--gold-hover); transform: translateY(-2px); }

/* ---------- سلة المشتريات: التوصيل ---------- */
.sum { display: grid; gap: .35rem; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .95rem; color: var(--muted); }
.sum-row strong { font-weight: 600; color: var(--ink); }
.sum-row strong.is-free { color: #1F6B2E; }
.sum-eta strong { font-weight: 500; color: var(--indigo-deep); text-align: end; }
.sum .total { padding-top: .5rem; border-top: 1px dashed var(--line); }
.sum .total strong { font-size: 1.3rem; text-align: end; }
.deliv-excl { font-size: .84rem; line-height: 1.6; font-weight: 500; color: var(--gold-deep); }
.deliv-extra { font-size: .84rem; line-height: 1.6; color: var(--muted); }
.field select.is-warn, #zoneSel.is-warn { border-color: #A62B2B; box-shadow: 0 0 0 3px rgba(166, 43, 43, .18); }
.fine-links a { text-underline-offset: 3px; }
.line-top h3 a { text-decoration: none; }
.line-top h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* زر الإرسال ورسالته شريط ثابت أسفل السلة، خارج منطقة التمرير، فلا يغطّي الحقول ولا يختفي */
.checkout-bar {
  flex: none; display: grid; gap: .6rem;
  padding: .8rem 1.25rem; padding-bottom: calc(.8rem + env(safe-area-inset-bottom, 0px));
  background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -10px 18px -12px rgba(20, 32, 74, .3);
}
.checkout-bar[hidden] { display: none; }
.drawer-body { min-height: 7.5rem; }
.drawer-foot { padding-bottom: 1.1rem; }
.deliv-range { font-size: .84rem; line-height: 1.65; color: var(--indigo-deep); background: #FBF1D9; border: 1px solid var(--gold); border-radius: var(--radius-sm); padding: .5rem .7rem; }
.deliv-range[hidden] { display: none; }

@media (max-width: 480px) {
  .pd-facts div { grid-template-columns: 1fr; gap: .1rem; }
}

/* سلة المشتريات: الحقول الاختيارية مطوية */
.opt { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.opt summary { cursor: pointer; padding: .7rem .9rem; font-size: .92rem; color: var(--indigo); font-weight: 500; }
.opt summary:focus-visible { outline: 2.5px solid var(--indigo); outline-offset: -2px; border-radius: var(--radius-sm); }
.opt[open] summary { border-bottom: 1px solid var(--line); }
.opt-in { display: grid; gap: .8rem; padding: .9rem; }
@media (max-width: 899px) { .tools { gap: .7rem; } }
.ztable td:last-child { white-space: nowrap; }

/* ============================================================
   المرحلة 8.7: هدية في السلة، شارات المنتج، «اطلب الآن»، آراء الزبائن
   ============================================================ */

/* ---- خيار الهدية في السلة ---- */
.gift-opt { display: grid; gap: .6rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.gift-chk { display: flex; align-items: center; gap: .65rem; cursor: pointer; font-size: .95rem; font-weight: 500; color: var(--indigo); min-height: 2.2rem; }
.gift-chk input { flex: none; width: 1.2rem; height: 1.2rem; accent-color: var(--indigo); cursor: pointer; }
.gift-chk:has(input:focus-visible) { outline: 2.5px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
.gift-opt .field { margin: 0; }
.gift-hint { font-size: .82rem; color: var(--muted); }

/* ---- شارات المنتج (تلقائية) ---- */
.badges { position: absolute; inset-block-end: .6rem; inset-inline-start: .6rem; display: flex; flex-wrap: wrap; gap: .3rem; max-width: calc(100% - 1.2rem); pointer-events: none; }
.bdg { display: inline-block; font-size: .78rem; font-weight: 600; line-height: 1.3; padding: .15rem .65rem; border-radius: 99px; border: 1px solid transparent; white-space: nowrap; }
.bdg-new { background: var(--paper); color: var(--indigo); border-color: var(--indigo); }
.bdg-top { background: var(--indigo); color: var(--gold); }
.bdg-low { background: #FBE7E4; color: #8E2420; border-color: #E3A6A0; }
.pd-art .badges { inset-block-end: .9rem; inset-inline-start: .9rem; }
.pd-art .bdg { font-size: .88rem; padding: .2rem .8rem; }

/* ---- «اطلب الآن عبر واتساب» في صفحة المنتج ---- */
.pd-buy { display: grid; gap: .6rem; }
.pd-now { min-height: 3.3rem; font-size: 1.05rem; font-weight: 600; }

/* ---- آراء الزبائن (الرئيسية) ---- */
.reviews .sec-head { margin-bottom: 1.75rem; }
.rev-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .rev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .rev-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rev { margin: 0; padding: 1.25rem 1.3rem 1.1rem; background: #fff; border: 1px solid var(--line); border-block-start: 3px solid var(--gold); border-radius: var(--radius); display: flex; flex-direction: column; gap: .7rem; }
.rev-stars { margin: 0; display: flex; gap: .1rem; font-size: 1.05rem; line-height: 1; }
.rev-stars .on { color: var(--gold); }
.rev-stars .off { color: var(--line); }
.rev blockquote { margin: 0; flex: 1; }
.rev blockquote p { margin: 0; line-height: 1.85; color: var(--ink); }
.rev blockquote p[dir="ltr"] { text-align: left; }
.rev blockquote p[dir="rtl"] { text-align: right; }
.rev figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.rev figcaption strong { font-weight: 600; color: var(--indigo); }
.rev figcaption span { font-size: .88rem; color: var(--muted); }
