/* =========================================================
   D's RECIPE — متجر عناية بالبشرة
   ثيم أنيق: بني قهوي فاتح + كراميل ذهبي + وردي فاتح
   ========================================================= */

:root {
  --green: #B57D60;      /* البني الأساسي: العناوين، الأزرار، الأقسام الغامقة */
  --green-2: #B57D60;    /* بني أفتح: تدرّج الأزرار واللمسات الثانوية */
  --gold: #c6a15b;       /* الكراميل الذهبي: التاجات، النجوم، الأرقام، الخطوط */
  --cream: #F8E8EC;      /* خلفية الصفحة (الوردي الفاتح) */
  --cream-2: #F8E8EC;    /* وردي أغمق شوية: خلفيات ثانوية وحقول ونوافذ */
  --ink: #B57D60;        /* لون النص الأساسي */
  --muted: #B57D60;      /* لون النص الثانوي (الوصف) */
  --white: #ffffff;      /* خلفية الكروت وصور المنتجات (أبيض نقي) */
  --radius: 18px;
  --shadow: 0 10px 30px rgba(90, 64, 48, .09);
  --shadow-lg: 0 18px 50px rgba(90, 64, 48, .16);
  --font: "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* ============ الأزرار ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(90, 64, 48, .25);
}
.btn--primary:hover { background: var(--green-2); }

.btn--outline {
  border-color: var(--green);
  color: var(--green);
  background: transparent;
}
.btn--outline:hover { background: rgba(90, 64, 48, .06); }

.btn--ghost {
  border-color: var(--gold);
  color: var(--green);
  background: rgba(198, 161, 91, .12);
}

.btn--sm { padding: .55rem 1.2rem; font-size: .92rem; }
.btn--block { width: 100%; }

/* ============ الشريط العلوي ============ */
.topbar {
  background: var(--green);
  color: #f7e9e4;
  text-align: center;
  font-size: .88rem;
  padding: .45rem 1rem;
}

/* ============ الهيدر ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 240, 241, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(90, 64, 48, .08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .8rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--green);
}
.logo__mark { width: 38px; height: 38px; }
.logo__text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
}
.logo__text--light { color: var(--white); font-size: 1.6rem; }

.logo__img {
  height: 52px;
  width: auto;
  display: block;
  background: var(--white);
  border-radius: 12px;
  padding: 5px 9px;
  border: 1px solid rgba(90, 64, 48, .1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}
.logo__img--lg {
  height: 70px;
  padding: 8px 12px;
  border: none;
}

.nav { display: flex; gap: 1.6rem; font-weight: 500; }
.nav a { position: relative; padding-block: .2rem; color: var(--ink); }
.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.nav a:hover::after { transform: scaleX(1); }

/* ============ البطل ============ */
.hero {
  padding-block: 4.5rem 3.5rem;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(198, 161, 91, .18);
  color: var(--green);
  font-weight: 700;
  font-size: .9rem;
  padding: .35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--green);
}
.highlight {
  position: relative;
  color: var(--gold);
}
.highlight::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: .1em;
  height: .28em;
  background: rgba(198, 161, 91, .3);
  z-index: -1;
}

.hero__sub {
  margin-top: 1.1rem;
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.8rem;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.8rem;
  font-size: .95rem;
  color: var(--green-2);
  font-weight: 500;
}

/* البصرية */
.hero__visual {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
}
.hero__blob {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  background: linear-gradient(140deg, #f7dfe3, #fbeae2);
  animation: blob 12s ease-in-out infinite alternate;
}
@keyframes blob {
  from { border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; }
  to   { border-radius: 56% 44% 44% 56% / 44% 58% 42% 56%; }
}
.hero__logo {
  position: relative;
  width: min(380px, 86%);
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(90, 64, 48, .3));
}
.hero__card {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: .6rem 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  font-size: .9rem;
  color: var(--green);
  z-index: 2;
}
.hero__card p { margin: 0; }
.hero__card-emoji { font-size: 1.3rem; }
.hero__card--1 { top: 12%; inset-inline-start: 4%; animation: float 5s ease-in-out infinite; }
.hero__card--2 { bottom: 14%; inset-inline-end: 2%; animation: float 5s ease-in-out infinite reverse; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ============ صور العارضة (سلايدر) ============ */
.models-strip {
  position: relative;
  overflow: hidden;
  background: var(--green);
  padding-block: 1.6rem;
}
.models-strip__viewport {
  position: relative;
  height: clamp(260px, 42vw, 560px);
}
.models-strip__slide {
  position: absolute;
  inset: 0;
  margin: auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .34);
  opacity: 0;
  transform: scale(.98);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}
