/* ═══════════════════════════════════════════════════════════════
   كونتينر للعطور — نظام التصميم
   الترتيب: التوكنز · الأساس · العناصر · الترويسة · الرئيسية · التذييل · ووكومرس · الموبايل
   ═══════════════════════════════════════════════════════════════ */

:root {
  --navy:        #1B3665;
  --navy-deep:   #142A50;
  --navy-soft:   #2E4A80;
  --navy-line:   #2E4A78;
  --orange:      #EF6133;
  --orange-deep: #C2461B;
  --orange-tint: #FDECE6;
  --orange-line: #F9C9B6;

  --ground:  #FAF8F5;
  --surface: #FFFFFF;
  --sand:    #F4F2EE;
  --line:    #E6E2DC;
  --line-2:  #D8D3CB;

  --ink:   #1A1F2B;
  --ink-2: #4A5162;
  --muted: #6E7382;
  --on-navy:      #C9D4E8;
  --on-navy-soft: #A9BADA;

  --good: #1E7A46;
  --wa:   #25D366;

  --r-sm: 8px;
  --r:    12px;
  --r-lg: 16px;

  --sh-sm: 0 1px 2px rgba(20,42,80,.06);
  --sh:    0 4px 14px rgba(20,42,80,.08);
  --sh-lg: 0 14px 40px rgba(20,42,80,.12);
  --sh-or: 0 8px 20px rgba(239,97,51,.28);

  --wrap: 1320px;
  --pad:  24px;
}

/* ─────────────────────────────── الأساس */

body,
body.woocommerce,
.ast-container {
  font-family: 'Almarai', 'Segoe UI', Tahoma, sans-serif;
  background: var(--ground);
  color: var(--ink);
}

h1, h2, h3, h4,
.entry-title,
.woocommerce-loop-product__title,
.product_title {
  font-family: 'Cairo', 'Almarai', sans-serif;
  color: var(--navy-deep);
  letter-spacing: -.2px;
}

a { color: var(--navy); }
a:hover, a:focus { color: var(--orange); }

.cpc-wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.cpc-i { flex: none; }

/* Astra يترك هوامش علوية على المحتوى — الرئيسية عندنا تبدأ من الحافة */
.cpc-home { margin: 0; padding: 0; }
.home #content .ast-container,
.home .site-content > .ast-container { max-width: none; padding: 0; }
.home #primary { margin: 0; padding: 0; width: 100%; }

/* تذييل Astra الأصلي مستبدل بالكامل */
.site-footer, .ast-small-footer, #colophon { display: none !important; }

/* ─────────────────────────────── الأزرار */

.cpc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--r);
  border: 1.5px solid transparent;
  font: 600 15px/1 'Almarai', sans-serif;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.cpc-btn:hover { transform: translateY(-1px); }
.cpc-btn:active { transform: translateY(0); }
.cpc-btn-lg { height: 56px; padding: 0 30px; font-size: 16.5px; font-weight: 700; }
.cpc-btn-block { width: 100%; }

.cpc-btn-primary { background: var(--orange); color: #fff; box-shadow: var(--sh-or); }
.cpc-btn-primary:hover { background: #E0552A; color: #fff; box-shadow: 0 10px 26px rgba(239,97,51,.34); }

.cpc-btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--navy-deep); }
.cpc-btn-ghost:hover { border-color: var(--navy); color: var(--navy); background: var(--surface); }

.cpc-btn-ghost-light { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); color: #fff; }
.cpc-btn-ghost-light:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.5); color: #fff; }

