/* النسخة 1: «طين وكريم» — حبر بني غامق مع لون تيراكوتا كلون أساسي، والمحايدات من سلّم Radix sand */
:root {
  --brown-900: #2b1f1a;
  --brown-800: #b5603c;
  --brown-700: #9a4d2e;
  --brown-500: #cf8d63;
  --sand-300: #e6d3bf;
  --sand-200: #f2e7db;
  --sand-100: #f8f2eb;
  --cream: #ffffff;
  --white: #ffffff;
  --maroon: #6a1f2d;
  --maroon-700: #521722;
  --text: var(--sand-12, #21201c);
  --muted: #86716a;
  --line: var(--sand-4, #e9e8e6);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(51, 36, 26, .04), 0 4px 14px rgba(51, 36, 26, .05);
  --font: "Cairo", system-ui, sans-serif;
  --display: "Cairo", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--cream);
  font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0; font-weight: 700; }
h1, h2 { font-family: var(--display); font-weight: 600; }
.container { width: min(1480px, 100% - 48px); margin-inline: auto; }
.ic { width: 22px; height: 22px; flex: none; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
[hidden] { display: none !important; }

/* ---------- أزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 30px; border-radius: var(--radius); border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; transition: .25s; white-space: nowrap;
}
.btn .ic { width: 20px; height: 20px; }
.btn-primary { background: var(--brown-800); color: var(--white); }
.btn-primary:hover { background: var(--brown-900); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-outline { border-color: var(--brown-800); color: var(--brown-800); background: transparent; }
.btn-outline:hover { background: var(--brown-800); color: var(--white); }
.btn-light { background: var(--white); color: var(--brown-900); }
.btn-light:hover { background: var(--sand-100); }
.btn-block { width: 100%; }
.grow { flex: 1; }
.icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%;
  background: none; border: 0; color: var(--brown-800); position: relative; transition: .2s;
}
.icon-btn:hover { background: var(--sand-100); }

/* ---------- الهيدر ---------- */
.topbar { background: var(--brown-900); color: #eadcc9; font-size: 13px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; }
.topbar-in > span { display: inline-flex; align-items: center; gap: 8px; }
.topbar .ic { width: 17px; height: 17px; }
.topbar-social { gap: 14px !important; }
.topbar-social a { opacity: .8; display: inline-flex; }
.topbar-social a:hover { opacity: 1; }

.header { background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; height: 112px; }
.brand { grid-column: 2; grid-row: 1; justify-self: center; }
.brand img { height: 94px; width: auto; }
.nav { grid-column: 1; grid-row: 1; display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; color: var(--brown-900); white-space: nowrap; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1.5px; background: var(--brown-700); transform: scaleX(0); transition: .25s; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--brown-700); font-weight: 700; }
.header-tools { grid-column: 3; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.search { display: flex; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 6px 0 4px; height: 46px; width: 270px; transition: .2s; }
.search:focus-within { border-color: var(--brown-500); }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; padding: 0 14px; font-size: 14px; }
.search button { border: 0; background: none; color: var(--brown-700); display: grid; place-items: center; width: 38px; height: 38px; }
/* هيدر النسخة 1: سطر واحد، شعار أفقي وروابط على شكل حبوب */
.hdr-a { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr-a-in { display: flex; align-items: center; gap: 28px; height: 84px; }
.brand-h { display: flex; align-items: center; gap: 12px; flex: none; color: var(--brown-800); }
.brand-h img { height: 50px; width: auto; }
.brand-h span { font-family: "Cormorant Garamond", Georgia, serif; font-size: 25px; font-weight: 600; letter-spacing: 7px; line-height: 1; display: grid; gap: 5px; }
.brand-h small { font-family: var(--font); font-size: 9.5px; letter-spacing: 2.6px; font-weight: 700; color: var(--muted); }
.hdr-a .nav { flex: 1; justify-content: center; gap: 4px; }
.hdr-a .nav a { padding: 8px 15px; border-radius: 999px; transition: background .2s, color .2s; }
.hdr-a .nav a::after { display: none; }
.hdr-a .nav a:hover { background: var(--sand-100); }
.hdr-a .nav a.active { background: var(--brown-800); color: var(--white); }
.hdr-a .header-tools { display: flex; gap: 2px; }
.search-pop { border-top: 1px solid var(--line); padding: 14px 0; animation: fadeUp .3s ease both; }
.search-pop .search { width: 100%; height: 54px; background: var(--sand-100); border-color: transparent; }
.search-pop .search input { font-size: 16px; }

.cart-count {
  position: absolute; top: 2px; inset-inline-start: 0; min-width: 19px; height: 19px; border-radius: var(--radius);
  background: var(--sand-300); color: var(--brown-900); font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 5px;
}
.cart-count.has { background: var(--brown-700); color: var(--white); }
.menu-btn { display: none; }

.mobile-menu { position: fixed; inset: 0; background: rgba(40, 28, 18, .45); z-index: 60; }
.mobile-menu-panel { background: var(--cream); width: min(340px, 86vw); height: 100%; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.mm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mm-head img { height: 64px; }
.mobile-menu .search { width: 100%; margin-bottom: 10px; }
.mobile-menu a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-weight: 500; }

/* ---------- الهيرو ---------- */
.hero { padding: 44px 0 36px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 20px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--brown-700); font-weight: 700; font-size: 14px; letter-spacing: .2px; }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.hero h1 { font-size: clamp(40px, 5.2vw, 76px); line-height: 1.15; color: var(--brown-900); }
.hero h1 em { font-style: normal; color: var(--brown-500); }
.hero p { margin: 0; color: #6d5848; font-size: 19px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--brown-800); font-weight: 500; }
.hero-points .ic { width: 20px; height: 20px; color: var(--brown-500); }

.hero-collage { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: min(500px, 38vw); }
.hc { position: relative; overflow: hidden; background: var(--sand-100); }
.hc img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.hc:hover img { transform: scale(1.05); }
.hc-main { grid-row: 1 / 3; border-radius: var(--radius); }
.hc-top { border-radius: var(--radius); }
.hc-bottom { border-radius: var(--radius); }
.hc-tag {
  position: absolute; bottom: 14px; inset-inline-start: 14px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  padding: 8px 14px; border-radius: var(--radius); font-size: 13px; font-weight: 700; color: var(--brown-900); display: flex; gap: 8px; align-items: center;
}
.hc-tag b { color: var(--brown-500); font-weight: 700; }
.stamp { position: absolute; width: 132px; height: 132px; top: 50%; inset-inline-end: calc(44.4% - 66px); transform: translateY(-50%); z-index: 3; }
.stamp-ring { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.stamp-core { position: absolute; inset: 22px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; box-shadow: 0 8px 24px -12px rgba(0,0,0,.35); }
.stamp-core img { width: 58px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- هيرو العرض (النسخة 1) ---------- */
.showcase { padding: 34px 0 48px; }
.sc-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 52px; align-items: stretch; }
.sc-text { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding-block: 10px; min-width: 0; }
.sc-grid > * { min-width: 0; }
.sc-text h1 { font-size: clamp(40px, 4.6vw, 70px); line-height: 1.12; color: var(--brown-900); }
.sc-text h1 em { font-style: normal; color: var(--brown-500); }
.sc-text p { margin: 0; color: var(--muted); font-size: 18px; max-width: 480px; }
.sc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px; }
.sc-item {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; text-align: start; padding: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s;
}
.sc-item:hover { border-color: var(--sand-300); }
.sc-item.on { border-color: var(--brown-800); box-shadow: var(--shadow); }
.sc-item img { width: 58px; height: 58px; border-radius: 8px; object-fit: cover; flex: none; }
.sc-item b { display: block; font-size: 14px; line-height: 1.35; color: var(--brown-900); }
.sc-item small { color: var(--brown-500); font-weight: 700; font-size: 13px; }
.sc-bar { position: absolute; bottom: 0; inset-inline-start: 0; height: 3px; width: 0; background: var(--brown-800); }
.sc-item.on .sc-bar { animation: scfill 6s linear forwards; }
@keyframes scfill { to { width: 100%; } }
.sc-stage { position: relative; border-radius: var(--radius); overflow: hidden; height: clamp(480px, 40vw, 620px); background: var(--sand-100); }
.sc-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.sc-slide.on { opacity: 1; z-index: 1; }
.sc-slide img { width: 100%; height: 100%; object-fit: cover; }
.sc-tag {
  position: absolute; z-index: 2; bottom: 22px; inset-inline-end: 22px; display: flex; align-items: center; gap: 18px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px); padding: 12px 12px 12px 18px; border-radius: var(--radius); box-shadow: var(--shadow);
}
.sc-tag small { display: block; font-size: 12px; color: var(--muted); }
.sc-tag b { display: block; font-size: 16px; color: var(--brown-900); }
.sc-tag em { font-style: normal; font-weight: 800; color: var(--brown-700); }
.sc-tag del { font-weight: 400; color: var(--muted); font-size: 13px; }
.tag-add { width: 50px; height: 50px; border-radius: 8px; border: 0; background: var(--brown-800); color: var(--white); display: grid; place-items: center; transition: .2s; }
.tag-add:hover { background: var(--brown-900); }
.sc-chip { position: absolute; z-index: 2; top: 22px; inset-inline-start: 22px; background: var(--brown-900); color: #f1e5d4; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: var(--radius); display: flex; gap: 8px; align-items: center; }
.sc-chip .ic { width: 16px; height: 16px; }

/* ---------- سلايدر الرئيسية ---------- */
.hero-full { padding: 0; }
.hero-slider { --pad: calc(max(24px, (100% - 1480px) / 2) + 32px); position: relative; height: clamp(500px, 38vw, 640px); overflow: hidden; background: var(--sand-100); }
.hero-slider .slide {
  position: absolute; inset: 0; background: var(--bg, var(--sand-100)); display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s;
}
.hero-slider .slide.on { opacity: 1; visibility: visible; z-index: 1; transition: opacity .9s ease; }
.hero-slider .media { position: absolute; top: 0; bottom: 0; left: 0; width: 64%; }
.hero-slider .media img { width: 100%; height: 100%; object-fit: cover; }
.hero-slider .slide::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to left, var(--bg, var(--sand-100)) 0%, var(--bg, var(--sand-100)) 36%, transparent 60%); }
.hero-slider .slide .txt { position: relative; z-index: 2; width: 100%; padding: 40px var(--pad) 90px; display: flex; flex-direction: column; gap: 16px; color: var(--fg, var(--brown-900)); }
.hero-slider .slide .txt > * { max-width: 540px; opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.hero-slider .slide.on .txt > * { opacity: 1; transform: none; }
.hero-slider .slide.on .txt > *:nth-child(2) { transition-delay: .1s; }
.hero-slider .slide.on .txt > *:nth-child(3) { transition-delay: .2s; }
.hero-slider .slide.on .txt > *:nth-child(4) { transition-delay: .3s; }
.hero-slider .eyebrow { color: var(--accent, var(--brown-700)); }
.hero-slider h1, .hero-slider h2 { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 4vw, 62px); line-height: 1.15; color: inherit; }
.hero-slider p { margin: 0; font-size: 18px; opacity: .85; max-width: 460px; }
.hero-slider .price-tag { font-weight: 800; font-size: 18px; }
.hero-slider .price-tag del { font-weight: 400; opacity: .6; margin-inline-start: 8px; font-size: 15px; }
.slider-ui { position: absolute; z-index: 5; bottom: 36px; inset-inline-start: var(--pad); display: flex; align-items: center; gap: 16px; }
.slider-ui .arrows { display: flex; gap: 8px; }
.slider-ui .arrows button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; background: transparent; display: grid; place-items: center; color: var(--brown-800); transition: .2s; }
.slider-ui .arrows button:hover { background: var(--brown-800); color: var(--white); border-color: var(--brown-800); }
.slider-ui .arrows .ic { width: 20px; height: 20px; }
.slider-ui .slider-dots { display: flex; gap: 6px; }
.slider-ui .slider-dots button { width: 9px; height: 9px; border-radius: 9px; border: 0; padding: 0; background: rgba(51,36,26,.22); transition: .35s; }
.slider-ui .slider-dots button.on { width: 30px; background: var(--brown-800); }
.hero-slider.dark-ui .slider-ui .arrows button { color: #f3e7d7; }
.hero-slider.dark-ui .slider-ui .slider-dots button { background: rgba(255,255,255,.3); }
.hero-slider.dark-ui .slider-ui .slider-dots button.on { background: #f3e7d7; }

/* ---------- شريط متحرك ---------- */
.marquee { background: var(--brown-800); color: #efe3d2; overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 22px; padding-inline: 22px; font-family: var(--display); font-size: 21px; white-space: nowrap; }
.marquee span::after { content: "✦"; font-size: 12px; color: var(--sand-300); }
@keyframes marquee { to { transform: translateX(50%); } }

/* ---------- الأقسام ---------- */
.section { padding: 76px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(28px, 3vw, 42px); color: var(--brown-900); }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.kicker { display: block; color: var(--brown-500); font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--brown-800); font-weight: 700; white-space: nowrap; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-more .ic { width: 18px; height: 18px; }

/* أقسام بشكل أقواس */
.cats { display: grid; grid-template-columns: repeat(var(--n, 6), 1fr); gap: 18px; }
.cat-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; padding: 20px; color: var(--white); isolation: isolate; }
.cat-arch { position: absolute; inset: 0; z-index: -1; background: var(--sand-200); }
.cat-arch img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.cat-card:hover .cat-arch img { transform: scale(1.08); }
.cat-card::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, rgba(35,24,16,.82) 0%, rgba(35,24,16,.15) 50%, rgba(35,24,16,0) 70%); }
.cat-card b, .cat-card small { position: relative; z-index: 1; }
.cat-card b { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.25; }
.cat-card small { font-size: 13px; opacity: .85; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.cat-card small::after { content: "←"; transition: transform .3s; }
.cat-card:hover small::after { transform: translateX(-5px); }
.cat-card.custom .cat-arch { display: grid; place-items: center; background: var(--brown-800); color: var(--sand-300); }
.cat-card.custom .cat-arch .ic { width: 64px; height: 64px; margin-bottom: 40px; opacity: .8; }
.cat-card.custom::before { display: none; }

/* تبويبات */
.tabs { display: flex; gap: 6px; background: var(--white); border: 1px solid var(--line); padding: 5px; border-radius: var(--radius); }
.tabs button { border: 0; background: none; padding: 9px 20px; border-radius: var(--radius); font-weight: 700; font-size: 14px; color: var(--muted); transition: .2s; white-space: nowrap; }
.tabs button.active { background: var(--brown-800); color: var(--white); }

/* ---------- بطاقة المنتج ---------- */
.grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px 20px; }
.card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--sand-100); border-radius: var(--radius); }
.card-media > a { position: absolute; inset: 0; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.badge { position: absolute; top: 14px; inset-inline-start: 14px; background: var(--white); color: var(--brown-800); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: var(--radius); }
.badge.sale { background: var(--maroon); color: var(--white); }
.wish { position: absolute; top: 12px; inset-inline-end: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--brown-800); display: grid; place-items: center; transition: .2s; }
.wish .ic { width: 19px; height: 19px; }
.wish:hover, .wish.on { color: var(--maroon); }
.wish.on svg { fill: currentColor; }
.quick-add {
  position: absolute; inset-inline: 12px; bottom: 12px; height: 46px; border: 0; border-radius: var(--radius);
  background: rgba(51, 36, 26, .92); color: var(--white); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px; transform: translateY(70px); transition: transform .35s ease;
}
.quick-add .ic { width: 18px; height: 18px; }
.card:hover .quick-add, .quick-add:focus-visible { transform: none; }
.card-body { display: grid; gap: 4px; padding-inline: 4px; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card-cat { font-size: 13px; color: var(--muted); }
.dots { display: flex; gap: 4px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.card h3 { font-size: 17px; font-weight: 700; }
.card h3 a:hover { color: var(--brown-700); }
.price { font-weight: 800; color: var(--brown-800); font-size: 17px; display: flex; align-items: baseline; gap: 8px; }
.price del, .pd-price del { color: var(--muted); font-weight: 400; font-size: .8em; }

/* ---------- صفوف المنتجات ---------- */
.row { padding: 44px 0; }
.row + .row { border-top: 1px solid var(--line); }
.row .section-head { margin-bottom: 24px; }
.row .section-head h2 { font-size: clamp(24px, 2.4vw, 32px); }
.row-count { color: var(--muted); font-size: 14px; margin-inline-start: 10px; font-family: var(--font); font-weight: 500; }

.trust { background: var(--brown-900); color: #eadcc9; }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-in span { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 10px; font-size: 14px; font-weight: 500; }
.trust-in span + span { border-inline-start: 1px solid rgba(255,255,255,.1); }
.trust .ic { width: 22px; height: 22px; color: var(--sand-300); }

.promo-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo { position: relative; display: flex; align-items: center; min-height: 220px; border-radius: var(--radius); overflow: hidden; padding: 30px 36px; color: var(--white); }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.promo:hover img { transform: scale(1.05); }
.promo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to left, rgba(35,24,16,.82) 0%, rgba(35,24,16,.35) 55%, rgba(35,24,16,0) 100%); }
.promo.maroon::before { background: linear-gradient(to left, rgba(82,23,34,.92) 0%, rgba(82,23,34,.45) 55%, rgba(82,23,34,0) 100%); }
.promo .txt { position: relative; z-index: 2; display: grid; gap: 6px; max-width: 330px; }
.promo small { font-weight: 700; color: #f0d9b8; }
.promo h3 { font-family: var(--display); font-weight: 600; font-size: 30px; }
.promo p { margin: 0 0 6px; font-size: 15px; opacity: .9; }
.promo .btn { height: 44px; padding: 0 22px; justify-self: start; font-size: 14px; }

/* ---------- مجموعات (بينتو) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 300px); gap: 18px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); color: var(--white); display: flex; align-items: flex-end; background: var(--sand-200); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.tile:hover img { transform: scale(1.06); }
.tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(35, 24, 16, .72), rgba(35, 24, 16, 0) 55%); z-index: 1; }
.tile .txt { position: relative; z-index: 2; padding: 24px; display: grid; gap: 4px; }
.tile h3 { font-family: var(--display); font-weight: 600; font-size: 26px; }
.tile span { font-size: 14px; display: inline-flex; gap: 6px; align-items: center; opacity: .92; }
.tile span .ic { width: 16px; height: 16px; }
.tile.lg { grid-column: span 2; grid-row: span 2; }
.tile.lg h3 { font-size: 36px; }
.tile.wide { grid-column: span 2; }

/* ---------- مجموعة قطر ---------- */
.qatar-band { background: var(--maroon); color: #f4e3e3; border-radius: var(--radius); overflow: hidden; position: relative; }
.qatar-band::after {
  content: ""; position: absolute; inset-block: 0; inset-inline-end: 0; width: 70px;
  background: repeating-linear-gradient(180deg, transparent 0 22px, rgba(255,255,255,.95) 22px 23px), #fff;
  -webkit-mask: linear-gradient(90deg, #000, #000); opacity: 0;
}
.qatar-in { display: grid; grid-template-columns: 1fr 1.15fr; align-items: stretch; }
.qatar-txt { padding: 60px 56px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.qatar-txt .kicker { color: #e8b9bf; }
.qatar-txt h2 { font-size: clamp(30px, 3.4vw, 48px); color: var(--white); }
.qatar-txt p { margin: 0; color: #e9cdd0; max-width: 470px; font-size: 17px; }
.mini-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 6px; }
.mini { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.08); border-radius: var(--radius); padding: 8px; transition: .2s; }
.mini:hover { background: rgba(255,255,255,.15); }
.mini img { width: 58px; height: 58px; border-radius: 8px; object-fit: cover; }
.mini b { display: block; font-size: 14px; color: var(--white); }
.mini span { font-size: 13px; color: #e8b9bf; }
.qatar-media { position: relative; min-height: 520px; }
.qatar-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qatar-media .date { position: absolute; top: 24px; inset-inline-start: 24px; background: var(--white); color: var(--maroon); border-radius: var(--radius); padding: 10px 16px; text-align: center; line-height: 1.2; box-shadow: var(--shadow); }
.qatar-media .date b { display: block; font-family: var(--display); font-size: 30px; }
.qatar-media .date small { font-size: 12px; font-weight: 700; }
.qatar-band .btn-light { color: var(--maroon); }

/* ---------- المميزات ---------- */
.features-band { background: var(--sand-100); padding: 54px 0; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 0 12px; }
.feature .f-ic { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--brown-700); margin-bottom: 8px; box-shadow: 0 10px 24px -18px rgba(51,36,26,.5); position: relative; }
.feature .f-ic::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px dashed var(--sand-300); }
.feature .ic { width: 32px; height: 32px; }
.feature b { display: block; font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--brown-900); }
.feature span { color: var(--muted); font-size: 14px; max-width: 240px; }

/* ---------- انستغرام ---------- */
.insta { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.insta a { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: .6s; }
.insta a::after { content: ""; position: absolute; inset: 0; background: rgba(51,36,26,0); transition: .3s; }
.insta a:hover::after { background: rgba(51,36,26,.25); }
.insta a:hover img { transform: scale(1.07); }

/* ---------- الفوتر ---------- */
.footer { background: var(--brown-900); color: #d6c5b1; margin-top: 80px; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand img { height: 120px; margin-bottom: 16px; }
.footer-brand p { margin: 0; max-width: 340px; font-size: 14px; }
.footer h4 { color: var(--white); font-size: 16px; margin-bottom: 14px; }
.footer-grid a, .footer-grid .muted { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 14px; color: #d6c5b1; }
.footer-grid a:hover { color: var(--white); }
.footer .ic { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 12px; padding: 18px 0; font-size: 13px; flex-wrap: wrap; }
.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); z-index: 30; }
.wa-float .ic { width: 28px; height: 28px; }

/* ---------- السلة ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(40, 28, 18, .45); z-index: 70; }
.drawer {
  position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(420px, 100%); background: var(--cream); z-index: 80;
  display: flex; flex-direction: column; transform: translateX(-105%); visibility: hidden;
  transition: transform .35s ease, visibility 0s .35s;
}
.drawer.open { transform: none; visibility: visible; transition: transform .35s ease; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 19px; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 20px; }
.drawer-foot { padding: 18px 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.drawer-foot p { margin: 0; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.line-info { display: grid; gap: 2px; font-size: 14px; }
.line-info a { font-weight: 700; }
.line-info small { color: var(--muted); }
.line-info strong { color: var(--brown-800); }
.line-qty { color: var(--muted); font-weight: 700; }
.qty { display: flex; flex-direction: row-reverse; align-items: center; gap: 4px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 3px; }
.qty button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: none; display: grid; place-items: center; color: var(--brown-700); }
.qty button:hover { background: var(--sand-100); }
.qty .ic { width: 16px; height: 16px; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }
.qty-lg { padding: 5px; height: 54px; }
.qty-lg button { width: 42px; height: 42px; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: 18px; }
.empty { text-align: center; padding: 48px 12px; display: grid; justify-items: center; gap: 12px; color: var(--muted); }
.empty .ic { width: 48px; height: 48px; color: var(--sand-300); }
.empty p { margin: 0; }
.empty.wide { grid-column: 1 / -1; }

.toast {
  position: fixed; top: 24px; left: 50%; transform: translate(-50%, -30px); opacity: 0; pointer-events: none;
  background: var(--brown-900); color: var(--white); padding: 12px 20px; border-radius: var(--radius); z-index: 90;
  display: flex; gap: 8px; align-items: center; font-size: 14px; transition: .3s; box-shadow: var(--shadow); max-width: calc(100% - 32px);
}
.toast .ic { width: 18px; height: 18px; color: #b9e5c3; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- صفحة المتجر ---------- */
.page-head { padding: 40px 0 10px; }
.page-head h1 { font-size: clamp(30px, 3.4vw, 46px); color: var(--brown-900); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.crumbs a:hover { color: var(--brown-700); }
.crumbs span { color: var(--text); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 18px 0 30px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button { border: 1px solid var(--line); background: var(--white); padding: 9px 18px; border-radius: var(--radius); font-size: 14px; font-weight: 500; transition: .2s; }
.chips button:hover { border-color: var(--brown-500); }
.chips button.active { background: var(--brown-800); border-color: var(--brown-800); color: var(--white); }
.toolbar-end { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; }
.select, .input, textarea.input {
  height: 48px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); padding: 0 14px; outline: none; width: 100%;
}
.select { width: auto; padding-inline-end: 34px; }
textarea.input { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.input:focus, .select:focus { border-color: var(--brown-500); box-shadow: 0 0 0 3px rgba(154, 118, 86, .15); }

/* ---------- صفحة المنتج ---------- */
.pd { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; padding-bottom: 20px; }
.pd-main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand-100); aspect-ratio: 5 / 4; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-media { position: sticky; top: 140px; }
.pd-info { display: grid; gap: 12px; }
.pd-info h1 { font-size: clamp(28px, 3.2vw, 42px); color: var(--brown-900); }
.pd-sub { margin: -6px 0 0; color: var(--muted); }
.pd-price { font-size: 30px; font-weight: 800; color: var(--brown-700); display: flex; gap: 12px; align-items: baseline; }
.pd-desc { margin: 0; color: #5c4a3c; font-size: 17px; }
#pd-form { display: grid; gap: 16px; padding: 20px 0; border-block: 1px solid var(--line); margin-top: 6px; }
.opt { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.opt legend, .opt .legend { font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 8px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches input { position: absolute; opacity: 0; }
.swatches span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font-size: 14px; cursor: pointer; transition: .2s; }
.swatches span i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.swatches input:checked + span { border-color: var(--brown-800); box-shadow: inset 0 0 0 1px var(--brown-800); font-weight: 700; }
.swatches input:focus-visible + span { outline: 2px solid var(--brown-500); outline-offset: 2px; }
.pd-actions { display: flex; gap: 12px; }
.specs { margin: 0; display: grid; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: 14px; }
.specs div + div { border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 700; text-align: left; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: #5c4a3c; font-size: 14px; }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks .ic { color: var(--brown-700); width: 20px; height: 20px; }

/* ---------- حسب الطلب / الدفع ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.panel h3 { margin-bottom: 14px; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.drop {
  border: 1.5px dashed var(--sand-300); border-radius: var(--radius-sm); padding: 26px; text-align: center; color: var(--muted);
  display: grid; justify-items: center; gap: 8px; cursor: pointer; background: var(--cream); transition: .2s; position: relative;
}
.drop:hover { border-color: var(--brown-500); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .ic { width: 30px; height: 30px; color: var(--brown-500); }
.how { display: grid; gap: 18px; }
.how-item { display: flex; gap: 16px; }
.how-item b { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--sand-200); color: var(--brown-800); display: grid; place-items: center; }
.how-item h4 { font-size: 17px; margin-bottom: 2px; }
.how-item p { margin: 0; color: var(--muted); font-size: 15px; }
.ideas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.ideas img { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; }
.done { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 30px 10px; }
.done .ic { width: 64px; height: 64px; padding: 14px; border-radius: 50%; background: #e3f2e6; color: #2f7a45; }
.done p { margin: 0; color: var(--muted); max-width: 420px; }
.done.big { padding: 80px 10px; }
.radio-cards { display: grid; gap: 10px; }
.radio-cards label { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; cursor: pointer; font-weight: 500; }
.radio-cards input { accent-color: var(--brown-700); width: 18px; height: 18px; }
.radio-cards small { display: block; color: var(--muted); font-weight: 400; }
#summary { position: sticky; top: 140px; }

/* ---------- استجابة ---------- */
@media (hover: none) {
  .quick-add { transform: none; inset-inline: auto; inset-inline-start: 10px; bottom: 10px; width: 42px; height: 42px; padding: 0; }
  .quick-add span { display: none; }
}
@media (max-width: 1240px) {
  .nav { gap: 18px; font-size: 14px; }
  .search { width: 210px; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .menu-btn { display: inline-grid; }
  .nav { display: none; }
  .header-in { grid-template-columns: auto 1fr auto; height: 88px; }
  .menu-btn { grid-column: 1; grid-row: 1; }
  .brand { grid-column: 2; }
  .brand img { height: 72px; }
  .header-tools .search { display: none; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-collage { height: 540px; }
  .stamp { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; grid-auto-rows: 260px; }
  .tile.lg { grid-column: span 2; grid-row: span 1; height: 380px; }
  .hdr-a-in { height: 70px; gap: 10px; justify-content: space-between; }
  .brand-h img { height: 40px; }
  .brand-h span { font-size: 20px; letter-spacing: 5px; }
  .sc-grid { grid-template-columns: 1fr; gap: 26px; }
  .sc-stage { order: -1; height: 460px; }
  .hero-slider { height: 660px; }
  .hero-slider .slide { align-items: flex-end; }
  .hero-slider .media { width: 100%; height: 58%; bottom: auto; }
  .hero-slider .slide::after { background: linear-gradient(to top, var(--bg, var(--sand-100)) 0%, var(--bg, var(--sand-100)) 44%, transparent 60%); }
  .hero-slider .slide .txt { padding: 0 32px 90px; }
  .hero-slider { --pad: 32px; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .promo-duo { grid-template-columns: 1fr; }
  .trust-in { grid-template-columns: repeat(2, 1fr); }
  .trust-in span:nth-child(3) { border-inline-start: 0; }
  .qatar-in { grid-template-columns: 1fr; }
  .qatar-media { min-height: 340px; order: -1; }
  .qatar-txt { padding: 40px 32px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pd, .two-col { grid-template-columns: 1fr; gap: 28px; }
  .pd-media, #summary { position: static; }
  .insta { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .hide-sm { display: none !important; }
  .topbar-in { font-size: 12px; }
  .hero { padding-top: 24px; }
  .hero p { font-size: 16px; }
  .hero-collage { height: 420px; gap: 10px; }
  .hc-main { border-radius: var(--radius); }
  .hc-top, .hc-bottom { border-radius: var(--radius); }
  .hc-tag { font-size: 12px; padding: 6px 10px; bottom: 8px; inset-inline-start: 8px; }
  .hero-actions .btn { flex: 1; }
  .btn { height: 50px; padding: 0 20px; }
  .marquee span { font-size: 17px; }
  .section { padding: 52px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .tabs { width: 100%; overflow-x: auto; }
  .cats { display: flex; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; }
  .cat-card { flex: 0 0 42%; scroll-snap-align: start; padding: 14px; border-radius: var(--radius); }
  .cat-card b { font-size: 18px; }
  .showcase { padding-top: 16px; }
  .sc-stage { height: 360px; border-radius: var(--radius); }
  .sc-tag { inset-inline: 12px; bottom: 12px; justify-content: space-between; padding: 10px 10px 10px 14px; }
  .tag-add { width: 44px; height: 44px; }
  .sc-text h1 { font-size: 36px; }
  .sc-text p { font-size: 16px; }
  .sc-list { display: flex; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scroll-snap-type: x mandatory; }
  .sc-item { flex: 0 0 72%; scroll-snap-align: start; }
  .hero-slider { height: 620px; --pad: 20px; }
  .hero-slider .media { height: 50%; }
  .hero-slider .slide .txt { padding: 0 20px 80px; gap: 12px; }
  .hero-slider h1, .hero-slider h2 { font-size: 32px; }
  .hero-slider p { font-size: 15px; }
  .slider-ui { bottom: 22px; }
  .slider-ui .arrows button { width: 40px; height: 40px; }
  .trust-in span { font-size: 12px; padding: 12px 6px; gap: 6px; }
  .row { padding: 32px 0; }
  .promo { min-height: 190px; padding: 24px; }
  .promo h3 { font-size: 24px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .card { gap: 10px; }
  .card h3 { font-size: 15px; }
  .price { font-size: 15px; }
  .dots { display: none; }
  .wish { width: 34px; height: 34px; top: 8px; inset-inline-end: 8px; }
  .badge { top: 8px; inset-inline-start: 8px; font-size: 11px; padding: 4px 10px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .tile.lg, .tile.wide { grid-column: auto; height: auto; }
  .tile h3, .tile.lg h3 { font-size: 24px; }
  .qatar-band { border-radius: var(--radius); }
  .qatar-txt { padding: 30px 22px; }
  .mini-list { grid-template-columns: 1fr; }
  .qatar-media { min-height: 260px; }
  .features { grid-template-columns: 1fr 1fr; gap: 28px 10px; }
  .feature .f-ic { width: 62px; height: 62px; }
  .feature b { font-size: 17px; }
  .feature span { font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .panel { padding: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .chips button { flex: none; }
  .toolbar-end { justify-content: space-between; }
}

/* ---------- ظل خفيف وحركة ناعمة ---------- */
.card-media, .cat-card, .promo, .sc-stage, .pd-main, .panel, .tile, .insta a { box-shadow: var(--shadow); }
.card { transition: transform .35s ease; }
.card:hover { transform: translateY(-3px); }
.card:hover .card-media { box-shadow: 0 2px 4px rgba(51, 36, 26, .05), 0 10px 24px rgba(51, 36, 26, .08); }
.btn, .icon-btn, .tag-add, .add-btn, .wish { transition: transform .2s ease, background .2s, color .2s, box-shadow .2s; }
.btn:active, .tag-add:active, .wish:active { transform: scale(.97); }
.btn-primary:hover { box-shadow: 0 6px 16px rgba(51, 36, 26, .12); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.sc-text > * { animation: fadeUp .7s ease both; }
.sc-text > *:nth-child(2) { animation-delay: .08s; }
.sc-text > *:nth-child(3) { animation-delay: .16s; }
.sc-text > *:nth-child(4) { animation-delay: .24s; }
.sc-text > *:nth-child(5) { animation-delay: .32s; }
.sc-stage { animation: fadeIn .9s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.cart-count.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