.models-strip__slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.models-strip__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--green);
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background .2s ease, color .2s ease;
}
.models-strip__nav:hover { background: var(--gold); color: var(--white); }
.models-strip__nav--prev { right: 1.2rem; }
.models-strip__nav--next { left: 1.2rem; }
@media (prefers-reduced-motion: reduce) {
  .models-strip__slide { transition: none; }
}

/* ============ المزايا ============ */
.features { padding-block: 1rem 3.5rem; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .2s ease;
}
.feature:hover { transform: translateY(-5px); }
.feature__icon { font-size: 1.9rem; display: block; margin-bottom: .6rem; }
.feature h3 { font-size: 1.05rem; color: var(--green); margin-bottom: .3rem; }
.feature p { font-size: .9rem; color: var(--muted); }

/* ============ ترويسات الأقسام ============ */
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--green);
  position: relative;
  display: inline-block;
  padding-bottom: .5rem;
}
.section-head h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 50%;
  transform: translateX(50%);
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
}
.section-head p { color: var(--muted); margin-top: .7rem; }

/* ============ المنتجات ============ */
.products { padding-block: 3rem 4rem; }
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card__visual {
  position: relative;
  overflow: hidden;
  height: 190px;
  display: grid;
  place-items: center;
}
.product-card__visual svg { width: 84px; height: 84px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.12)); }

