/* فيلان — الهوية الرسمية المعتمدة: ذهبي + أوف وايت + تيفاني + كحلي. الكحلي والذهبي من
   الموقع/الشعار الأصليين، والتيفاني لون ثانوي (Tiffany Blue) للمسات التمييز، على خلفية
   محايدة فاتحة (أوف وايت) بدل الكريمي الدافئ السابق. خط العلامة الحقيقي "Din Next Arabic"
   (ملف المستخدم نفسه) لكل النصوص — وزن Regular بس، فالعناوين الغامقة تعتمد على التغميق
   الصناعي بالمتصفح (font-weight) بدل ملف Bold منفصل غير متوفر. */
@font-face {
  font-family: 'Din Next Arabic';
  src: url('/fonts/DINNextLTArabic-Regular.ttf') format('truetype');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --navy: #064b90;
  --navy-dark: #033257;
  --ink: #1b2430;
  --ink-soft: #5c6b7a;
  --cream: #f7f7f5;
  --card: #ffffff;
  --gold: #ad7d36;
  --gold-bright: #ffd98d;
  --gold-soft: #fbf0dc;
  --tiffany: #0abab5;
  --tiffany-dark: #078f8b;
  --tiffany-soft: #e2f7f6;
  --line: #e3e6e8;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 17.5px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Din Next Arabic', 'IBM Plex Sans Arabic', 'Tajawal', system-ui, sans-serif;
  text-align: start;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, .display { font-family: 'Din Next Arabic', 'IBM Plex Sans Arabic', sans-serif; font-weight: 700; }
.container { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
section { padding-block: 72px; }
@media (max-width: 640px) {
  section { padding-block: 40px; }
}
.eyebrow {
  display: inline-block; color: var(--gold); font-weight: 700; font-size: .98rem;
  letter-spacing: .05em; margin-bottom: .7rem; white-space: nowrap;
}
h2.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--navy); margin: 0 0 .5rem; text-wrap: balance; }
p.section-lead { color: var(--ink-soft); font-size: 1.05rem; max-width: 620px; line-height: 1.9; margin: 0 0 2.5rem; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem; border-radius: 50px; padding: .85rem 1.9rem;
  font-weight: 700; font-size: .95rem; cursor: pointer; border: 2px solid transparent; transition: all .2s ease;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: #241a00; }
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }

/* ===== الهيدر ===== */
header.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: transparent; backdrop-filter: none;
  border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
