/* الشهم: الموقع الكامل
   ألوان من الشعار: كحلي الجبل، رمادي الصنوبر، برتقالي الجمر */
:root {
  --night: #0E2740;
  --night-2: #17395A;
  --mist: #E3EBF1;
  --mist-2: #F2F6F9;
  --paper: #FFFFFF;
  --ember: #F59A57;
  --ember-deep: #B9501A;
  --pine: #55636E;
  --line: #D2DDE5;
  --ok: #2F7A55;
  --wa: #1F8F55;

  --display: "IBM Plex Sans Arabic", system-ui, sans-serif;  /* نفس خط القائمة: واضح ومقروء */
  --body: "IBM Plex Sans Arabic", system-ui, sans-serif;

  --r-s: 6px;
  --r-m: 12px;
  --r-l: 22px;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.7; color: var(--night); background: var(--mist-2); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ember); padding: 8px 14px; border-radius: var(--r-s); z-index: 50; }
.skip:focus { top: 12px; }
.h2 { font-family: var(--display); font-weight: 600; font-size: 1.6rem; line-height: 1.4; margin: 0 0 14px; }

/* ---------- أزرار ---------- */
.btn { border: 0; cursor: pointer; border-radius: var(--r-s); min-height: 48px; padding: 0 22px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn--ember { background: var(--ember); color: var(--night); }
.btn--night { background: var(--night); color: #fff; }
.btn--night:hover { background: var(--night-2); }
.btn--ghost { background: transparent; border: 1.5px solid var(--night); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.wa { background: var(--wa); color: #fff; }

/* ---------- الشريط العلوي ---------- */
.util { background: #091C2F; color: #C9D7E3; font-size: .85rem; }
.util__in { max-width: var(--wrap); margin: 0 auto; padding: 6px 16px; display: flex; justify-content: space-between; gap: 12px; }
.util p { margin: 0; }
.util__links { display: flex; gap: 18px; }
.util a { text-decoration: none; }
.util a:hover { color: var(--ember); }

.bar { position: sticky; top: 0; z-index: 30; background: var(--night); color: #fff; }
.bar__in { max-width: var(--wrap); margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand img { background: #fff; border-radius: 10px; padding: 3px; object-fit: contain; }
.brand span { font-family: var(--display); font-size: 1.45rem; font-weight: 700; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: var(--r-s); background: var(--night-2); cursor: pointer; place-items: center; }
.burger svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }

.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav li { position: relative; display: flex; align-items: center; }
.nav > ul > li > a { display: block; padding: 10px 10px; text-decoration: none; font-weight: 500; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav > ul > li > a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ember); }
.nav a[aria-current="page"] { font-weight: 700; }
.mega-toggle { border: 0; background: none; padding: 4px; margin-inline-start: -6px; cursor: pointer; display: grid; }
.mega-toggle svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; transition: rotate .15s; }
.has-mega.open .mega-toggle svg { rotate: 180deg; }
.mega {
  position: fixed; inset-inline: 0; top: var(--bar-bottom, 108px); background: var(--paper); color: var(--night);
  border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(14, 39, 64, .35);
  visibility: hidden; opacity: 0; transition: opacity .12s, visibility .12s;
}
.has-mega.open .mega { visibility: visible; opacity: 1; }
.mega__in { max-width: var(--wrap); margin: 0 auto; padding: 22px 16px; display: grid; grid-template-columns: 1fr 260px; gap: 24px; }
.mega__cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 16px; }
.mega__cats a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: var(--r-s); text-decoration: none; }
.mega__cats a:hover { background: var(--mist-2); }
.mega__cats img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--mist); }
.mega__dot { width: 34px; height: 34px; border-radius: 50%; background: var(--mist); }
.mega__cats em { font-style: normal; color: var(--pine); font-size: .8rem; margin-inline-start: auto; }
.mega__promo { background: var(--ember); border-radius: var(--r-m); padding: 20px; text-decoration: none; display: flex; flex-direction: column; justify-content: end; gap: 4px; }
.mega__promo strong { font-family: var(--display); font-size: 1.5rem; }

.search { position: relative; display: block; flex: 1; min-width: 160px; }
.search svg { position: absolute; inset-inline-start: 14px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; fill: none; stroke: var(--pine); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.search input { width: 100%; height: 44px; border: 0; border-radius: 999px; padding-inline: 44px 16px; background: #fff; color: var(--night); }
.search input::placeholder { color: #7D8A94; }

.kit-btn { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--ember); color: var(--night); font-weight: 600; cursor: pointer; }
.kit-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.kit-btn b { min-width: 24px; height: 24px; border-radius: 999px; background: var(--night); color: #fff; font-size: .8rem; display: grid; place-items: center; padding: 0 6px; }
.kit-btn.bump b { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }

/* قائمة الجوال */
.menu { margin: 0; margin-inline-start: 0; margin-inline-end: auto; height: 100dvh; max-height: 100dvh; width: min(360px, 88%); background: var(--paper); padding: 0 0 24px; overflow: auto; }
.menu[open] { animation: slideR .22s ease-out; }
@keyframes slideR { from { transform: translateX(24px); opacity: 0; } }
.menu__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--night); color: #fff; position: sticky; top: 0; }
.menu__nav, .menu__cats { list-style: none; margin: 0; padding: 8px 18px; }
.menu__nav a { display: block; padding: 12px 0; font-family: var(--display); font-size: 1.25rem; text-decoration: none; border-bottom: 1px solid var(--mist); }
.menu__nav a[aria-current="page"] { color: var(--ember-deep); }
.menu__h { margin: 14px 18px 0; color: var(--pine); font-weight: 600; font-size: .9rem; }
.menu__cats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.menu__cats a { display: block; padding: 8px 0; text-decoration: none; font-size: .92rem; }
.menu__contact { padding: 16px 18px 0; }
.menu__contact .btn { width: 100%; }

/* ---------- الهيرو بصورة خلفية ----------
   طبقة كحلية أغمق من جهة النص (اليمين) حتى يضل النص مقروء فوق الصورة */
.hero.hero--photo {
  background:
    linear-gradient(to left, rgba(9, 28, 47, .9) 0%, rgba(9, 28, 47, .75) 40%, rgba(9, 28, 47, .3) 72%, rgba(9, 28, 47, .1) 100%),
    url("assets/hero-winter-2000.webp") center / cover no-repeat var(--night);
}
@media (max-width: 1200px) {
  .hero.hero--photo { background-image: linear-gradient(to left, rgba(9, 28, 47, .9) 0%, rgba(9, 28, 47, .75) 40%, rgba(9, 28, 47, .3) 72%, rgba(9, 28, 47, .1) 100%), url("assets/hero-winter-1200.webp"); }
}
@media (max-width: 640px) {
  .hero.hero--photo { background-image: linear-gradient(to bottom, rgba(9, 28, 47, .82), rgba(9, 28, 47, .55)), url("assets/hero-winter-mobile.webp"); }
}
.hero.hero--photo .hero__in { padding-block: 72px 80px; }
.hero.hero--photo h1, .hero.hero--photo .hero__lead { text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
.hero.hero--photo .trip { background: rgba(9, 28, 47, .7); backdrop-filter: blur(4px); }

/* ---------- الواجهة الرئيسية ---------- */
.hero { position: relative; overflow: hidden; background: var(--night); color: #fff; }
.hero__topo { position: absolute; inset: 0; width: 100%; height: 100%; color: #2A5379; opacity: .9; }
.hero__in { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 56px 16px 64px; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.1rem, 5.4vw, 4.1rem); line-height: 1.25; margin: 0 0 14px; max-width: 14ch; }
.hero__lead { margin: 0 0 30px; max-width: 46ch; color: #C9D7E3; font-size: 1.08rem; }
.trips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 900px; }
.trip { display: block; text-decoration: none; text-align: start; cursor: pointer; border: 1.5px solid #34618A; background: rgba(14, 39, 64, .72); color: #fff; border-radius: var(--r-m); padding: 14px 16px; transition: border-color .15s, background .15s; }
.trip strong { display: block; font-family: var(--display); font-size: 1.2rem; font-weight: 600; }
.trip small { display: block; color: #A9BFD2; font-size: .85rem; line-height: 1.5; }
.trip:hover { border-color: var(--ember); background: var(--night-2); }

/* ---------- أقسام الصفحات ---------- */
.sec { max-width: var(--wrap); margin: 0 auto; padding: 44px 16px; }
.sec--paper { max-width: none; background: var(--paper); border-block: 1px solid var(--line); }
.sec--flush { padding-inline: 0; }
.sec__in { max-width: var(--wrap); margin: 0 auto; }
.sec--paper > .sec__in { padding: 0; }
.sec__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.sec__head .h2 { margin: 0; }
.more-link { font-weight: 600; color: var(--ember-deep); text-decoration: none; white-space: nowrap; }
.more-link:hover { text-decoration: underline; }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tile { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 18px 10px 14px; background: var(--paper); border: 1px solid #E4EBF0; border-radius: var(--r-m); text-decoration: none; height: 100%; }
.tile:hover { border-color: var(--night); }
.tile__img { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--mist); margin-bottom: 6px; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; }
.tile__name { font-weight: 600; line-height: 1.45; }
.tile__count { font-size: .8rem; color: var(--pine); }

/* ---------- صفوف المنتجات: سحب بالماوس وأسهم على الجنب ---------- */
.carousel { position: relative; }
[data-carousel] { scrollbar-width: none; cursor: grab; padding-bottom: 0; scroll-behavior: smooth; }
[data-carousel]::-webkit-scrollbar { display: none; }
[data-carousel].is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
[data-carousel].is-dragging a { pointer-events: none; }
[data-carousel] img { -webkit-user-drag: none; user-select: none; }
.carousel__btn {
  position: absolute; z-index: 2; top: 38%; translate: 0 -50%;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--paper); box-shadow: 0 6px 18px rgba(14, 39, 64, .22);
  display: grid; place-items: center; transition: background .15s;
}
.carousel__btn--prev { inset-inline-start: -20px; }
.carousel__btn--next { inset-inline-end: -20px; }
.carousel__btn svg { width: 22px; height: 22px; fill: none; stroke: var(--night); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.carousel__btn:hover:not([disabled]) { background: var(--night); }
.carousel__btn:hover:not([disabled]) svg { stroke: #fff; }
.carousel__btn[disabled] { opacity: 0; pointer-events: none; }
.carousel--static .carousel__btn { display: none; }
/* سلايدر الأقسام: الأسهم بنص المربعات */
.carousel:has(.tiles) .carousel__btn { top: 50%; }
@media (max-width: 1290px) { .carousel__btn--prev { inset-inline-start: 4px; } .carousel__btn--next { inset-inline-end: 4px; } }
/* أجهزة اللمس: السحب بالإصبع يكفي */
@media (hover: none) { .carousel__btn { display: none; } }

/* سلايدر الأقسام */
.slider__nav { display: flex; align-items: center; gap: 8px; }
.slider__nav .more-link { margin-inline-end: 8px; }
.slider__btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--night); background: var(--paper); cursor: pointer; display: grid; place-items: center; }
.slider__btn svg { width: 18px; height: 18px; fill: none; stroke: var(--night); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.slider__btn:hover:not([disabled]) { background: var(--night); }
.slider__btn:hover:not([disabled]) svg { stroke: #fff; }
.slider__btn[disabled] { opacity: .3; cursor: default; }
.tiles--slide {
  display: grid; grid-auto-flow: column; grid-template-columns: none;
  grid-auto-columns: calc((100% - 5 * 12px) / 6);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: 2px;
}
.tiles--slide::-webkit-scrollbar { display: none; }
.tiles--slide > li { scroll-snap-align: start; }

.rail { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.rail > li { scroll-snap-align: start; }

.promo { display: block; border-radius: var(--r-l); overflow: hidden; background: var(--mist); }
.promo img { width: 100%; height: auto; }

.story { background: var(--night); color: #fff; }
.story__in { max-width: var(--wrap); margin: 0 auto; padding: 52px 16px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.story__in--even { grid-template-columns: 1fr 1fr; }
.story__lead { font-size: 1.12rem; color: #D6E1EA; max-width: 52ch; margin: 0 0 22px; }
.story__vm { margin: 0; display: grid; gap: 18px; }
.story__vm div { border-inline-start: 3px solid var(--ember); padding-inline-start: 16px; }
.story__vm dt { font-family: var(--display); font-size: 1.25rem; font-weight: 600; }
.story__vm dd { margin: 4px 0 0; color: #C9D7E3; }

.guides { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.guide { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border-radius: var(--r-m); overflow: hidden; text-decoration: none; height: 100%; border: 1px solid #E4EBF0; }
.guide:hover { border-color: var(--night); }
.guide__img { aspect-ratio: 16 / 9; background: var(--mist-2); }
.guide__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 10px; }
.guide__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.guide__body strong { font-family: var(--display); font-size: 1.25rem; font-weight: 600; line-height: 1.45; }
.guide__body span { color: var(--pine); }
.guide__body em { font-style: normal; font-weight: 600; color: var(--ember-deep); margin-top: auto; }

.reach { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.reach p { margin: 0; color: var(--pine); }
.reach .h2 { margin-bottom: 4px; }
.reach__acts { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- قسم العرضين بالرئيسية ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.duo__card {
  position: relative; overflow: hidden; border-radius: var(--r-l); text-decoration: none; min-height: 300px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto; gap: 18px; padding: 30px 32px 26px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.duo__card:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -22px rgba(14, 39, 64, .55); }
.duo__card--eid { background: var(--night); color: #fff; }
.duo__card--deals { background: var(--ember); color: var(--night); }
.duo__text { position: relative; grid-column: 1 / -1; display: grid; gap: 8px; align-content: start; max-width: 34ch; }
.duo__text h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.2; }
.duo__text p { margin: 0; font-size: 1rem; opacity: .9; }
.duo__cta { justify-self: start; margin-top: 8px; font-weight: 700; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.duo__card--eid .duo__cta { color: var(--ember); }
.duo__thumbs { position: relative; grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.duo__thumbs li { display: grid; gap: 6px; }
.duo__img { position: relative; aspect-ratio: 1; background: #fff; border-radius: var(--r-m); overflow: hidden; display: block; }
.duo__img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.duo__img em { position: absolute; top: 6px; inset-inline-start: 6px; font-style: normal; font-size: .72rem; font-weight: 700; background: var(--ember); color: var(--night); border-radius: var(--r-s); padding: 1px 6px; }
.duo__card--deals .duo__img em { background: var(--night); color: #fff; }
.duo__thumbs b { font-size: .92rem; }
.duo__thumbs b small { font-weight: 500; opacity: .75; }
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } .duo__card { min-height: 0; padding: 24px 22px 20px; } }

/* ---------- رأس الصفحات الداخلية ---------- */
.phero { background: var(--night); color: #fff; background-image: repeating-radial-gradient(ellipse at 85% 140%, transparent 0 34px, rgba(52, 97, 138, .45) 35px 36px); }
.phero__in { max-width: var(--wrap); margin: 0 auto; padding: 26px 16px 36px; }
.phero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.3; margin: 0 0 6px; }
.phero__sub { margin: 0; color: #C9D7E3; max-width: 60ch; }
.phero__row { display: flex; align-items: center; gap: 18px; }
.phero__icon { width: 72px; height: 72px; border-radius: 50%; background: #fff; object-fit: cover; flex: 0 0 72px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: #A9BFD2; margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; }
.crumbs--dark { color: #6A3A15; }
.crumbs--dark a:hover, .crumbs--dark [aria-current] { color: var(--night); }

/* ---------- الأقسام والأدوات ---------- */
.cats { background: var(--paper); border-bottom: 1px solid var(--line); }
.cats__track { max-width: var(--wrap); margin: 0 auto; padding: 14px 16px; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.cat { flex: 0 0 auto; scroll-snap-align: start; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; white-space: nowrap; }
.cat img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--mist); }
.cat em { font-style: normal; color: var(--pine); font-size: .8rem; }
.cat[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: #fff; }
.cat[aria-pressed="true"] em { color: #A9BFD2; }

.catalog { max-width: var(--wrap); margin: 0 auto; padding: 24px 16px 64px; scroll-margin-top: 80px; }
.tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.tools__count { margin: 0; font-weight: 600; }
.tools__opts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chk { display: flex; align-items: center; gap: 6px; cursor: pointer; background: var(--paper); border: 1px solid var(--line); padding: 6px 12px; border-radius: var(--r-s); }
.chk input { accent-color: var(--night); width: 16px; height: 16px; }
.sel select { height: 40px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--paper); padding: 0 10px; }
.active { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.active:empty { display: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--mist); border: 0; border-radius: 999px; padding: 4px 12px; font-size: .88rem; cursor: pointer; }
.pill span { font-size: 1.1rem; line-height: 1; color: var(--pine); }

/* ---------- المتجر: سايد بار الفلاتر ---------- */
.shop { max-width: var(--wrap); margin: 0 auto; padding: 24px 16px 64px; display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; align-items: start; scroll-margin-top: 80px; }
/* بالكمبيوتر: السايد بار كامل بطوله وبينزل مع الصفحة، بدون سكرول داخلي */
.filters { display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid #E4EBF0; border-radius: var(--r-l); }
.filters__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 10px; }
.filters__head h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.3rem; }
.filters__close { display: none; }
.filters__body { padding: 0 18px; }
.filters__foot { padding: 12px 18px 16px; border-top: 1px solid var(--line); }
.filters__foot .btn { width: 100%; min-height: 40px; }
.filters__apply { display: none; }
.filters__backdrop { display: none; }
.fgroup { border-top: 1px solid var(--mist); padding: 4px 0 10px; }
.fgroup:first-child { border-top: 0; }
.fgroup summary { cursor: pointer; list-style: none; font-weight: 700; padding: 10px 0 6px; display: flex; justify-content: space-between; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after { content: "−"; color: var(--pine); font-weight: 400; }
.fgroup:not([open]) summary::after { content: "+"; }
.fsub { margin: 6px 0 2px; font-size: .8rem; color: var(--pine); font-weight: 600; }
.fopts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.fopt { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 8px; padding: 5px 6px; border-radius: var(--r-s); cursor: pointer; font-size: .92rem; }
.fopt:hover { background: var(--mist-2); }
.fopt input { width: 17px; height: 17px; accent-color: var(--night); margin: 0; }
.fopt:not(:has(.swatch)) { grid-template-columns: auto 1fr auto; }
.fopt__name { white-space: nowrap; }
.fopt__n { font-style: normal; font-size: .78rem; color: var(--pine); background: var(--mist-2); border-radius: 999px; padding: 0 7px; min-width: 22px; text-align: center; }
.fopt.is-empty { opacity: .45; }
.swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(14, 39, 64, .25); }
.fprice { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; }
.fprice label { display: grid; gap: 3px; font-size: .8rem; color: var(--pine); }
.fprice input { width: 100%; height: 38px; border: 1.5px solid var(--line); border-radius: var(--r-s); padding: 0 8px; background: var(--mist-2); color: var(--night); font-size: .95rem; }
.fprice input:focus { border-color: var(--night); outline: none; background: #fff; }
.fprice small { color: var(--pine); padding-bottom: 10px; }
.fpresets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fpresets button { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 3px 10px; font-size: .82rem; cursor: pointer; }
.fpresets button:hover { border-color: var(--night); }
.fpresets button[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: #fff; }
.filters__open { display: none; min-height: 40px; padding: 0 16px; }
.filters__open b { background: var(--ember); color: var(--night); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: .78rem; padding: 0 6px; }
.filters__open b[hidden] { display: none; }
.shop__main .tools { margin-bottom: 10px; }
.grid--shop { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
body.no-scroll { overflow: hidden; }

@media (max-width: 960px) {
  .shop { grid-template-columns: 1fr; }
  .filters { position: fixed; z-index: 70; top: 0; bottom: 0; inset-inline-start: 0; width: min(340px, 88vw); max-height: none;
    border-radius: 0; border: 0; transform: translateX(105%); transition: transform .22s ease; visibility: hidden; overflow: hidden; }
  /* بالجوال الدرج بطول الشاشة، فالسكرول جواته ضروري */
  .filters__body { flex: 1; overflow-y: auto; }
  .filters.is-open { transform: none; visibility: visible; }
  .filters__close { display: grid; }
  .filters__foot { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
  .filters__apply { display: inline-flex; }
  .filters__backdrop { display: block; position: fixed; inset: 0; z-index: 65; background: rgba(9, 24, 40, .55); }
  .filters__backdrop[hidden] { display: none; }
  .filters__open { display: inline-flex; }
}
@media (max-width: 640px) {
  .shop { padding-top: 16px; }
  .shop__main .tools { flex-direction: row; flex-wrap: wrap; }
  .shop__main .tools__opts { width: 100%; justify-content: space-between; }
  .grid--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- بطاقات المنتجات ---------- */
.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
/* عروض لا تُفوَّت: 12 منتج = 4 أعمدة × 3 صفوف */
.grid--deals { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid--deals { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--deals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card { background: var(--paper); border-radius: var(--r-m); display: flex; flex-direction: column; overflow: hidden; border: 1px solid #E4EBF0; height: 100%; }
.card__img { position: relative; aspect-ratio: 1; background: var(--mist-2); border: 0; padding: 0; cursor: pointer; display: block; width: 100%; }
.card__img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; mix-blend-mode: multiply; }
.tag { position: absolute; top: 10px; inset-inline-start: 10px; font-size: .78rem; font-weight: 700; padding: 2px 8px; border-radius: var(--r-s); }
.tag--sale { background: var(--ember); color: var(--night); }
.tag--out { background: var(--night); color: #fff; }
.card.is-out .card__img img { opacity: .45; }
.card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__name { margin: 0; font-size: .98rem; font-weight: 500; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.1em; }
.card__name button { all: unset; cursor: pointer; }
.card__name button:focus-visible { outline: 3px solid var(--ember); }
.card__row { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 8px; }
.card__save { margin: 0; font-size: .82rem; font-weight: 600; color: var(--ember-deep); }
.price { display: flex; flex-direction: column; line-height: 1.25; }
.price b { font-size: 1.12rem; font-weight: 700; }
.price b small { font-size: .75rem; font-weight: 500; color: var(--pine); margin-inline-start: 3px; }
.price s { color: var(--pine); font-size: .82rem; }
.price.is-sale b { color: var(--ember-deep); }
.price i { font-style: normal; font-size: .78rem; color: var(--pine); }
.add { flex: 0 0 auto; width: 42px; height: 42px; border-radius: var(--r-s); border: 0; cursor: pointer; background: var(--night); color: #fff; display: grid; place-items: center; font-size: 1.5rem; line-height: 1; }
.add:hover { background: var(--night-2); }
.add[disabled] { background: var(--mist); color: var(--pine); cursor: not-allowed; font-size: .75rem; width: auto; padding: 0 10px; }
.add.is-in { background: var(--ok); }
.more { display: flex; justify-content: center; margin-top: 28px; }
.more [hidden], .more button[hidden] { display: none; }
.empty { text-align: center; padding: 60px 16px; }
.empty p { font-family: var(--display); font-size: 1.4rem; margin: 0 0 14px; }

/* ---------- العروض ---------- */
.ohero { position: relative; overflow: hidden; background: var(--ember); color: var(--night); }
.ohero__topo { position: absolute; inset: 0; width: 100%; height: 100%; color: #E3803A; }
.ohero__in { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 30px 16px 48px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 32px; align-items: center; }
.ohero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1.1; margin: 0 0 14px; }
.ohero__lead { margin: 0; font-size: 1.08rem; max-width: 34ch; font-weight: 500; }
.spotlight { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; }
.spot { background: var(--paper); border-radius: var(--r-l); display: grid; grid-template-rows: auto 1fr; overflow: hidden; box-shadow: 0 18px 40px -18px rgba(14, 39, 64, .45); }
.spot__img { border: 0; padding: 0; cursor: pointer; background: var(--mist-2); aspect-ratio: 16 / 10; }
.spot__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.spot__info { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.spot__kicker { margin: 0; font-size: .85rem; font-weight: 600; color: var(--ember-deep); }
.spot h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.35rem; line-height: 1.4; }
.spot h2 button, .mini h3 button, .bundle li button { all: unset; cursor: pointer; }
.spot h2 button:focus-visible, .mini h3 button:focus-visible, .bundle li button:focus-visible { outline: 3px solid var(--ember); }
.spot__save { margin: 0; }
.spot__save b { font-size: 1.6rem; font-family: var(--display); }
.spot__row { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 8px; }
.spot__side { display: grid; gap: 14px; }
.mini { background: var(--paper); border-radius: var(--r-m); padding: 10px; display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; }
.mini__img { position: relative; border: 0; padding: 4px; cursor: pointer; background: var(--mist-2); border-radius: var(--r-s); aspect-ratio: 1; }
.mini__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mini__img .tag { top: 4px; inset-inline-start: 4px; }
.mini h3 { margin: 0 0 6px; font-size: .92rem; font-weight: 500; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.band { background: var(--mist-2); }
.band--paper { background: var(--paper); border-block: 1px solid var(--line); }
.band__in { max-width: var(--wrap); margin: 0 auto; padding: 32px 16px; }
.band__sub { margin: -6px 0 18px; color: var(--pine); max-width: 62ch; }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tier { cursor: pointer; text-align: start; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-m); padding: 14px 16px; display: grid; gap: 2px; }
.tier b { font-family: var(--display); font-size: 1.3rem; font-weight: 600; }
.tier span { color: var(--pine); font-size: .88rem; }
.tier:hover { border-color: var(--night); }
.tier[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: #fff; }
.tier[aria-pressed="true"] span { color: #A9BFD2; }
.bundles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.bundle { border: 1.5px solid var(--line); border-radius: var(--r-l); padding: 18px; display: flex; flex-direction: column; gap: 12px; background: var(--mist-2); }
.bundle h3 { margin: 0; font-family: var(--display); font-size: 1.3rem; font-weight: 600; }
.bundle ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bundle li { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; font-size: .9rem; }
.bundle li button { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bundle li img { width: 44px; height: 44px; flex: 0 0 44px; object-fit: contain; background: #fff; border-radius: var(--r-s); }
.bundle li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bundle__foot { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line); padding-top: 12px; }
.bundle__save { margin: 0; font-size: .85rem; color: var(--ember-deep); font-weight: 600; }

/* ---------- من نحن ---------- */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.prose p { margin: 0 0 14px; font-size: 1.06rem; max-width: 64ch; }
.prose h2 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; margin: 26px 0 8px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.facts li { background: var(--paper); border-radius: var(--r-m); padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; border: 1px solid #E4EBF0; }
.facts b { font-family: var(--display); font-size: 2rem; color: var(--ember-deep); min-width: 3ch; }
.facts span { color: var(--pine); }

/* ---------- التواصل ---------- */
.branches { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.branch { background: var(--paper); border: 1px solid #E4EBF0; border-radius: var(--r-l); padding: 22px; }
.branch h3 { margin: 0; font-family: var(--display); font-size: 1.4rem; font-weight: 600; }
.branch__tel { margin: 4px 0 16px; font-size: 1.2rem; font-weight: 600; text-align: end; direction: ltr; unicode-bidi: plaintext; }
.branch__acts { display: flex; gap: 10px; flex-wrap: wrap; }
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.form { display: grid; gap: 14px; background: var(--paper); border-radius: var(--r-l); padding: 22px; border: 1px solid #E4EBF0; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form input, .form select, .form textarea { font-weight: 400; border: 1.5px solid var(--line); border-radius: var(--r-s); padding: 10px 12px; background: var(--mist-2); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--night); outline: none; background: #fff; }
.form__err { margin: 0; color: var(--ember-deep); font-weight: 600; }
.form .btn { justify-self: start; }
.channels ul { list-style: none; margin: 0; padding: 0; }
.channels li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.channels span { color: var(--pine); }
.channels a { font-weight: 600; text-decoration: none; }
.channels a:hover { color: var(--ember-deep); }
.faq { display: grid; gap: 10px; max-width: 860px; }
.qa { background: var(--paper); border: 1px solid #E4EBF0; border-radius: var(--r-m); padding: 0 18px; }
.qa summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--pine); }
.qa[open] summary::after { content: "−"; }
.qa p { margin: 0 0 16px; color: #2E4458; }

/* ---------- السياسات والأدلة ---------- */
.policy { max-width: 900px; }
.policy-tabs { display: flex; gap: 8px; margin-bottom: 24px; }
.policy-tabs a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; }
.policy-tabs a[aria-current="true"] { background: var(--night); color: #fff; border-color: var(--night); }
.policy__list { margin: 0; padding-inline-start: 22px; display: grid; gap: 12px; }
.policy__list li { padding-inline-start: 6px; max-width: 70ch; }
.policy__list li::marker { color: var(--ember-deep); font-weight: 700; }
.policy__help { margin-top: 30px; padding: 16px 18px; background: var(--paper); border-radius: var(--r-m); border: 1px solid #E4EBF0; }
.policy__help a { color: var(--ember-deep); font-weight: 600; }
.article { max-width: 760px; margin: 0 auto; padding: 36px 16px 8px; }
.article h2 { font-family: var(--display); font-weight: 600; font-size: 1.45rem; margin: 26px 0 6px; }
.article h2:first-child { margin-top: 0; }
.article p { margin: 0; font-size: 1.08rem; line-height: 1.95; }

/* ---------- روابط البطاقات ---------- */
.card__name a { text-decoration: none; }
.card__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
a.card__img { text-decoration: none; }

/* ---------- صفحة المنتج ---------- */
.pp { max-width: var(--wrap); margin: 0 auto; padding: 20px 16px 8px; }
.crumbs--light { color: var(--pine); }
.crumbs--light a:hover { color: var(--night); }
.crumbs--light [aria-current] { color: var(--night); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.pp__media { position: sticky; top: 84px; }
.pp__main { position: relative; aspect-ratio: 1; background: var(--paper); border-radius: var(--r-l); border: 1px solid #E4EBF0; overflow: hidden; }
.pp__main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.pp__main .tag { top: 16px; inset-inline-start: 16px; font-size: .9rem; padding: 4px 10px; }
.pp__nav { position: absolute; top: 50%; translate: 0 -50%; inset-inline-start: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 10px rgba(14, 39, 64, .15); cursor: pointer; display: grid; place-items: center; }
.pp__nav--next { inset-inline-start: auto; inset-inline-end: 12px; }
.pp__nav svg { width: 20px; height: 20px; fill: none; stroke: var(--night); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pp__thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.pp__thumbs button { flex: 0 0 76px; height: 76px; padding: 4px; background: var(--paper); border: 2px solid var(--line); border-radius: var(--r-m); cursor: pointer; }
.pp__thumbs button[aria-current="true"] { border-color: var(--night); }
.pp__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pp__info { display: flex; flex-direction: column; gap: 14px; }
.pp__cats { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pp__cats a { font-size: .82rem; text-decoration: none; background: var(--mist); border-radius: 999px; padding: 2px 10px; }
.pp__cats a:hover { background: var(--line); }
.pp__info h1 { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.4; margin: 0; }
.pp__info .price b { font-size: 1.9rem; }
.pp__info .price s { font-size: 1rem; }
.pp__short { margin: 0; color: #2E4458; max-width: 60ch; }
.pp__buy { display: flex; gap: 10px; flex-wrap: wrap; }
.pp__add { flex: 1; min-width: 200px; }
.pp__wa { width: 100%; }
.pp__wa[hidden] { display: none; }
.pp__perks { list-style: none; margin: 4px 0 0; padding: 14px 16px; background: var(--paper); border: 1px solid #E4EBF0; border-radius: var(--r-m); display: grid; gap: 6px; font-size: .9rem; }
.pp__perks li { padding-inline-start: 18px; position: relative; }
.pp__perks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }
.pp__share { margin: 0; display: flex; gap: 18px; flex-wrap: wrap; font-size: .88rem; }
.pp__share button { border: 0; background: none; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pp__share a { color: var(--pine); }
.pp__details { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 36px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.pp__desc .prose h3 { font-family: var(--display); font-weight: 600; font-size: 1.2rem; margin: 22px 0 6px; }
.pp__desc .prose h3:first-child { margin-top: 0; }
.feats { margin: 0 0 14px; padding-inline-start: 20px; display: grid; gap: 6px; max-width: 64ch; }
.feats li::marker { color: var(--ember-deep); }
.pp__specs { background: var(--paper); border: 1px solid #E4EBF0; border-radius: var(--r-l); padding: 22px; align-self: start; }
.pp__specs dl { margin: 0; }
.pp__specs dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.pp__specs dl div:last-child { border-bottom: 0; }
.pp__specs dt { color: var(--pine); }
.pp__specs dd { margin: 0; font-weight: 600; }
/* ---------- التقييمات ---------- */
.stars { --s: 18px; position: relative; display: inline-block; width: calc(var(--s) * 5); height: var(--s); vertical-align: middle;
  background: var(--line);
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 21l1.6-7L2 9.3l7.1-.7z'/%3E%3C/svg%3E");
  -webkit-mask-image: var(--star); mask-image: var(--star);
  -webkit-mask-size: var(--s) var(--s); mask-size: var(--s) var(--s);
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x; }
.stars__fill { position: absolute; inset-block: 0; inset-inline-start: 0; background: var(--ember); }
.pp__rating { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--pine); text-decoration: none; margin-top: -6px; }
.pp__rating:hover span:last-child { text-decoration: underline; }

/* قسم التقييمات بعرض الصفحة كامل */
.rv { margin-top: 48px; background: var(--paper); border-block: 1px solid var(--line); scroll-margin-top: 80px; }
.rv:empty { display: none; }
.rv__in { max-width: var(--wrap); margin: 0 auto; padding: 40px 16px 48px; display: grid; gap: 24px; }
.rv__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rv__head .h2 { margin: 0; font-size: 1.9rem; }
.rv__head small { font-family: var(--body); font-size: 1rem; color: var(--pine); font-weight: 500; }
.rv__top { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr) minmax(0, 260px); gap: 32px; align-items: center;
  background: var(--mist-2); border-radius: var(--r-l); padding: 24px 28px; }
.rv__top--empty { grid-template-columns: minmax(0, 1fr) minmax(0, 260px); }
.rv__top .rv__empty { background: none; border: 0; padding: 0; }
.rv__cta { display: grid; gap: 8px; justify-items: start; border-inline-start: 1px solid var(--line); padding-inline-start: 28px; }
.rv__cta p { margin: 0; font-weight: 600; }
.rv__cta .btn { width: 100%; }
.rv__sum { display: flex; align-items: center; gap: 16px; }
.rv__avg { margin: 0; font-family: var(--display); font-size: 3.2rem; line-height: 1; font-weight: 700; }
.rv__sum .stars { --s: 22px; }
.rv__count { margin: 4px 0 0; color: var(--pine); font-size: .9rem; }
.rv__dist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .88rem; }
.rv__dist li { display: grid; grid-template-columns: 56px 1fr 24px; gap: 10px; align-items: center; }
.rv__bar { height: 8px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.rv__bar span { display: block; height: 100%; background: var(--ember); border-radius: 999px; }
.rv__dist li span:last-child { color: var(--pine); text-align: end; }
.rv__empty { background: var(--paper); border: 1px dashed var(--line); border-radius: var(--r-m); padding: 18px; }
.rv__empty p { margin: 0 0 4px; font-family: var(--display); font-size: 1.2rem; }
.rv__empty span { color: var(--pine); font-size: .92rem; }

.rv__form { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 32px; align-items: end;
  border: 1.5px solid var(--line); border-radius: var(--r-l); padding: 24px 28px; }
.rv__form[hidden] { display: none; }
.rv__text, .rv__err, .rv__submit { grid-column: 1 / -1; }
.rv__submit { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.rv__form label { display: grid; gap: 6px; font-weight: 600; }
.rv__form input:not([type="radio"]), .rv__form textarea { font-weight: 400; border: 1.5px solid var(--line); border-radius: var(--r-s); padding: 10px 12px; background: var(--mist-2); }
.rv__form input:focus, .rv__form textarea:focus { border-color: var(--night); outline: none; background: #fff; }
.rv__note { margin: 0; font-size: .8rem; color: var(--pine); flex: 1; min-width: 220px; }
.rate { border: 0; margin: 0; padding: 0; }
.rate legend { font-weight: 600; margin-bottom: 4px; padding: 0; }
/* النجوم بترتيب معكوس (5←1) حتى التلوين يمشي من البداية لحد النجمة المختارة */
.rate__stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rate__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate__stars label { font-size: 2rem; line-height: 1; color: var(--line); cursor: pointer; font-weight: 400; transition: color .1s; }
.rate__stars label:hover, .rate__stars label:hover ~ label,
.rate__stars input:checked ~ label { color: var(--ember); }
.rate__stars input:focus-visible + label { outline: 3px solid var(--ember); outline-offset: 2px; border-radius: 4px; }

.rv__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rv__list .rv__item { background: var(--mist-2); border-color: transparent; }
.rv__list:empty { display: none; }
.rv__item { background: var(--paper); border: 1px solid #E4EBF0; border-radius: var(--r-m); padding: 16px 18px; display: grid; gap: 8px; }
.rv__item p { margin: 0; color: #2E4458; white-space: pre-line; }
.rv__meta { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.rv__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--night); color: #fff; display: grid; place-items: center; font-weight: 700; }
.rv__meta strong { display: block; }
.rv__meta time { color: var(--pine); font-size: .82rem; }
.rv__tags { display: flex; gap: 6px; }
.rv__badge { font-style: normal; font-size: .75rem; background: #E3F2EA; color: var(--ok); border-radius: 999px; padding: 1px 8px; }
.rv__badge--local { background: var(--mist); color: var(--night); }
.rv__del { justify-self: start; border: 0; background: none; padding: 0; color: var(--ember-deep); cursor: pointer; font-size: .85rem; text-decoration: underline; }

.pp__missing { text-align: center; padding: 80px 16px; }
.pp__missing p { color: var(--pine); }

/* ---------- نافذة المنتج ---------- */
dialog { border: 0; padding: 0; color: var(--night); }
dialog::backdrop { background: rgba(9, 24, 40, .55); }
.pd { width: min(980px, calc(100% - 24px)); max-height: calc(100dvh - 24px); border-radius: var(--r-l); overflow: auto; }
.pd__grid { display: grid; grid-template-columns: 1.05fr 1fr; }
.pd__media { background: var(--mist-2); padding: 20px; position: sticky; top: 0; align-self: start; }
.pd__main { aspect-ratio: 1; }
.pd__main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pd__thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; }
.pd__thumbs button { flex: 0 0 64px; height: 64px; padding: 4px; background: #fff; border: 2px solid transparent; border-radius: var(--r-s); cursor: pointer; }
.pd__thumbs button[aria-current="true"] { border-color: var(--night); }
.pd__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd__info { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 14px; }
.pd__top { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.pd__cats { font-size: .85rem; color: var(--pine); margin: 0; }
.pd h2 { font-family: var(--display); font-weight: 600; font-size: 1.6rem; line-height: 1.4; margin: 0; }
.pd .price b { font-size: 1.6rem; }
.pd__savings { margin: 0; font-weight: 600; color: var(--ember-deep); }
.pd__stock { font-size: .9rem; font-weight: 600; margin: 0; }
.pd__stock.ok { color: var(--ok); }
.pd__stock.no { color: var(--ember-deep); }
.pd__desc { margin: 0; color: #2E4458; white-space: pre-line; max-height: 15em; overflow: auto; }
.opt { border: 0; padding: 0; margin: 0; }
.opt legend { font-weight: 600; margin-bottom: 6px; }
.opt div { display: flex; flex-wrap: wrap; gap: 6px; }
.opt label { cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: inline-block; border: 1.5px solid var(--line); border-radius: var(--r-s); padding: 4px 12px; }
.opt label.is-out span { color: var(--pine); text-decoration: line-through; border-style: dashed; }
.opt input:checked + span { border-color: var(--night); background: var(--night); color: #fff; }
.opt input:focus-visible + span { outline: 3px solid var(--ember); }
.pd__buy { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-s); height: 48px; }
.qty button { width: 40px; height: 100%; border: 0; background: none; font-size: 1.3rem; cursor: pointer; }
.qty output { min-width: 30px; text-align: center; font-weight: 600; }
.pd__src { font-size: .88rem; color: var(--pine); }
.x { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; border: 0; background: var(--mist); color: var(--night); font-size: 1.5rem; line-height: 1; cursor: pointer; }

/* ---------- عدّة الرحلة ---------- */
.kit { margin: 0; margin-inline-start: auto; height: 100dvh; max-height: 100dvh; width: min(440px, 100%); display: none; flex-direction: column; background: var(--paper); }
.kit[open] { display: flex; animation: slide .22s ease-out; }
@keyframes slide { from { transform: translateX(-24px); opacity: 0; } }
.kit__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.kit__head h2 { font-family: var(--display); font-weight: 600; margin: 0; font-size: 1.5rem; }
.kit__body { flex: 1; overflow: auto; padding: 8px 20px; }
.kit__group h3 { font-size: .85rem; color: var(--pine); font-weight: 600; margin: 16px 0 6px; }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.line img { width: 56px; height: 56px; object-fit: contain; background: var(--mist-2); border-radius: var(--r-s); }
.line p { margin: 0; font-size: .92rem; line-height: 1.5; }
.line small { color: var(--pine); }
.line .qty { height: 34px; }
.line .qty button { width: 30px; }
.line__end { display: flex; flex-direction: column; align-items: end; gap: 4px; font-weight: 600; }
.kit__empty { text-align: center; padding: 40px 10px; }
.kit__empty p { font-family: var(--display); font-size: 1.25rem; margin: 0 0 6px; }
.kit__empty small { color: var(--pine); display: block; margin-bottom: 16px; }
.kit__foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.kit__foot:empty { display: none; }
.kit__saved { display: flex; justify-content: space-between; color: var(--ember-deep); font-weight: 600; font-size: .95rem; }
.kit__total { display: flex; justify-content: space-between; font-size: 1.15rem; font-weight: 700; }
.kit__note { font-size: .82rem; color: var(--pine); margin: 0; }

/* ---------- الفوتر ---------- */
.promises { background: var(--paper); border-top: 1px solid var(--line); }
.promises__in { list-style: none; max-width: var(--wrap); margin: 0 auto; padding: 30px 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.promises strong { font-family: var(--display); font-size: 1.15rem; font-weight: 600; display: block; margin-bottom: 4px; }
.promises p { margin: 0; color: var(--pine); font-size: .92rem; }
.foot { background: var(--night); color: #C9D7E3; }
.foot__in { max-width: var(--wrap); margin: 0 auto; padding: 44px 16px 28px; display: grid; grid-template-columns: 1.4fr .9fr 1.4fr 1.1fr; gap: 32px; }
.foot__brand { font-family: var(--display); font-size: 1.6rem; color: #fff; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.foot__brand img { background: #fff; border-radius: 10px; padding: 3px; }
.foot__about p { margin: 0 0 12px; font-size: .92rem; }
.foot__pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.foot__pay b { background: rgba(255, 255, 255, .1); color: #fff; border-radius: var(--r-s); padding: 2px 10px; font-weight: 600; font-size: .85rem; }
.foot__h { color: #fff; font-weight: 700; margin: 0 0 10px; }
.foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; }
.foot__list--cols { grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.foot__list a { text-decoration: none; }
.foot__list a:hover { color: var(--ember); }
.foot__base { max-width: var(--wrap); margin: 0 auto; padding: 16px; border-top: 1px solid #23476A; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; color: #7F97AC; }
.foot__base p { margin: 0; }

.toast { position: fixed; bottom: 20px; left: 50%; translate: -50% 120px; background: var(--night); color: #fff; padding: 10px 18px; border-radius: 999px; z-index: 60; transition: translate .25s ease; pointer-events: none; }
.toast.show { translate: -50% 0; }

/* ---------- الشاشات المتوسطة ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: grid; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .promises__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .tiles--slide { grid-auto-columns: calc((100% - 3 * 12px) / 4); }
  .ohero__in, .story__in, .about, .contact { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .pp__grid, .pp__details { grid-template-columns: 1fr; gap: 24px; }
  .pp__media { position: static; }
  .pp__details { margin-top: 32px; }
  .rv__top, .rv__top--empty { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .rv__cta { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); padding-top: 16px; }
  .rv__form { grid-template-columns: 1fr; padding: 20px; }
  .rv__list { grid-template-columns: 1fr; }
  .rv__head .h2 { font-size: 1.5rem; }
  .pd__grid { grid-template-columns: 1fr; }
  .pd__media { position: static; }
  .trips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- الجوال ---------- */
@media (max-width: 640px) {
  .util__in > p:first-child { display: none; }
  .util__in { justify-content: center; }
  .bar__in { flex-wrap: wrap; gap: 10px; }
  .brand { margin-inline-end: auto; }
  .search { order: 5; flex-basis: 100%; }
  .kit-btn span { display: none; }
  .hero__in { padding: 34px 16px 40px; }
  .sec { padding: 32px 16px; }
  .rail { grid-auto-columns: 168px; gap: 10px; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tiles--slide { grid-template-columns: none; grid-auto-columns: calc((100% - 2 * 8px) / 3.3); }
  .slider__btn { display: none; }
  .tile { padding: 12px 6px 10px; }
  .tile__img { width: 56px; height: 56px; }
  .tile__name { font-size: .85rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card__body { padding: 10px; }
  .card__name { font-size: .9rem; }
  .tools { flex-direction: column; align-items: stretch; }
  .spotlight { grid-template-columns: 1fr; }
  .ohero__in { padding: 22px 16px 34px; gap: 20px; }
  .foot__in, .promises__in { grid-template-columns: 1fr; }
  .pd__info { padding: 20px 16px 24px; }
  .story__in { padding: 36px 16px; }
  .reach__acts .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