.visual--mint     { background: linear-gradient(135deg, #f7e2e5, #eed3d6); }
.visual--peach    { background: linear-gradient(135deg, #fbe3d6, #f5cbb6); }
.visual--lavender { background: linear-gradient(135deg, #f9e6e7, #efd6d8); }
.visual--sand     { background: linear-gradient(135deg, #f6ecd7, #ecd9b4); }
.visual--rose     { background: linear-gradient(135deg, #f9dfe4, #f2c2cc); }
.visual--sage     { background: linear-gradient(135deg, #f8e5e6, #eed5d7); }

/* صور المنتجات الحقيقية */
.visual--photo {
  position: relative;
  overflow: hidden;
  background: var(--white);
  padding: 0;
}
.visual--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--white);
}
.visual--photo-cover img { object-fit: cover; }

.product-card__body {
  padding: 1.3rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  background: var(--white);
  border-top: 1px solid rgba(90, 64, 48, .1);
}
.product-card__tag {
  position: absolute;
  top: -14px;
  inset-inline-start: 1.4rem;
  background: var(--gold);
  color: #3f2c1c;
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .8rem;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(198, 161, 91, .5);
}
.product-card__body h3 { font-size: 1.12rem; color: var(--green); }
.product-card__body > p {
  font-size: .92rem;
  color: var(--muted);
  margin-top: .4rem;
  flex: 1;
}
.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(90, 64, 48, .15);
}
.price { font-size: 1.45rem; font-weight: 800; color: var(--green); }
.price small { font-size: .85rem; font-weight: 500; color: var(--muted); }

/* سعر قبل الخصم — مشطوب وباهت */
.price-wrap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .45rem;
}
.price__was {
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
  opacity: .55;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  white-space: nowrap;
}
.price__was small { font-size: .68rem; font-weight: 400; }
.price.price--request {
  font-size: .95rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.3;
}
/* كروت المنتجات المتاحة في دولة واحدة — لازم تتخفي بجد */
.product-card[hidden] { display: none !important; }

/* ============ كيف نطلب ============ */
.how {
  background: var(--green);
  color: #faeceb;
  padding-block: 4rem;
}
.how .section-head h2 { color: var(--white); }
.how .section-head p { color: #dcc3b6; }
.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: #3f2c1c;
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.step h3 { color: var(--white); margin-bottom: .4rem; }
.step p { font-size: .93rem; color: #e8d3c8; }

/* ============ عن المتجر ============ */
.about { padding-block: 4.5rem; }
.about__inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 3rem;
  align-items: center;
}
.about__content h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--green);
  font-weight: 800;
  margin-bottom: 1rem;
}
.about__content > p { color: var(--muted); font-size: 1.05rem; }
.about__list {
  margin-block: 1.4rem 1.8rem;
  display: grid;
  gap: .5rem;
  font-weight: 500;
  color: var(--green-2);
}

.about__stats {
  display: grid;
  gap: 1rem;
}
.stat {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.3rem 1.5rem;
  display: flex;
  align-items: baseline;
  gap: .8rem;
}
.stat strong { font-size: 1.9rem; color: var(--gold); font-weight: 800; }
.stat span { color: var(--muted); font-weight: 500; }

/* ============ تواصل وحسابات المتجر ============ */
.about__contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0, 0, 0, .08);
}
.about__contact h3 {
  font-size: 1.15rem;
  color: var(--green);
  font-weight: 800;
  margin-bottom: 1rem;
}
.about__contact-list { display: grid; gap: .7rem; }
.about__contact-list a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--muted);
  font-weight: 600;
  transition: color .2s ease;
}
.about__contact-list a:hover { color: var(--gold); }
.about__contact-list .ic { font-size: 1.1rem; line-height: 1; }
.about__contact-list small {
  color: var(--gold);
  font-weight: 700;
  font-size: .72rem;
  background: rgba(0, 0, 0, .05);
  padding: .1rem .45rem;
  border-radius: 999px;
}

/* ============ الأسئلة الشائعة ============ */
.faq { padding-block: 1rem 4.5rem; }
.faq__inner { max-width: 760px; }
.faq__item {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: .9rem;
  overflow: hidden;
}
.faq__item summary {
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-weight: 700;
  color: var(--green);
  list-style: none;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 1.4rem;
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform .2s ease;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item p {
  padding: 0 1.4rem 1.2rem;
  color: var(--muted);
  font-size: .95rem;
}

/* ============ الفوتر ============ */
.footer {
  background: #3b2a1e;
  color: #e8d3c8;
  padding-top: 3.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer__brand p { margin-top: .8rem; font-size: .95rem; max-width: 26rem; }
.footer__col { display: grid; gap: .55rem; align-content: start; }
.footer__col h4 { color: var(--white); font-size: 1.05rem; margin-bottom: .3rem; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
  padding-block: 1.1rem;
  font-size: .88rem;
}

/* ============ زر الواتساب العائم ============ */
.wa-float {
  position: fixed;
  bottom: 22px;
  inset-inline-start: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .45);
  z-index: 60;
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ============ نافذة الطلب ============ */
.order-dialog {
  border: none;
  border-radius: 22px;
  padding: 0;
  width: min(430px, 92vw);
  box-shadow: var(--shadow-lg);
}
.order-dialog::backdrop {
  background: rgba(59, 42, 30, .55);
  backdrop-filter: blur(3px);
}

.order-form {
  padding: 2rem 1.8rem 1.6rem;
  display: grid;
  gap: .95rem;
  position: relative;
}
.order-form h3 { color: var(--green); font-size: 1.4rem; }

.order-dialog__close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--cream-2);
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
}
.order-dialog__close:hover { background: #f0dcdd; }

.order-form__product {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  background: var(--cream);
  border-radius: 12px;
  padding: .75rem 1rem;
}
.order-form__product strong { color: var(--green); font-size: .98rem; }
.order-form__product span { color: var(--gold); font-weight: 800; white-space: nowrap; }

.field { display: grid; gap: .35rem; }
.field > span { font-weight: 700; font-size: .92rem; color: var(--green); }
.field input,
.field textarea {
  font-family: var(--font);
  font-size: 1rem;
  padding: .7rem .95rem;
  border: 1.5px solid #ecd6d8;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  transition: border-color .15s ease;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(90, 64, 48, .12);
}
.field__hint { color: var(--muted); font-size: .8rem; }

.order-form__error {
  background: #fdeceb;
  color: #b3261e;
  border-radius: 10px;
  padding: .55rem .9rem;
  font-size: .88rem;
  font-weight: 500;
}
.order-form__secure {
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
}

/* ============ خيارات الدفع ============ */
.pay-options { border: none; padding: 0; margin: 0; min-width: 0; }
.pay-options legend {
  font-weight: 700;
  font-size: .92rem;
  color: var(--green);
  padding: 0;
  margin-bottom: .45rem;
}
.pay-chip { position: relative; display: block; }
.pay-chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.pay-chip span {
  display: block;
  border: 1.5px solid #ecd6d8;
  border-radius: 12px;
  padding: .6rem .95rem;
  font-size: .93rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--white);
  transition: border-color .15s ease, background .15s ease;
}
.pay-chip + .pay-chip { margin-top: .5rem; }
.pay-chip input:checked + span {
  border-color: var(--green);
  background: rgba(90, 64, 48, .07);
  color: var(--green);
  font-weight: 700;
}
.pay-chip input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(90, 64, 48, .2);
}

/* ============ رسالة التأكيد (النجاح) ============ */
.order-form[hidden],
.order-success[hidden] { display: none; }

.order-success {
  padding: 2.2rem 1.6rem 1.6rem;
  text-align: center;
  display: grid;
  gap: .8rem;
}
.order-success__icon { font-size: 3.2rem; line-height: 1; }
.order-success h3 { color: var(--green); font-size: 1.4rem; }
.order-success > p { color: var(--muted); font-size: .97rem; }
.order-success__list {
  background: var(--cream);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  display: grid;
  gap: .5rem;
  text-align: center;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
}
.order-success__list li { padding-block: .1rem; }

/* ============ زر السلة بالهيدر ============ */
.header__actions { display: flex; align-items: center; gap: .8rem; }

.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(90, 64, 48, .18);
  background: var(--white);
  color: var(--green);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cart-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cart-btn__count {
  position: absolute;
  top: -6px;
  inset-inline-start: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold);
  color: #3f2c1c;
  font-size: .72rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}
.cart-btn__count[hidden] { display: none; }

/* ============ أزرار بطاقة المنتج ============ */
.product-card__foot { flex-wrap: wrap; }
.product-card__actions {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .5rem;
}
.product-card__actions .btn { white-space: nowrap; }

/* ============ نافذة السلة ============ */
.cart-dialog {
  border: none;
  border-radius: 22px;
  padding: 0;
  width: min(470px, 92vw);
  box-shadow: var(--shadow-lg);
}
.cart-dialog::backdrop {
  background: rgba(59, 42, 30, .55);
  backdrop-filter: blur(3px);
}
.cart {
  position: relative;
  padding: 1.9rem 1.6rem 1.6rem;
  display: grid;
  gap: 1rem;
}
.cart h3 {
  color: var(--green);
  font-size: 1.35rem;
  padding-inline-end: 2rem;
}
.cart__items {
  display: grid;
  gap: .7rem;
  max-height: 46vh;
  overflow-y: auto;
}
.cart__empty { text-align: center; color: var(--muted); padding: .6rem 0 1rem; }
.cart__empty[hidden],
.cart__foot[hidden] { display: none; }

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  background: var(--cream);
  border: 1px solid rgba(90, 64, 48, .08);
  border-radius: 14px;
  padding: .7rem .9rem;
}
.cart-item__info { display: grid; gap: .15rem; min-width: 0; }
.cart-item__info strong { font-size: .88rem; color: var(--green); line-height: 1.45; }
.cart-item__info span { font-size: .83rem; color: var(--muted); font-weight: 700; }
.cart-item__qty {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
}
.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(90, 64, 48, .2);
  background: var(--white);
  color: var(--green);
  font-weight: 800;
  cursor: pointer;
}
.qty-btn:hover { background: var(--cream-2); }
.qty-val {
  min-width: 22px;
  text-align: center;
  font-weight: 800;
  font-size: .92rem;
}
.cart-item__remove {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1rem;
  opacity: .55;
  padding: .2rem;
}
.cart-item__remove:hover { opacity: 1; }
.cart__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed rgba(90, 64, 48, .25);
  padding-top: .9rem;
  font-weight: 700;
}
.cart__total strong {
  color: var(--green);
  font-size: 1.25rem;
  font-weight: 800;
}