.cpc-btn-wa { background: var(--wa); color: #06301A; font-weight: 700; }
.cpc-btn-wa:hover { background: #1FBE5B; color: #06301A; }
.cpc-btn-wa svg { width: 19px; height: 19px; }

/* ─────────────────────────────── شارات وترويسات الأقسام */

.cpc-pill {
  display: inline-flex; align-items: center; gap: 9px;
  align-self: flex-start;
  background: var(--orange-tint);
  border: 1px solid var(--orange-line);
  color: var(--orange-deep);
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
}
.cpc-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.cpc-pill-light {
  background: rgba(239,97,51,.14);
  border-color: rgba(239,97,51,.32);
  color: #FFD9CB;
}

.cpc-sec { padding: 66px 0; }
.cpc-sec-alt { background: var(--surface); border-block: 1px solid var(--line); }

.cpc-sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 30px; flex-wrap: wrap;
}
.cpc-kicker {
  display: block; margin-bottom: 8px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .6px;
  color: var(--orange);
}
.cpc-sec-head h2 { margin: 0; font-size: clamp(24px, 3vw, 33px); font-weight: 700; }
.cpc-sec-note { font-size: 14.5px; color: var(--muted); }
.cpc-sec-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; font-weight: 700; color: var(--navy); text-decoration: none;
}
.cpc-sec-link:hover { color: var(--orange); }

/* ═══════════════════════════════ الترويسة */

.cpc-header { position: relative; z-index: 60; }

