/* ============================================================
   ميفوليس — GERMAN BRANDS | متجر أقراص فوار
   ============================================================ */

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 9999;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px;
  font-size: 14px; font-weight: 800; text-decoration: none;
  transform: translateY(-160%); transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); outline: 3px solid var(--teal); outline-offset: 2px; }

:root {
  --navy: #0b1f3a;
  --navy-2: #123152;
  --ink: #10233f;
  --muted: #6b7c93;
  --teal: #00a99d;
  --teal-dark: #00877e;
  --gold: #f7b733;
  --bg: #f6f8fb;
  --card: #ffffff;
  --line: #e6ebf2;
  --shadow-sm: 0 4px 18px rgba(11, 31, 58, .06);
  --shadow-md: 0 18px 45px rgba(11, 31, 58, .10);
  --shadow-lg: 0 28px 70px rgba(11, 31, 58, .16);
  --radius: 20px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

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

.icon { width: 20px; height: 20px; flex: 0 0 auto; }

/* ---------- شريط الإعلان ---------- */
.announce {
  background: linear-gradient(90deg, #081a30, #123154 50%, #081a30);
  color: #d8e7f5;
  font-size: 12px;
  font-weight: 600;
}
.announce-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.announce-inner span { display: inline-flex; align-items: center; gap: 6px; }
.announce-inner .icon { width: 15px; height: 15px; color: var(--gold); }
.announce-sep { width: 4px; height: 4px; border-radius: 50%; background: #4e6c8d; }

/* ---------- الهيدر ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(230, 235, 242, .95);
  transition: box-shadow .3s ease, background .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .97);
  border-color: rgba(0, 169, 157, .2);
  box-shadow: 0 10px 34px rgba(11, 31, 58, .10);
}

/* شبكة منظمة: هوية | تنقل | أدوات */
.nav-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

/* 1) الهوية */
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--teal), #007b86);
  color: #fff;
  font: 800 24px/1 Arial, sans-serif;
  box-shadow: 0 8px 18px rgba(0, 169, 157, .32);
}
.brand-mark span { color: var(--gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 19px; font-weight: 800; color: var(--navy); }
.brand-text small { font: 700 8.5px/1.4 Arial, sans-serif; letter-spacing: 2px; color: var(--muted); }

/* 2) التنقل — مجموعة ناعمة مع حالة نشطة واضحة */
.nav { justify-self: center; min-width: 0; }
.nav-list {
  display: flex; align-items: center; gap: 3px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(11, 31, 58, .045);
  border: 1px solid rgba(11, 31, 58, .055);
}
.nav-list li { display: flex; }
.nav-list a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 0 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: #40536d;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.nav-list a:hover { color: var(--teal-dark); background: rgba(0, 169, 157, .09); }
.nav-list a.active,
.nav-list a[aria-current="page"] {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: 0 6px 14px rgba(11, 31, 58, .2);
}
.nav-mobile-tools { display: none; }

/* 3) الأدوات */
.nav-actions { display: flex; align-items: center; gap: 10px; justify-self: end; }
.nav-divider { width: 1px; height: 26px; background: var(--line); flex: none; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(11,31,58,.06); border: 1px solid rgba(11,31,58,.08); }
.lang-switch a { display: inline-flex; align-items: center; gap: 5px; height: 27px; padding: 0 8px; border-radius: 999px; font-size: 10px; font-weight: 800; color: var(--muted); text-decoration: none; transition: .2s; }
.lang-flag { width: 18px; height: 12px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(11,31,58,.14); flex: none; }
.footer-langs a { display: inline-flex; align-items: center; gap: 6px; }
.lang-switch a:hover { color: var(--navy); background: rgba(11,31,58,.07); }
.lang-switch a.active { color: #fff; background: var(--navy); box-shadow: 0 3px 10px rgba(11,31,58,.2); }
.advisor-btn {
  display: inline-flex; align-items: center; gap: 7px;
  border-radius: 100px; padding: 10px 15px;
  background: linear-gradient(120deg, var(--teal-dark), var(--teal)); color: #fff;
  font-size: 12px; font-weight: 900; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, filter .25s ease, box-shadow .25s ease;
}
.advisor-btn .icon { width: 16px; height: 16px; }
.advisor-btn:hover { transform: translateY(-2px); filter: brightness(1.06); color: #fff; }
.advisor-btn.active { box-shadow: 0 0 0 3px rgba(0, 169, 157, .2), var(--shadow-sm); }
.icon-btn {
  width: 44px; height: 44px; border: 0; border-radius: 14px;
  display: inline-grid; place-items: center; position: relative; flex: none;
  background: #eff4f8; color: var(--navy);
  transition: background .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.icon-btn:hover { background: var(--teal); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0, 169, 157, .22); }
.cart-btn.active { background: var(--teal); color: #fff; }
.cart-count {
  position: absolute; top: -5px; left: -5px;
  min-width: 21px; height: 21px; padding-inline: 5px;
  border-radius: 11px; background: var(--gold); color: var(--navy);
  display: grid; place-items: center; font: 800 11px/1 Arial, sans-serif;
  border: 2px solid #fff;
}
.menu-btn { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0; }
/* يتقدم على قواعد .menu-btn العامة الموجودة لاحقاً في الملف */
.nav-actions .menu-btn { display: none; border: 0; background: #eff4f8; }
.menu-btn span {
  display: block; width: 18px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, background .2s ease;
}
.menu-btn:hover span { background: #fff; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.4); }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* غطاء القائمة على الجوال */
.nav-scrim {
  display: none; position: fixed; inset: 0;
  background: rgba(11, 31, 58, .34);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 90;
}
.nav-scrim.show { display: block; }

/* ---------- أزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 24px; border-radius: 13px;
  border: 1px solid transparent; font-weight: 800; font-size: 14px;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  background: linear-gradient(135deg, var(--teal), #007e8b);
  color: #fff; box-shadow: 0 12px 26px rgba(0, 169, 157, .28);
}
.btn-primary:hover { box-shadow: 0 18px 32px rgba(0, 169, 157, .38); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-light { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-light:hover { color: var(--navy); }
.btn-advisor {
  background: linear-gradient(120deg, #1e3a8a, #0ea5e9); color: #fff;
  box-shadow: 0 12px 30px rgba(14,165,233,.38); border-color: transparent;
}
.btn-advisor .icon { width: 17px; height: 17px; }
.btn-advisor:hover { color: #fff; box-shadow: 0 18px 36px rgba(14,165,233,.5); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 12px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn .icon { width: 17px; height: 17px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 169, 157, .35), transparent 42%),
    radial-gradient(circle at 18% 82%, rgba(247, 183, 51, .16), transparent 38%),
    linear-gradient(145deg, #0a1d35 0%, #123354 60%, #0b1f3a 100%);
  color: #fff;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 30px 30px; mask-image: linear-gradient(to bottom, #000, transparent 80%);
  opacity: .35;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: center; gap: 50px;
  padding-block: 88px 96px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 100px;
  background: rgba(0, 169, 157, .14); color: #7ee0d6;
  font-size: 12px; font-weight: 800; letter-spacing: .2px;
  border: 1px solid rgba(0, 169, 157, .3);
}
.eyebrow .icon { width: 14px; height: 14px; }
.hero h1 {
  font-size: clamp(34px, 4.4vw, 58px); line-height: 1.22;
  margin: 22px 0 18px; font-weight: 900; letter-spacing: -.5px;
}
.hero h1 .accent { color: var(--gold); }
.hero-sub {
  font-size: 16px; color: #c3d3e5; max-width: 560px; margin: 0 0 30px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 36px; }
.hero-point { display: flex; align-items: center; gap: 10px; }
.hero-point .point-icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.09); color: #7ee0d6;
  border: 1px solid rgba(255,255,255,.12);
}
.hero-point b { display: block; font-size: 13px; }
.hero-point small { color: #9fb4cc; font-size: 11px; }

.hero-stage { position: relative; height: 470px; display: grid; place-items: center; }
.stage-glow {
  position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 169, 157, .35), transparent 68%);
  filter: blur(8px);
}
.stage-ring {
  position: absolute; width: 370px; height: 370px; border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.18);
  animation: spin 40s linear infinite;
}
.stage-tube { position: absolute; filter: drop-shadow(0 22px 30px rgba(0,0,0,.35)); }
.stage-tube.main { height: 380px; z-index: 3; animation: float 5s ease-in-out infinite; }
.stage-tube.left { height: 240px; left: 2%; bottom: 18px; transform: rotate(-11deg); opacity: .95; }
.stage-tube.right { height: 240px; right: 2%; bottom: 12px; transform: rotate(11deg); opacity: .95; }
.hero-pack {
  display: grid; place-items: center; height: 100%; box-sizing: border-box;
  background: #fff; border-radius: 26px; padding: 12px;
  box-shadow: 0 18px 34px rgba(0,0,0,.22);
}
.hero-pack .tube { height: 100%; width: auto; max-width: 100%; display: block; }
img.tube { display: block; max-width: 100%; }
.stage-chip {
  position: absolute; z-index: 5;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px; border-radius: 100px;
  background: rgba(255,255,255,.96); color: var(--navy);
  font-size: 11px; font-weight: 800; box-shadow: var(--shadow-md);
}
.stage-chip .icon { width: 15px; height: 15px; color: var(--teal); }
.stage-chip.one { top: 34px; right: 4%; animation: float 4s ease-in-out infinite; }
.stage-chip.two { top: 160px; left: 0; animation: float 5.5s ease-in-out infinite reverse; }
.stage-chip.three { bottom: 44px; right: 8%; animation: float 6s ease-in-out infinite; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- شريط إحصائيات ---------- */
.stats {
  background: #fff; border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: 30px;
}
.stat { text-align: center; padding-inline: 14px; position: relative; }
.stat + .stat::before {
  content: ''; position: absolute; right: 0; top: 10%; height: 80%; width: 1px; background: var(--line);
}
.stat b { display: block; font-size: 28px; font-weight: 900; color: var(--navy); line-height: 1.2; }
.stat span { font-size: 12px; color: var(--muted); font-weight: 700; }

/* ---------- أقسام عامة ---------- */
.section { padding-block: 92px; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; background: #e7f7f5; color: var(--teal-dark); border-color: #cdf0ec; }
.section-head h2 { font-size: clamp(27px, 3vw, 40px); font-weight: 900; margin: 0 0 12px; color: var(--navy); line-height: 1.35; }
.section-head p { color: var(--muted); margin: 0; font-size: 15px; }
.section-head.align-right { margin-inline: 0; text-align: right; }

/* ---------- المنتجات ---------- */
.filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 38px; }
.filter-btn {
  border: 1px solid var(--line); background: #fff; color: #52657d;
  padding: 9px 18px; border-radius: 100px; font-size: 13px; font-weight: 800;
  transition: .2s;
}
.filter-btn:hover { border-color: var(--teal); color: var(--teal-dark); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: #d8e4ee; }
.card-visual {
  height: 250px; position: relative; display: grid; place-items: center; overflow: hidden;
}
.card-visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.65), transparent 62%);
}
.card-visual::after {
  content: ''; position: absolute; width: 190px; height: 190px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55); top: 28px;
}
.card-visual .tube { height: 228px; width: auto; max-width: 72%; position: relative; z-index: 2; transition: transform .35s ease; }
.product-card:hover .card-visual .tube { transform: translateY(-8px) rotate(-3deg) scale(1.04); }
.card-badge {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  background: rgba(255,255,255,.94); color: var(--navy);
  font-size: 10px; font-weight: 900; padding: 6px 11px; border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.card-flavor {
  position: absolute; bottom: 12px; left: 12px; z-index: 3;
  background: rgba(11,31,58,.72); color: #fff;
  font-size: 10px; font-weight: 700; padding: 5px 10px; border-radius: 100px;
}
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: 10px; font-weight: 800; color: var(--teal-dark); letter-spacing: .3px; }
.card-body h3 { font-size: 17px; line-height: 1.5; margin: 6px 0 8px; font-weight: 800; color: var(--navy); min-height: 51px; }
.card-body p { color: var(--muted); font-size: 12.5px; line-height: 1.85; margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; align-items: center; gap: 6px; color: var(--gold); font-size: 11px; margin-bottom: 12px; }
.card-meta span { color: var(--muted); }
.price-row { display: flex; align-items: baseline; gap: 9px; margin-top: auto; padding-bottom: 16px; }
.price { font-size: 21px; font-weight: 900; color: var(--navy); }
.price old { font-size: 12px; color: #a3b0c0; text-decoration: line-through; font-weight: 600; }
.card-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.card-actions .btn { min-height: 42px; font-size: 12px; padding-inline: 12px; }
.icon-add {
  width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line);
  background: #fff; color: var(--teal-dark); display: grid; place-items: center; transition: .2s;
}
.icon-add:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

/* ---------- لماذا ميفوليس ---------- */
.why { background: linear-gradient(150deg, #0b1f3a, #123254); color: #fff; position: relative; overflow: hidden; }
.why::before {
  content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,169,157,.20), transparent 65%); top: -180px; left: -120px;
}
.why .section-head h2 { color: #fff; }
.why .section-head p { color: #b9cade; }
.why .section-head .eyebrow { background: rgba(255,255,255,.08); color: #7ee0d6; border-color: rgba(255,255,255,.14); }
.why-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 28px 22px; transition: .3s;
}
.why-card:hover { background: rgba(255,255,255,.10); transform: translateY(-6px); }
.why-icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: rgba(0,169,157,.18); color: #67ded3; margin-bottom: 18px;
}
.why-icon .icon { width: 26px; height: 26px; }
.why-card h3 { font-size: 16px; margin: 0 0 8px; }
.why-card p { font-size: 12.5px; color: #b9cade; margin: 0; }
.why-note {
  text-align: center; margin-top: 36px; font-size: 12px; color: #8fa7c0;
}
.why-note b { color: var(--gold); }

/* ---------- خطوات ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.step-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; box-shadow: var(--shadow-sm); position: relative;
}
.step-num {
  position: absolute; top: 22px; left: 24px; font: 900 46px/1 Arial, sans-serif;
  color: #f0f3f7;
}
.step-card h3 { position: relative; font-size: 17px; margin: 0 0 8px; }
.step-card p { position: relative; color: var(--muted); font-size: 13px; margin: 0; }
.step-icon { width: 48px; height: 48px; border-radius: 14px; background: #e7f7f5; color: var(--teal-dark); display: grid; place-items: center; margin-bottom: 18px; }

/* ---------- آراء ---------- */
.reviews { background: #eef3f8; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.review-stars { color: var(--gold); font-size: 14px; direction: ltr; text-align: right; }
.review-card p { font-size: 13px; color: #4b5f78; margin: 12px 0 18px; }
.review-author { display: flex; align-items: center; gap: 11px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal), var(--navy)); color: #fff; font-weight: 800; font-size: 14px; }
.review-author b { display: block; font-size: 13px; }
.review-author small { color: var(--muted); font-size: 11px; }

/* ---------- الأسئلة ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  padding: 18px 20px; font-weight: 800; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 700 20px/1 Arial; color: var(--teal); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); font-size: 13px; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, #0a1e37, #123c55);
  border-radius: 26px; padding: 50px 46px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta::after {
  content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(247,183,51,.22), transparent 65%); left: -100px; bottom: -180px;
}
.cta h2 { font-size: clamp(24px, 3vw, 36px); margin: 0 0 8px; font-weight: 900; position: relative; }
.cta p { color: #bdd0e3; margin: 0; font-size: 14px; position: relative; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }

/* ---------- الفوتر ---------- */
.site-footer { background: #081a30; color: #c2d1e2; padding-top: 66px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small { color: #8198b2; }
.footer-brand p { font-size: 13px; color: #94a9c0; margin: 18px 0; max-width: 330px; }
.footer-social { display: flex; gap: 9px; }
.social-dot { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.site-footer h4 { color: #fff; font-size: 14px; margin: 4px 0 18px; }
.footer-links li, .footer-contact li { font-size: 12.5px; margin-bottom: 11px; }
.footer-links a:hover { color: var(--teal); }
.footer-contact li { display: flex; align-items: flex-start; gap: 9px; }
.footer-contact .icon { width: 16px; height: 16px; color: var(--teal); margin-top: 4px; }
.footer-contact b { color: #fff; }
.cod-badge {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 12px;
  padding: 8px 12px; border-radius: 10px; background: rgba(0,169,157,.14);
  color: #7ee0d6; font-size: 11px; font-weight: 800;
}
.cod-badge .icon { width: 15px; height: 15px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-block: 20px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 11.5px; color: #7f95ad;
}
.footer-bottom a:hover { color: var(--teal); }
.footer-langs { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-langs a.active { color: var(--teal); font-weight: 800; }

/* ---------- صفحة المنتج ---------- */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); padding-block: 24px 8px; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb .icon { width: 14px; height: 14px; transform: rotate(180deg); }

.detail-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 54px; padding-bottom: 90px; align-items: start; }
.detail-visual {
  border-radius: 26px; min-height: 520px; display: grid; place-items: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow-md);
}
.detail-visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 28%, rgba(255,255,255,.55), transparent 60%);
}
.detail-visual::after {
  content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.6);
}
.detail-visual .tube { position: relative; z-index: 2; height: 460px; width: auto; max-width: 78%; animation: float 5.5s ease-in-out infinite; }
.detail-badge {
  position: absolute; top: 22px; right: 22px; z-index: 3;
  background: #fff; color: var(--navy); padding: 8px 15px; border-radius: 100px;
  font-size: 11px; font-weight: 900; box-shadow: var(--shadow-sm);
}
.detail-thumbs { display: flex; gap: 10px; margin-top: 14px; }
.thumb {
  width: 68px; height: 68px; border-radius: 14px; border: 2px solid transparent;
  display: grid; place-items: center; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm);
  padding: 0; cursor: pointer; font: inherit;
}
.thumb:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.thumb.active { border-color: var(--teal); }
.thumb .tube { height: 54px; width: auto; }

.detail-info h1 { font-size: clamp(27px, 3.2vw, 40px); line-height: 1.35; margin: 6px 0 6px; font-weight: 900; color: var(--navy); }
.detail-en { font: 700 13px/1.4 Arial, sans-serif; color: var(--teal-dark); letter-spacing: .6px; }
.detail-tagline { color: var(--muted); font-size: 15px; margin: 8px 0 20px; }
.detail-rating { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.detail-rating .stars { color: var(--gold); direction: ltr; }
.detail-price-box {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.detail-price-box .price { font-size: 30px; }
.detail-price-box .price old { font-size: 15px; }
.stock { display: inline-flex; align-items: center; gap: 6px; color: #1b9e72; font-size: 12px; font-weight: 800; }
.stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #24b57f; }
.buy-row { display: flex; gap: 12px; margin-top: 18px; }
.qty-stepper {
  display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 13px;
  background: #fff; overflow: hidden; height: 48px;
}
.qty-stepper button {
  width: 42px; height: 100%; border: 0; background: #f5f8fb; color: var(--navy); display: grid; place-items: center;
}
.qty-stepper button:hover { background: #e9f0f6; }
.qty-stepper input {
  width: 46px; height: 100%; border: 0; text-align: center; font-weight: 800; color: var(--navy);
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row .btn { flex: 1; }

.trust-line { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; font-size: 11.5px; color: var(--muted); }
.trust-line span { display: inline-flex; align-items: center; gap: 6px; }
.trust-line .icon { width: 15px; height: 15px; color: var(--teal); }
.discount-hint { display:flex; align-items:center; gap:8px; margin-top:14px; padding:11px 14px; border-radius:12px; background:linear-gradient(90deg, rgba(0,169,157,.12), rgba(255,182,0,.14)); border:1px dashed rgba(0,169,157,.45); color:#0b6b62; font-size:12.5px; font-weight:700; }
.discount-hint .icon { width:17px; height:17px; flex:0 0 auto; color:var(--teal); }

.tabs { margin-top: 36px; }
.tab-list { display: flex; gap: 6px; border-bottom: 1px solid var(--line); }
.tab-btn {
  border: 0; background: transparent; padding: 12px 18px; font-size: 13px; font-weight: 800;
  color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.tab-btn.active { color: var(--teal-dark); border-bottom-color: var(--teal); }
.tab-panel { display: none; padding-top: 24px; }
.tab-panel.active { display: block; }
.benefit-list { display: grid; gap: 14px; }
.benefit-item { display: flex; gap: 14px; align-items: flex-start; }
.benefit-icon {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto;
  background: #e7f7f5; color: var(--teal-dark); display: grid; place-items: center;
}
.benefit-item b { display: block; font-size: 14px; }
.benefit-item p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.spec-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); }
.spec-table td:first-child { color: var(--muted); width: 38%; font-weight: 700; }
.spec-table td:last-child { font-weight: 700; color: var(--navy); }
.usage-box { background: #f0f7f7; border: 1px solid #d5eeeb; border-radius: 16px; padding: 22px; font-size: 13px; color: #3c6470; }
.usage-box h3 { margin: 0 0 8px; color: var(--navy); font-size: 16px; }

/* ---------- السلة ---------- */
.page-head { background: linear-gradient(135deg, #0b1f3a, #14395c); color: #fff; padding-block: 54px; }
.page-head h1 { font-size: 34px; font-weight: 900; margin: 0 0 6px; }
.page-head p { color: #b8cce0; margin: 0; font-size: 14px; }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; padding-block: 56px 90px; align-items: start; }
.cart-box { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); overflow: hidden; }
.cart-item { display: grid; grid-template-columns: 90px 1fr auto auto; gap: 16px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-thumb { width: 82px; height: 82px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; }
.cart-thumb .tube { height: 70px; width: auto; }
.cart-item h3 { font-size: 15px; margin: 0 0 3px; }
.cart-item small { color: var(--muted); font-size: 11px; }
.cart-line-price { font-weight: 900; color: var(--navy); white-space: nowrap; }
.remove-btn { border: 0; background: #fdeeee; color: #d34b4b; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.remove-btn .icon { width: 16px; height: 16px; }
.remove-btn:hover { background: #fbdada; }
.cart-empty { padding: 70px 24px; text-align: center; }
.cart-empty .empty-icon { width: 90px; height: 90px; border-radius: 50%; background: #eef4f8; display: grid; place-items: center; margin: 0 auto 20px; color: var(--teal); }
.cart-empty .empty-icon .icon { width: 40px; height: 40px; }
.cart-empty h2 { margin: 0 0 8px; }
.cart-empty p { color: var(--muted); margin: 0 0 24px; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow-sm); position: sticky; top: 100px; }
.summary h3 { margin: 0 0 18px; font-size: 17px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; margin-bottom: 13px; color: var(--muted); }
.summary-row b { color: var(--navy); }
.summary-total { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; font-size: 16px; font-weight: 900; }
.summary-total b { font-size: 22px; color: var(--teal-dark); }
.shipping-progress { background: #eff8f7; border-radius: 12px; padding: 12px 14px; font-size: 11.5px; color: #37746f; margin-bottom: 18px; }
.progress-bar { height: 6px; background: #d7ebe8; border-radius: 6px; margin-top: 8px; overflow: hidden; }
.progress-bar i { display: block; height: 100%; background: var(--teal); border-radius: 6px; }
.summary-note { font-size: 11px; color: var(--muted); margin-top: 14px; text-align: center; }

/* ---------- الطلب ---------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 370px; gap: 28px; padding-block: 56px 90px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 19px; margin: 0 0 4px; }
.form-card > p { color: var(--muted); font-size: 12.5px; margin: 0 0 24px; }
.form-section-title { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 900; margin: 26px 0 16px; color: var(--navy); }
.form-section-title .icon { color: var(--teal); width: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 800; color: #41556e; }
.field label span { color: #e05353; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font-size: 13px; color: var(--ink); background: #fbfcfe;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,169,157,.12); background: #fff; }
.field textarea { min-height: 92px; resize: vertical; }
.field-error { color: #d34b4b; font-size: 11px; }
.pay-box { display: flex; gap: 14px; align-items: flex-start; border: 2px solid var(--teal); background: #f0faf8; border-radius: 14px; padding: 16px; }
.pay-box .icon { color: var(--teal); width: 24px; height: 24px; }
.pay-box b { display: block; font-size: 13px; }
.pay-box small { color: var(--muted); font-size: 11.5px; }
.order-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.order-item { display: flex; gap: 12px; align-items: center; font-size: 12px; }
.order-item .tube { height: 40px; width: auto; }
.order-item .oi-name { flex: 1; font-weight: 700; }
.order-item .oi-qty { color: var(--muted); }
.order-item b { white-space: nowrap; }

/* ---------- تأكيد الطلب ---------- */
.success-wrap { padding-block: 80px 100px; display: grid; place-items: center; }
.success-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  max-width: 660px; width: 100%; padding: 44px; text-align: center; box-shadow: var(--shadow-md);
}
.success-icon { width: 88px; height: 88px; border-radius: 50%; background: #e7f7f1; color: #1cae7d; display: grid; place-items: center; margin: 0 auto 22px; }
.success-icon .icon { width: 42px; height: 42px; stroke-width: 2.5; }
.success-card h1 { font-size: 28px; margin: 0 0 10px; }
.success-card > p { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.verify-order-form { display: grid; gap: 10px; max-width: 340px; margin: 0 auto; text-align: right; }
.verify-order-form label { font-size: 13px; font-weight: 800; color: var(--navy); }
.verify-order-form input { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; background: #fff; }
.verify-order-form .field-error { color: #b43b3b; font-size: 12px; }
.order-id {
  display: inline-block; padding: 12px 22px; border-radius: 12px;
  background: #f4f7fa; border: 1px dashed #cbd7e4; font: 800 17px/1.4 Arial, sans-serif; color: var(--navy);
}
.success-details { text-align: right; background: #f8fafc; border-radius: 16px; padding: 20px; margin-top: 26px; }
.success-details .summary-row { margin-bottom: 10px; }

/* ---------- لوحة الطلبات ---------- */
.admin-wrap { padding-block: 50px 90px; }
.admin-login { max-width: 420px; margin: 40px auto; background: #fff; border-radius: 20px; padding: 30px; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.admin-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-table-wrap { background: #fff; border-radius: 20px; border: 1px solid var(--line); overflow-x: auto; box-shadow: var(--shadow-sm); }
table.admin-table { width: 100%; border-collapse: collapse; min-width: 860px; font-size: 12px; }
table.admin-table th { background: #f4f7fa; text-align: right; padding: 14px 16px; font-weight: 900; color: #52657d; white-space: nowrap; }
table.admin-table td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; }
table.admin-table tr:hover td { background: #fbfcfe; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 100px; background: #fff5df; color: #9a6700; font-size: 10px; font-weight: 900; }
.alert { padding: 12px 16px; border-radius: 12px; font-size: 12.5px; margin-bottom: 18px; }
.alert-error { background: #fdeeee; color: #b43b3b; }

/* ---------- توasts & Reveal ---------- */
.toast {
  position: fixed; bottom: 26px; left: 26px; z-index: 300;
  background: var(--navy); color: #fff; padding: 13px 20px; border-radius: 12px;
  font-size: 13px; font-weight: 700; box-shadow: var(--shadow-lg);
  transform: translateY(30px); opacity: 0; pointer-events: none; transition: .3s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- الدليل التفصيلي للمنتجات ---------- */
.product-guide { padding-top: 12px; }
.guide-lead { color: var(--muted); font-size: 15px; line-height: 1.9; margin: 0 0 22px; }
.guide-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.guide-fact { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.guide-fact > span { width: 40px; height: 40px; border-radius: 12px; background: #e7f7f5; color: var(--teal-dark); display: grid; place-items: center; }
.guide-fact > span .icon { width: 20px; height: 20px; }
.guide-fact small { font-size: 11px; color: var(--muted); font-weight: 800; }
.guide-fact b { font-size: 13px; line-height: 1.7; color: var(--navy); }
.guide-two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; margin-bottom: 22px; }
.guide-panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-sm); }
.guide-panel h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; font-size: 16px; color: var(--navy); }
.guide-panel h3 .icon { width: 19px; height: 19px; color: var(--teal); }
.guide-panel .benefit-list { margin: 0; }
.guide-usage { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 12px; }
.guide-usage li { counter-increment: step; position: relative; padding: 14px 16px 14px 54px; background: #f7fafc; border-radius: 14px; }
.guide-usage li::before { content: counter(step); position: absolute; right: 14px; top: 14px; width: 28px; height: 28px; border-radius: 9px; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 900; }
.guide-usage b { display: block; font-size: 12px; color: var(--teal-dark); margin-bottom: 4px; }
.guide-usage span { font-size: 12.5px; line-height: 1.7; color: #52657d; }
.guide-time { background: #eef8f7; border-radius: 14px; padding: 15px 17px; margin-top: 14px; }
.guide-time b { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--teal-dark); margin-bottom: 6px; }
.guide-time .icon { width: 16px; height: 16px; }
.guide-time span { font-size: 12.5px; line-height: 1.75; color: #3d6f6b; }
.guide-note { font-size: 11.5px; color: var(--muted); margin: 14px 0 0; }
.guide-safety { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 30px; box-shadow: var(--shadow-sm); }
.guide-safety h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; font-size: 16px; color: var(--navy); }
.guide-safety h3 .icon { width: 19px; height: 19px; color: var(--teal); }
.guide-safety ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 9px; }
.guide-safety li { font-size: 13px; line-height: 1.8; color: #52657d; }
.guide-disclaimer { display: flex; align-items: center; gap: 8px; background: #f7fafc; border-radius: 12px; padding: 13px 16px; margin: 18px 0 0; font-size: 12px; font-weight: 700; color: var(--teal-dark); }
.guide-disclaimer .icon { width: 16px; height: 16px; }
.guide-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(120deg, var(--navy), #123d5e); color: #fff; border-radius: 20px; padding: 24px 28px; box-shadow: var(--shadow-md); }
.guide-cta span { font-size: 14px; font-weight: 700; line-height: 1.7; }
.guide-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.guide-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.guide-table th { background: #f3f7fa; color: #52657d; font-size: 11.5px; text-align: right; padding: 15px 18px; font-weight: 900; }
.guide-table td { padding: 15px 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: #52657d; }
.guide-table td b { color: var(--navy); }
.table-link { display: inline-flex; align-items: center; gap: 5px; color: var(--teal-dark); font-size: 11.5px; font-weight: 900; text-decoration: none; white-space: nowrap; }
.table-link .icon { width: 14px; height: 14px; transform: rotate(180deg); }
.table-link:hover { color: var(--navy); }

/* ---------- المستشار الذكي ---------- */
.advisor-page-head { background: linear-gradient(135deg, #1e3a8a, #0284c7); }
.advisor-wrap { padding-block: 56px 90px; }
.advisor-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.advisor-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 17px; font-weight: 900; color: var(--navy); }
.advisor-card h3 span { width: 30px; height: 30px; border-radius: 9px; background: #e7f7f5; color: var(--teal-dark); display: grid; place-items: center; font-size: 13px; flex: 0 0 auto; }
.adv-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.adv-field { display: flex; flex-direction: column; gap: 7px; }
.adv-field label { font-size: 12px; font-weight: 800; color: #41556e; }
.adv-field select { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 13px; background: #fbfcfe; color: var(--ink); outline: none; }
.adv-field select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,169,157,.12); }
.adv-head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.adv-head-row h3 { margin-bottom: 6px; }
.adv-btn-all { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 100px; background: linear-gradient(120deg, var(--teal-dark), var(--teal)); color: #fff; padding: 11px 18px; font-size: 12px; font-weight: 900; cursor: pointer; box-shadow: var(--shadow-sm); }
.adv-btn-all .icon { width: 16px; height: 16px; }
.adv-btn-all:hover { filter: brightness(1.06); }
.adv-hint { font-size: 11.5px; color: var(--muted); margin: 6px 0 4px; }
.adv-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-top: 12px; }
.adv-prod { text-align: right; border: 2px solid var(--line); border-radius: 14px; padding: 14px; background: #fff; cursor: pointer; transition: .2s; display: flex; flex-direction: column; gap: 6px; font: inherit; }
.adv-prod:hover { border-color: var(--teal); transform: translateY(-2px); }
.adv-prod.active { border-color: var(--teal); background: #f0faf8; box-shadow: 0 0 0 3px rgba(0,169,157,.10); }
.adv-prod-name { font-size: 14px; font-weight: 900; color: var(--navy); }
.adv-prod small { color: var(--muted); font-size: 11.5px; line-height: 1.6; }
.adv-prod-price { display: inline-block; align-self: flex-start; background: #e0f2fe; color: #0369a1; padding: 3px 9px; border-radius: 7px; font-weight: 800; font-size: 11.5px; margin-top: 4px; }
.adv-results { margin-top: 4px; }
.adv-alert { padding: 13px 16px; border-radius: 11px; margin-bottom: 10px; font-size: 12.5px; line-height: 1.8; border-right: 5px solid; }
.adv-alert-good { background: #f0fdf4; border-color: var(--success); color: #166534; }
.adv-alert-warn { background: #fffbeb; border-color: var(--warning); color: #92400e; }
.adv-alert-danger { background: #fef2f2; border-color: var(--danger); color: #991b1b; }
.compat-box { margin-bottom: 18px; padding: 18px; border-radius: 16px; border: 1px solid rgba(255,182,0,.55); background: linear-gradient(145deg, #fffaf0, #fff7e6); box-shadow: 0 12px 30px rgba(120,80,10,.08); }
.compat-box.urgent { border-color: rgba(220,38,38,.45); background: linear-gradient(145deg, #fff6f5, #fff1ef); }
.compat-head { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; font-size: 15px; font-weight: 900; color: #92400e; }
.compat-box.urgent .compat-head { color: #991b1b; }
.compat-head .icon { width: 20px; height: 20px; flex: 0 0 auto; }
.compat-intro { margin: 0 0 12px; font-size: 12.5px; line-height: 1.8; color: #7c5b25; }
.compat-box.urgent .compat-intro { color: #8a3b35; }
.compat-box .adv-alert { margin-bottom: 8px; border-right-width: 4px; }
.compat-foot { margin-top: 10px; font-size: 12px; color: #7c5b25; }
.compat-foot a { color: var(--teal-dark); font-weight: 800; text-decoration: underline; }
.compat-check { margin-top: 14px; border: 1px solid rgba(220,38,38,.25); background: #fff; }
.adv-schedule { background: #f1f5f9; border-radius: 12px; padding: 16px 18px; }
.adv-schedule p { margin: 0 0 10px; font-size: 12.5px; line-height: 1.8; color: #41556e; }
.adv-schedule strong { color: var(--navy); }
.adv-bar { margin-bottom: 13px; }
.adv-bar-info { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; font-weight: 700; margin-bottom: 5px; color: #41556e; }
.adv-progress { background: #e2e8f0; height: 10px; border-radius: 6px; overflow: hidden; }
.adv-progress-fill { height: 100%; background: var(--accent); border-radius: 6px; transition: width .3s ease; }
.adv-progress-fill.high { background: var(--warning); }
.adv-summary { background: linear-gradient(120deg, var(--navy), #123d5e); color: #fff; border-radius: 20px; padding: 22px 26px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; box-shadow: var(--shadow-md); }
.adv-summary-count { font-size: 15px; font-weight: 900; }
.adv-summary-note { font-size: 11.5px; color: #cbd5e1; margin-top: 4px; }
.adv-summary-total { font-size: 22px; font-weight: 900; color: #38bdf8; }
.adv-summary form { display: flex; }
#advisorCartBtn:disabled { opacity: .5; cursor: not-allowed; }
.adv-disclaimer { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 22px; line-height: 1.8; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-inner { gap: 16px; }
  .nav-list a { padding-inline: 10px; font-size: 12.5px; }
}

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .guide-facts { grid-template-columns: repeat(2, 1fr); }
  .guide-two-col { grid-template-columns: 1fr; }
}

/* القائمة على الشاشات المتوسطة والصغيرة: لوحة منزلقة + زر قائمة متحرك */
@media (max-width: 1300px) {
  .nav-inner { grid-template-columns: auto minmax(0, 1fr); min-height: 72px; }
  .nav {
    position: absolute; top: 100%; inset-inline: 0;
    justify-self: stretch;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 10px 5% 16px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .nav-list {
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 6px; border: 0; background: transparent; border-radius: 16px;
  }
  .nav-list a { min-height: 44px; padding: 10px 14px; border-radius: 12px; font-size: 14px; }
  .nav-list a.active,
  .nav-list a[aria-current="page"] {
    color: var(--teal-dark);
    background: rgba(0, 169, 157, .1);
    box-shadow: none;
  }
  .nav-actions .menu-btn { display: inline-flex; }
  .nav-mobile-tools {
    align-items: center; gap: 12px; flex-wrap: wrap;
    margin: 12px 6px 2px; padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .nav-mobile-label { font-size: 12px; font-weight: 800; color: var(--muted); }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 60px 70px; }
  .hero-copy { order: 1; }
  .hero-stage { order: 2; height: 430px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .stat:nth-child(3)::before { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid, .review-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .detail-visual { min-height: 440px; }
  .detail-visual .tube { height: 390px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}

@media (max-width: 640px) {
  .announce-inner { gap: 10px; font-size: 10.5px; }
  .announce-sep { display: none; }
  .nav-inner { min-height: 66px; gap: 10px; }
  .nav-actions { gap: 8px; }
  .nav-divider { display: none; }
  .brand-text strong { font-size: 17px; }
  .advisor-btn { padding: 10px; }
  .advisor-btn span { display: none; }
  .section { padding-block: 64px; }
  .hero h1 { font-size: 34px; }
  .hero-stage { height: 350px; }
  .stage-tube.main { height: 290px; }
  .stage-tube.left, .stage-tube.right { height: 185px; }
  .stage-ring { width: 280px; height: 280px; }
  .stage-chip { font-size: 9.5px; padding: 7px 10px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 23px; }
  .product-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 64px 1fr auto; gap: 10px; padding: 14px; }
  .cart-thumb { width: 60px; height: 60px; }
  .cart-thumb .tube { height: 54px; }
  .cart-line-price { grid-column: 2 / -1; }
  .detail-price-box .price { font-size: 25px; }
  .buy-row { flex-wrap: wrap; }
  .cta { padding: 34px 24px; }
  .success-card { padding: 30px 22px; }
  .breadcrumb { font-size: 11px; }
  .guide-facts { grid-template-columns: 1fr; }
  .guide-panel, .guide-safety { padding: 20px; }
  .guide-cta { align-items: flex-start; }
  .adv-inputs { grid-template-columns: 1fr; }
  .advisor-card { padding: 20px; }
}

/* هواتف صغيرة: مبدّل اللغة ينتقل إلى داخل القائمة لتجنب ازدحام الشريط */
@media (max-width: 480px) {
  .brand { gap: 8px; }
  .brand-mark { width: 40px; height: 40px; font-size: 21px; border-radius: 12px; }
  .brand-text strong { font-size: 16px; }
  .brand-text small { display: none; }
  .nav-actions { gap: 8px; }
  .nav-actions > .lang-switch { display: none; }
  .nav-mobile-tools { display: flex; }
  .icon-btn { width: 40px; height: 40px; border-radius: 12px; }
  .advisor-btn { min-height: 40px; padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* اتجاه اللغات الأجنبية: ضبط العناصر التي صُممت أصلاً للـ RTL */
[dir="ltr"] .cart-count { left: auto; right: -5px; }
[dir="ltr"] .stat + .stat::before { right: auto; left: 0; }
[dir="ltr"] .section-head.align-right { margin-inline: 0; text-align: left; }
[dir="ltr"] .review-stars { text-align: left; }
[dir="ltr"] .success-details { text-align: left; }
[dir="ltr"] .guide-table th { text-align: left; }
[dir="ltr"] .adv-prod { text-align: left; }

/* ---------- بوابة المسوّقين ---------- */
.alert.success, .alert.error { border-radius: 12px; font-size: 12.5px; margin-bottom: 18px; padding: 12px 16px; }
.alert.success { background: #eaf8f1; color: #177a58; }
.alert.error { background: #fdeeee; color: #b43b3b; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.section-title h2 { margin: 0; font-size: 18px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.stat-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow-sm); }
.stat-card div { display: flex; flex-direction: column; gap: 4px; }
.stat-card small { color: var(--muted); font-size: 11px; }
.stat-card b { font-size: 17px; color: var(--navy); }
.stat-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: #eef4f8; color: var(--teal); }
.stat-icon .icon { width: 20px; height: 20px; }
.stat-icon.gold { background: #fff5df; color: #b7791f; }
.stat-icon.green { background: #eaf8f1; color: #177a58; }
.stat-icon.blue { background: #eaf2ff; color: #3b82f6; }
.stat-icon.red { background: #fdeeee; color: #b43b3b; }
.stat-icon.teal { background: #e6f7f5; color: #00877d; }
.table-wrap { overflow-x: auto; }
.table-wrap .empty { text-align: center; color: var(--muted); padding: 24px; }
.pill.green { background: #eaf8f1; color: #177a58; }
.pill.red { background: #fdeeee; color: #b43b3b; }
.pill.gold { background: #fff5df; color: #9a6700; }
.pill.silver { background: #eef1f5; color: #52657d; }
.pill.platinum { background: linear-gradient(120deg, #eaf2ff, #f1eaff); color: #6d28d9; }
.portal-nav { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mini-btn { display: inline-block; border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 10px; padding: 8px 12px; font-size: 12px; font-weight: 800; cursor: pointer; }
.mini-btn:hover { border-color: var(--teal); color: var(--teal); }
.share-box { display: flex; gap: 20px; align-items: center; margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #f8fafc; flex-wrap: wrap; }
.share-box img { border-radius: 12px; background: #fff; border: 1px solid var(--line); padding: 6px; }
.share-box > div { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 220px; }
.share-box strong { font-size: 14px; color: var(--navy); }
.share-box input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 12px; direction: ltr; text-align: left; background: #fff; }
.share-box small { color: var(--muted); font-size: 11.5px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* ============================================================
   مساعد ميفوليس — واجهة محادثة عائمة
   ============================================================ */
.asst {
  position: fixed;
  inset-block-end: 20px;
  inset-inline-end: 20px;
  z-index: 240;
  font-family: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
}
.asst-launcher {
  position: relative;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #00b5a8, #007f78);
  box-shadow: 0 14px 34px rgba(0, 127, 120, .34);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.asst-launcher:hover { transform: translateY(-3px); filter: brightness(1.06); box-shadow: 0 20px 40px rgba(0, 127, 120, .42); }
.asst-launcher .icon { width: 25px; height: 25px; }
.asst-launcher-dot {
  position: absolute;
  top: 9px;
  inset-inline-end: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f7b733;
  box-shadow: 0 0 0 3px rgba(247, 183, 51, .22);
}
.asst-panel {
  position: fixed;
  inset-block-end: 92px;
  inset-inline-end: 20px;
  width: min(390px, calc(100vw - 32px));
  height: min(620px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(230, 235, 242, .95);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(11, 31, 58, .22);
  animation: asstIn .24s ease both;
}
.asst-panel[hidden] { display: none !important; }
@keyframes asstIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.asst-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 15px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 10%, rgba(0, 201, 185, .34), transparent 42%),
    linear-gradient(135deg, #0b1f3a, #123a5c);
}
.asst-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #d9fff9;
  background: rgba(0, 201, 185, .18);
  border: 1px solid rgba(126, 224, 214, .28);
}
.asst-avatar .icon { width: 20px; height: 20px; }
.asst-head-text { flex: 1; min-width: 0; }
.asst-head-text strong { display: block; font-size: 14px; font-weight: 900; line-height: 1.4; }
.asst-head-text small { display: block; font-size: 9.5px; color: #a9c6dd; line-height: 1.4; }
.asst-close {
  width: 31px;
  height: 31px;
  border: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  font-size: 20px;
  line-height: 1;
  transition: background .2s ease;
}
.asst-close:hover { background: rgba(255, 255, 255, .22); }
.asst-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 169, 157, .06), transparent 38%),
    #f6f8fb;
  scrollbar-width: thin;
  scrollbar-color: rgba(11, 31, 58, .2) transparent;
}
.asst-messages::-webkit-scrollbar { width: 5px; }
.asst-messages::-webkit-scrollbar-thumb { background: rgba(11, 31, 58, .18); border-radius: 10px; }
.asst-msg {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.asst-msg p { margin: 0; }
.asst-msg p + p { margin-top: 7px; }
.asst-bot {
  align-self: flex-start;
  color: #24364d;
  background: #fff;
  border: 1px solid #e4ebf3;
  border-start-start-radius: 6px;
  box-shadow: 0 4px 14px rgba(11, 31, 58, .04);
}
.asst-user {
  align-self: flex-end;
  color: #fff;
  background: linear-gradient(135deg, #00a99d, #007f78);
  border-end-end-radius: 6px;
  box-shadow: 0 8px 18px rgba(0, 127, 120, .18);
}
.asst-typing { display: inline-flex; align-items: center; gap: 4px; min-height: 22px; }
.asst-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7b8ca1;
  animation: asstDot 1.1s infinite ease-in-out;
}
.asst-typing span:nth-child(2) { animation-delay: .14s; }
.asst-typing span:nth-child(3) { animation-delay: .28s; }
@keyframes asstDot {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30% { transform: translateY(-3px); opacity: 1; }
}
.asst-product {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  margin-top: 9px;
  padding: 10px;
  border: 1px solid #e4ebf3;
  border-radius: 14px;
  background: #fbfdff;
}
.asst-product-media {
  width: 58px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(150deg, #eef8f7, #f5f9fc);
}
.asst-product-media img { width: 100%; height: 100%; object-fit: contain; }
.asst-product-fallback { color: #00877e; }
.asst-product-fallback .icon { width: 26px; height: 26px; }
.asst-product-body { min-width: 0; }
.asst-product-head strong { display: block; font-size: 12px; color: #0b1f3a; line-height: 1.5; }
.asst-product-head small { display: block; color: #7a8ba1; font-size: 9px; direction: ltr; text-align: start; }
.asst-product-body p { margin: 4px 0 7px; color: #60738a; font-size: 10.5px; line-height: 1.65; }
.asst-product-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.asst-product-price b { color: #007f78; font-size: 15px; }
.asst-product-price span { color: #8a9aab; font-size: 9px; }
.asst-product-meta { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.asst-product-meta span { padding: 3px 6px; border-radius: 6px; background: #eef4f8; color: #587087; font-size: 8.5px; line-height: 1.5; }
.asst-product-meta b { color: #334a62; font-weight: 800; }
.asst-facts { display: grid; gap: 4px; margin: 5px 0 0; padding: 0; list-style: none; }
.asst-facts li { padding: 5px 7px; border-radius: 7px; background: #f5f9fc; color: #557087; font-size: 10px; line-height: 1.6; }
.asst-facts b { color: #334a62; }
.asst-autocomplete { position: absolute; left: 0; right: 0; bottom: 100%; margin-bottom: 6px; display: grid; gap: 4px; max-height: 180px; overflow-y: auto; padding: 6px; border: 1px solid #e4ebf3; border-radius: 12px; background: #ffffff; box-shadow: 0 10px 24px rgba(11, 31, 58, 0.12); z-index: 5; }
.asst-autocomplete[hidden] { display: none; }
.asst-autocomplete-item { width: 100%; text-align: start; border: 1px solid #e8eef5; border-radius: 8px; background: #f8fbfe; color: #334a62; padding: 6px 8px; font-size: 10px; font-weight: 700; cursor: pointer; }
.asst-autocomplete-item:hover, .asst-autocomplete-item:focus { background: #eef8f7; border-color: #b7e3df; color: #007f78; }
.asst-section-title { display: block; margin: 8px 0 2px; color: #0b1f3a; font-size: 10.5px; font-weight: 800; }
.asst-note { margin-top: 6px !important; color: #7a8ba1; font-size: 9.5px; }
.asst-product-actions, .asst-order-actions { display: flex; flex-wrap: wrap; gap: 5px; }
.asst-form { position: relative; }
.asst-product-actions form { margin: 0; }
.asst-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  transition: .2s ease;
}
.asst-btn-light { background: #fff; border-color: #dbe5ef; color: #31465d; }
.asst-btn-light:hover { border-color: #00a99d; color: #007f78; }
.asst-btn-primary { background: linear-gradient(135deg, #00a99d, #007f78); color: #fff; }
.asst-btn-primary:hover { color: #fff; filter: brightness(1.06); }
.asst-order { margin-top: 4px; }
.asst-order-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.asst-order-id { font: 800 11px/1.4 Arial, sans-serif; color: #0b1f3a; }
.asst-status { padding: 3px 7px; border-radius: 999px; background: #e7f7f5; color: #007f78; font-size: 9px; font-weight: 900; }
.asst-order-items { margin: 7px 0 9px; padding-inline-start: 16px; list-style: disc; color: #4f647a; font-size: 10.5px; }
.asst-order-items .asst-more { list-style: none; color: #8a9aab; }
.asst-actions { display: flex; flex-wrap: wrap; gap: 5px; align-self: flex-start; max-width: 92%; }
.asst-action-link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e7f7f5;
  color: #007f78;
  font-size: 9.5px;
  font-weight: 800;
  text-decoration: none;
}
.asst-action-link:hover { background: #d6f2ef; color: #006c66; }
.asst-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 84px;
  overflow-y: auto;
  padding: 0 13px 9px;
  background: #f6f8fb;
  scrollbar-width: thin;
}
.asst-chip {
  border: 1px solid #dbe5ef;
  border-radius: 999px;
  padding: 5px 9px;
  background: #fff;
  color: #40536d;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.5;
  transition: .2s ease;
}
.asst-chip:hover { border-color: #00a99d; color: #007f78; background: #f1fbfa; }
.asst-form {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  padding: 9px 11px 7px;
  border-top: 1px solid #e9eff5;
  background: #fff;
}
.asst-form textarea {
  flex: 1;
  min-height: 40px;
  max-height: 96px;
  padding: 9px 11px;
  border: 1px solid #dbe5ef;
  border-radius: 13px;
  background: #f9fbfd;
  color: #203449;
  font: 12px/1.65 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
  resize: none;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.asst-form textarea:focus { border-color: #00a99d; background: #fff; box-shadow: 0 0 0 3px rgba(0, 169, 157, .12); }
.asst-form button {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 0;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #00a99d, #007f78);
  box-shadow: 0 8px 18px rgba(0, 127, 120, .22);
  transition: .2s ease;
}
.asst-form button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.asst-form button:disabled { opacity: .55; cursor: wait; transform: none; }
.asst-form button .icon { width: 18px; height: 18px; transform: rotate(180deg); }
.asst-disclaimer { margin: 0; padding: 0 12px 8px; color: #8a9aab; font-size: 8.5px; line-height: 1.5; text-align: center; background: #fff; }
.asst-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .asst { inset-block-end: 14px; inset-inline-end: 14px; }
  .asst-launcher { width: 54px; height: 54px; border-radius: 17px; }
  .asst-panel {
    inset-block-end: 78px;
    inset-inline-end: 10px;
    width: calc(100vw - 20px);
    height: min(640px, calc(100dvh - 96px));
    border-radius: 20px;
  }
  .asst-head { padding: 12px 13px; }
  .asst-messages { padding: 11px; }
  .asst-msg { max-width: 96%; font-size: 11.5px; }
  .asst-product { grid-template-columns: 48px 1fr; }
  .asst-product-media { width: 48px; height: 66px; }
  .asst-suggestions { max-height: 70px; }
}

@media print {
  .asst { display: none !important; }
}

/* ============================================================
   Button polish — unified, accessible, responsive interactions
   ============================================================ */
:is(button, .btn, .mini-btn, .filter-btn, .tab-btn, .adv-btn-all, .icon-add, .remove-btn, .menu-btn, .cart-btn, .asst-launcher, .asst-close, .asst-btn, .asst-chip, .asst-form button, .asst-action-link, .screen-actions a, .screen-actions button) {
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  outline: none;
}
:is(button, .btn, .mini-btn, .filter-btn, .tab-btn, .adv-btn-all, .icon-add, .remove-btn, .menu-btn, .cart-btn, .asst-launcher, .asst-close, .asst-btn, .asst-chip, .asst-form button, .asst-action-link, .screen-actions a, .screen-actions button):focus-visible {
  outline: 3px solid rgba(0, 169, 157, .5);
  outline-offset: 3px;
}
:is(button, .btn, .asst-btn, .asst-action-link, .screen-actions a, .screen-actions button)[disabled],
:is(button, .btn, .asst-btn, .asst-action-link, .screen-actions a, .screen-actions button)[aria-disabled="true"],
:is(button, .btn, .asst-btn, .asst-action-link).is-loading {
  opacity: .55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
  filter: grayscale(.12);
}
:is(button, .btn, .mini-btn, .filter-btn, .tab-btn, .adv-btn-all, .icon-add, .remove-btn, .menu-btn, .cart-btn, .asst-launcher, .asst-close, .asst-btn, .asst-chip, .asst-form button, .asst-action-link, .screen-actions a, .screen-actions button):not(:disabled):not([aria-disabled="true"]):not(.is-loading):active {
  transform: translateY(0) scale(.97) !important;
}
:is(button, .btn, .mini-btn, .filter-btn, .tab-btn, .adv-btn-all, .icon-add, .remove-btn, .menu-btn, .asst-launcher, .asst-close, .asst-btn, .asst-chip, .asst-form button, .asst-action-link).is-loading {
  cursor: wait !important;
  pointer-events: none;
}

.btn:hover { transform: translateY(-2px); }
.btn:not(.btn-block) { white-space: nowrap; }
@media (max-width: 520px) {
  .btn:not(.btn-block) { white-space: normal; line-height: 1.35; }
}

.mini-btn {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 5px 14px rgba(15, 40, 70, .05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}
.mini-btn:hover { transform: translateY(-2px); border-color: var(--teal); color: var(--teal-dark); box-shadow: 0 10px 20px rgba(15, 40, 70, .09); }
.mini-btn.danger { background: #fff5f5; border-color: rgba(211, 75, 75, .22); color: #b91c1c; }
.mini-btn.danger:hover { background: #ffecec; border-color: #d34b4b; color: #b91c1c; }

.filter-btn { min-height: 42px; padding: 0 20px; box-shadow: 0 4px 12px rgba(15, 40, 70, .05); }
.filter-btn:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(15, 40, 70, .09); }
.filter-btn.active { box-shadow: 0 8px 18px rgba(11, 31, 58, .18); }

.tab-btn { min-height: 44px; border-radius: 10px 10px 0 0; }
.tab-btn:hover { background: rgba(0, 169, 157, .06); color: var(--teal-dark); }
.tab-btn.active { background: rgba(0, 169, 157, .09); }

.icon-add, .remove-btn, .menu-btn {
  display: inline-grid;
  place-items: center;
  padding: 0;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.icon-add:hover, .remove-btn:hover, .menu-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(15, 40, 70, .1); }
.remove-btn { border: 1px solid rgba(211, 75, 75, .18); background: #fff5f5; }
.remove-btn:hover { background: #ffecec; border-color: rgba(211, 75, 75, .35); }
.menu-btn { border: 1px solid var(--line); background: #fff; }

.adv-btn-all:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0, 135, 126, .28); }
.asst-close { min-width: 34px; min-height: 34px; }
.asst-close:hover { transform: scale(1.06); }
.asst-btn { min-height: 30px; padding-inline: 11px; font-size: 10px; }
.asst-chip { min-height: 30px; padding: 5px 11px; }
.asst-action-link { min-height: 30px; }
.asst-form button { border-radius: 12px; }

@media (pointer: coarse) {
  :is(button, .btn, .mini-btn, .filter-btn, .tab-btn, .adv-btn-all, .icon-add, .remove-btn, .menu-btn):not(.asst-form button) { min-height: 44px; }
  .asst-close, .asst-form button { min-width: 44px; min-height: 44px; }
  .asst-btn, .asst-chip, .asst-action-link { min-height: 38px; }
}

.ui-ripple-host { position: relative; overflow: hidden; isolation: isolate; }
.ui-ripple {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: currentColor;
  opacity: .16;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: uiRipple .55s ease-out forwards;
}
@keyframes uiRipple { to { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
.is-loading { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.ui-spinner {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: uiSpin .7s linear infinite;
}
.ui-loading-text { font-weight: 800; line-height: 1; }
@keyframes uiSpin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  :is(button, .btn, .mini-btn, .filter-btn, .tab-btn, .adv-btn-all, .icon-add, .remove-btn, .menu-btn, .asst-launcher, .asst-close, .asst-btn, .asst-chip, .asst-form button, .asst-action-link) {
    transition-duration: .01ms !important;
  }
  .ui-ripple, .ui-spinner { animation-duration: .01ms !important; }
}