/* ============ الاستجابة (Responsive) ============ */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__actions, .hero__points { justify-content: center; }
  .hero__visual { min-height: 320px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; }
  .about__contact { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .header__cta { display: none; }
  .features__grid { grid-template-columns: 1fr; }
  .products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { padding-block: 3rem 2rem; }
  .hero__card { font-size: .8rem; padding: .45rem .75rem; }
}

/* =========================================================
   VISUAL REFRESH — لمسات مستوحاة من Glam Station
   نفس الهيكل ونفس الـ palette (بني قهوي / كراميل / وردي فاتح) — تحسينات شكلية فقط
   ========================================================= */

:root {
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow-soft: 0 6px 18px rgba(90, 64, 48, .06);
  --shadow-card: 0 14px 38px rgba(90, 64, 48, .10);
  --shadow-card-hover: 0 28px 62px rgba(90, 64, 48, .17);
  --gold-ring: rgba(198, 161, 91, .38);
  --ease-out: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- الشريط العلوي ---------- */
.topbar {
  font-weight: 500;
  letter-spacing: .2px;
  background: linear-gradient(90deg, #3b2a1e, var(--green) 45%, #3b2a1e);
}

/* ---------- الهيدر ---------- */
.header { box-shadow: 0 4px 22px rgba(90, 64, 48, .06); }
.logo__img { transition: transform .3s var(--ease-out); }
.logo:hover .logo__img { transform: translateY(-2px) scale(1.03); }
.nav a { font-weight: 600; }
.nav a::after { height: 2px; border-radius: 2px; }

/* ---------- الأزرار ---------- */
.btn {
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out),
              background .25s var(--ease-out), color .25s var(--ease-out),
              border-color .25s var(--ease-out);
}
.btn--primary {
  background: linear-gradient(135deg, var(--green-2), var(--green) 60%);
  box-shadow: 0 10px 24px rgba(90, 64, 48, .26), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #8a6750, var(--green-2) 65%);
  box-shadow: 0 16px 34px rgba(90, 64, 48, .32);
}
.btn--outline {
  border-width: 1.5px;
  border-color: rgba(90, 64, 48, .35);
  background: rgba(255, 255, 255, .55);
}
.btn--outline:hover {
  border-color: var(--gold);
  background: rgba(198, 161, 91, .12);
}
.hero__actions .btn--primary::after {
  content: "←";
  font-size: 1.05em;
  line-height: 1;
  transition: transform .25s var(--ease-out);
}
.hero__actions .btn--primary:hover::after { transform: translateX(-4px); }

/* ---------- البطل ---------- */
.hero { position: relative; }
.hero::before {
  content: "";
  position: absolute;
  inset-inline-end: -12%;
  top: -18%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 161, 91, .16), transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; }