header.site-header.is-scrolled {
  background: rgba(250,246,239,.92); backdrop-filter: blur(6px); border-bottom-color: var(--line);
}
header.site-header .bar { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; gap: 1rem; }
header.site-header .logo img { height: 42px; width: auto; }
header.site-header nav { display: flex; gap: 1.8rem; font-weight: 700; font-size: .92rem; color: #fff; transition: color .25s ease; }
header.site-header.is-scrolled nav { color: var(--navy); }
header.site-header nav a { opacity: .85; }
header.site-header nav a:hover { opacity: 1; color: var(--gold); }
.header-cta { display: flex; align-items: center; gap: .7rem; }
header.site-header .header-cta .btn-outline { border-color: rgba(255,255,255,.55); color: #fff; transition: all .25s ease; }
header.site-header .header-cta .btn-outline:hover { background: #fff; color: var(--navy); }
header.site-header.is-scrolled .header-cta .btn-outline { border-color: var(--navy); color: var(--navy); }
header.site-header.is-scrolled .header-cta .btn-outline:hover { background: var(--navy); color: #fff; }
@media (max-width: 760px) { header.site-header nav { display: none; } }
@media (max-width: 480px) {
  header.site-header .header-cta .sales-points { display: none; }
  header.site-header .header-cta .lang-switch { padding: .35rem .7rem !important; font-size: .72rem !important; }
}

/* ===== البطل (Hero) ===== */
.hero {
  position: relative; overflow: hidden; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff; padding-block: 90px 60px;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.hero .eyebrow { color: var(--gold-bright); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin: 0 0 1.1rem; text-wrap: balance; }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,.85); max-width: 480px; margin: 0 0 2rem; line-height: 1.95; }
.hero .cta-row { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero .art { position: relative; }
.hero .art img { border-radius: 24px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); }
.hero .art::before {
  content: ''; position: absolute; inset: -20px -20px auto auto; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(212,175,55,.35), transparent 70%); z-index: -1;
}
@media (max-width: 860px) { .hero .container { grid-template-columns: 1fr; text-align: center; } .hero p { margin-inline: auto; } .hero .cta-row { justify-content: center; } }

/* بانر يملأ عرض القسم بالكامل، والنص يطفو فوقه مباشرة (أبيض بظل خفيف) تماماً زي الموقع
   الأصلي — بدل ما ينزل النص تحت الصورة بخلفية منفصلة. */
.hero.hero-has-banner { background: none; padding: 0; }
.hero-banner-wrap { position: relative; width: 100%; min-height: clamp(380px, 52vw, 620px); overflow: hidden; }
.hero-banner-full { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-banner-overlay {
  position: relative; z-index: 2; min-height: clamp(380px, 52vw, 620px);
  display: flex; align-items: center; padding-top: 90px;
  /* النص يبدأ من "البداية المنطقية" (يمين بالعربي RTL، يسار بالإنجليزي LTR) فالتظليل الغامق
     لازم يطابق نفس الجهة في كل لغة — افتراضي RTL (غامق يمين)، ومعكوس صراحة لصفحة LTR تحت. */
  background: linear-gradient(to left, rgba(6,21,43,.72) 0%, rgba(6,21,43,.35) 55%, transparent 85%);
}
html[dir="ltr"] .hero-banner-overlay {
  background: linear-gradient(to right, rgba(6,21,43,.72) 0%, rgba(6,21,43,.35) 55%, transparent 85%);
}
.hero-has-banner .container { display: block; }
.hero-banner-text { max-width: 540px; color: #fff; }
.hero-banner-text .eyebrow { color: var(--gold-bright); }
.hero-banner-text h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.2rem); margin: 0 0 1rem; color: #fff; text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0,0,0,.4);
}
.hero-banner-text p {
  font-size: 1.05rem; color: rgba(255,255,255,.92); margin: 0 0 1.8rem; line-height: 1.9;
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
}
.hero-banner-text .cta-row { display: flex; gap: .9rem; flex-wrap: wrap; }
@media (max-width: 640px) {
  .hero-banner-overlay { background: linear-gradient(180deg, rgba(6,21,43,.78) 0%, rgba(6,21,43,.4) 60%, transparent 100%); align-items: flex-end; padding-top: 0; padding-bottom: 2rem; min-height: calc(clamp(380px, 52vw, 620px) + 80px); }
  .hero-banner-text { max-width: 100%; }
  .hero-banner-wrap { min-height: calc(clamp(380px, 52vw, 620px) + 80px); }
}
.hero-has-banner .cta-row.hero-banner-cta { display: flex; justify-content: center; gap: .9rem; flex-wrap: wrap; margin-top: 1.8rem; }

/* ===== شريط الإحصائيات ===== */
.stats-strip { background: var(--card); margin-top: -40px; position: relative; z-index: 3; padding-block: 0; }
.stats-strip .container { display: grid; grid-template-columns: repeat(var(--stat-count, 2), 1fr); gap: 1px; background: var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 45px -25px rgba(6,75,144,.35); }
.stats-strip .stat { background: var(--card); padding: 2rem 1.5rem; text-align: center; }
.stats-strip .stat .num { font-family: 'Din Next Arabic', sans-serif; font-size: 2.6rem; color: var(--navy); font-weight: 700; }
.stats-strip .stat .label { color: var(--ink-soft); font-size: .92rem; margin-top: .3rem; }
@media (max-width: 560px) {
  .stats-strip { margin-top: -16px; }
  .stats-strip .container { grid-template-columns: 1fr; }
  .stats-strip .stat { padding: 1.5rem 1.2rem; }
  .stats-strip .stat .num { font-size: 2rem; }
  .stats-strip .stat .label { font-size: .85rem; margin-top: .35rem; line-height: 1.5; }
}

/* ===== شهادات واعتمادات (الصفحة الرئيسية) ===== */
.certs-section { background: var(--cream); padding-block: 70px; text-align: center; }
.certs-section .section-lead { max-width: 640px; margin-inline: auto; }
.certs-row { display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch; gap: 1.2rem; margin-top: 2.4rem; }
.certs-row .badge-chip { height: 84px; width: 100%; }
.certs-row .badge-chip img { max-width: 100%; }
@media (max-width: 760px) {
  .certs-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .certs-section { padding-block: 48px; }
  .certs-row { gap: .9rem; }
  .certs-row .badge-chip { height: 68px; padding: .6rem .9rem; }
}

/* ===== التوصيل ===== */
.delivery { text-align: center; border-top: 1px solid var(--line); }
.delivery .apps-row { display: flex; justify-content: center; align-items: flex-start; gap: 1.4rem; flex-wrap: wrap; margin-top: 2rem; }
.delivery .apps-row a {
  display: flex; flex-direction: column; align-items: center; gap: .5rem; width: 96px; text-decoration: none;
}
.delivery .apps-row .app-icon {
  display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 22px;
  background: var(--card); border: 1px solid var(--line); transition: all .2s ease; padding: 16px; overflow: hidden;
}
.delivery .apps-row a:hover .app-icon { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(173,125,54,.5); }
.delivery .apps-row img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.delivery .apps-row .app-name { font-size: .78rem; font-weight: 700; color: var(--ink-soft); text-align: center; }
@media (max-width: 640px) {
  .delivery .apps-row { gap: 1rem .7rem; }
  .delivery .apps-row a { width: calc(33.333% - .6rem); }
  .delivery .apps-row .app-icon { width: 100%; height: auto; aspect-ratio: 1 / 1; padding: 12px; border-radius: 16px; }
  .delivery .apps-row .app-name { font-size: .68rem; }
}

/* ===== الخريطة ===== */
.map-section { background: var(--card); border-top: 1px solid var(--line); }
.map-section .container { display: grid; grid-template-columns: .95fr 1.05fr; gap: 3rem; align-items: center; }
.map-section .map-art img { border-radius: var(--radius); border: 6px solid var(--card); box-shadow: 0 25px 55px -30px rgba(6,75,144,.4); }
@media (max-width: 860px) { .map-section .container { grid-template-columns: 1fr; } .map-section .map-art { order: -1; } }

/* ===== اكتشف فيلان ===== */
.discover { border-top: 1px solid var(--line); }
.discover .container { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: center; }
.discover .photo img { border-radius: var(--radius); box-shadow: 0 25px 55px -30px rgba(0,0,0,.25); }
.discover-frame { position: relative; }
.discover-frame::after {
  content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold); border-radius: var(--radius); z-index: -1;
}
@media (max-width: 860px) { .discover .container { grid-template-columns: 1fr; } .discover .photo { order: -1; max-width: 360px; margin: 0 auto 1rem; } }

/* ===== مختارات فيلان ===== */
.products { background: var(--card); border-top: 1px solid var(--line); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; }
.product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem;
  display: flex; flex-direction: column; gap: .7rem; transition: all .2s ease;
}
.product-card:hover { border-color: var(--tiffany); box-shadow: 0 20px 40px -26px rgba(10,186,181,.35); transform: translateY(-3px); }
.product-card-media { position: relative; border-radius: 12px; aspect-ratio: 4/3; overflow: hidden; margin-bottom: .3rem; }
.product-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.product-card-img-alt { opacity: 0; }
.product-card:hover .product-card-img-alt { opacity: 1; }
.product-card h3 { margin: 0; font-size: 1.2rem; color: var(--navy); }
.product-card p {
  margin: 0; color: var(--ink-soft); font-size: .92rem; flex: 1; line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card .price {
  align-self: flex-start; background: var(--gold-soft); color: var(--gold); font-weight: 800; border-radius: 50px;
  padding: .35rem 1rem; font-size: .95rem; font-family: 'Din Next Arabic', sans-serif;
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .product-card { padding: .9rem .8rem; gap: .4rem; border-radius: 14px; }
  .product-card h3 { font-size: .9rem; }
  .product-card p { font-size: .74rem; line-height: 1.55; -webkit-line-clamp: 4; }
  .product-card .price { font-size: .76rem; padding: .3rem .75rem; }
}

/* ===== فيلان تختلف ===== */
.features { background: var(--navy); color: #fff; }
.features .eyebrow { color: var(--gold-bright); }
.features h2 { color: #fff; }
.features p.section-lead { color: rgba(255,255,255,.75); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; }
.feature-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.8rem; }
.feature-card .icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--tiffany-soft); color: var(--tiffany-dark);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.feature-card .icon svg { width: 26px; height: 26px; }
.feature-card h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
.feature-card p { margin: 0; color: rgba(255,255,255,.75); font-size: .93rem; line-height: 1.8; }

/* ===== تواصل معنا ===== */
.contact { border-top: 1px solid var(--line); }
.contact .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: start; }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.contact-form .field { margin-bottom: 1.1rem; }
.contact-form label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: .4rem; color: var(--navy); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .8rem 1rem; border-radius: 10px; border: 1px solid var(--line); font-family: inherit;
  font-size: .95rem; background: var(--cream); color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .error { color: #b3261e; font-size: .82rem; margin-top: .3rem; }
.contact-form .success-banner {
  background: #e8f5ea; color: #1f7a33; border: 1px solid #b7e0bf; border-radius: 10px; padding: .9rem 1.1rem;
  margin-bottom: 1.2rem; font-weight: 700; font-size: .92rem;
}
.contact-info { padding-top: .5rem; }
.contact-info .row { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; font-weight: 700; color: var(--navy); }
.contact-info .row .ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft); color: var(--gold);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.social-row { display: flex; gap: .7rem; margin-top: 1.5rem; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; display: flex;
  align-items: center; justify-content: center; transition: all .2s ease;
}
.social-row a:hover { background: var(--gold); color: #241a00; }
@media (max-width: 860px) { .contact .container { grid-template-columns: 1fr; } }

/* ===== الفوتر ===== */
footer.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.75); padding-block: 3.2rem 0; font-size: .92rem; }
footer.site-footer a { color: inherit; opacity: .85; text-decoration: none; }
footer.site-footer a:hover { opacity: 1; color: var(--gold-bright); }

