/* =========================================================================
   eez — إضافات نسخة الخادم (Blade) فوق main.css
   ========================================================================= */

.hero-accent { background-image: linear-gradient(110deg, #f1d9ff, #e9a3c4 50%, #f2dcc1); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* حقل مخفي لاصطياد البرامج الآلية */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* زر بطاقة الفيديو */
button.video-card { width: 100%; border: 0; text-align: start; font: inherit; }
button.video-card h3, button.video-card p { color: #fff; }

/* صور الصالونات والفريق */
.partner .logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar div img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* نجاح النماذج */
.form-success { text-align: center; padding: 30px 10px; }
.form-success .ok { width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; animation: pop .7s var(--ease-spring); }
.form-success .ok svg { width: 42px; height: 42px; }
.form-success h3 { font-size: 24px; margin-bottom: 8px; }
.form-success p { color: var(--muted); }
.form-success .ref { display: inline-block; margin-top: 16px; padding: 10px 18px; border-radius: 14px; background: var(--surface-2); border: 1px dashed var(--line-2); font-family: var(--font-en); font-weight: 700; letter-spacing: .06em; }

/* الترقيم */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pager .pg { min-width: 44px; height: 44px; padding-inline: 12px; display: grid; place-items: center; border-radius: 12px; border: 1.5px solid var(--line-2); font-weight: 700; font-family: var(--font-en); background: var(--surface); transition: .25s; }
.pager a.pg:hover { border-color: var(--violet); color: var(--violet); }
.pager .pg.active { background: var(--plum); border-color: var(--plum); color: #fff; }
.pager .pg.disabled { opacity: .4; }

/* فلاتر العلامات */
.brand-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: -14px 0 24px; }
.chip-link { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 700; color: var(--ink-2); background: var(--surface); transition: .25s; }
.chip-link:hover, .chip-link.active { border-color: var(--violet); color: var(--violet); }
.p-cat:hover { text-decoration: underline; }

/* الدرجات كأزرار راديو */
.swatch-radio { position: relative; display: inline-flex; cursor: pointer; }
.swatch-radio input { position: absolute; opacity: 0; pointer-events: none; }
.swatch-radio input:focus-visible + .swatch::after { border-color: var(--lilac); }

/* اختيار رمز الدولة بجانب الهاتف */
.cc-select { appearance: none; border-radius: 14px 0 0 14px; cursor: pointer; padding-inline: 12px; color: var(--ink); min-width: 86px; }
.otp-single { text-align: center; font-size: 26px; letter-spacing: .5em; font-weight: 800; font-family: var(--font-en); height: 64px; }
.link-btn { color: var(--violet); font-weight: 700; font-size: 14px; }
.acc-nav form button { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; font-weight: 700; font-size: 15px; color: var(--berry); width: 100%; }
.acc-nav form button svg { width: 20px; height: 20px; }
.addr-card footer form { display: inline; margin-inline-start: auto; }

/* صفحة السلة الكاملة */
.cart-page { padding: 0; overflow: hidden; }
.cart-page .cd-head { display: none; }
.cart-page .cd-body { max-height: none; }

/* شريط الموافقة على ملفات التعريف */
.consent { position: fixed; z-index: 120; inset-inline: 16px; bottom: 16px; max-width: 560px; margin-inline: auto; padding: 16px 18px; border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.consent p { flex: 1; min-width: 220px; }
.consent-btns { display: flex; gap: 8px; }
.consent[hidden] { display: none !important; }

/* رسائل الأخطاء العامة */
.alert-box { padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; font-weight: 600; }
.field.invalid .err:empty { display: none; }
.co-opts.invalid .co-opt { border-color: var(--berry); }
.p-quick { margin: 0; }
.studio-actions form { display: inline-flex; }

.stepper[data-stage="1"] i:nth-child(-n+1), .stepper[data-stage="2"] i:nth-child(-n+2), .stepper[data-stage="3"] i:nth-child(-n+3), .stepper[data-stage="4"] i { background: var(--grad); }
[data-reset][data-stage="2"] .stepper i:nth-child(-n+2), [data-reset][data-stage="3"] .stepper i:nth-child(-n+3) { background: var(--grad); }
.s-card[hidden] { display: none !important; }
.order-actions form { display: inline; }

/* الشعارات: الطول من التصميم والعرض تلقائي (الأبعاد في الوسم لمنع اهتزاز الصفحة فقط) */
.f-brand img, .mn-top img, .film-logo, .auth-visual .brand img { width: auto; }

/* شريط الصالونات: مسافة داخلية فوق وتحت عشان الدواير (وحركتها عند المرور) ما تتقصّش بقناع التلاشي، مع تكبير بسيط */
.partners-mask { padding-block: 18px 8px; margin-block: -18px -8px; }
.partner { width: 184px; }
.partner .logo { width: 124px; height: 124px; }

/* نص ثابت بجانب أيقونة المساعدة: يوضح وظيفتها ويشجع على السؤال */
.chat-label { position: fixed; z-index: 109; bottom: 36px; inset-inline-end: 102px; display: grid; gap: 1px; text-align: start;
  padding: 9px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  box-shadow: 0 12px 30px -14px rgba(80, 24, 175, .45); cursor: pointer; font: inherit; transition: opacity .35s var(--ease), transform .35s var(--ease); animation: chatLabelIn .6s var(--ease) both; }
.chat-label b { font-size: 14px; font-weight: 800; color: var(--violet); white-space: nowrap; }
.chat-label small { font-size: 12px; color: var(--muted); white-space: nowrap; }
.chat-label:hover { transform: translateY(-2px); }
.chat-open .chat-label, .eez-chat:has(.chat-teaser.show) .chat-label { animation: none; opacity: 0; pointer-events: none; transform: translateY(6px); }
@keyframes chatLabelIn { from { opacity: 0; transform: translateX(var(--chat-in, 12px)); } to { opacity: 1; transform: none; } }
[dir="rtl"] .chat-label { --chat-in: -12px; }
@media (max-width: 520px) {
  .chat-label { bottom: 26px; inset-inline-end: 82px; padding: 7px 12px; }
  .chat-label b { font-size: 12.5px; }
  .chat-label small { display: none; }
}

/* أزرار الرد: زر بعرض كامل، والأزرار المتجاورة (مثل الأرقام) جنب بعض بالتساوي */
.msg .btns .inline-btn.wide { flex: 1 1 100%; justify-content: center; }
.msg .btns .inline-btn.pair { flex: 1 1 0; justify-content: center; margin-top: 0; }
.msg .btns .inline-btn.wide + .inline-btn.pair, .msg .btns .inline-btn.wide ~ .inline-btn.pair { margin-top: 0; }
