[hidden] { display: none !important; }
/* ============================================================
   نفحات عطرية — تصميم المتجر
   ============================================================ */
:root {
  --ink: #0B0A08;
  --ink-2: #12100C;
  --ink-3: #1A1712;
  --ivory: #F6F0E4;
  --ivory-2: #EBE2D2;
  --sand: #D9C9AF;
  --gold: #C6A15B;
  --gold-l: #E8C98C;
  --gold-d: #8E6B33;
  --ember: #C2663C;
  --muted: #9C9384;
  --line: rgba(198, 161, 91, .22);
  --line-2: rgba(246, 240, 228, .1);
  --r: 18px;
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, .85);
  --ease: cubic-bezier(.22, .8, .28, 1);
  --max: 1240px;
  --font: "Segoe UI", "Dubai", "Tajawal", "Noto Kufi Arabic", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
::selection { background: var(--gold); color: #16120a; }

/* grain + ambient */
.grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* الحاوية: تقليص 5% من كل جهة (المحتوى = 90% من عرض التصميم السابق) */
.wrap { width: 100%; max-width: calc(var(--max) * .9); margin: 0 auto; padding: 0 28px; }

/* ============================ buttons ============================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; font-size: .95rem; font-weight: 600;
  letter-spacing: .2px; transition: .45s var(--ease); position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-l), var(--gold) 55%, var(--gold-d));
  color: #191307; box-shadow: 0 14px 34px -14px rgba(198, 161, 91, .65);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -14px rgba(198, 161, 91, .8); }
.btn-line { border: 1px solid var(--line); color: var(--ivory); backdrop-filter: blur(6px); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-l); background: rgba(198, 161, 91, .06); }
.btn-ghost { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: .85rem; color: var(--sand); transition: .3s; }
.btn-ghost:hover { color: var(--gold-l); border-color: var(--gold); }

.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--sand); transition: .35s; position: relative;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold-l); }
.icon-btn svg { width: 20px; height: 20px; stroke-linecap: round; stroke-linejoin: round; }

/* ============================ header ============================ */
.site-head {
  position: fixed; top: 0; inset-inline: 0; z-index: 900;
  padding: 18px 0; transition: .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head.solid {
  background: rgba(11, 10, 8, .82); backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line-2); padding: 12px 0;
}
.head-inner { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; position: relative; z-index: 895; }

/* الهوية المزدوجة: عربي ذهبي + خط رفيع + إنجليزي فحمي فاتح */
.brand-lock { flex-direction: column; align-items: flex-start; gap: 3px; width: max-content; max-width: 100%; }
.brand-lock .brand-ar {
  display: block; width: 118px; height: auto;
  filter: drop-shadow(0 3px 14px rgba(198, 161, 91, .22));
}
.brand-lock .brand-rule {
  display: block; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198, 161, 91, .9) 12%, rgba(198, 161, 91, .9) 88%, transparent);
}
.brand-lock .brand-en {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: .5rem; letter-spacing: 3.6px; line-height: 1;
  color: #BEB6A8; text-transform: uppercase;
}
.brand-lock--lg .brand-ar { width: 210px; }
.brand-lock--lg .brand-en { font-size: .62rem; letter-spacing: 4.8px; }

.nav { display: flex; gap: 26px; margin-inline: auto; }
.nav a { font-size: .9rem; color: var(--ivory-2); position: relative; padding: 6px 0; transition: .3s; }
.nav a::after {
  content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 0; height: 1px;
  background: var(--gold); transition: .4s var(--ease);
}
.nav a:hover { color: var(--gold-l); }
.nav a:hover::after { width: 100%; }

.head-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; position: relative; z-index: 895; }
.cart-btn {
  position: relative; display: flex; align-items: center; gap: 8px; padding: 10px 18px;
  border-radius: 999px; border: 1px solid var(--line); color: var(--sand); transition: .35s;
}
.cart-btn:hover { border-color: var(--gold); color: var(--gold-l); }