.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.4rem;
  padding-bottom: 2.6rem; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-col h4 { color: #fff; font-size: 1rem; margin: 0 0 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.footer-col ul a { font-size: .88rem; }
.footer-contact-list a { display: inline-flex; align-items: center; gap: .55rem; }
.footer-contact-list svg { flex-shrink: 0; opacity: .85; }

.footer-brand img { height: 38px; opacity: .95; margin-bottom: 1rem; }
.footer-brand p { font-size: .86rem; line-height: 1.85; opacity: .75; margin: 0 0 1.3rem; max-width: 34ch; }
.footer-social { display: flex; gap: .7rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); transition: background .2s;
}
.footer-social a:hover { background: var(--gold); color: #fff; }

.footer-legal-col .legal-line { display: flex; flex-direction: column; gap: .15rem; font-size: .85rem; margin: 0 0 .9rem; opacity: .85; }
.footer-legal-col .legal-label { font-size: .76rem; opacity: .65; }

.footer-badges { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.4rem; padding-block: 2.2rem; }
.badge-chip {
  background: #fff; border-radius: 12px; padding: .55rem 1rem; display: flex; align-items: center; justify-content: center;
  height: 52px; box-shadow: 0 8px 20px -10px rgba(0,0,0,.35); cursor: pointer;
  transition: transform .18s, box-shadow .18s; opacity: 1;
}
.badge-chip:hover { transform: translateY(-3px); box-shadow: 0 12px 26px -10px rgba(0,0,0,.45); opacity: 1; }
.badge-chip img { height: 100%; width: auto; max-width: 150px; object-fit: contain; }

.footer-bottom {
  display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center;
  padding-block: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem;
}
.footer-credit { font-size: .76rem; opacity: .6; }
.footer-credit a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.4rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: none; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand img { margin-inline: auto; }
  .footer-social { justify-content: center; }
  .footer-contact-list a { justify-content: center; }
  .footer-legal-col .legal-line { align-items: center; }
  .badge-chip { height: 44px; }
}