.badge {
  border: 1px solid var(--gold-ring);
  background: rgba(198, 161, 91, .14);
  letter-spacing: .2px;
  box-shadow: 0 4px 14px rgba(198, 161, 91, .18);
}
.hero h1 { letter-spacing: -.5px; }
.hero__sub { line-height: 1.85; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin-top: 1.5rem;
  font-size: .95rem;
  color: var(--muted);
  font-weight: 500;
}
.hero__stars {
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: .12em;
  filter: drop-shadow(0 2px 6px rgba(198, 161, 91, .45));
}
.hero__trust strong { color: var(--green); font-weight: 800; }

.hero__points { gap: 1rem 1.6rem; }
.hero__points li {
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(90, 64, 48, .07);
  border-radius: 999px;
  padding: .35rem .9rem;
  font-size: .88rem;
  color: var(--green-2);
  box-shadow: var(--shadow-soft);
}
.hero__card { border-radius: 18px; border: 1px solid rgba(198, 161, 91, .25); }

/* ---------- السلايدر ---------- */
.models-strip__slide { border-radius: 20px; }
.models-strip__nav { backdrop-filter: blur(4px); }

/* ---------- المزايا ---------- */
.features__grid { gap: 1.3rem; }
.feature {
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.3rem 1.6rem;
  border: 1px solid rgba(90, 64, 48, .06);
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.feature:hover { transform: translateY(-7px); box-shadow: var(--shadow-card); }
.feature__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto .9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: linear-gradient(150deg, rgba(198, 161, 91, .22), rgba(90, 64, 48, .07));
  border: 1px solid rgba(198, 161, 91, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}
.feature h3 { font-size: 1.08rem; }
.feature p { line-height: 1.75; }

/* ---------- ترويسات الأقسام ---------- */
.section-head h2 { letter-spacing: -.4px; padding-top: .1rem; }
.section-head h2::before {
  content: "✦";
  display: block;
  font-size: .78em;
  line-height: 1;
  color: var(--gold);
  margin-bottom: .45rem;
  opacity: .9;
}
.section-head h2::after { width: 64px; height: 2px; opacity: .85; }
.section-head p { max-width: 34rem; margin-inline: auto; line-height: 1.8; }

/* ---------- المنتجات ---------- */
.products { padding-block: 3.4rem 4.2rem; }
.products__grid { gap: 1.8rem; }

.product-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(90, 64, 48, .06);
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out),
              border-color .35s var(--ease-out);
}
.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(198, 161, 91, .45);
  box-shadow: var(--shadow-card-hover);
}