/* محدّد العملة */
.cur-wrap { position: relative; }
.cur-btn {
  display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--sand); font-size: .8rem; transition: .3s;
}
.cur-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cur-btn .chev { width: 11px; height: 11px; opacity: .65; }
.cur-btn:hover, .cur-btn[aria-expanded="true"] { border-color: var(--gold); color: var(--gold-l); }
.cur-menu {
  position: absolute; top: calc(100% + 9px); inset-inline-start: 0; min-width: 200px;
  background: #100E0B; border: 1px solid var(--line); border-radius: 14px; padding: 6px;
  z-index: 70; box-shadow: var(--shadow);
}
.cur-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  padding: 10px 12px; border-radius: 10px; font-size: .84rem; color: var(--ivory-2); text-align: start;
}
.cur-opt:hover { background: rgba(198, 161, 91, .08); }
.cur-opt.active { background: rgba(198, 161, 91, .14); color: var(--gold-l); }
.cur-opt small { font-size: .72rem; color: var(--muted); }
.cur-opt.active small { color: var(--gold); }
.cur-note { font-size: .7rem; color: var(--muted); text-align: center; margin-top: 8px; line-height: 1.6; }
.cart-btn svg { width: 19px; height: 19px; }
.cart-count {
  min-width: 20px; height: 20px; border-radius: 999px; background: var(--gold); color: #1a1408;
  font-size: .72rem; font-weight: 700; display: grid; place-items: center; padding: 0 5px;
}
.dot {
  position: absolute; top: 6px; inset-inline-end: 7px; width: 7px; height: 7px; border-radius: 50%;
  background: #3ddc84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .18);
}
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); place-content: center; gap: 5px; }
.burger span { display: block; width: 17px; height: 1.5px; background: var(--sand); transition: .3s; }

/* ============================ hero ============================ */
.hero { position: relative; padding: 160px 0 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.orb-1 { width: 620px; height: 620px; background: radial-gradient(circle, rgba(198, 161, 91, .34), transparent 65%); top: -180px; inset-inline-start: -120px; }
.orb-2 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(194, 102, 60, .22), transparent 65%); bottom: -140px; inset-inline-end: -100px; }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; position: relative; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; font-size: .74rem; letter-spacing: 3px;
  color: var(--gold); text-transform: uppercase; margin-bottom: 22px; font-weight: 600;
}
.eyebrow .line { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }

.hero h1 {
  font-size: clamp(2.3rem, 4.2vw, 3.7rem); line-height: 1.22; font-weight: 700; letter-spacing: -1px;
}
.hero h1 em {
  font-style: normal; background: linear-gradient(100deg, var(--gold-l), var(--gold) 45%, #7d5f2c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 26px; max-width: 46ch; color: var(--ivory-2); opacity: .85; font-size: 1.02rem; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.trust-chips { display: flex; gap: 22px; margin-top: 40px; flex-wrap: wrap; list-style: none; }
.trust-chips li { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.trust-chips svg { width: 15px; height: 15px; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.hero-art { position: relative; aspect-ratio: 4/5; display: grid; place-items: center; }
.hero-frame {
  position: relative; width: 100%; height: 100%; border-radius: 240px 240px 26px 26px;
  border: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 15%, rgba(198, 161, 91, .14), transparent 60%), linear-gradient(160deg, #17140F, #0A0908);
  box-shadow: inset 0 0 90px rgba(0, 0, 0, .8), var(--shadow);
}
.hero-candle { position: absolute; inset: 0; }
.hero-candle svg { width: 100%; height: 100%; transform: scale(1.06); transform-origin: 50% 72%; }
.hero-glow {
  position: absolute; left: 50%; top: 22%; width: 220px; height: 220px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(240, 200, 130, .5), transparent 66%); filter: blur(26px);
  animation: glowPulse 4.5s ease-in-out infinite;
}
@keyframes glowPulse { 0%, 100% { opacity: .55; transform: translateX(-50%) scale(1); } 50% { opacity: .95; transform: translateX(-50%) scale(1.09); } }

.float-card {
  position: absolute; background: rgba(18, 16, 12, .78); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px;
  display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow); font-size: .8rem;
  animation: floaty 7s ease-in-out infinite;
}
.fc-1 { inset-inline-end: -18px; top: 16%; }
.fc-2 { inset-inline-start: -14px; bottom: 14%; animation-delay: -2.4s; }
.fc-label { font-size: .66rem; letter-spacing: 2px; color: var(--gold); }
.fc-price { color: var(--gold-l); font-weight: 700; }
.fc-2 .stars { color: var(--gold); letter-spacing: 2px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* marquee */
.marquee { margin-top: 70px; border-block: 1px solid var(--line-2); overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; gap: 36px; align-items: center; width: max-content; animation: slide 34s linear infinite; }
.marquee-track span { font-size: .82rem; letter-spacing: 3px; color: var(--muted); text-transform: uppercase; white-space: nowrap; }
.marquee-track i { color: var(--gold); font-style: normal; font-size: .7rem; }
@keyframes slide { to { transform: translateX(50%); } }

/* ============================ sections ============================ */
.section { padding: 96px 0; position: relative; }
.section-dark { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .014), transparent); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 42px; flex-wrap: wrap; }
.sec-head h2, .story-copy h2, .cert-body h2, .contact-grid h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 700; letter-spacing: -.6px; line-height: 1.2;
}
.sec-note { max-width: 42ch; color: var(--muted); font-size: .92rem; }
.muted { color: var(--muted); }