/* ===== صفحات عامة (من نحن، سياسة الخصوصية، وأي صفحة تُضاف لاحقًا) ===== */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%); color: #fff;
  padding-block: 92px 28px; text-align: start;
}
.page-hero .container { max-width: 760px; }
.page-hero-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .9rem; }
.page-breadcrumb { display: inline-block; font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.65); white-space: nowrap; }
.page-breadcrumb:hover { color: var(--gold-bright); }
.page-hero h1 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; text-wrap: balance; }
.page-body-section { padding-block: 56px 90px; }
.page-card {
  max-width: 780px; margin: -16px auto 0; position: relative; z-index: 2; background: var(--card);
  border-radius: var(--radius); box-shadow: 0 25px 55px -30px rgba(6,75,144,.3); padding: 2.6rem;
}
.page-block { padding-block: 1.4rem; border-top: 1px solid var(--line); }
.page-block:first-child { padding-top: 0; border-top: none; }
.page-block h3 { margin: 0 0 .6rem; font-size: 1.15rem; color: var(--navy); }
.page-block p { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.95; white-space: pre-line; }
.page-block:first-child p { font-size: 1.2rem; font-weight: 700; color: var(--navy); line-height: 1.75; }
.page-rich { color: var(--ink-soft); font-size: 1rem; line-height: 1.95; }
.page-rich > *:first-child { margin-top: 0; }
.page-rich > *:last-child { margin-bottom: 0; }
.page-rich p { margin: 0 0 1.2rem; }
.page-rich h1, .page-rich h2, .page-rich h3, .page-rich h4 { color: var(--navy); line-height: 1.5; margin: 1.8rem 0 .8rem; }
.page-rich h1 { font-size: 1.5rem; }
.page-rich h2 { font-size: 1.3rem; }
.page-rich h3 { font-size: 1.15rem; }
.page-rich ul, .page-rich ol { margin: 0 0 1.2rem; padding-inline-start: 1.4rem; }
.page-rich li { margin-bottom: .5rem; }
.page-rich a { color: var(--gold); text-decoration: underline; }
.page-rich a:hover { color: var(--gold-bright); }
.page-rich blockquote { margin: 0 0 1.2rem; padding-inline-start: 1.1rem; border-inline-start: 3px solid var(--gold-soft); color: var(--ink-soft); font-style: italic; }
.page-rich strong { color: var(--ink); }
@media (max-width: 640px) {
  .page-hero { padding-block: 88px 24px; }
  .page-card { padding: 1.6rem; margin-top: -12px; }
}