.product-card__visual { height: 210px; }
.visual--photo img { transition: transform .55s var(--ease-out); }
.product-card:hover .visual--photo img { transform: scale(1.06); }
/* تظليل خفيف أسفل الصورة — يتطبق على الخلفيات الملونة والصور المغطية فقط،
   مش على صور المنتجات ذات الخلفية البيضاء عشان تفضل بيضاء نقيّة */
.product-card__visual:not(.visual--photo)::after,
.product-card__visual.visual--photo-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(90, 64, 48, .07), transparent 45%);
  pointer-events: none;
}

.product-card__body { padding: 1.45rem 1.45rem 1.55rem; }
.product-card__tag {
  top: -13px;
  inset-inline-start: 1.45rem;
  background: linear-gradient(135deg, #d9b98a, var(--gold));
  color: #3f2c1c;
  letter-spacing: .2px;
  padding: .24rem .85rem;
  box-shadow: 0 6px 16px rgba(198, 161, 91, .45), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.product-card__body h3 { font-size: 1.14rem; line-height: 1.5; letter-spacing: -.2px; }

/* نجوم التقييم (تُضاف عبر JS) */
.rating {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: .5rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
}
.rating__stars {
  color: var(--gold);
  letter-spacing: .08em;
  font-size: .95rem;
  filter: drop-shadow(0 1px 3px rgba(198, 161, 91, .4));
}
.rating__val { color: var(--green); font-weight: 800; }
.product-card__body > p { margin-top: .55rem; line-height: 1.75; }

/* شارة الترتيب (تُضاف عبر JS) */
.rank-badge {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  z-index: 2;
  min-width: 38px;
  text-align: center;
  padding: .28rem .6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  border: 1px solid var(--gold-ring);
  color: var(--green);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .3px;
  box-shadow: 0 6px 16px rgba(90, 64, 48, .16);
  backdrop-filter: blur(4px);
}

.product-card__foot {
  margin-top: 1.15rem;
  padding-top: 1.05rem;
  border-top: 1px dashed rgba(90, 64, 48, .16);
  align-items: center;
}
.price { font-size: 1.5rem; letter-spacing: -.5px; }
.price small { font-size: .8rem; }
.product-card__actions { gap: .45rem; }
.product-card__actions .btn--sm { padding: .5rem 1rem; font-size: .86rem; }

/* ---------- كيف نطلب ---------- */
.how {
  background: linear-gradient(160deg, #4a3526, var(--green) 55%, #6b4d3a);
  position: relative;
  overflow: hidden;
}
.how::before {
  content: "";
  position: absolute;
  inset-inline-start: -140px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 161, 91, .18), transparent 65%);
  pointer-events: none;
}
.how .container { position: relative; z-index: 1; }
.how .section-head h2::before { color: var(--gold); }
.step {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .3s var(--ease-out), background .3s var(--ease-out),
              border-color .3s var(--ease-out);
}
.step:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .1);
  border-color: rgba(198, 161, 91, .45);
}
.step__num {
  box-shadow: 0 10px 22px rgba(0, 0, 0, .22), 0 0 0 6px rgba(198, 161, 91, .16);
  background: linear-gradient(140deg, #d9b98a, var(--gold));
}
.step h3 { font-size: 1.12rem; }

/* ---------- عن المتجر ---------- */
.about__content h2 { letter-spacing: -.4px; }
.about__list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  line-height: 1.7;
}
.stat {
  border-radius: var(--radius-md);
  border: 1px solid rgba(90, 64, 48, .06);
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.stat strong { font-size: 2rem; letter-spacing: -.5px; }
.about__contact-list a {
  border-radius: 999px;
  padding: .35rem .7rem;
  margin-inline-start: -.7rem;
  transition: background .25s var(--ease-out), color .25s var(--ease-out);
}
.about__contact-list a:hover { background: rgba(198, 161, 91, .14); color: var(--green); }

/* ---------- الأسئلة الشائعة ---------- */
.faq__item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(90, 64, 48, .07);
  box-shadow: var(--shadow-soft);
  transition: box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}