/* ============================ categories ============================ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
  position: relative; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden;
  background: linear-gradient(170deg, #16130E, #0C0B09); padding: 26px 22px 22px;
  transition: .55s var(--ease); cursor: pointer; min-height: 230px; display: flex; flex-direction: column;
}
.cat-card::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(90% 70% at 50% 0%, var(--tint, rgba(198, 161, 91, .3)), transparent 70%);
  transition: .55s;
}
.cat-card:hover { transform: translateY(-6px); border-color: var(--line); }
.cat-card:hover::before { opacity: .9; }
.cat-art { position: relative; height: 140px; margin: -26px -22px 16px; overflow: hidden; border-radius: 16px 16px 0 0; }
.cat-art svg { width: 100%; height: 100%; }
.cat-card b { position: relative; font-size: 1.12rem; margin-top: 14px; }
.cat-card small {
  position: relative; color: var(--muted); font-size: .78rem; margin-top: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cat-card .cat-arrow {
  position: absolute; top: 18px; inset-inline-end: 18px; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center; font-size: .8rem; color: var(--sand);
  transition: .4s;
}
.cat-card:hover .cat-arrow { background: var(--gold); color: #1a1408; border-color: var(--gold); }

/* filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .82rem;
  color: var(--sand); transition: .35s;
}
.chip:hover { border-color: var(--line); color: var(--gold-l); }
.chip.active { background: var(--gold); color: #1a1408; border-color: var(--gold); font-weight: 600; }

/* ============================ products ============================ */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prod-card {
  position: relative; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden;
  background: #100E0A; transition: .5s var(--ease); display: flex; flex-direction: column;
}
.prod-card:hover { border-color: var(--line); transform: translateY(-4px); box-shadow: var(--shadow); }
.prod-media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #0A0908; }
.prod-media svg { width: 100%; height: 100%; transition: .7s var(--ease); }
.prod-card:hover .prod-media svg { transform: scale(1.06); }
.badge {
  position: absolute; top: 14px; inset-inline-start: 14px; padding: 5px 12px; border-radius: 999px;
  font-size: .68rem; font-weight: 700; letter-spacing: .6px; background: var(--gold); color: #1a1408;
}
.badge.off { background: #1d1a14; color: var(--gold-l); border: 1px solid var(--line); }
.badge.out { background: #2a1712; color: #e2a58a; border: 1px solid rgba(226, 165, 138, .3); }
.quick-add {
  position: absolute; bottom: 14px; inset-inline: 14px; padding: 12px; border-radius: 12px;
  background: rgba(12, 11, 9, .82); backdrop-filter: blur(10px); border: 1px solid var(--line);
  color: var(--gold-l); font-size: .84rem; font-weight: 600; opacity: 0; transform: translateY(8px);
  transition: .4s var(--ease);
}
.prod-card:hover .quick-add { opacity: 1; transform: translateY(0); }
.quick-add:hover { background: var(--gold); color: #1a1408; }
.prod-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.prod-cat { font-size: .68rem; letter-spacing: 2.2px; color: var(--gold); text-transform: uppercase; }
.prod-name { font-size: 1.06rem; font-weight: 600; }
.prod-notes { font-size: .78rem; color: var(--muted); min-height: 1.4em; }
.prod-foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 10px; }
.price { font-size: 1.16rem; font-weight: 700; color: var(--ivory); }
.price s { font-size: .78rem; color: var(--muted); margin-inline-start: 8px; font-weight: 400; }
.stock-tag { font-size: .7rem; color: #6fbf8f; }
.stock-tag.low { color: #d8a04a; }
.stock-tag.out { color: #c2745c; }
.grid-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ============================ story ============================ */
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.story-art { position: relative; aspect-ratio: 1/1.06; }
.story-shape {
  position: absolute; inset: 8% 0 0 0; border-radius: 50% 50% 24px 24px;
  background: linear-gradient(160deg, rgba(198, 161, 91, .16), transparent 70%);
  border: 1px solid var(--line);
}
.story-art-inner { position: absolute; inset: 0; }
.story-art-inner svg { width: 100%; height: 100%; }
.story-badge {
  position: absolute; bottom: 8%; inset-inline-start: -6px; background: rgba(18, 16, 12, .9);
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-size: .74rem; color: var(--sand);
}
.story-badge b { color: var(--gold-l); }
.story-copy p { margin-top: 20px; color: var(--ivory-2); opacity: .82; }
.story-stats { display: flex; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.story-stats div { display: flex; flex-direction: column; }
.story-stats b { font-size: 1.9rem; color: var(--gold-l); line-height: 1.1; }
.story-stats span { font-size: .76rem; color: var(--muted); letter-spacing: 1px; }

/* ============================ certificate ============================ */
.cert-sec { padding-top: 40px; }
.cert {
  position: relative; display: grid; grid-template-columns: 180px 1fr; gap: 46px; align-items: center;
  padding: 52px; border-radius: 26px; border: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(198, 161, 91, .12), transparent 60%),
    linear-gradient(150deg, #16130E, #0B0A08);
  box-shadow: var(--shadow); overflow: hidden;
}
.cert::after {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(198, 161, 91, .12);
  border-radius: 18px; pointer-events: none;
}
.cert-seal svg { width: 160px; height: 160px; }
.cert-desc { margin-top: 16px; color: var(--ivory-2); opacity: .85; max-width: 60ch; }
.cert-meta { display: grid; grid-template-columns: repeat(3, auto); gap: 34px; margin: 30px 0; justify-content: start; }
.cert-meta dt { font-size: .7rem; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }
.cert-meta dd { font-size: .95rem; margin-top: 4px; color: var(--ivory); }

/* ============================ contact ============================ */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: start; }
.contact-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.contact-list { list-style: none; margin-top: 36px; border-top: 1px solid var(--line-2); }
.contact-list li { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line-2); font-size: .9rem; }
.contact-list span { color: var(--muted); }
.track-card {
  border: 1px solid var(--line-2); border-radius: var(--r); padding: 30px; background: #100E0A;
}
.track-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.track-form { display: flex; gap: 10px; margin-top: 20px; }
.track-form input {
  flex: 1; padding: 14px 16px; border-radius: 12px; background: #0A0908;
  border: 1px solid var(--line-2); color: var(--ivory); outline: none; transition: .3s;
}
.track-form input:focus { border-color: var(--gold); }
.track-result { margin-top: 18px; padding: 16px; border-radius: 12px; background: rgba(198, 161, 91, .07); border: 1px solid var(--line); font-size: .86rem; }
.track-result b { color: var(--gold-l); }

/* ============================ footer ============================ */
.site-foot { border-top: 1px solid var(--line-2); padding: 66px 0 26px; background: #090807; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-size: .78rem; letter-spacing: 2.4px; color: var(--gold); margin-bottom: 16px; text-transform: uppercase; }
.foot-grid a { display: block; font-size: .86rem; color: var(--muted); padding: 9px 0; min-height: 40px; transition: .3s; }
.foot-grid a:hover { color: var(--gold-l); }
.foot-note { margin-top: 16px; font-size: .84rem; max-width: 34ch; }

/* شهادة العمل الحر — في التذييل فقط */
.foot-cert {
  margin-top: 18px; padding: 12px 15px; max-width: 320px;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(198, 161, 91, .05);
  display: flex; flex-direction: column; gap: 3px;
}
.fc-badge { display: flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 600; color: var(--gold-l); }
.fc-badge svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.fc-num { font-size: .78rem; letter-spacing: .8px; color: var(--ivory-2); }
.fc-issuer { font-size: .67rem; color: var(--muted); line-height: 1.55; }
.fc-link { font-size: .72rem; color: var(--gold); margin-top: 2px; }
.fc-link:hover { color: var(--gold-l); text-decoration: underline; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; padding: 0; }
.socials a:hover { border-color: var(--gold); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }
.foot-bottom {
  display: flex; justify-content: space-between; margin-top: 50px; padding-top: 22px;
  border-top: 1px solid var(--line-2); font-size: .76rem; color: var(--muted); flex-wrap: wrap; gap: 10px;
}

/* ============================ drawer / cart ============================ */
.drawer-scrim {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: .4s; z-index: 940;
}
.drawer-scrim.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; left: 0; right: auto; height: 100%; width: min(440px, 100%);
  background: #0D0C09; border-right: 1px solid var(--line); z-index: 950;
  display: flex; flex-direction: column; transform: translateX(-100%);
  transition: .5s var(--ease); box-shadow: 30px 0 80px rgba(0, 0, 0, .6);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line-2); }
.drawer-head h3 { font-size: 1.05rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line-2); background: #0A0907; }
.cart-item { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.cart-thumb { width: 74px; height: 74px; border-radius: 12px; overflow: hidden; background: #0A0908; border: 1px solid var(--line-2); }
.cart-item b { font-size: .9rem; font-weight: 600; }
.cart-item .ci-price { font-size: .8rem; color: var(--gold-l); }
.qty { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line-2); border-radius: 999px; margin-top: 6px; }
.qty button { width: 26px; height: 26px; display: grid; place-items: center; color: var(--sand); }
.qty button:hover { color: var(--gold-l); }
.qty span { min-width: 22px; text-align: center; font-size: .82rem; }
.ci-remove { color: var(--muted); font-size: .72rem; margin-top: 6px; }
.ci-remove:hover { color: #e08b72; }
.cart-empty { text-align: center; color: var(--muted); padding: 60px 0; font-size: .9rem; }
.totals { display: flex; flex-direction: column; gap: 9px; font-size: .88rem; margin-bottom: 16px; }
.totals div { display: flex; justify-content: space-between; color: var(--ivory-2); }
.totals .grand { font-size: 1.1rem; font-weight: 700; color: var(--ivory); border-top: 1px solid var(--line-2); padding-top: 10px; }
.totals .grand b { color: var(--gold-l); }
.free-ship { font-size: .76rem; color: #6fbf8f; margin-top: -4px; }

/* checkout form */
.form-grid { display: grid; gap: 10px; }
.form-grid input, .form-grid textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; background: #0A0908;
  border: 1px solid var(--line-2); color: var(--ivory); outline: none; transition: .3s; font-size: .88rem;
}
.form-grid input:focus, .form-grid textarea:focus { border-color: var(--gold); }
.form-note { font-size: .74rem; color: var(--muted); }

/* success */
.success { text-align: center; padding: 30px 0; }
.success .ok-mark {
  width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(61, 220, 132, .1); border: 1px solid rgba(61, 220, 132, .35); color: #3ddc84; font-size: 2rem;
}
.success h4 { font-size: 1.15rem; margin-bottom: 6px; }
.order-code { display: inline-block; margin: 14px 0; padding: 10px 20px; border-radius: 999px; border: 1px dashed var(--gold); color: var(--gold-l); font-weight: 700; letter-spacing: 2px; }

/* ============================ product modal ============================ */
.modal {
  position: fixed; inset: 0; z-index: 960; display: grid; place-items: center; padding: 24px;
  background: rgba(5, 4, 3, .78); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: .4s;
}
.modal.on { opacity: 1; pointer-events: auto; }
.modal-card {
  width: min(920px, 100%); max-height: 90vh; overflow: auto; border-radius: 22px;
  border: 1px solid var(--line); background: #0D0C09; display: grid; grid-template-columns: 1fr 1fr;
  transform: translateY(16px) scale(.99); transition: .45s var(--ease); box-shadow: var(--shadow);
}
.modal.on .modal-card { transform: none; }
.pm-media { position: relative; background: #0A0908; min-height: 320px; }
.pm-media svg { width: 100%; height: 100%; }
.pm-body { padding: 34px; display: flex; flex-direction: column; }
.pm-close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; background: rgba(10, 9, 8, .72); backdrop-filter: blur(6px); border-color: rgba(246, 240, 228, .18); }
.pm-body h3 { font-size: 1.6rem; letter-spacing: -.4px; }
.pm-price { font-size: 1.4rem; color: var(--gold-l); font-weight: 700; margin: 10px 0; }
.pm-price s { font-size: .9rem; color: var(--muted); margin-inline-start: 10px; font-weight: 400; }
.pm-desc { color: var(--ivory-2); opacity: .82; font-size: .92rem; }
.notes { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.notes span { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); font-size: .76rem; color: var(--sand); }
.pm-meta { display: flex; gap: 22px; font-size: .8rem; color: var(--muted); margin-bottom: 20px; flex-wrap: wrap; }
.pm-actions { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }

/* ===== الكلمة المخصّصة على المنتج ===== */
.custom-box {
  margin: 2px 0 16px; padding: 14px 15px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(198, 161, 91, .05);
}
.custom-label {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
  font-size: .78rem; font-weight: 600; color: var(--gold-l);
}
.custom-label .opt,
.custom-label .req {
  font-size: .6rem; font-weight: 700; color: #9c9384; letter-spacing: .4px;
  border: 1px solid rgba(216, 160, 74, .4); border-radius: 999px; padding: 1px 7px;
}
.custom-field { position: relative; }
.custom-field input {
  width: 100%; padding: 12px 14px; padding-inline-end: 68px; border-radius: 10px;
  background: #0A0908; border: 1px solid var(--line-2); color: var(--ivory);
  outline: none; font-size: .95rem; transition: .3s;
}
.custom-field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198, 161, 91, .1); }
.custom-count {
  position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%);
  font-size: .68rem; color: var(--muted); pointer-events: none;
}
.custom-help { font-size: .7rem; color: var(--muted); margin-top: 6px; }
.custom-fee { color: var(--gold-l); }
.custom-preview {
  font-size: .76rem; color: var(--gold-l); margin-top: 9px; padding-top: 9px;
  border-top: 1px dashed var(--line);
}
.ci-custom { font-size: .74rem; color: var(--gold-l); margin-top: 2px; }
.ci-fee { font-size: .62rem; color: var(--gold); opacity: .85; }

/* ============================ chat widget ============================ */
.chat {
  position: fixed; bottom: 24px; inset-inline-start: 24px; width: min(380px, calc(100vw - 32px));
  height: min(560px, 78vh); z-index: 970; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); background: #0C0B09; display: flex; flex-direction: column;
  box-shadow: var(--shadow); opacity: 0; transform: translateY(18px) scale(.98); pointer-events: none;
  transition: .45s var(--ease);
}
.chat.open { opacity: 1; transform: none; pointer-events: auto; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line-2); background: #100E0B; }
.chat-ava { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(198, 161, 91, .14); border: 1px solid var(--line); }
.chat-head b { display: block; font-size: .9rem; }
.chat-head span { font-size: .7rem; color: #6fbf8f; }
.chat-head .icon-btn { margin-inline-start: auto; width: 32px; height: 32px; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 84%; padding: 11px 14px; border-radius: 14px; font-size: .86rem; line-height: 1.65; white-space: pre-wrap; }
.msg.bot { background: #17140F; border: 1px solid var(--line-2); border-start-end-radius: 4px; align-self: flex-start; }
.msg.user { background: linear-gradient(135deg, var(--gold), var(--gold-d)); color: #191307; border-start-start-radius: 4px; align-self: flex-end; font-weight: 500; }
.msg.typing { color: var(--muted); font-size: .8rem; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line-2); background: #100E0B; }
.chat-form input { flex: 1; padding: 12px 14px; border-radius: 999px; background: #0A0908; border: 1px solid var(--line-2); color: var(--ivory); outline: none; font-size: .86rem; }
.chat-form input:focus { border-color: var(--gold); }
.chat-form button { width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: #191307; display: grid; place-items: center; }
.chat-form button svg { width: 18px; height: 18px; }

/* toast */
.toast {
  position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 990; padding: 13px 22px;
  border-radius: 999px; background: #17140F; border: 1px solid var(--gold); color: var(--gold-l);
  font-size: .85rem; opacity: 0; transform: translateY(14px); transition: .4s; pointer-events: none;
}
.toast.on { opacity: 1; transform: none; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================ responsive ============================ */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .cert { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cert-meta { justify-content: center; }
  .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: center; gap: 26px;
    background: rgba(9, 8, 7, .97); backdrop-filter: blur(20px); transform: translateY(-100%);
    transition: .5s var(--ease); z-index: 890; font-size: 1.2rem;
  }
  .nav.open { transform: none; }
  .burger { display: grid; }
  .head-wa { display: none; }
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 420px; width: 100%; margin: 0 auto; }
  .section { padding: 74px 0; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .modal-card { grid-template-columns: 1fr; }
  .pm-media { min-height: 240px; }
  .cert { padding: 34px 22px; }
  .cert-seal svg { width: 120px; height: 120px; }
  .cert-meta { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .chat { left: 16px; right: auto; width: calc(100vw - 32px); bottom: 16px; height: min(70vh, 520px); }
  .drawer { width: 100%; }
  .float-card { font-size: .72rem; padding: 10px 14px; }
  .fc-1 { inset-inline-end: 0; }
}
@media (max-width: 520px) {
  .cat-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.3rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .btn { padding: 13px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* لمس: إظهار زر الإضافة دائمًا */
@media (hover: none) {
  .quick-add { opacity: 1; transform: none; }
  .prod-card:hover .prod-media svg { transform: none; }
}
@media (max-width: 560px) {
  .brand-text i { display: none; }
  .brand-text b { font-size: 1.02rem; }
}
/* شعار rassel */
.brand-logo {
  display: block; height: 84px; width: auto; max-width: none; flex: none;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .45));
}
.brand-logo--lg { height: auto; width: 320px; }
@media (max-width: 560px) {
  .brand-logo { height: 46px; }
  .brand-logo--lg { width: 210px; }
  .head-inner { gap: 8px; padding: 0 16px; }
  .head-actions { gap: 4px; }
  .cur-btn { padding: 10px 9px; font-size: .7rem; gap: 4px; }
  .cur-btn svg { width: 12px; height: 12px; }
  .cart-btn { padding: 10px 10px; }
  .icon-btn { width: 38px; height: 38px; }
  .burger { width: 38px; height: 38px; }
  .site-head { padding: 12px 0; }
  .nav a { padding: 12px 0; min-height: 44px; display: flex; align-items: center; }
}
@media (max-width: 400px) {
  .cur-btn > svg:first-child { display: none; }
  .brand-logo { height: 42px; }
}
/* زر الإغلاق يتحول إلى ✕ عند فتح القائمة */
.nav.open ~ .head-actions .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open ~ .head-actions .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* تثبيت أزرار الشراء أسفل نافذة المنتج على الجوال */
@media (max-width: 860px) {
  .pm-actions {
    position: sticky; bottom: -1px; margin-top: 10px;
    padding: 12px 0 4px; background: linear-gradient(180deg, transparent, #0D0C09 22%);
  }
  .pm-actions .btn { flex: 1 1 auto; }
}
/* ===== طرق الدفع ===== */
.pay-box { border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.pay-title { font-size: .74rem; letter-spacing: 1.6px; color: var(--gold); text-transform: uppercase; }
.pay-opt { display: flex; align-items: center; gap: 9px; font-size: .86rem; color: var(--ivory-2); padding: 7px 9px; border-radius: 9px; border: 1px solid transparent; transition: .2s; }
.pay-opt:hover { background: rgba(198, 161, 91, .06); }
.pay-opt input { accent-color: var(--gold); width: 16px; height: 16px; }
.pay-opt:has(input:checked) { border-color: var(--line); background: rgba(198, 161, 91, .1); color: var(--gold-l); }
.pay-info { margin-top: 12px; padding: 13px 14px; border-radius: 12px; border: 1px dashed var(--gold); background: rgba(198, 161, 91, .06); font-size: .85rem; }
.pay-info > b { display: block; margin-bottom: 8px; color: var(--gold-l); }
.pay-row { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--line-2); }
.pay-row span { color: var(--muted); }
.pay-row b { color: var(--ivory); font-weight: 600; }
.pay-info .btn { margin-top: 10px; }
.ltr { direction: ltr; unicode-bidi: embed; }