/* ===== صفحة تفاصيل المنتج ===== */
.product-detail-grid {
  max-width: 960px; margin: -16px auto 0; position: relative; z-index: 2;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.4rem; align-items: start;
}
.product-detail-media {
  background: var(--card); border-radius: var(--radius); box-shadow: 0 25px 55px -30px rgba(6,75,144,.3);
  overflow: hidden; position: sticky; top: 100px; padding-bottom: 1px;
}
.product-detail-media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.product-detail-thumbs-wrap { position: relative; }
.product-detail-thumbs {
  display: flex; gap: .7rem; padding: .9rem; overflow-x: auto; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.product-detail-thumbs::-webkit-scrollbar { display: none; }
.product-thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; flex-shrink: 0; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-thumb.active { border-color: var(--gold); }
.thumbs-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--navy); display: flex; align-items: center;
  justify-content: center; cursor: pointer; box-shadow: 0 6px 16px -8px rgba(6,75,144,.4); z-index: 2;
  transition: opacity .2s ease, visibility .2s ease;
}
.thumbs-arrow:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.thumbs-arrow[hidden] { display: none; }
.thumbs-arrow-left { left: 2px; }
.thumbs-arrow-right { right: 2px; }
.thumbs-arrow svg { width: 16px; height: 16px; }
.product-detail-info { background: var(--card); border-radius: var(--radius); box-shadow: 0 25px 55px -30px rgba(6,75,144,.3); padding: 2.2rem; min-width: 0; }
.product-detail-info > .price {
  display: inline-block; background: var(--gold-soft); color: var(--gold); font-weight: 800; border-radius: 50px;
  padding: .45rem 1.3rem; font-size: 1.1rem; margin-bottom: 1.2rem;
}
.product-detail-desc { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.9; margin: 0 0 2rem; }