.faq__item:hover { border-color: var(--gold-ring); box-shadow: var(--shadow-card); }
.faq__item[open] { border-color: rgba(198, 161, 91, .5); }
.faq__item summary { padding: 1.15rem 1.5rem; }
.faq__item p { padding: 0 1.5rem 1.25rem; line-height: 1.8; }

/* ---------- الفوتر ---------- */
.footer { border-top: 3px solid var(--gold); }
.footer__col a { transition: color .2s ease, transform .2s ease; display: inline-block; }
.footer__col a:hover { transform: translateX(-3px); }
.footer__brand p { line-height: 1.85; }

/* ---------- زر الواتساب العائم ---------- */
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .55);
  animation: waPulse 2.6s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: .85; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ---------- النوافذ ---------- */
.order-dialog, .cart-dialog { border-radius: 26px; }
/* الـ reset العام بيصفّر margin — لازم نرجّع التوسيط */
.order-dialog,
.cart-dialog,
.country-dialog {
  margin: auto;
  max-height: calc(100dvh - 2rem);
  overflow: auto;
}
.order-form__product { border-radius: 14px; border: 1px solid rgba(198, 161, 91, .25); }
.order-form input, .order-form textarea { border-radius: 14px; }
.order-success__list { border: 1px solid rgba(198, 161, 91, .25); }

/* ---------- استجابة ---------- */
@media (max-width: 960px) {
  .hero__trust { justify-content: center; }
  .hero::before { inset-inline-end: 50%; transform: translateX(50%); opacity: .7; }
  .section-head p { max-width: 30rem; }
}