/* الطبقة ١ */
.cpc-topbar { background: var(--navy-deep); color: var(--on-navy); font-size: 13px; }
.cpc-topbar-in { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 16px; }
.cpc-topbar-side { display: flex; align-items: center; gap: 18px; min-width: 0; }
.cpc-topbar-item {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--on-navy); text-decoration: none; white-space: nowrap;
}
.cpc-topbar-item svg { color: var(--orange); }
.cpc-topbar-tel:hover { color: #fff; }
.cpc-topbar-sep { width: 1px; height: 15px; background: var(--navy-line); flex: none; }

/* الطبقة ٢ */
.cpc-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.cpc-head-in { display: flex; align-items: center; gap: 26px; height: 88px; }

.cpc-burger {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: var(--sand); border: 1px solid var(--line);
  border-radius: var(--r-sm); color: var(--navy-deep); cursor: pointer;
}

.cpc-logo { flex: none; display: flex; align-items: center; text-decoration: none; }
.cpc-logo img { height: 58px; width: auto; display: block; }
.cpc-logo-text { font: 900 24px 'Cairo', sans-serif; color: var(--navy-deep); }

.cpc-search {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; gap: 12px;
  height: 48px; padding: 0 8px 0 16px;
  background: var(--sand);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  transition: border-color .18s ease, background .18s ease;
}
.cpc-search:focus-within { border-color: var(--navy); background: var(--surface); }
.cpc-search .cpc-search-i { color: var(--muted); }
.cpc-search input[type="search"] {
  flex: 1 1 auto; min-width: 0;
  border: 0; background: none; outline: none; box-shadow: none;
  font: 400 15px 'Almarai', sans-serif; color: var(--ink); padding: 0;
}
.cpc-search input::placeholder { color: var(--muted); }
.cpc-search button {
  flex: none; height: 34px; padding: 0 18px;
  background: var(--navy); color: #fff; border: 0; border-radius: var(--r-sm);
  font: 700 13.5px 'Almarai', sans-serif; cursor: pointer;
  transition: background .18s ease;
}
.cpc-search button:hover { background: var(--orange); }
.cpc-search-m { display: none; }

.cpc-head-acts { flex: none; display: flex; align-items: center; gap: 10px; }
.cpc-act {
  display: flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 15px;
  border: 1.5px solid var(--line); border-radius: var(--r);
  color: var(--navy-deep); text-decoration: none;
  transition: border-color .18s ease, background .18s ease;
}
.cpc-act:hover { border-color: var(--navy); color: var(--navy-deep); background: var(--sand); }
.cpc-act-txt { display: flex; flex-direction: column; line-height: 1.25; }
.cpc-act-txt small { font-size: 11px; color: var(--muted); }
.cpc-act-txt strong { font-size: 13.5px; font-weight: 700; color: var(--navy-deep); }
.cpc-act-cart { background: var(--navy); border-color: var(--navy); color: #fff; }
.cpc-act-cart:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.cpc-act-cart .cpc-act-txt small { color: var(--on-navy); }
.cpc-act-cart .cpc-act-txt strong { color: #fff; }
.cpc-act-cart .cpc-act-txt strong .amount { color: #fff; }

.cpc-cart-ico { position: relative; display: flex; }
.cpc-cart-n {
  position: absolute; inset-block-start: -7px; inset-inline-start: -9px;
  min-width: 19px; height: 19px; padding: 0 5px;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange); color: #fff;
  border-radius: 999px; font-size: 11px; font-weight: 700;
}
.cpc-cart-n.is-empty { display: none; }

/* الطبقة ٣ */
.cpc-catbar { background: var(--navy); }
.cpc-catbar-in { display: flex; align-items: stretch; gap: 6px; min-height: 52px; }

.cpc-catbar-all {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 0 20px; background: var(--orange); color: #fff;
  font-size: 14.5px; font-weight: 700; text-decoration: none;
  transition: background .18s ease;
}
.cpc-catbar-all:hover { background: var(--orange-deep); color: #fff; }

.cpc-catbar-list {
  display: flex; align-items: stretch; gap: 0;
  margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scrollbar-width: none;
}
.cpc-catbar-list::-webkit-scrollbar { display: none; }
.cpc-catbar-list a {
  display: flex; align-items: center; padding: 0 15px;
  color: var(--on-navy); font-size: 14.5px; text-decoration: none;
  white-space: nowrap; border-bottom: 3px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.cpc-catbar-list a:hover { color: #fff; }
.cpc-catbar-list a.is-current { color: #fff; font-weight: 700; border-bottom-color: var(--orange); }

.cpc-catbar-wa {
  margin-inline-start: auto;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 4px; color: #FFD9CB; font-size: 13.5px; font-weight: 700;
  text-decoration: none; white-space: nowrap;
}
.cpc-catbar-wa svg { color: var(--wa); }
.cpc-catbar-wa:hover { color: #fff; }

/* ─────────────────────────────── القائمة الجانبية */

.cpc-drawer { position: fixed; inset: 0; z-index: 200; }
.cpc-drawer[hidden] { display: none; }
.cpc-drawer-veil { position: absolute; inset: 0; background: rgba(20,42,80,.5); animation: cpc-fade .2s ease; }
.cpc-drawer-panel {
  position: absolute; inset-block: 0; inset-inline-end: 0;
  width: min(86vw, 340px);
  background: var(--surface);
  display: flex; flex-direction: column;
  box-shadow: var(--sh-lg);
  animation: cpc-slide .24s cubic-bezier(.22,.7,.3,1);
}
@keyframes cpc-fade { from { opacity: 0 } }
@keyframes cpc-slide { from { transform: translateX(-100%) } }
html[dir="rtl"] .cpc-drawer-panel { animation-name: cpc-slide-rtl; }
@keyframes cpc-slide-rtl { from { transform: translateX(100%) } }

.cpc-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; padding-inline: 20px;
  border-bottom: 1px solid var(--line);
  font: 700 16px 'Cairo', sans-serif; color: var(--navy-deep);
}
.cpc-drawer-head button {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: var(--sand); border: 0; border-radius: var(--r-sm);
  color: var(--navy-deep); cursor: pointer;
}
.cpc-drawer-list { flex: 1 1 auto; overflow-y: auto; margin: 0; padding: 8px 0; list-style: none; }
.cpc-drawer-list a {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 20px; color: var(--ink); text-decoration: none; font-size: 15px;
}
.cpc-drawer-list a:hover { background: var(--sand); color: var(--navy); }
.cpc-drawer-list svg { color: var(--orange); }
.cpc-drawer-foot { padding: 16px 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.cpc-drawer-tel { text-align: center; font: 700 16px 'Almarai', sans-serif; color: var(--navy); text-decoration: none; }

body.cpc-locked { overflow: hidden; }

/* ═══════════════════════════════ الرئيسية — الهيرو */

.cpc-hero { background: linear-gradient(180deg, #fff 0%, var(--ground) 100%); }
.cpc-hero-in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: 52px; padding-block: 60px 54px;
}
.cpc-hero-copy { display: flex; flex-direction: column; gap: 24px; }
.cpc-hero-copy h1 {
  margin: 0; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.24;
  font-weight: 700; letter-spacing: -.5px; text-wrap: balance;
}
.cpc-hero-copy h1 em { font-style: normal; color: var(--orange); }
.cpc-hero-copy > p {
  margin: 0; max-width: 540px;
  font-size: clamp(16px, 1.6vw, 18.5px); line-height: 1.85; color: var(--ink-2);
}
.cpc-hero-btns { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; padding-top: 2px; }

.cpc-hero-stats {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid var(--line);
}
.cpc-hero-stats > div { display: flex; flex-direction: column; gap: 3px; }
.cpc-hero-stats strong { font: 700 26px 'Cairo', sans-serif; color: var(--navy-deep); }
.cpc-hero-stats span { font-size: 13.5px; color: var(--muted); }
.cpc-hero-stats > i { width: 1px; height: 40px; background: var(--line); }

/* لوحة الهيرو */
.cpc-art {
  position: relative; height: 440px;
  background: var(--navy); border-radius: 18px; overflow: hidden;
}
.cpc-art-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(239,97,51,.35) 0%, rgba(27,54,101,0) 58%);
}
.cpc-art-row {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 20px;
  padding: 40px 30px 96px;
}
.cpc-art-bottle {
  border-radius: 10px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--navy-soft) 0%, var(--navy) 100%);
  border: 1px solid #3D5C94;
}
.cpc-art-bottle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cpc-art-b0, .cpc-art-b2 { width: 108px; height: 206px; }
.cpc-art-b1 { width: 132px; height: 262px; background: linear-gradient(160deg, #35528A 0%, var(--navy) 100%); border-color: #46659E; }
.cpc-art-bottle.is-blank::after {
  content: ''; width: 46%; height: 58%;
  border: 1.5px dashed rgba(201,212,232,.32); border-radius: 6px;
}

.cpc-art-card {
  position: absolute; inset-block-end: 20px; inset-inline: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: rgba(255,255,255,.97); border-radius: var(--r);
  padding: 15px 18px;
}
.cpc-art-card small { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 3px; }
.cpc-art-card strong { font: 700 16px 'Cairo', sans-serif; color: var(--navy-deep); }
.cpc-art-timer {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  background: var(--orange-tint); color: var(--orange-deep);
  padding: 8px 13px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 700; white-space: nowrap;
}

/* ─────────────────────────────── شريط الثقة */

.cpc-trust { background: var(--surface); border-block: 1px solid var(--line); }
.cpc-trust-in {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px; padding-block: 24px;
}
.cpc-trust-item { display: flex; align-items: center; gap: 14px; }
.cpc-trust-ico {
  flex: none; width: 46px; height: 46px; border-radius: 10px;
  background: var(--orange-tint); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.cpc-trust-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cpc-trust-txt strong { font-size: 15px; font-weight: 700; color: var(--navy-deep); }
.cpc-trust-txt small { font-size: 13px; color: var(--muted); }

/* ─────────────────────────────── الأقسام */

.cpc-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.cpc-cat {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  min-height: 186px; padding: 22px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; text-decoration: none;
  transition: transform .18s ease, box-shadow .22s ease, border-color .18s ease;
}
.cpc-cat:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--line-2); }

.cpc-cat--feat {
  grid-column: span 2; min-height: 206px;
  background: var(--navy); border-color: var(--navy);
  align-items: center;
}
.cpc-cat-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(239,97,51,.32) 0%, rgba(27,54,101,0) 60%);
}

.cpc-cat-body { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cpc-cat-kicker { font-size: 12.5px; font-weight: 700; color: var(--orange); }
.cpc-cat-body strong { font: 700 20px 'Cairo', sans-serif; color: var(--navy-deep); }
.cpc-cat-meta { font-size: 13.5px; color: var(--muted); }
.cpc-cat--feat .cpc-cat-body strong { font-size: 29px; color: #fff; }
.cpc-cat--feat .cpc-cat-meta { color: var(--on-navy-soft); }
.cpc-cat-go {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 6px;
  color: #fff; font-size: 14px; font-weight: 700;
}
.cpc-cat-go svg { color: var(--orange); }

.cpc-cat-img {
  position: relative; flex: none;
  width: 54px; height: 74px; border-radius: 6px;
  background: #F1EEE8; overflow: hidden;
  align-self: flex-start;
}
.cpc-cat--feat .cpc-cat-img {
  width: 104px; height: 146px; align-self: center; border-radius: 8px;
  background: linear-gradient(160deg, #35528A, var(--navy)); border: 1px solid #46659E;
}
.cpc-cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ─────────────────────────────── حالة فارغة */

.cpc-empty {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 48px 24px; text-align: center;
  background: var(--sand); border: 1.5px dashed var(--line-2); border-radius: var(--r-lg);
  color: var(--muted);
}
.cpc-empty svg { color: var(--orange); }
.cpc-empty strong { font: 700 19px 'Cairo', sans-serif; color: var(--navy-deep); }
.cpc-empty p { margin: 0; max-width: 460px; font-size: 14.5px; line-height: 1.8; }
.cpc-empty .cpc-btn { margin-top: 6px; }

/* ─────────────────────────────── شريحة الكميات */

.cpc-tiers { background: var(--navy-deep); color: #fff; }
.cpc-tiers-in {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 48px; align-items: center; padding-block: 66px;
}
.cpc-tiers-copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.cpc-tiers-copy h2 { margin: 0; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.32; color: #fff; }
.cpc-tiers-copy p { margin: 0; max-width: 520px; font-size: 16.5px; line-height: 1.9; color: var(--on-navy); }

.cpc-tiers-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg);
  padding: 24px;
  backdrop-filter: blur(2px);
}
.cpc-tiers-head { display: block; font-size: 13px; color: var(--on-navy-soft); margin-bottom: 14px; }
.cpc-tiers-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.cpc-tiers-card li {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 15px 17px; border-radius: var(--r);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  font-size: 15px; color: var(--on-navy);
}
.cpc-tiers-card li strong { font: 700 17px 'Cairo', sans-serif; color: #fff; display: flex; align-items: center; gap: 9px; }
.cpc-tiers-card li.is-best { background: rgba(239,97,51,.16); border-color: rgba(239,97,51,.42); color: #fff; }
.cpc-tiers-card li.is-best em {
  font-style: normal; font-size: 12px; font-weight: 700;
  background: var(--orange); color: #fff; padding: 4px 9px; border-radius: 999px;
}
.cpc-tiers-note { display: block; margin-top: 14px; font-size: 12.5px; color: rgba(201,212,232,.7); line-height: 1.7; }

/* ─────────────────────────────── خطوات الطلب */

.cpc-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cpc-step {
  position: relative;
  display: flex; flex-direction: column; gap: 9px;
  padding: 26px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
}
.cpc-step-n {
  position: absolute; inset-block-start: 18px; inset-inline-end: 20px;
  font: 900 34px 'Cairo', sans-serif; color: var(--line); line-height: 1;
}
.cpc-step-ico {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--orange-tint); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.cpc-step strong { font: 700 17px 'Cairo', sans-serif; color: var(--navy-deep); }
.cpc-step p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--muted); }

/* ═══════════════════════════════ التذييل */

.cpc-footer {
  background: var(--navy-deep); color: var(--on-navy);
  padding-block: 54px 0; margin-top: 0;
}

/* الشبكة تُبنى حسب عدد الأعمدة الموجود فعلاً — لا مسارات فارغة */
.cpc-f-grid { display: grid; gap: 40px; align-items: start; }
.cpc-f-grid-4 { grid-template-columns: 1.7fr 1fr 1fr 1.4fr; }
.cpc-f-grid-3 { grid-template-columns: 1.7fr 1fr 1.4fr; }
.cpc-f-grid-2 { grid-template-columns: 1.7fr 1.4fr; }

.cpc-f-col h3 {
  margin: 0 0 16px; font-size: 16px; font-weight: 700; color: #fff;
  font-family: 'Cairo', sans-serif;
}
.cpc-f-logo { height: 62px; width: auto; display: block; margin-bottom: 16px; }
.cpc-f-name { display: block; font: 900 22px 'Cairo', sans-serif; color: #fff; margin-bottom: 14px; }
.cpc-f-about { margin: 0 0 20px; font-size: 14.5px; line-height: 1.95; color: var(--on-navy); max-width: 380px; }

.cpc-f-contact { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 11px; }
.cpc-f-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.6; }
.cpc-f-contact svg { color: var(--orange); margin-top: 2px; }
.cpc-f-contact a { color: var(--on-navy); text-decoration: none; }
.cpc-f-contact a:hover { color: #fff; }

.cpc-f-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.cpc-f-links a { font-size: 14.5px; color: var(--on-navy); text-decoration: none; transition: color .15s ease; }
.cpc-f-links a:hover { color: var(--orange); }

.cpc-f-help { margin: 0 0 16px; font-size: 14.5px; line-height: 1.9; color: var(--on-navy); }
.cpc-f-cta { display: grid; gap: 10px; }
.cpc-f-cta .cpc-btn { width: 100%; }
.cpc-f-pay {
  display: flex; align-items: center; gap: 9px;
  margin-top: 16px; padding: 12px 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-sm); font-size: 13px; color: var(--on-navy);
}
.cpc-f-pay svg { color: var(--orange); }

/* السوشيال — دوائر ثابتة المقاس بألوان المنصات عند التمرير */
.cpc-f-social { display: flex; align-items: center; gap: 10px; }
.cpc-soc {
  width: 40px; height: 40px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%; color: #fff; text-decoration: none;
  transition: transform .16s ease, background .2s ease, border-color .2s ease;
}
.cpc-soc:hover { transform: translateY(-2px); color: #fff; }
.cpc-soc-facebook:hover  { background: #1877F2; border-color: #1877F2; }
.cpc-soc-instagram:hover { background: linear-gradient(45deg,#F58529,#DD2A7B,#8134AF); border-color: #DD2A7B; }
.cpc-soc-tiktok:hover    { background: #000; border-color: #25F4EE; }
.cpc-soc-whatsapp:hover  { background: var(--wa); border-color: var(--wa); color: #06301A; }

.cpc-f-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-top: 44px; padding-block: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px; color: rgba(201,212,232,.75);
}

/* زر واتساب عائم — موبايل فقط */
.cpc-wa-float {
  position: fixed; inset-block-end: 18px; inset-inline-start: 18px; z-index: 150;
  width: 54px; height: 54px; display: none;
  align-items: center; justify-content: center;
  background: var(--wa); color: #06301A;
  border-radius: 50%; box-shadow: 0 8px 22px rgba(37,211,102,.4);
  text-decoration: none;
}
.cpc-wa-float svg { width: 27px; height: 27px; }

/* ═══════════════════════════════ ووكومرس */

.woocommerce ul.products li.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  transition: transform .18s ease, box-shadow .22s ease, border-color .18s ease;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--line-2);
}
.woocommerce ul.products li.product img { border-radius: 10px; margin-bottom: 12px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 15.5px !important; font-weight: 700; line-height: 1.6; padding: 0 0 6px !important;
}
.woocommerce ul.products li.product .price { color: var(--navy-deep); font-weight: 700; font-size: 16px; }
.woocommerce ul.products li.product .price del { color: var(--muted); font-weight: 400; font-size: 14px; }
.woocommerce ul.products li.product .price ins { color: var(--orange); text-decoration: none; }

.woocommerce ul.products li.product .button,
.woocommerce a.button, .woocommerce button.button,
.woocommerce .button.alt, .woocommerce #respond input#submit {
  background: var(--orange); color: #fff;
  border-radius: var(--r-sm); font-weight: 700;
  padding: 11px 20px;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce .button.alt:hover { background: var(--orange-deep); color: #fff; }

.woocommerce span.onsale {
  background: var(--good); color: #fff;
  border-radius: 999px; font-weight: 700; min-height: auto; padding: 6px 13px; line-height: 1;
}

.cpc-min-note {
  margin: 10px 0 0; padding: 10px 14px;
  background: var(--orange-tint); border: 1px solid var(--orange-line);
  border-radius: var(--r-sm); font-size: 13.5px; color: var(--orange-deep);
}

/* ═══════════════════════════════ الموبايل */

@media (max-width: 1100px) {
  .cpc-hero-in { gap: 36px; }
  .cpc-art { height: 380px; }
  .cpc-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cpc-cat--feat { grid-column: span 2; }
  .cpc-trust-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cpc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cpc-f-grid-4 { grid-template-columns: 1.5fr 1fr; }
  .cpc-f-grid-3, .cpc-f-grid-2 { grid-template-columns: 1.5fr 1fr; }
}

@media (max-width: 900px) {
  :root { --pad: 16px; }

  .cpc-hide-md { display: none !important; }
  .cpc-burger { display: flex; }

  .cpc-head-in { height: 68px; gap: 12px; }
  .cpc-logo img { height: 44px; }
  .cpc-head-in .cpc-search { display: none; }
  .cpc-search-m {
    display: flex; height: 42px; margin: 0 var(--pad) 12px; padding-inline: 14px;
  }
  .cpc-search-m button { display: none; }

  .cpc-act { height: 42px; padding: 0 11px; }
  .cpc-act-user .cpc-act-txt { display: none; }

  .cpc-catbar { display: none; }
  .cpc-topbar-in { height: 36px; font-size: 12px; }

  .cpc-hero-in { grid-template-columns: 1fr; padding-block: 34px 40px; gap: 30px; }
  .cpc-art { height: 300px; order: -1; }
  .cpc-art-row { padding: 26px 20px 88px; gap: 14px; }
  .cpc-art-b0, .cpc-art-b2 { width: 78px; height: 148px; }
  .cpc-art-b1 { width: 96px; height: 190px; }
  .cpc-art-card { padding: 12px 14px; }
  .cpc-art-card strong { font-size: 14px; }
  .cpc-hero-stats { gap: 18px; }
  .cpc-hero-stats strong { font-size: 21px; }
  .cpc-hero-btns .cpc-btn { flex: 1 1 auto; }

  .cpc-sec { padding: 44px 0; }
  .cpc-tiers-in { grid-template-columns: 1fr; gap: 30px; padding-block: 44px; }
  .cpc-steps { grid-template-columns: 1fr; }
  .cpc-cats { grid-template-columns: 1fr; }
  .cpc-cat--feat { grid-column: span 1; }

  .cpc-f-grid { grid-template-columns: 1fr !important; gap: 32px; }
  .cpc-footer { padding-top: 40px; padding-bottom: 76px; }
  .cpc-f-bar { margin-top: 30px; }

  .cpc-wa-float { display: flex; }

  .woocommerce ul.products[class*="columns-"] li.product { width: 48% !important; }
}

@media (max-width: 520px) {
  .cpc-trust-in { grid-template-columns: 1fr; gap: 14px; padding-block: 18px; }
  .cpc-hero-stats > i { display: none; }
  .cpc-hero-stats > div { flex: 1 1 40%; }
}