.product-order-box { margin-bottom: 2rem; }
.product-order-box h2 { margin: 0 0 1rem; font-size: 1.1rem; color: var(--navy); }
.product-order-apps { display: flex; flex-wrap: wrap; gap: .9rem .7rem; }
.product-order-apps a { display: flex; flex-direction: column; align-items: center; gap: .35rem; width: 58px; text-decoration: none; }
.product-order-apps .app-icon {
  display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line); transition: all .2s ease; padding: 8px; overflow: hidden;
}
.product-order-apps a:hover .app-icon { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 14px 24px -16px rgba(173,125,54,.5); }
.product-order-apps img { width: 100%; height: 100%; object-fit: contain; border-radius: 7px; }
.product-order-apps .app-name { font-size: .66rem; font-weight: 700; color: var(--ink-soft); text-align: center; white-space: nowrap; }
.product-order-pos { margin-top: 1rem; width: 100%; justify-content: center; padding: .6rem 1rem; font-size: .85rem; }

.nutrition-box { border: 2px solid var(--navy); border-radius: 12px; padding: 1.3rem 1.5rem; margin-bottom: 2rem; }
.nutrition-box h2 { margin: 0 0 .6rem; font-size: 1.3rem; color: var(--navy); border-bottom: 8px solid var(--navy); padding-bottom: .5rem; }
.nutrition-calories {
  display: flex; align-items: baseline; justify-content: space-between; border-bottom: 4px solid var(--navy);
  padding: .5rem 0; margin-bottom: .3rem; font-weight: 800; color: var(--navy);
}
.nutrition-calories strong { font-size: 1.6rem; }
.nutrition-table-head {
  display: flex; justify-content: space-between; font-size: .76rem; font-weight: 700; color: var(--ink-soft);
  border-bottom: 1px solid var(--line); padding-bottom: .3rem; margin-bottom: .2rem;
}
.nutrition-row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.nutrition-row span:first-child { color: var(--ink); }
.nutrition-row strong { color: var(--navy); }
.nutrition-row span:last-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.nutrition-row-meta { font-weight: 700; border-bottom: 1px solid var(--navy); }
.nutrition-footnote { font-size: .74rem; color: var(--ink-soft); line-height: 1.7; margin: .8rem 0 0; }

.ingredients-box h2 { margin: 0 0 .6rem; font-size: 1.15rem; color: var(--navy); }
.ingredients-box p { margin: 0; color: var(--ink-soft); font-size: .96rem; line-height: 1.9; }

.product-meta-box { background: var(--cream); border-radius: 12px; padding: 1rem 1.3rem; margin-top: 1.5rem; }
.product-meta-row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.product-meta-row:last-child { border-bottom: none; }
.product-meta-row span:first-child { color: var(--ink-soft); }
.product-meta-row span:last-child { font-weight: 700; color: var(--ink); }

.allergens-box { background: #fdf3e2; border: 1px solid #f0d9a8; border-radius: 12px; padding: 1.1rem 1.3rem; margin-top: 1.5rem; }
.allergens-box h2 { margin: 0 0 .4rem; font-size: 1.05rem; color: #8a5a00; }
.allergens-box p { margin: 0; color: #8a5a00; font-size: .92rem; line-height: 1.8; }

@media (max-width: 860px) {
  .product-detail-grid { grid-template-columns: 1fr; margin-top: -12px; }
  .product-detail-media { position: static; }
  .product-detail-info { padding: 1.6rem; }
}

/* ===== عام ===== */
.wa-fab {
  position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -14px rgba(37,211,102,.7);
}
.wa-fab svg { width: 28px; height: 28px; }