@media (max-width: 640px) {
  .models-strip__viewport { height: clamp(300px, 86vw, 460px); }
  .models-strip__nav { width: 36px; height: 36px; font-size: 1.25rem; }
  .models-strip__nav--prev { right: .6rem; }
  .models-strip__nav--next { left: .6rem; }
  .hero__points li { font-size: .82rem; padding: .3rem .75rem; }
  .feature { padding: 1.5rem 1.15rem 1.35rem; }
  .stat strong { font-size: 1.75rem; }

  /* منتجات الموبايل: اتنين جنب بعض بشكل مضغوط */
  .products__grid { gap: .75rem; }
  .product-card { border-radius: 16px; }
  .product-card:hover { transform: none; }
  .product-card__visual { height: 150px; }
  .product-card__body { padding: .8rem .7rem .85rem; }
  .product-card__tag {
    top: -11px;
    inset-inline-start: .7rem;
    font-size: .58rem;
    padding: .16rem .5rem;
    letter-spacing: 0;
  }
  .product-card__body h3 {
    font-size: .86rem;
    line-height: 1.45;
    letter-spacing: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-card__body > p {
    font-size: .74rem;
    line-height: 1.55;
    margin-top: .3rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-card__foot {
    flex-direction: column;
    align-items: stretch;
    gap: .45rem;
    margin-top: .65rem;
    padding-top: .6rem;
  }
  .price { font-size: 1.05rem; }
  .price small { font-size: .7rem; }
  .price-wrap { gap: .3rem; }
  .price__was { font-size: .78rem; }
  .price__was small { font-size: .58rem; }
  .product-card__actions {
    width: 100%;
    flex-direction: column;
    gap: .35rem;
  }
  .product-card__actions .btn {
    flex: none;
    width: 100%;
    padding: .45rem .4rem;
    font-size: .76rem;
    border-radius: 10px;
  }
}

/* ---------- احترام تقليل الحركة ---------- */
@media (prefers-reduced-motion: reduce) {
  .product-card, .product-card:hover,
  .feature, .feature:hover,
  .step, .step:hover,
  .stat, .stat:hover,
  .btn, .btn:hover,
  .visual--photo img, .product-card:hover .visual--photo img {
    transform: none !important;
    transition: none !important;
  }
  .wa-float::before { animation: none; display: none; }
  .hero__actions .btn--primary:hover::after { transform: none; }
}

/* =========================================================
   اختيار الدولة والعملة (السعودية / مصر)
   ========================================================= */

/* منع تمرير الخلفية أثناء نافذة اختيار الدولة */
body.no-scroll { overflow: hidden; }

/* زر الدولة في الهيدر */
.country-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(90, 64, 48, .16);
  background: var(--white);
  color: var(--green);
  font: inherit;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.country-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: var(--gold-ring);
}
.country-btn__flag { font-size: 1.05rem; line-height: 1; }
.country-btn__name { white-space: nowrap; }

/* نافذة الاختيار */
.country-dialog {
  border: none;
  border-radius: 26px;
  padding: 0;
  width: min(440px, 92vw);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.country-dialog::backdrop {
  background: rgba(59, 42, 30, .58);
  backdrop-filter: blur(3px);
}

.country-picker {
  padding: 2rem 1.7rem 1.6rem;
  display: grid;
  gap: .5rem;
  text-align: center;
}
.country-picker__eyebrow {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.country-picker h3 { color: var(--green); font-size: 1.45rem; }
.country-picker__sub { color: var(--muted); font-size: .92rem; line-height: 1.7; }

.country-picker__options { display: grid; gap: .65rem; margin-top: .9rem; }

.country-option {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: .85rem;
  text-align: start;
  padding: .85rem 1rem;
  border-radius: 18px;
  border: 1.5px solid rgba(90, 64, 48, .12);
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.country-option__flag { grid-row: 1 / span 2; font-size: 1.9rem; line-height: 1; }
.country-option strong { color: var(--green); font-size: 1.02rem; }
.country-option small { color: var(--muted); font-size: .8rem; }
.country-option:hover {
  border-color: var(--gold);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.country-option.is-current { border-color: var(--gold); background: #fdf3e6; }
.country-option:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.country-picker__note { color: var(--muted); font-size: .78rem; margin-top: .55rem; }

@media (max-width: 480px) {
  .country-btn { padding: .4rem .6rem; font-size: .78rem; }
  .country-btn__flag { font-size: .98rem; }
  .country-picker { padding: 1.6rem 1.2rem 1.3rem; }
  .country-picker h3 { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .country-btn, .country-btn:hover,
  .country-option, .country-option:hover {
    transform: none !important;
    transition: none !important;
  }
}
