/* Al-Badr image-size fix v3 */
/*
Theme Name: Al Badr Studio - التصميم المعتمد
Theme URI: https://www.studioalbadr.com
Author: Al Badr Studio
Description: التصميم المعتمد لاستديو البدر مع الحفاظ على وظائف الأعمال والتصنيفات والصوت وYouTube ولوحة التحكم اليدوية.
Version: 4.2.44
Text Domain: albadr-studio
*/
:root{--bg:#031126;--bg2:#061a35;--panel:#071a34;--text:#fff;--muted:#b6c1d2;--blue:#098cff;--cyan:#00d7ff;--purple:#b000ff;--pink:#e900b8;--line:rgba(61,137,255,.48);--max:970px;--radius:12px;--body-size:15px;--font:Tahoma,Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#031126;color:var(--text);font-family:var(--font);font-size:var(--body-size);line-height:1.65}a{text-decoration:none;color:inherit}.container{width:min(calc(100% - 28px),var(--max));margin:auto}
.site-header{height:54px;background:rgba(2,9,27,.97);border-top:1px solid rgba(255,255,255,.15);border-bottom:1px solid rgba(50,123,255,.35);position:relative;z-index:100}.header-inner{height:54px;display:flex;align-items:center;justify-content:space-between;gap:12px}.site-brand{display:flex;align-items:center;order:3}.site-brand img{width:145px;height:48px;object-fit:contain}.main-nav{order:2;display:flex;align-items:center;justify-content:center;flex:1;height:100%;font-size:12px}.main-nav>a,.nav-menu>li>a{display:flex;align-items:center;height:100%;padding:0 13px;position:relative;white-space:nowrap}.main-nav>a:hover,.main-nav>a.active,.nav-menu>li>a:hover{color:#fff}.main-nav>a.active:after,.nav-menu>li.current-menu-item>a:after{content:"";position:absolute;bottom:4px;right:50%;transform:translateX(50%);width:38px;height:2px;background:linear-gradient(90deg,var(--pink),var(--cyan));box-shadow:0 0 8px var(--purple)}.nav-menu{display:flex;align-items:center;gap:0;list-style:none;margin:0;padding:0}.nav-menu li{height:100%}.header-tools{order:1;display:flex;align-items:center;gap:10px}.lang{font-size:11px;color:#e7edf8}.en{padding-right:7px;border-right:1px solid rgba(255,255,255,.16)}.socials{display:flex;gap:11px;align-items:center}.socials a{font-weight:700;font-size:15px;width:18px;text-align:center;color:#f4f8ff}.mobile-menu{display:none;background:none;color:#fff;border:0;font-size:23px}
.hero-final{height:335px;position:relative;overflow:hidden;border-bottom:1px solid rgba(20,109,255,.45)}.hero-bg{position:absolute;inset:0;background-image:url('assets/studio-1.png');background-size:cover;background-position:center 48%}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,13,35,.12) 0%,rgba(2,13,35,.08) 45%,rgba(2,9,28,.92) 78%,rgba(2,9,28,.98) 100%),linear-gradient(0deg,rgba(2,9,27,.22),transparent 45%)}.hero-final-inner{height:100%;position:relative;display:flex;align-items:center;justify-content:space-between}.hero-copy-final{width:39%;text-align:right;padding-right:4px;direction:rtl}.hero-welcome{color:#28c5ff;font-size:16px;margin-bottom:2px}.hero-copy-final h1{font-size:41px;line-height:1.05;margin:0;font-weight:800}.hero-copy-final h1 span{color:#e500b6}.hero-copy-final h2{font-size:28px;line-height:1.15;margin:4px 0 7px;font-weight:800}.hero-copy-final p{font-size:14px;margin:0 0 10px;color:#e8edf8}.hero-features{display:flex;justify-content:flex-start;gap:17px;font-size:10px;color:#e8eafa;margin-bottom:17px}.hero-features span{white-space:nowrap}.hero-cta{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(90deg,#ed00a9,#ff8b1c);border-radius:30px;padding:8px 24px;font-size:12px;font-weight:700;box-shadow:0 7px 25px rgba(236,0,168,.22)}.hero-cta b{font-size:15px}.hero-play-area{width:59%;height:100%;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column}.hero-play{width:58px;height:58px;border-radius:50%;border:1px solid rgba(255,255,255,.8);background:rgba(3,12,31,.36);color:#fff;font-size:24px;padding-left:4px;cursor:pointer;box-shadow:0 0 0 6px rgba(4,16,45,.18)}.hero-video-label{margin-top:8px;background:rgba(7,15,40,.78);border:1px solid rgba(255,255,255,.15);padding:4px 14px;border-radius:20px;font-size:10px}.hero-hidden-video{display:none;position:absolute;width:75%;max-width:540px;z-index:5;border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 50px #000}.hero-play-area.show-video .hero-hidden-video{display:block}
.section-final{padding:18px 0;background:#04142c}.categories-final{padding-top:10px}.section-title-final{display:flex;justify-content:flex-end;align-items:center;gap:10px;text-align:right;margin-bottom:9px;direction:rtl}.section-title-final h2{margin:0;font-size:23px;line-height:1.1}.section-title-final p{margin:1px 0 0;color:#b9c4d6;font-size:10px}.wave-mark{font-size:25px;color:#c500ff;line-height:1;transform:scaleX(1.8)}.main-category-grid{display:grid;grid-template-columns:1fr 1fr 1.36fr;gap:8px;direction:ltr}.main-category{position:relative;min-height:270px;overflow:hidden;border-radius:10px;border:1px solid rgba(0,161,255,.62);background:#06172e;box-shadow:inset 0 0 35px rgba(0,80,255,.1)}.cat-bg{position:absolute;inset:0;background-image:var(--cat-bg);background-size:cover;background-position:center top;filter:saturate(1.15)}.cat-glow{position:absolute;inset:0;background:linear-gradient(180deg,rgba(1,14,30,.04) 0%,rgba(4,15,38,.18) 30%,rgba(3,15,36,.88) 70%,rgba(3,14,32,.98) 100%)}.cat-content{position:relative;z-index:2;padding:12px 10px 9px;height:100%;display:flex;flex-direction:column;align-items:stretch;text-align:center;direction:rtl}.cat-icon{width:43px;height:43px;border-radius:50%;margin:0 auto 3px;display:flex;align-items:center;justify-content:center;font-size:26px;border:1px solid rgba(255,255,255,.65);background:rgba(6,13,38,.48);box-shadow:0 0 20px rgba(161,0,255,.38)}.cat-sheilat .cat-icon{box-shadow:0 0 20px rgba(0,221,255,.4)}.cat-content h3{margin:0;font-size:24px;line-height:1.15}.cat-content p{font-size:9px;margin:2px 0 8px;color:#e0e7f2}.cat-links{display:grid;gap:5px;margin-top:auto}.cat-links a{height:31px;border:1px solid rgba(0,221,255,.7);border-radius:18px;background:linear-gradient(90deg,rgba(0,180,255,.15),rgba(6,14,41,.68));display:flex;align-items:center;justify-content:flex-start;padding:0 10px;gap:8px;font-size:9px;font-weight:700;position:relative}.cat-links a b{margin-right:auto;font-size:16px;font-weight:400}.cat-zafat{border-color:rgba(205,0,255,.65)}.cat-zafat .cat-links a{border-color:rgba(212,0,255,.8);background:linear-gradient(90deg,rgba(188,0,255,.18),rgba(20,8,42,.74))}.cat-songs{border-color:rgba(0,112,255,.65)}.cat-songs .cat-links a{border-color:rgba(0,112,255,.8)}.cat-sheilat .cat-links{grid-template-columns:1fr 1fr}.cat-sheilat .cat-links a{height:30px}.cat-sheilat .cat-links a span{font-size:11px}
.youtube-final{background:#020d21;border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(35,101,198,.5);padding:20px 0 23px}.youtube-head{display:flex;justify-content:space-between;align-items:center;direction:ltr;margin-bottom:10px}.youtube-head a{font-size:10px;color:#d7deea}.youtube-head h2{direction:rtl;margin:0;font-size:22px}.yt-logo{display:inline-flex;align-items:center;justify-content:center;width:28px;height:19px;border-radius:5px;background:#ff001b;color:#fff;font-size:12px;margin-left:5px}.youtube-grid-final{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.yt-final{background:#061a36;border:1px solid rgba(24,96,220,.7);border-radius:7px;overflow:hidden}.yt-thumb-final{aspect-ratio:16/9;position:relative;background:#0a1830}.yt-thumb-final iframe,.yt-thumb-final img{width:100%;height:100%;border:0;display:block;object-fit:cover}.fake-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid #fff;background:rgba(0,0,0,.35)}.yt-info{padding:6px 7px;text-align:right;direction:rtl}.yt-info h3{font-size:10px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.yt-info p{margin:2px 0 0;color:#c7cfdd;font-size:8px}.yt-mini{color:#fff;background:#ff001b;border-radius:3px;padding:0 3px}
.outline-btn{display:inline-flex;border:1px solid #f2f6ff;border-radius:18px;padding:5px 17px;font-size:10px;background:rgba(4,13,31,.24)}
.about-final{background:#020e22;border-top:1px solid rgba(25,103,225,.55);padding:12px 0 14px}.about-grid-final{display:grid;grid-template-columns:29% 31% 40%;gap:12px;align-items:stretch;direction:ltr}.about-photo-final{border-radius:8px;overflow:hidden;border:1px solid rgba(0,118,255,.55);min-height:185px}.about-photo-final img{width:100%;height:100%;object-fit:cover}.about-text-final{text-align:right;direction:rtl;padding:7px 5px}.about-text-final h2{font-size:21px;margin:0 0 4px}.about-text-final p{font-size:9px;line-height:1.8;color:#c5cfdf;margin:0 0 5px}.about-text-final strong{color:#fff}.about-values-final{display:grid;grid-template-columns:1fr 1fr;gap:7px;direction:rtl}.about-values-final>div{border:1px solid rgba(24,91,219,.7);border-radius:8px;padding:8px;text-align:right;position:relative;min-height:78px}.about-values-final .wide{grid-column:1/3}.about-values-final span{font-size:20px;color:#d000ff;float:right;margin-left:8px}.about-values-final h3{margin:0;font-size:12px}.about-values-final p{font-size:8px;line-height:1.5;color:#c3ccdb;margin:3px 0}.contact-final{background:#06132b;border-top:1px solid rgba(21,105,230,.5);padding:15px 0}.contact-footer-grid{display:grid;grid-template-columns:25% 29% 23% 23%;gap:10px;align-items:center;direction:ltr}.contact-brand img{width:170px;max-width:100%;height:auto}.contact-footer-grid>div:not(.contact-brand){border-right:1px solid rgba(255,255,255,.13);padding-right:14px;text-align:right;direction:rtl}.contact-footer-grid h3{font-size:12px;margin:0 0 3px}.contact-footer-grid p{font-size:8px;color:#b8c4d4;margin:2px 0}.contact-social-row{display:flex;justify-content:flex-start;gap:12px;margin-top:7px;direction:rtl}.contact-social-row a{width:21px;height:21px;border-radius:50%;background:#e9001b;display:flex;align-items:center;justify-content:center;font-size:10px}.contact-slogan{font-size:13px!important;line-height:1.7;color:#fff}.contact-slogan b{color:#f05a2a}.footer-final{background:#020b1c;border-top:1px solid rgba(255,255,255,.1);padding:7px 0;color:#9daabd;font-size:7px}.footer-final .container{display:flex;justify-content:space-between;align-items:center}
.breadcrumb{padding-top:30px;color:var(--muted);font-size:12px}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.category-child{padding:20px;border:1px solid var(--line);border-radius:12px;background:#061a36}.category-child h3{margin:0 0 5px}.category-child p{color:var(--muted);font-size:11px}.work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.card{background:#061a36;border:1px solid var(--line);border-radius:12px;overflow:hidden}.work-art{aspect-ratio:16/9}.work-art img{width:100%;height:100%;object-fit:cover}.work-body{padding:12px}.work-meta{font-size:9px;color:#63c9ff}.work h3{font-size:14px;margin:3px 0}.work-actions{display:flex;gap:6px;margin-top:8px}.work-actions a{font-size:9px;padding:5px 8px;border-radius:7px}.play{border:1px solid var(--line);background:#0b2848}.download{background:linear-gradient(90deg,#008cff,#8a00ff)}.audio-player{width:100%;height:32px;margin-top:6px}.empty{padding:20px;border:1px dashed var(--line);border-radius:12px;color:var(--muted)}
@media(max-width:900px){.site-header{height:60px}.header-inner{height:60px}.main-nav{display:none;position:absolute;top:60px;right:10px;left:10px;height:auto;background:#04132a;border:1px solid var(--line);border-radius:10px;padding:8px}.main-nav.open{display:block}.main-nav>a,.nav-menu>li>a{height:38px;justify-content:center}.header-tools .socials{display:none}.mobile-menu{display:block;order:2}.site-brand{order:3}.header-tools{order:1}.hero-final{height:470px}.hero-final-inner{align-items:flex-end;padding-bottom:28px}.hero-copy-final{width:48%;z-index:2}.hero-play-area{width:52%;height:100%}.main-category-grid{grid-template-columns:1fr;gap:10px}.main-category{min-height:260px}.cat-sheilat .cat-links{grid-template-columns:1fr 1fr}.youtube-grid-final{grid-template-columns:1fr 1fr}.about-grid-final{grid-template-columns:1fr 1fr}.about-photo-final{grid-row:1/3}.about-values-final{grid-column:1/3}.contact-footer-grid{grid-template-columns:1fr 1fr}.contact-brand{grid-column:1/3;text-align:center}.contact-footer-grid>div:not(.contact-brand){border:0}.footer-final .container{display:block;text-align:center}.footer-final .container>div+div{margin-top:3px}}
@media(max-width:560px){.container{width:min(calc(100% - 16px),var(--max))}.site-brand img{width:120px}.hero-final{height:430px}.hero-copy-final{width:55%}.hero-play-area{width:45%}.hero-copy-final h1{font-size:31px}.hero-copy-final h2{font-size:21px}.hero-copy-final p{font-size:11px}.hero-features{gap:8px;font-size:8px;flex-wrap:wrap}.hero-cta{padding:7px 17px}.section-title-final h2{font-size:19px}.main-category{min-height:300px}.cat-content h3{font-size:25px}.youtube-grid-final{grid-template-columns:1fr}.services-grid-final{grid-template-columns:repeat(3,1fr)}.about-grid-final{grid-template-columns:1fr}.about-photo-final{grid-row:auto;min-height:200px}.about-values-final{grid-column:auto}.about-values-final .wide{grid-column:1/3}.contact-footer-grid{grid-template-columns:1fr}.contact-brand{grid-column:auto}.contact-footer-grid>div:not(.contact-brand){text-align:center;padding:6px 0}.contact-social-row{justify-content:center}.cat-sheilat .cat-links{grid-template-columns:1fr}.cat-links a{height:32px}}


/* AL BADR 4.2.11 — Arabic Perfecty Push labels */
.perfecty-push-dialog-container,.perfecty-push-settings-container{direction:rtl;text-align:right}
.perfecty-push-dialog-container .perfecty-push-dialog-form{text-align:right}
.perfecty-push-dialog-container .perfecty-push-dialog-buttons{direction:rtl}

/* =========================================================
   AL.BADR 3.2 — أقسامنا الرئيسية
   تصميم مستوحى من المرجع البصري المعتمد: بطاقات فخمة، زجاجية،
   صور خلفية واضحة، وإضاءة مستقلة لكل قسم.
   ========================================================= */
.main-category-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  direction:rtl;
  align-items:stretch;
}
.main-category{
  position:relative;
  min-height:510px;
  overflow:hidden;
  border-radius:22px;
  border:1px solid rgba(0,190,255,.72);
  background:#06162e;
  isolation:isolate;
  box-shadow:0 18px 45px rgba(0,0,0,.30),inset 0 0 45px rgba(0,100,255,.10);
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;
}
.main-category:hover{transform:translateY(-6px);box-shadow:0 24px 55px rgba(0,0,0,.42),inset 0 0 50px rgba(0,130,255,.16)}
.main-category::before{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(2,10,28,.02) 0%,rgba(2,10,30,.08) 28%,rgba(2,9,28,.52) 53%,rgba(2,8,25,.94) 100%);
}
.main-category::after{
  content:"";position:absolute;left:10%;right:10%;bottom:9px;height:1px;z-index:3;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(0,210,255,.70),transparent);
  box-shadow:0 0 15px rgba(0,180,255,.55);
}
.cat-bg{
  position:absolute;inset:0;z-index:0;
  background-image:var(--cat-bg);
  background-size:cover;
  background-position:center top;
  filter:saturate(1.12) contrast(1.03);
  transform:scale(1.01);
  transition:transform .45s ease,filter .45s ease;
}
.main-category:hover .cat-bg{transform:scale(1.045);filter:saturate(1.18) contrast(1.05)}
.cat-glow{position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(circle at 50% 22%,rgba(255,255,255,.08),transparent 34%)}
.cat-content{
  position:relative;z-index:4;height:100%;min-height:510px;
  padding:26px 22px 22px;display:flex;flex-direction:column;align-items:stretch;
  text-align:center;direction:rtl;
}
.cat-icon{
  width:62px;height:62px;border-radius:50%;margin:0 auto 8px;
  display:flex;align-items:center;justify-content:center;font-size:34px;
  color:#fff;border:1px solid rgba(255,255,255,.78);
  background:rgba(3,12,35,.42);backdrop-filter:blur(5px);
  box-shadow:0 0 0 5px rgba(255,255,255,.035),0 0 28px rgba(0,185,255,.58),inset 0 0 18px rgba(255,255,255,.08);
}
.cat-content h3{margin:0;font-size:34px;line-height:1.08;font-weight:900;text-shadow:0 3px 16px rgba(0,0,0,.55)}
.cat-content p{font-size:12px;margin:7px 0 17px;color:#f0f5ff;text-shadow:0 2px 8px rgba(0,0,0,.7)}
.cat-links{display:grid;grid-template-columns:1fr;gap:10px;margin-top:auto}
.cat-links a{
  min-height:52px;border:1px solid rgba(0,211,255,.82);border-radius:28px;
  background:linear-gradient(90deg,rgba(0,148,255,.19),rgba(2,17,43,.72));
  display:flex;align-items:center;justify-content:flex-start;padding:0 15px;gap:10px;
  font-size:13px;font-weight:800;position:relative;color:#fff;
  box-shadow:inset 0 0 18px rgba(0,180,255,.08),0 0 9px rgba(0,170,255,.12);
  transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}
.cat-links a:hover{transform:translateX(-3px);background:linear-gradient(90deg,rgba(0,180,255,.28),rgba(3,19,48,.82));box-shadow:0 0 18px rgba(0,190,255,.28),inset 0 0 20px rgba(0,180,255,.10)}
.cat-links a span{font-size:18px;line-height:1;min-width:26px;text-align:center}
.cat-links a b{margin-right:auto;font-size:27px;font-weight:400;line-height:1}
.cat-type-songs{border-color:rgba(0,123,255,.82);box-shadow:0 18px 45px rgba(0,35,120,.32),inset 0 0 48px rgba(0,88,255,.13)}
.cat-type-songs .cat-icon{box-shadow:0 0 0 5px rgba(0,130,255,.04),0 0 30px rgba(0,115,255,.72),inset 0 0 18px rgba(255,255,255,.08)}
.cat-type-songs .cat-links a{border-color:rgba(0,128,255,.88);background:linear-gradient(90deg,rgba(0,105,255,.22),rgba(2,16,48,.76))}
.cat-type-zafat{border-color:rgba(210,0,255,.82);box-shadow:0 18px 45px rgba(100,0,120,.32),inset 0 0 48px rgba(190,0,255,.13)}
.cat-type-zafat .cat-icon{box-shadow:0 0 0 5px rgba(190,0,255,.04),0 0 30px rgba(210,0,255,.75),inset 0 0 18px rgba(255,255,255,.08)}
.cat-type-zafat .cat-links a{border-color:rgba(221,0,255,.88);background:linear-gradient(90deg,rgba(188,0,255,.22),rgba(24,5,48,.78))}
.cat-type-zafat .cat-links a:hover{box-shadow:0 0 18px rgba(220,0,255,.30),inset 0 0 20px rgba(200,0,255,.12)}
.cat-type-sheilat{border-color:rgba(0,220,255,.84);box-shadow:0 18px 45px rgba(0,100,125,.30),inset 0 0 48px rgba(0,205,255,.12)}
.cat-type-sheilat .cat-icon{box-shadow:0 0 0 5px rgba(0,210,255,.04),0 0 30px rgba(0,225,255,.75),inset 0 0 18px rgba(255,255,255,.08)}
.cat-type-sheilat .cat-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.cat-type-sheilat .cat-links a{min-height:54px;padding:0 11px;font-size:11px;border-color:rgba(0,221,255,.86)}
.cat-type-sheilat .cat-links a span{font-size:16px;min-width:20px}
.cat-type-sheilat .cat-links a b{font-size:22px}
@media(max-width:980px){
  .main-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .main-category{min-height:470px}.cat-content{min-height:470px;padding:22px 17px 19px}
  .cat-type-sheilat{grid-column:1/-1}.cat-type-sheilat .cat-links{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:650px){
  .main-category-grid{grid-template-columns:1fr;gap:14px}
  .main-category,.cat-content{min-height:430px}
  .cat-content{padding:22px 15px 18px}.cat-content h3{font-size:30px}.cat-content p{font-size:11px}
  .cat-type-sheilat{grid-column:auto}.cat-type-sheilat .cat-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .cat-type-sheilat .cat-links a{min-height:48px;font-size:10px}
}
@media(max-width:420px){
  .main-category,.cat-content{min-height:410px}.cat-icon{width:56px;height:56px;font-size:30px}.cat-content h3{font-size:27px}
  .cat-links{gap:8px}.cat-links a{min-height:48px;font-size:12px}.cat-type-sheilat .cat-links{grid-template-columns:1fr}
}


/* =========================================================
   AL.BADR 3.3 — Main Sections Visual Refinement
   - Correct section-specific background images
   - Cleaner subcategory icon/label alignment
   ========================================================= */
.main-category .cat-bg{background-repeat:no-repeat;background-color:#06172e;}
.cat-type-songs .cat-bg{background-position:center top;}
.cat-type-zafat .cat-bg{background-position:center top;}
.cat-type-sheilat .cat-bg{background-position:center top;}

.cat-links a{justify-content:space-between;gap:9px;}
.cat-links a .child-icon{
  flex:0 0 34px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(255,255,255,.38);border-radius:50%;
  background:rgba(4,16,40,.48);box-shadow:0 0 12px rgba(0,210,255,.22),inset 0 0 10px rgba(255,255,255,.05);
  font-size:18px;line-height:1;color:#fff;
}
.cat-links a strong{flex:1;min-width:0;text-align:center;line-height:1.25;font-size:13px;font-weight:800;color:#fff;text-shadow:0 1px 7px rgba(0,0,0,.5);}
.cat-links a b{flex:0 0 18px;margin:0;text-align:left;font-size:25px;font-weight:400;line-height:1;color:#fff;}
.cat-type-songs .cat-links a .child-icon{box-shadow:0 0 12px rgba(0,128,255,.34),inset 0 0 10px rgba(255,255,255,.05);}
.cat-type-zafat .cat-links a .child-icon{box-shadow:0 0 12px rgba(220,0,255,.34),inset 0 0 10px rgba(255,255,255,.05);}
.cat-type-sheilat .cat-links a .child-icon{box-shadow:0 0 12px rgba(0,225,255,.34),inset 0 0 10px rgba(255,255,255,.05);}

.cat-type-sheilat .cat-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.cat-type-sheilat .cat-links a{min-height:58px;padding:0 10px;border-radius:30px;}
.cat-type-sheilat .cat-links a strong{font-size:12px;}
.cat-type-sheilat .cat-links a b{font-size:24px;}
@media(min-width:981px){
  .cat-type-sheilat .cat-links a:nth-child(7){grid-column:1;}
  .cat-type-sheilat .cat-links a:nth-child(8){grid-column:2;}
}
@media(max-width:980px){
  .cat-type-sheilat .cat-links{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:650px){
  .cat-type-sheilat .cat-links{grid-template-columns:repeat(2,minmax(0,1fr));}
  .cat-type-sheilat .cat-links a{min-height:54px;}
  .cat-links a .child-icon{width:31px;height:31px;flex-basis:31px;font-size:16px;}
  .cat-links a strong{font-size:11px;}
}
@media(max-width:420px){
  .cat-type-sheilat .cat-links{grid-template-columns:1fr;}
}


/* =========================================================
   AL.BADR 3.4 — Section backgrounds + clean subcategory layout
   ========================================================= */
.main-category .cat-bg{background-size:cover;background-repeat:no-repeat;background-color:#06172e;}
.cat-type-songs .cat-bg{background-image:var(--cat-bg)!important;background-position:center top;}
.cat-type-zafat .cat-bg{background-image:var(--cat-bg)!important;background-position:center top;}
.cat-type-sheilat .cat-bg{background-image:var(--cat-bg)!important;background-position:center top;}
/* The supplied section artwork already contains its title/description. */
.main-category .cat-content>h3,.main-category .cat-content>p{display:none;}
.main-category .cat-content{padding:205px 18px 20px;}
.cat-links a{height:48px;min-height:48px;padding:0 10px;border-radius:26px;gap:8px;}
.cat-links a .child-icon{flex:0 0 34px;width:34px;height:34px;font-size:16px;}
.cat-links a strong{font-size:12px;line-height:1.15;}
.cat-links a b{flex:0 0 18px;font-size:24px;}
.cat-type-sheilat .cat-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.cat-type-sheilat .cat-links a{height:50px;min-height:50px;padding:0 8px;border-radius:27px;}
.cat-type-sheilat .cat-links a strong{font-size:10px;}
@media(max-width:980px){
 .main-category .cat-content{padding:190px 15px 18px;}
 .cat-type-sheilat .cat-links{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:650px){
 .main-category .cat-content{padding:175px 13px 16px;}
 .cat-type-sheilat .cat-links{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:420px){
 .main-category .cat-content{padding:160px 12px 14px;}
 .cat-type-sheilat .cat-links{grid-template-columns:1fr;}
}


/* =========================================================
   AL.BADR 3.5 — FINAL POSITION FIX
   يحافظ على التصميم الحالي، ويضع عنوان «أقسامنا الرئيسية» يمينًا.
   ========================================================= */
body.home .categories-final > .container > .section-title-final {
  justify-content: flex-start !important;
  text-align: right !important;
  direction: rtl !important;
}


/* =========================================================
   AL.BADR 3.6 — FINAL SECTION ARTWORK LOCK
   الخلفيات الجديدة جزء من القالب نفسه، وليست روابط من Customizer.
   هذا يمنع بقاء صور الإصدار القديم بعد تحديث القالب.
   ========================================================= */
body.home .main-category .cat-bg{
  background-size:cover !important;
  background-repeat:no-repeat !important;
  background-position:center top !important;
  filter:saturate(1.08) contrast(1.04) !important;
}
body.home .cat-type-sheilat .cat-bg{background-position:center top !important;}
body.home .cat-type-zafat .cat-bg{background-position:center top !important;}
body.home .cat-type-songs .cat-bg{background-position:center top !important;}

/* Keep the artwork title area visible while leaving the lower area readable for links. */
body.home .main-category .cat-glow{
  background:linear-gradient(180deg,rgba(2,10,28,.02) 0%,rgba(2,9,28,.04) 44%,rgba(2,8,25,.76) 72%,rgba(2,8,25,.96) 100%) !important;
}


/* =========================================================
   AL.BADR 3.7 — CLEAN CATEGORY CONTROLS
   - Remove central icons from Shilat / Zafat / Special Songs.
   - Remove all subcategory icons so Arabic labels are clearer.
   - Keep the existing card sizes, artwork and overall layout.
   ========================================================= */
body.home .main-category .cat-icon,
body.home .main-category .cat-links .child-icon{
  display:none !important;
}
body.home .main-category .cat-links a{
  justify-content:center !important;
  gap:0 !important;
  padding:0 14px !important;
}
body.home .main-category .cat-links a strong{
  flex:1 1 auto !important;
  min-width:0 !important;
  text-align:center !important;
  font-size:13px !important;
  line-height:1.25 !important;
  font-weight:850 !important;
  letter-spacing:0 !important;
}
body.home .main-category .cat-links a b{
  flex:0 0 18px !important;
  margin:0 0 0 6px !important;
  text-align:center !important;
  font-size:24px !important;
  line-height:1 !important;
}
body.home .cat-type-sheilat .cat-links a strong{
  font-size:12px !important;
}
@media(max-width:650px){
  body.home .main-category .cat-links a strong{font-size:12px !important;}
  body.home .cat-type-sheilat .cat-links a strong{font-size:11px !important;}
}

/* =========================================================
   AL.BADR 3.9 — SERVICES SECTION ISOLATED
   Unique classes only: no legacy services artwork/selectors.
   ========================================================= */
body.home .albadr-services-v9{position:relative!important;overflow:hidden!important;min-height:360px!important;background:#020b20!important;border-top:1px solid rgba(38,111,255,.28)!important;border-bottom:1px solid rgba(38,111,255,.28)!important}
body.home .albadr-services-v9-bg{position:absolute!important;inset:0!important;z-index:0!important;background-image:url('assets/albadr-services-v9.jpg')!important;background-size:cover!important;background-position:left center!important;background-repeat:no-repeat!important;opacity:.82!important}
body.home .albadr-services-v9-shade{position:absolute!important;inset:0!important;z-index:1!important;background:linear-gradient(90deg,rgba(2,10,28,.12) 0%,rgba(2,10,28,.30) 32%,rgba(2,10,28,.84) 66%,rgba(2,10,28,.98) 100%),linear-gradient(0deg,rgba(2,9,26,.42),rgba(2,9,26,.08) 52%,rgba(2,9,26,.40))!important}
body.home .albadr-services-v9-inner{position:relative!important;z-index:3!important;padding-top:30px!important;padding-bottom:30px!important}
body.home .albadr-services-v9-heading{display:flex!important;justify-content:flex-start!important;direction:rtl!important;text-align:right!important;margin-bottom:20px!important}
body.home .albadr-services-v9-heading-copy h2{margin:0!important;font-size:32px!important;line-height:1.1!important;font-weight:900!important;color:#fff!important;text-shadow:0 4px 18px rgba(0,0,0,.72)!important}
body.home .albadr-services-v9-heading-copy h2 span{color:#d600ff!important}
body.home .albadr-services-v9-heading-copy p{margin:4px 0 0!important;color:#f1f5ff!important;font-size:13px!important;text-shadow:0 2px 10px rgba(0,0,0,.72)!important}
body.home .albadr-services-v9-grid{width:70%!important;margin-left:auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;direction:rtl!important}
body.home .albadr-services-v9-card{min-height:112px!important;border:1px solid rgba(30,128,255,.92)!important;border-radius:18px!important;background:rgba(3,18,50,.72)!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;box-shadow:inset 0 0 28px rgba(0,100,255,.11),0 12px 30px rgba(0,0,0,.20)!important;backdrop-filter:blur(4px)!important}
body.home .albadr-services-v9-icon{display:block!important;margin-bottom:9px!important;font-size:31px!important;line-height:1!important;color:#d000ff!important;text-shadow:0 0 18px rgba(208,0,255,.48)!important}
body.home .albadr-services-v9-card b{color:#fff!important;font-size:15px!important;font-weight:900!important;text-shadow:0 2px 9px rgba(0,0,0,.58)!important}
@media(max-width:900px){body.home .albadr-services-v9{min-height:0!important}body.home .albadr-services-v9-inner{padding-top:24px!important;padding-bottom:24px!important}body.home .albadr-services-v9-grid{width:100%!important;margin:0!important}}
@media(max-width:560px){body.home .albadr-services-v9-heading-copy h2{font-size:24px!important}body.home .albadr-services-v9-heading-copy p{font-size:11px!important}body.home .albadr-services-v9-grid{grid-template-columns:1fr 1fr!important;gap:9px!important}body.home .albadr-services-v9-card{min-height:94px!important;border-radius:15px!important}body.home .albadr-services-v9-icon{font-size:25px!important;margin-bottom:7px!important}body.home .albadr-services-v9-card b{font-size:11px!important}}


/* =========================================================
   AL.BADR 4.0 — HOMEPAGE REFERENCE MATCH
   Clean category cards: no center icons, no child icons,
   clearer Arabic labels, balanced three-column layout.
   ========================================================= */
body.home .main-category-grid{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:14px !important;
  direction:rtl !important;
}
body.home .main-category{
  min-height:360px !important;
  border-radius:16px !important;
  overflow:hidden !important;
}
body.home .main-category .cat-content{
  min-height:360px !important;
  padding:230px 16px 16px !important;
  display:flex !important;
  flex-direction:column !important;
}
body.home .main-category .cat-glow{
  background:linear-gradient(180deg,rgba(2,10,28,.00) 0%,rgba(2,9,28,.03) 42%,rgba(2,8,25,.70) 65%,rgba(2,8,25,.97) 100%) !important;
}
body.home .main-category .cat-links{
  margin-top:auto !important;
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:10px !important;
}
body.home .main-category .cat-links a{
  min-height:48px !important;
  height:auto !important;
  border-radius:25px !important;
  padding:0 14px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:8px !important;
  background:rgba(3,18,48,.70) !important;
  backdrop-filter:blur(2px) !important;
}
body.home .main-category .cat-links a strong{
  display:block !important;
  flex:1 1 auto !important;
  min-width:0 !important;
  text-align:center !important;
  font-size:13px !important;
  line-height:1.25 !important;
  font-weight:900 !important;
  color:#fff !important;
  text-shadow:0 2px 8px rgba(0,0,0,.7) !important;
}
body.home .main-category .cat-links a b{
  flex:0 0 18px !important;
  margin:0 !important;
  font-size:25px !important;
  font-weight:400 !important;
  color:#fff !important;
  line-height:1 !important;
  text-align:center !important;
}
body.home .cat-type-sheilat .cat-links{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:9px !important;
}
body.home .cat-type-sheilat .cat-links a{
  min-height:50px !important;
  padding:0 9px !important;
  border-radius:27px !important;
}
body.home .cat-type-sheilat .cat-links a strong{
  font-size:11px !important;
}
body.home .cat-type-zafat .cat-links a{
  border-color:rgba(221,0,255,.90) !important;
  background:linear-gradient(90deg,rgba(188,0,255,.18),rgba(24,5,48,.78)) !important;
}
body.home .cat-type-songs .cat-links a{
  border-color:rgba(0,128,255,.90) !important;
  background:linear-gradient(90deg,rgba(0,105,255,.20),rgba(2,16,48,.76)) !important;
}
body.home .cat-type-sheilat .cat-links a{
  border-color:rgba(0,221,255,.90) !important;
  background:linear-gradient(90deg,rgba(0,180,255,.16),rgba(2,17,43,.76)) !important;
}
/* The artwork contains the category title and subtitle, so HTML duplicates stay hidden. */
body.home .main-category .cat-content>h3,
body.home .main-category .cat-content>p,
body.home .main-category .cat-icon,
body.home .main-category .cat-links .child-icon{
  display:none !important;
}
@media(max-width:900px){
  body.home .main-category-grid{grid-template-columns:1fr 1fr 1fr !important;gap:8px !important;}
  body.home .main-category,.main-category .cat-content{min-height:310px !important;}
  body.home .main-category .cat-content{padding:190px 9px 10px !important;}
  body.home .main-category .cat-links{gap:7px !important;}
  body.home .main-category .cat-links a{min-height:40px !important;padding:0 7px !important;}
  body.home .main-category .cat-links a strong{font-size:10px !important;}
  body.home .cat-type-sheilat .cat-links{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:6px !important;}
  body.home .cat-type-sheilat .cat-links a strong{font-size:9px !important;}
}
@media(max-width:620px){
  body.home .main-category-grid{grid-template-columns:1fr !important;gap:12px !important;}
  body.home .main-category,.main-category .cat-content{min-height:390px !important;}
  body.home .main-category .cat-content{padding:220px 13px 14px !important;}
  body.home .main-category .cat-links{gap:8px !important;}
  body.home .main-category .cat-links a{min-height:46px !important;}
  body.home .main-category .cat-links a strong{font-size:12px !important;}
  body.home .cat-type-sheilat .cat-links{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:8px !important;}
  body.home .cat-type-sheilat .cat-links a strong{font-size:11px !important;}
}

/* Services: keep the clean reference composition — image on the left, cards on the right. */
body.home .albadr-services-v9{min-height:330px !important;}
body.home .albadr-services-v9-grid{width:64% !important;max-width:690px !important;}
body.home .albadr-services-v9-card{min-height:105px !important;border-radius:16px !important;}
@media(max-width:900px){body.home .albadr-services-v9-grid{width:100% !important;max-width:none !important;}}

/* =========================================================
   AL.BADR 4.1 — PREMIUM FOOTER
   Taller footer, larger typography, real vector social icons.
   Isolated classes: does not alter the rest of the theme.
   ========================================================= */
.albadr-footer-pro{
  background:#020b1c;
  color:#fff;
  border-top:1px solid rgba(55,132,255,.45);
  overflow:hidden;
}
.albadr-footer-pro-main{
  position:relative;
  min-height:300px;
  padding:42px 0 38px;
  background:
    radial-gradient(circle at 18% 45%,rgba(0,94,255,.10),transparent 34%),
    radial-gradient(circle at 70% 40%,rgba(214,0,255,.07),transparent 32%),
    linear-gradient(180deg,#03132e 0%,#020b1c 100%);
}
.albadr-footer-pro-main:before{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(0,173,255,.55),rgba(214,0,255,.55),transparent);
}
.albadr-footer-pro-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1.15fr 1.15fr 1fr .85fr;
  gap:0;
  align-items:center;
  direction:ltr;
}
.albadr-footer-brand,
.albadr-footer-block{
  min-height:190px;
  padding:15px 30px;
  direction:rtl;
  text-align:right;
}
.albadr-footer-brand{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
}
.albadr-footer-brand img{
  width:245px;
  max-width:100%;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 8px 22px rgba(0,100,255,.12));
}
.albadr-footer-brand p{
  margin:17px 0 0;
  color:#e8eef9;
  font-size:15px;
  font-weight:700;
  line-height:1.8;
}
.albadr-footer-brand p span{color:#f000a8;padding:0 4px}
.albadr-footer-block:not(:first-child){border-right:1px solid rgba(255,255,255,.13)}
.albadr-footer-block h3{
  margin:0 0 8px;
  color:#fff;
  font-size:22px;
  line-height:1.3;
  font-weight:900;
}
.albadr-footer-social p{
  margin:0;
  color:#bfcbe0;
  font-size:13px;
  line-height:1.7;
}
.albadr-footer-socials{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:12px;
  margin-top:19px;
}
.albadr-footer-socials a{
  width:47px;
  height:47px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  border:1px solid rgba(255,255,255,.20);
  box-shadow:0 7px 20px rgba(0,0,0,.25);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.albadr-footer-socials a:hover{
  transform:translateY(-3px) scale(1.04);
  filter:brightness(1.13);
  box-shadow:0 10px 26px rgba(0,0,0,.38);
}
.albadr-footer-socials svg{width:24px;height:24px;display:block}
.albadr-footer-socials .social-youtube{background:#ff0033}
.albadr-footer-socials .social-tiktok{background:#05070b}
.albadr-footer-socials .social-instagram{background:linear-gradient(135deg,#5b25d7,#ee247f 55%,#ffb300)}
.albadr-footer-socials .social-facebook{background:#1877f2}
.albadr-footer-socials .social-telegram{background:#229ed9}
.albadr-footer-socials .social-whatsapp{background:#20c463}
.albadr-footer-contact a{
  display:flex;
  align-items:center;
  gap:10px;
  width:max-content;
  max-width:100%;
  margin:9px 0;
  color:#edf4ff;
  text-decoration:none;
  font-size:15px;
  line-height:1.5;
  direction:rtl;
}
.albadr-footer-contact a:hover{color:#fff}
.albadr-footer-contact a b{font-weight:800;white-space:nowrap}
.contact-icon{
  width:33px;height:33px;flex:0 0 33px;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:#fff;
}
.contact-icon svg{width:18px;height:18px}
.whatsapp-icon{background:#20c463}
.phone-icon{background:#1976d2}
.telegram-icon{background:#229ed9}
.albadr-footer-slogan{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  text-align:right;
}
.albadr-footer-slogan h3{color:#ff4b26;font-size:23px;margin-bottom:7px}
.albadr-footer-slogan strong{
  color:#fff;
  font-size:20px;
  line-height:1.8;
  font-weight:900;
}
.albadr-wave{
  display:flex;
  align-items:center;
  gap:4px;
  height:42px;
  margin-top:14px;
  direction:ltr;
}
.albadr-wave i{
  display:block;
  width:4px;
  border-radius:4px;
  background:linear-gradient(180deg,#ff3cae,#d400ff);
  box-shadow:0 0 10px rgba(220,0,255,.38);
}
.albadr-wave i:nth-child(1){height:13px}.albadr-wave i:nth-child(2){height:25px}.albadr-wave i:nth-child(3){height:35px}.albadr-wave i:nth-child(4){height:20px}.albadr-wave i:nth-child(5){height:42px}.albadr-wave i:nth-child(6){height:25px}.albadr-wave i:nth-child(7){height:34px}.albadr-wave i:nth-child(8){height:18px}.albadr-wave i:nth-child(9){height:11px}
.albadr-footer-bottom{
  min-height:58px;
  display:flex;
  align-items:center;
  background:#010817;
  border-top:1px solid rgba(255,255,255,.08);
}
.albadr-footer-bottom .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  direction:ltr;
}
.albadr-footer-copy{
  color:#aebbd0;
  font-size:11px;
  direction:rtl;
  text-align:right;
}
.albadr-footer-lang{
  display:flex;
  align-items:center;
  gap:10px;
  color:#cbd5e5;
  font-size:12px;
  direction:ltr;
}
.albadr-footer-lang span:first-child{font-weight:900;color:#fff}
.albadr-footer-lang b{font-weight:400;color:#72819a}

@media(max-width:1000px){
  .albadr-footer-pro-grid{grid-template-columns:1fr 1fr;}
  .albadr-footer-brand{grid-column:1/3;min-height:150px;align-items:center;text-align:center}
  .albadr-footer-brand p{text-align:center}
  .albadr-footer-block:nth-child(3){border-right:0}
  .albadr-footer-socials{justify-content:center}
  .albadr-footer-social{text-align:center}
  .albadr-footer-social p{text-align:center}
  .albadr-footer-contact{text-align:right}
}
@media(max-width:620px){
  .albadr-footer-pro-main{padding:27px 0 25px;min-height:0}
  .albadr-footer-pro-grid{grid-template-columns:1fr;gap:0}
  .albadr-footer-brand{grid-column:auto;min-height:125px;padding:8px 15px 22px}
  .albadr-footer-brand img{width:205px}
  .albadr-footer-brand p{font-size:12px;margin-top:11px}
  .albadr-footer-block{min-height:0;padding:22px 15px;border-right:0!important;border-top:1px solid rgba(255,255,255,.10)}
  .albadr-footer-block h3{font-size:20px}
  .albadr-footer-social p{font-size:12px}
  .albadr-footer-socials{gap:9px;margin-top:15px}
  .albadr-footer-socials a{width:43px;height:43px}
  .albadr-footer-socials svg{width:22px;height:22px}
  .albadr-footer-contact a{font-size:14px}
  .albadr-footer-slogan{align-items:center;text-align:center;padding-bottom:26px}
  .albadr-footer-slogan h3{font-size:21px}
  .albadr-footer-slogan strong{font-size:18px}
  .albadr-footer-bottom{padding:10px 0}
  .albadr-footer-bottom .container{flex-direction:column;justify-content:center;gap:7px}
  .albadr-footer-copy{text-align:center;font-size:10px}
}


/* =========================================================
   AL.BADR 4.1.0 — FOOTER MOBILE SVG FIX
   Prevent SVGs from using their browser default intrinsic size.
   Keep the premium footer compact and horizontal on phones.
   ========================================================= */
.albadr-footer-pro .albadr-footer-socials a{
  flex:0 0 47px !important;
  width:47px !important;
  min-width:47px !important;
  max-width:47px !important;
  height:47px !important;
  min-height:47px !important;
  max-height:47px !important;
  padding:0 !important;
  overflow:hidden !important;
}
.albadr-footer-pro .albadr-footer-socials a svg{
  display:block !important;
  width:24px !important;
  min-width:24px !important;
  max-width:24px !important;
  height:24px !important;
  min-height:24px !important;
  max-height:24px !important;
  flex:0 0 24px !important;
}
.albadr-footer-pro .contact-icon{
  flex:0 0 36px !important;
  width:36px !important;
  min-width:36px !important;
  max-width:36px !important;
  height:36px !important;
  min-height:36px !important;
  max-height:36px !important;
  padding:0 !important;
  overflow:hidden !important;
}
.albadr-footer-pro .contact-icon svg{
  display:block !important;
  width:19px !important;
  min-width:19px !important;
  max-width:19px !important;
  height:19px !important;
  min-height:19px !important;
  max-height:19px !important;
  flex:0 0 19px !important;
}
.albadr-footer-pro .albadr-footer-contact a{
  display:flex !important;
  align-items:center !important;
  flex-direction:row !important;
  width:max-content !important;
  max-width:100% !important;
  min-height:40px !important;
}
@media(max-width:620px){
  .albadr-footer-pro-main{padding:24px 0 22px !important;}
  .albadr-footer-pro-grid{grid-template-columns:1fr !important;}
  .albadr-footer-brand{min-height:118px !important;padding:8px 12px 18px !important;}
  .albadr-footer-brand img{width:190px !important;max-width:88% !important;}
  .albadr-footer-brand p{font-size:12px !important;line-height:1.7 !important;margin-top:9px !important;}
  .albadr-footer-block{padding:20px 12px !important;}
  .albadr-footer-block h3{font-size:20px !important;line-height:1.35 !important;}
  .albadr-footer-social p{font-size:12px !important;line-height:1.7 !important;}
  .albadr-footer-socials{
    display:grid !important;
    grid-template-columns:repeat(3,47px) !important;
    justify-content:center !important;
    align-items:center !important;
    gap:10px !important;
    margin-top:14px !important;
  }
  .albadr-footer-socials a{
    width:47px !important;height:47px !important;
    min-width:47px !important;max-width:47px !important;
  }
  .albadr-footer-socials a svg{
    width:24px !important;height:24px !important;
  }
  .albadr-footer-contact{text-align:center !important;}
  .albadr-footer-contact a{
    width:100% !important;
    max-width:100% !important;
    justify-content:center !important;
    gap:10px !important;
    font-size:15px !important;
    margin:8px 0 !important;
  }
  .albadr-footer-slogan{padding-bottom:24px !important;}
  .albadr-footer-slogan h3{font-size:21px !important;}
  .albadr-footer-slogan strong{font-size:18px !important;}
  .albadr-footer-bottom{min-height:62px !important;padding:10px 0 !important;}
  .albadr-footer-copy{font-size:10px !important;line-height:1.6 !important;}
  .albadr-footer-lang{font-size:12px !important;}
}
@media(max-width:360px){
  .albadr-footer-socials{grid-template-columns:repeat(3,42px) !important;gap:8px !important;}
  .albadr-footer-socials a{width:42px !important;height:42px !important;min-width:42px !important;max-width:42px !important;}
  .albadr-footer-socials a svg{width:22px !important;height:22px !important;}
  .albadr-footer-contact a{font-size:14px !important;}
}


/* =========================================================
   AL.BADR 4.2.0 — PREMIUM FOOTER FINAL / LEGACY CONTACT CLEANUP
   The old contact-final block is intentionally removed from front-page.php.
   The premium footer below is now the single contact/footer presentation.
   ========================================================= */
.albadr-footer-pro,
.albadr-footer-pro *{box-sizing:border-box}
.albadr-footer-pro{width:100%;overflow:hidden}
.albadr-footer-pro .albadr-footer-pro-main{min-height:340px}
.albadr-footer-pro .albadr-footer-pro-grid{width:min(calc(100% - 28px),var(--max));margin:0 auto}
.albadr-footer-pro img{display:block}
.albadr-footer-pro .albadr-footer-brand img{width:245px!important;height:auto!important;max-width:100%!important}
.albadr-footer-pro .albadr-footer-socials{list-style:none}
.albadr-footer-pro .albadr-footer-socials a{position:relative;display:flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important}
.albadr-footer-pro .albadr-footer-socials svg,
.albadr-footer-pro .contact-icon svg{display:block!important;overflow:visible!important}
.albadr-footer-pro .albadr-footer-contact a{white-space:nowrap}
.albadr-footer-pro .albadr-footer-bottom{width:100%}
@media(max-width:1000px) and (min-width:621px){
  .albadr-footer-pro .albadr-footer-pro-grid{grid-template-columns:1fr 1fr!important;gap:0!important}
  .albadr-footer-pro .albadr-footer-brand{grid-column:1/3!important}
}
@media(max-width:620px){
  .albadr-footer-pro .albadr-footer-pro-main{min-height:0!important;padding:30px 0 26px!important}
  .albadr-footer-pro .albadr-footer-pro-grid{width:calc(100% - 24px)!important;grid-template-columns:1fr!important;gap:0!important}
  .albadr-footer-pro .albadr-footer-brand{grid-column:auto!important;min-height:0!important;padding:8px 8px 22px!important;text-align:center!important;align-items:center!important}
  .albadr-footer-pro .albadr-footer-brand img{width:205px!important;max-width:86vw!important;height:auto!important}
  .albadr-footer-pro .albadr-footer-brand p{font-size:13px!important;line-height:1.8!important;margin:12px 0 0!important;text-align:center!important}
  .albadr-footer-pro .albadr-footer-block{min-height:0!important;padding:24px 10px!important;border-right:0!important;border-top:1px solid rgba(255,255,255,.12)!important;text-align:center!important}
  .albadr-footer-pro .albadr-footer-block h3{font-size:22px!important;line-height:1.4!important;margin:0 0 9px!important;text-align:center!important}
  .albadr-footer-pro .albadr-footer-social p{font-size:13px!important;line-height:1.8!important;text-align:center!important}
  .albadr-footer-pro .albadr-footer-socials{display:grid!important;grid-template-columns:repeat(3,48px)!important;justify-content:center!important;align-items:center!important;gap:11px!important;margin:17px auto 0!important}
  .albadr-footer-pro .albadr-footer-socials a{width:48px!important;min-width:48px!important;max-width:48px!important;height:48px!important;min-height:48px!important;max-height:48px!important}
  .albadr-footer-pro .albadr-footer-socials a svg{width:25px!important;min-width:25px!important;max-width:25px!important;height:25px!important;min-height:25px!important;max-height:25px!important}
  .albadr-footer-pro .albadr-footer-contact{text-align:center!important}
  .albadr-footer-pro .albadr-footer-contact a{width:100%!important;max-width:100%!important;justify-content:center!important;gap:11px!important;margin:9px 0!important;font-size:16px!important;line-height:1.6!important;white-space:normal!important}
  .albadr-footer-pro .albadr-footer-contact a b{font-size:16px!important}
  .albadr-footer-pro .contact-icon{width:38px!important;min-width:38px!important;max-width:38px!important;height:38px!important;min-height:38px!important;max-height:38px!important}
  .albadr-footer-pro .contact-icon svg{width:20px!important;min-width:20px!important;max-width:20px!important;height:20px!important;min-height:20px!important;max-height:20px!important}
  .albadr-footer-pro .albadr-footer-slogan{padding:24px 10px 28px!important;text-align:center!important;align-items:center!important}
  .albadr-footer-pro .albadr-footer-slogan h3{font-size:23px!important;text-align:center!important}
  .albadr-footer-pro .albadr-footer-slogan strong{font-size:20px!important;text-align:center!important}
  .albadr-footer-pro .albadr-wave{margin-top:16px!important}
  .albadr-footer-pro .albadr-footer-bottom{min-height:72px!important;padding:12px 0!important}
  .albadr-footer-pro .albadr-footer-bottom .container{width:calc(100% - 24px)!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:7px!important}
  .albadr-footer-pro .albadr-footer-copy{font-size:11px!important;line-height:1.7!important;text-align:center!important}
  .albadr-footer-pro .albadr-footer-lang{font-size:12px!important}
}
@media(max-width:380px){
  .albadr-footer-pro .albadr-footer-socials{grid-template-columns:repeat(3,44px)!important;gap:9px!important}
  .albadr-footer-pro .albadr-footer-socials a{width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important}
  .albadr-footer-pro .albadr-footer-socials a svg{width:23px!important;height:23px!important;min-width:23px!important;max-width:23px!important;min-height:23px!important;max-height:23px!important}
}

/* =========================================================
   AL.BADR — FINAL MAIN CATEGORY FIX
   1) Three main cards stay in one row on tablet/desktop.
   2) Category names are real HTML, so they cannot disappear
      when the background JPG is cropped on mobile.
   3) The artwork title area gets a controlled dark backing;
      the rest of the artwork remains visible.
   ========================================================= */
body.home .main-category-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  direction:rtl !important;
  gap:14px !important;
}
body.home .main-category{
  position:relative !important;
  overflow:hidden !important;
  isolation:isolate !important;
}
body.home .main-category .cat-title-overlay{
  position:absolute !important;
  z-index:5 !important;
  top:18px !important;
  left:12px !important;
  right:12px !important;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  pointer-events:none !important;
  direction:rtl !important;
  text-align:center !important;
}
body.home .main-category .cat-title-overlay span{
  display:block !important;
  width:max-content !important;
  max-width:100% !important;
  padding:7px 22px !important;
  border-radius:30px !important;
  background:rgba(1,8,23,.78) !important;
  border:1px solid rgba(255,255,255,.38) !important;
  color:#fff !important;
  font-size:24px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  white-space:nowrap !important;
  text-shadow:0 2px 9px rgba(0,0,0,.95),0 0 14px rgba(255,255,255,.18) !important;
  box-shadow:0 7px 22px rgba(0,0,0,.28),inset 0 0 15px rgba(255,255,255,.04) !important;
}
body.home .cat-type-songs .cat-title-overlay span{border-color:rgba(0,130,255,.90) !important;}
body.home .cat-type-zafat .cat-title-overlay span{border-color:rgba(215,0,255,.90) !important;}
body.home .cat-type-sheilat .cat-title-overlay span{border-color:rgba(0,225,255,.90) !important;}

/* Do not let the lower glow wash over the whole artwork. */
body.home .main-category .cat-glow{
  z-index:1 !important;
  background:linear-gradient(180deg,
    rgba(1,9,25,.05) 0%,
    rgba(2,10,28,.03) 34%,
    rgba(2,8,25,.34) 58%,
    rgba(2,8,25,.90) 100%) !important;
}
body.home .main-category .cat-bg{
  z-index:0 !important;
  background-size:cover !important;
  background-position:center top !important;
  background-repeat:no-repeat !important;
}

/* Tablet and desktop: always three main cards in one row. */
@media(min-width:621px){
  body.home .main-category-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}

/* Mobile: one card per row, but the title remains visible. */
@media(max-width:620px){
  body.home .main-category-grid{
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
  body.home .main-category .cat-title-overlay{
    top:16px !important;
    left:10px !important;
    right:10px !important;
  }
  body.home .main-category .cat-title-overlay span{
    padding:7px 19px !important;
    font-size:22px !important;
  }
}

/* Very small phones: prevent title overflow. */
@media(max-width:390px){
  body.home .main-category .cat-title-overlay span{
    font-size:20px !important;
    padding:7px 16px !important;
  }
}

/* =========================================================
   AL.BADR — MAIN CARDS ROW FIX 2
   Override the old rule that made the Sheilat card span the
   entire row at widths <= 980px.
   ========================================================= */
@media (min-width:621px){
  body.home .main-category-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
  body.home .main-category-grid > .main-category{
    grid-column:auto !important;
    grid-row:auto !important;
    width:auto !important;
    min-width:0 !important;
  }
}


/* AL.BADR FIX 4 — 3 main cards on every screen */
body.home .main-category-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:10px !important;
  direction:ltr !important;
}
body.home .main-category{
  min-width:0 !important;
  grid-column:auto !important;
}
body.home .main-category-grid > .main-category:nth-child(1){grid-column:auto !important;}
body.home .main-category-grid > .main-category:nth-child(2){grid-column:auto !important;}
body.home .main-category-grid > .main-category:nth-child(3){grid-column:auto !important;}

/* Keep the three cards side-by-side even on phones. */
@media (max-width:980px){
  body.home .main-category-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:8px !important;
  }
}
@media (max-width:650px){
  body.home .main-category-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:6px !important;
  }
  body.home .main-category{
    min-height:300px !important;
    padding:12px 7px 10px !important;
    border-radius:14px !important;
  }
  body.home .main-category .cat-title-overlay{
    top:10px !important;
    left:4px !important;
    right:4px !important;
  }
  body.home .main-category .cat-title-overlay span{
    padding:6px 5px !important;
    font-size:13px !important;
    border-radius:16px !important;
    white-space:nowrap !important;
  }
  body.home .main-category .cat-content{
    padding-top:160px !important;
  }
  body.home .main-category .cat-links{
    gap:4px !important;
  }
  body.home .main-category .cat-links a{
    min-height:34px !important;
    padding:5px 3px !important;
    font-size:9px !important;
    line-height:1.25 !important;
  }
}
@media (max-width:390px){
  body.home .main-category-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:4px !important;
  }
  body.home .main-category{
    min-height:270px !important;
    padding:9px 4px 8px !important;
  }
  body.home .main-category .cat-title-overlay span{
    font-size:11px !important;
    padding:5px 3px !important;
  }
  body.home .main-category .cat-content{
    padding-top:140px !important;
  }
  body.home .main-category .cat-links a{
    min-height:30px !important;
    font-size:8px !important;
  }
}

/* =========================================================
   AL.BADR FIX 5 — MOBILE MAIN CARDS STACK VERTICALLY
   Desktop/tablet: 3 cards in one row.
   Mobile: 1 card per row.
   ========================================================= */
@media (max-width:620px){
  body.home .main-category-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
  body.home .main-category-grid > .main-category{
    grid-column:auto !important;
    grid-row:auto !important;
    width:100% !important;
    min-width:0 !important;
  }
  body.home .main-category{
    min-height:300px !important;
  }
}

@media (max-width:390px){
  body.home .main-category-grid{
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
  body.home .main-category{
    min-height:270px !important;
  }
}


/* =========================================================
   AL.BADR — WORKS RESPONSIVE MOBILE FIX
   الإصلاح الاحترافي لصفحة الأعمال على الهاتف:
   - سطح المكتب: 3 أعمدة
   - التابلت: عمودان
   - الهاتف: عمود واحد
   - منع البطاقات الضيقة والتفاف العناوين بشكل مزعج
   ========================================================= */

.work-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:14px !important;
  width:100% !important;
  align-items:stretch !important;
}

.work-grid .work.card{
  width:100% !important;
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
  overflow:hidden !important;
}

.work-grid .work-art{
  width:100% !important;
  aspect-ratio:16 / 9 !important;
  overflow:hidden !important;
  background:#061a36 !important;
}

.work-grid .work-art img{
  width:100% !important;
  height:100% !important;
  display:block !important;
  object-fit:cover !important;
}

.work-grid .work-body{
  display:flex !important;
  flex-direction:column !important;
  flex:1 1 auto !important;
  min-width:0 !important;
  text-align:right !important;
  direction:rtl !important;
}

.work-grid .work-meta{
  margin-bottom:3px !important;
  line-height:1.5 !important;
}

.work-grid .work h3{
  margin:4px 0 7px !important;
  line-height:1.55 !important;
  overflow-wrap:anywhere !important;
}

.work-grid .work-body > p{
  margin:0 0 7px !important;
  color:var(--muted) !important;
  font-size:11px !important;
  line-height:1.7 !important;
}

.work-grid .audio-player{
  width:100% !important;
  max-width:100% !important;
  margin-top:7px !important;
}

.work-grid .work-actions{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  margin-top:auto !important;
  padding-top:9px !important;
}

.work-grid .work-actions a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:34px !important;
  padding:7px 12px !important;
  font-size:11px !important;
  border-radius:9px !important;
  white-space:nowrap !important;
}

@media (max-width:900px){
  .work-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:14px !important;
  }
}

@media (max-width:620px){
  .work-grid{
    grid-template-columns:1fr !important;
    gap:16px !important;
  }

  .work-grid .work.card{
    border-radius:16px !important;
  }

  .work-grid .work-art{
    aspect-ratio:16 / 9 !important;
  }

  .work-grid .work-body{
    padding:14px !important;
  }

  .work-grid .work-meta{
    font-size:11px !important;
  }

  .work-grid .work h3{
    font-size:18px !important;
    line-height:1.55 !important;
    margin:5px 0 8px !important;
  }

  .work-grid .work-body > p{
    font-size:11px !important;
  }

  .work-grid .audio-player{
    height:42px !important;
    margin-top:8px !important;
  }

  .work-grid .work-actions{
    gap:9px !important;
    padding-top:10px !important;
  }

  .work-grid .work-actions a{
    flex:1 1 130px !important;
    min-height:40px !important;
    font-size:12px !important;
    border-radius:10px !important;
  }
}

@media (max-width:380px){
  .work-grid{
    gap:13px !important;
  }

  .work-grid .work-body{
    padding:12px !important;
  }

  .work-grid .work h3{
    font-size:17px !important;
  }
}


/* زر نسخ رابط العمل الفني */
.copy-link{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:34px !important;
  padding:7px 12px !important;
  border:1px solid var(--line) !important;
  border-radius:9px !important;
  background:#0b2848 !important;
  color:#fff !important;
  cursor:pointer !important;
  font:inherit !important;
  font-size:11px !important;
  line-height:1.2 !important;
  text-decoration:none !important;
  appearance:none !important;
  -webkit-appearance:none !important;
  box-sizing:border-box !important;
  white-space:nowrap !important;
  touch-action:manipulation !important;
  transition:transform .18s ease,background .18s ease,border-color .18s ease;
}
.copy-link:hover{
  background:#12395f;
  transform:translateY(-1px);
}
.copy-link.copied{
  background:#123f35;
  border-color:#2fbf9f;
}
.work-actions .copy-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
@media (max-width:600px){
  .work-actions .copy-link{
    flex:1 1 130px !important;
    min-height:40px !important;
    padding:8px 12px !important;
    font-size:12px !important;
    border-radius:10px !important;
  }
}

@media (max-width:380px){
  .work-actions .copy-link{
    flex-basis:120px !important;
    font-size:11px !important;
  }
}

/* ضبط حجم صورة العمل داخل صفحة العمل — نسخة محسّنة للجوال والكمبيوتر */
.single-art{
  width:100% !important;
  display:flex !important;
  justify-content:center !important;
  align-items:flex-start !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}
.single-art img{
  display:block !important;
  width:72% !important;
  max-width:520px !important;
  height:auto !important;
  max-height:none !important;
  object-fit:contain !important;
  margin:0 auto !important;
  border-radius:0 !important;
}
@media (max-width:900px){
  .single-art img{
    width:72% !important;
    max-width:500px !important;
  }
}
@media (max-width:600px){
  .single-art img{
    width:68% !important;
    max-width:460px !important;
    margin:0 auto !important;
  }
}
@media (max-width:380px){
  .single-art img{
    width:66% !important;
    max-width:340px !important;
  }
}


/* =========================================================
   Perfecty Push — theme compatibility layer
   The Perfecty plugin creates and controls the public widget.
   This layer only prevents the theme's visual stacking from covering it.
   ========================================================= */
.perfecty-push-dialog-box,
.perfecty-push-bell,
.perfecty-push-widget,
.perfecty-push-subscription-widget,
[id^="perfecty-push"]{
  z-index:2147483000 !important;
}
.perfecty-push-bell{
  position:fixed !important;
}

/* =========================================================
   AL BADR — Premium Perfecty Push UI
   Visual-only layer: keeps Perfecty Push as the notification engine.
   ========================================================= */
.perfecty-push-settings-container{
  left:auto !important;
  right:14px !important;
  bottom:14px !important;
  z-index:2147483000 !important;
  direction:rtl !important;
}
.perfecty-push-settings-container #perfecty-push-settings-open{
  width:29px !important;
  height:29px !important;
  border-radius:50% !important;
  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
}
.perfecty-push-settings-container #perfecty-push-settings-open svg{
  width:29px !important;
  height:29px !important;
  padding:7px !important;
  border-radius:50% !important;
  background:linear-gradient(145deg,#ffb000 0%,#ff7a00 48%,#ff4d2e 100%) !important;
  box-shadow:0 8px 24px rgba(255,126,0,.42),0 0 0 1px rgba(255,185,80,.35) inset !important;
  transition:transform .2s ease,box-shadow .2s ease !important;
}
.perfecty-push-settings-container #perfecty-push-settings-open svg:hover,
.perfecty-push-settings-container #perfecty-push-settings-open svg:focus{
  padding:7px !important;
  transform:translateY(-1px) scale(1.04) !important;
  box-shadow:0 12px 30px rgba(255,126,0,.52),0 0 0 1px rgba(255,210,120,.42) inset !important;
}

/* The native Perfecty dialog remains responsible for subscribe/cancel actions. */
.perfecty-push-dialog-container{
  z-index:2147482999 !important;
  direction:rtl !important;
  font-family:Tahoma,"Segoe UI",Arial,sans-serif !important;
  padding:16px !important;
  box-sizing:border-box !important;
  background:rgba(2,8,24,.48) !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
.perfecty-push-dialog-box{
  position:relative !important;
  width:min(620px,calc(100vw - 28px)) !important;
  max-width:620px !important;
  min-height:190px !important;
  margin:8vh auto 0 !important;
  padding:26px 28px !important;
  display:flex !important;
  align-items:center !important;
  gap:22px !important;
  flex-wrap:nowrap !important;
  justify-content:center !important;
  background:linear-gradient(145deg,rgba(9,18,55,.98),rgba(19,7,50,.98)) !important;
  color:#fff !important;
  border:1px solid rgba(73,157,255,.65) !important;
  border-radius:24px !important;
  box-shadow:0 24px 80px rgba(0,0,0,.58),0 0 40px rgba(255,91,25,.14),0 0 0 1px rgba(255,255,255,.04) inset !important;
  text-align:right !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}
.perfecty-push-dialog-box:before{
  content:"" !important;
  position:absolute !important;
  left:-80px !important;
  bottom:-90px !important;
  width:260px !important;
  height:180px !important;
  border:2px solid rgba(255,80,60,.22) !important;
  border-radius:50% !important;
  box-shadow:0 0 0 22px rgba(177,0,255,.08),0 0 0 44px rgba(35,128,255,.06) !important;
  pointer-events:none !important;
}
.perfecty-push-dialog-box .perfecty-push-dialog-icon{
  position:relative !important;
  z-index:1 !important;
  flex:0 0 112px !important;
  width:112px !important;
  height:112px !important;
  padding:8px !important;
  box-sizing:border-box !important;
  border-radius:24px !important;
  background:rgba(255,255,255,.035) url('assets/push-icon.png') center/88% 88% no-repeat !important;
  border:1px solid rgba(73,157,255,.28) !important;
  box-shadow:0 12px 30px rgba(0,0,0,.24),0 0 24px rgba(255,60,120,.10) !important;
  overflow:hidden !important;
}
.perfecty-push-dialog-box .perfecty-push-dialog-icon img{
  opacity:0 !important;
  width:100% !important;
  height:100% !important;
}
.perfecty-push-dialog-container .perfecty-push-dialog-form{
  position:relative !important;
  z-index:1 !important;
  flex:1 1 auto !important;
  min-width:0 !important;
  text-align:right !important;
}
.perfecty-push-dialog-container .perfecty-push-dialog-form .perfecty-push-dialog-title{
  margin:0 0 8px !important;
  color:#fff !important;
  font-size:24px !important;
  line-height:1.5 !important;
  font-weight:800 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
}
.albadr-perfecty-dialog-subtitle{
  margin:0 0 18px !important;
  color:rgba(255,255,255,.76) !important;
  font-size:15px !important;
  line-height:1.8 !important;
}
.perfecty-push-dialog-container .perfecty-push-dialog-form button{
  margin:5px 0 0 8px !important;
  min-width:145px !important;
  padding:12px 20px !important;
  border-radius:14px !important;
  border:1px solid rgba(255,255,255,.08) !important;
  font-family:inherit !important;
  font-size:15px !important;
  font-weight:800 !important;
  text-transform:none !important;
  letter-spacing:0 !important;
  line-height:1.3 !important;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease !important;
}
.perfecty-push-dialog-container .perfecty-push-dialog-form #perfecty-push-dialog-subscribe{
  background:linear-gradient(90deg,#ffad00,#ff6a00,#ff3f83) !important;
  color:#fff !important;
  box-shadow:0 10px 25px rgba(255,93,30,.28) !important;
}
.perfecty-push-dialog-container .perfecty-push-dialog-form #perfecty-push-dialog-cancel{
  background:rgba(255,255,255,.07) !important;
  color:rgba(255,255,255,.82) !important;
}
.perfecty-push-dialog-container .perfecty-push-dialog-form button:hover{
  transform:translateY(-1px) !important;
}
.perfecty-push-dialog-container .perfecty-push-dialog-form #perfecty-push-dialog-subscribe:hover{
  box-shadow:0 14px 30px rgba(255,93,30,.38) !important;
}
.perfecty-push-settings-container #perfecty-push-settings-form{
  direction:rtl !important;
  text-align:right !important;
  min-width:260px !important;
  max-width:330px !important;
  background:linear-gradient(145deg,#091337,#170a32) !important;
  color:#fff !important;
  border:1px solid rgba(83,154,255,.5) !important;
  box-shadow:0 18px 50px rgba(0,0,0,.5) !important;
  border-radius:18px !important;
  font-family:Tahoma,"Segoe UI",Arial,sans-serif !important;
}
.perfecty-push-settings-container #perfecty-push-settings-form label{
  color:#fff !important;
  font-size:14px !important;
  line-height:1.8 !important;
}
@media (max-width:600px){
  .perfecty-push-settings-container{right:10px !important;bottom:10px !important;}
  .perfecty-push-settings-container #perfecty-push-settings-open,
  .perfecty-push-settings-container #perfecty-push-settings-open svg{width:27px !important;height:27px !important;padding:6px !important;}
  .perfecty-push-dialog-container{padding:10px !important;}
  .perfecty-push-dialog-box{
    width:calc(100vw - 20px) !important;
    min-height:0 !important;
    margin:7vh auto 0 !important;
    padding:22px 18px !important;
    flex-direction:column !important;
    text-align:center !important;
    gap:12px !important;
    border-radius:22px !important;
  }
  .perfecty-push-dialog-box .perfecty-push-dialog-icon{
    flex-basis:88px !important;
    width:88px !important;
    height:88px !important;
    padding:6px !important;
    border-radius:20px !important;
  }
  .perfecty-push-dialog-container .perfecty-push-dialog-form{text-align:center !important;width:100% !important;}
  .perfecty-push-dialog-container .perfecty-push-dialog-form .perfecty-push-dialog-title{font-size:20px !important;line-height:1.55 !important;}
  .albadr-perfecty-dialog-subtitle{font-size:14px !important;margin-bottom:12px !important;}
  .perfecty-push-dialog-container .perfecty-push-dialog-form button{min-width:125px !important;margin:4px !important;padding:11px 16px !important;}
}
@media (prefers-reduced-motion:reduce){
  .perfecty-push-settings-container #perfecty-push-settings-open svg,
  .perfecty-push-dialog-container .perfecty-push-dialog-form button{transition:none !important;}
}

/* =========================================================
   AL BADR 4.2.3 — Smart Notification + Performance
   The Perfecty Push engine remains untouched.
   The bell appears only when the visitor reaches the footer.
   ========================================================= */
html:not(.albadr-push-smart-ready) .perfecty-push-settings-container{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  transform:translateY(14px) scale(.94) !important;
}
html.albadr-push-smart-ready .perfecty-push-settings-container{
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  transform:translateY(0) scale(1) !important;
  transition:opacity .28s ease,transform .28s ease,visibility .28s ease !important;
}

/* YouTube click-to-load facade: no YouTube iframe until the visitor presses play. */
.yt-thumb-final{cursor:pointer;position:relative;overflow:hidden}
.yt-thumb-final>img{width:100%;height:100%;display:block;object-fit:cover}
.yt-thumb-final .yt-load-button{cursor:pointer;border:0;color:#fff}
.yt-thumb-final .yt-load-button:hover{transform:translate(-50%,-50%) scale(1.08)}
.yt-thumb-final iframe{width:100%;height:100%;border:0;display:block}
@media(prefers-reduced-motion:reduce){
  html.albadr-push-smart-ready .perfecty-push-settings-container{transition:none !important}
  .yt-thumb-final .yt-load-button{transition:none !important}
}



/* =========================================================
   AL.BADR 4.2.8 — YouTube Highlights standalone landing pages
   ========================================================= */
.youtube-copy-link{display:block;width:100%;margin-top:7px;border:1px solid rgba(0,215,255,.55);background:linear-gradient(90deg,rgba(0,130,255,.18),rgba(139,0,255,.18));color:#fff;border-radius:7px;padding:6px 8px;font-size:9px;cursor:pointer;text-align:center}.youtube-copy-link:hover{filter:brightness(1.12)}
.youtube-internal-url{margin-top:6px;padding:6px 7px;border:1px dashed rgba(76,147,255,.55);border-radius:6px;background:rgba(0,0,0,.18);color:#d8e5f6;font-size:8px;line-height:1.35;word-break:break-all;text-align:left;direction:ltr;user-select:all}.albadr-youtube-landing{min-height:65vh;background:#031126;padding:28px 0 45px}.albadr-youtube-landing .breadcrumb{color:#aebbd0;font-size:11px;margin-bottom:14px}.albadr-youtube-landing .breadcrumb a{color:#56c9ff}.albadr-yt-landing-card{max-width:900px;margin:0 auto;background:linear-gradient(180deg,#071a34,#04142b);border:1px solid rgba(37,123,255,.58);border-radius:16px;padding:16px;box-shadow:0 18px 55px rgba(0,0,0,.28)}.albadr-yt-landing-head{display:flex;align-items:center;gap:11px;margin-bottom:14px;direction:rtl}.albadr-yt-landing-head .yt-logo{flex:0 0 auto;width:36px;height:25px}.albadr-yt-landing-head h1{margin:0;font-size:22px;line-height:1.35}.albadr-yt-landing-head p{margin:2px 0 0;color:#b8c5d7;font-size:10px}.albadr-yt-landing-video{aspect-ratio:16/9;background:#000;border-radius:11px;overflow:hidden;border:1px solid rgba(255,255,255,.1)}.albadr-yt-landing-video iframe{width:100%;height:100%;border:0;display:block}.albadr-yt-landing-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.albadr-yt-open,.albadr-yt-landing-actions .copy-link{border:1px solid rgba(255,255,255,.16);border-radius:9px;padding:8px 13px;font-size:10px;font-weight:700;cursor:pointer}.albadr-yt-open{background:#ff001b;color:#fff}.albadr-yt-landing-actions .copy-link{background:#0b2848;color:#fff}.albadr-yt-share-url{margin-top:10px;padding:10px 12px;border:1px dashed rgba(76,147,255,.6);border-radius:8px;background:rgba(0,0,0,.2);font-size:10px;color:#e6edf8;word-break:break-all;text-align:left;user-select:all}.albadr-yt-note{font-size:10px;color:#b9c6d8;line-height:1.9;margin:10px 0 0;text-align:right}@media(max-width:560px){.albadr-yt-landing{padding-top:18px}.albadr-yt-landing-card{padding:10px;border-radius:12px}.albadr-yt-landing-head h1{font-size:17px}.albadr-yt-landing-actions{display:grid;grid-template-columns:1fr}.albadr-yt-open,.albadr-yt-landing-actions .copy-link{text-align:center;width:100%}.youtube-internal-url{font-size:8px}}





/* =========================================================
   AL BADR 4.2.17 — Premium compact Arabic push dialog
   The native Perfecty engine remains responsible for actions.
   This layer only controls presentation and guarantees visible Arabic labels.
   ========================================================= */
.perfecty-push-dialog-container{
  padding:12px !important;
  background:rgba(1,8,24,.60) !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
.perfecty-push-dialog-box{
  width:min(430px,calc(100vw - 28px)) !important;
  max-width:430px !important;
  min-height:0 !important;
  margin:9vh auto 0 !important;
  padding:22px 22px 20px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  border-radius:22px !important;
  border:1px solid rgba(0,215,255,.42) !important;
  background:linear-gradient(145deg,rgba(5,18,48,.985),rgba(18,7,43,.985)) !important;
  box-shadow:0 18px 55px rgba(0,0,0,.55),0 0 28px rgba(0,160,255,.10),inset 0 1px 0 rgba(255,255,255,.05) !important;
  text-align:center !important;
}
.perfecty-push-dialog-box:before{
  left:-105px !important;
  bottom:-115px !important;
  width:230px !important;
  height:155px !important;
  border-color:rgba(233,0,184,.13) !important;
  box-shadow:0 0 0 20px rgba(0,215,255,.035),0 0 0 40px rgba(176,0,255,.025) !important;
}
.perfecty-push-dialog-box .perfecty-push-dialog-icon{
  flex:0 0 72px !important;
  width:72px !important;
  height:72px !important;
  padding:7px !important;
  border-radius:20px !important;
  background:rgba(255,255,255,.025) url('assets/push-icon.png') center/82% 82% no-repeat !important;
  border:1px solid rgba(0,215,255,.28) !important;
  box-shadow:0 10px 26px rgba(0,0,0,.25),0 0 18px rgba(233,0,184,.08) !important;
}
.perfecty-push-dialog-box .perfecty-push-dialog-form{
  width:100% !important;
  flex:0 1 auto !important;
  text-align:center !important;
}
.perfecty-push-dialog-container .perfecty-push-dialog-form .perfecty-push-dialog-title{
  margin:2px 0 4px !important;
  font-size:20px !important;
  line-height:1.55 !important;
  font-weight:800 !important;
  text-align:center !important;
}
.albadr-perfecty-dialog-subtitle{
  margin:0 0 14px !important;
  color:rgba(255,255,255,.72) !important;
  font-size:13px !important;
  line-height:1.7 !important;
  text-align:center !important;
}
/* CSS fallback: Arabic remains visible even if Perfecty's JS restores English text. */
.perfecty-push-dialog-container .perfecty-push-dialog-title{font-size:0 !important}
.perfecty-push-dialog-container .perfecty-push-dialog-title::after{content:"هل تريد استقبال إشعارات استديو البدر؟";font-size:20px;line-height:1.55;font-weight:800}
.perfecty-push-dialog-container .perfecty-push-dialog-form button{
  min-width:0 !important;
  width:calc(50% - 8px) !important;
  margin:4px 3px 0 !important;
  padding:11px 12px !important;
  border-radius:13px !important;
  font-size:0 !important;
  line-height:1.3 !important;
  font-weight:800 !important;
  box-shadow:none !important;
}
.perfecty-push-dialog-container .perfecty-push-dialog-form #perfecty-push-dialog-subscribe::after{
  content:"تفعيل الإشعارات";font-size:14px;font-weight:800
}
.perfecty-push-dialog-container .perfecty-push-dialog-form #perfecty-push-dialog-cancel::after{
  content:"لاحقًا";font-size:14px;font-weight:800
}
.perfecty-push-dialog-container .perfecty-push-dialog-form #perfecty-push-dialog-subscribe{
  background:linear-gradient(90deg,#ff9d00,#ff5a6f,#e900b8) !important;
  border-color:rgba(255,255,255,.12) !important;
  color:#fff !important;
}
.perfecty-push-dialog-container .perfecty-push-dialog-form #perfecty-push-dialog-cancel{
  background:rgba(255,255,255,.055) !important;
  border-color:rgba(255,255,255,.12) !important;
  color:rgba(255,255,255,.86) !important;
}
@media(max-width:600px){
  .perfecty-push-dialog-container{padding:8px !important}
  .perfecty-push-dialog-box{
    width:min(370px,calc(100vw - 24px)) !important;
    margin:8vh auto 0 !important;
    padding:18px 15px 16px !important;
    gap:8px !important;
    border-radius:20px !important;
  }
  .perfecty-push-dialog-box .perfecty-push-dialog-icon{width:68px !important;height:68px !important;flex-basis:68px !important;border-radius:18px !important}
  .perfecty-push-dialog-container .perfecty-push-dialog-title::after{font-size:18px !important}
  .albadr-perfecty-dialog-subtitle{font-size:12px !important;margin-bottom:9px !important}
  .perfecty-push-dialog-container .perfecty-push-dialog-form button{width:calc(50% - 6px) !important;padding:10px 8px !important}
  .perfecty-push-dialog-container .perfecty-push-dialog-form #perfecty-push-dialog-subscribe::after,
  .perfecty-push-dialog-container .perfecty-push-dialog-form #perfecty-push-dialog-cancel::after{font-size:13px !important}
}


/* =========================================================
   AL BADR 4.2.18 — Restore header like button + Arabic push hardening
   ========================================================= */
.brand-like-group{order:3;display:flex;align-items:center;gap:8px;min-width:0}
.brand-like-group .site-brand{order:initial;flex:0 0 auto}
.brand-like-group .header-like-slot{order:initial;margin:0 !important;flex:0 0 auto}
@media(max-width:900px){
  .brand-like-group{gap:5px;max-width:calc(100% - 120px)}
  .brand-like-group .site-brand img{width:120px}
  .brand-like-group .header-like-slot #al-badr-like-btn{height:30px;padding:0 8px}
}
@media(max-width:560px){
  .brand-like-group{gap:4px;max-width:calc(100% - 108px)}
  .brand-like-group .site-brand img{width:112px}
  .brand-like-group .header-like-slot #al-badr-like-btn{height:28px;padding:0 7px}
  .brand-like-group .header-like-slot .al-badr-like-text{font-size:9px}
}
/* Never expose Perfecty's English title if a plugin version injects a second title node. */
.perfecty-push-dialog-container .perfecty-push-dialog-title,
.perfecty-push-dialog-container .perfecty-push-dialog-title-text,
.perfecty-push-dialog-container .perfecty-push-dialog-content h1,
.perfecty-push-dialog-container .perfecty-push-dialog-content h2,
.perfecty-push-dialog-container .perfecty-push-dialog-content p{direction:rtl!important;text-align:center!important}
.perfecty-push-dialog-container .perfecty-push-dialog-title{font-size:0!important;line-height:0!important}
.perfecty-push-dialog-container .perfecty-push-dialog-title *{font-size:0!important;line-height:0!important}
.perfecty-push-dialog-container .perfecty-push-dialog-title::after{content:"هل تريد استقبال إشعارات استديو البدر؟";display:block;font-size:20px;line-height:1.55;font-weight:800}
@media(max-width:600px){.perfecty-push-dialog-container .perfecty-push-dialog-title::after{font-size:18px}}


/* AL BADR 4.2.22 — lightweight anonymous live chat */
#albadr-chat-launcher{position:fixed;z-index:2147482000;right:18px;bottom:18px;border:0;border-radius:18px;background:linear-gradient(135deg,#142f68,#5633a5);color:#fff;padding:12px 16px;box-shadow:0 8px 26px #07152d55;font:700 14px/1.5 inherit;cursor:pointer;max-width:calc(100vw - 36px)}
#albadr-chat-launcher:hover{transform:translateY(-2px)}
#albadr-chat-panel{position:fixed;z-index:2147482001;right:18px;bottom:76px;width:min(360px,calc(100vw - 28px));height:min(480px,calc(100vh - 110px));background:#fff;color:#14213b;border-radius:18px;box-shadow:0 16px 55px #06132c55;display:none;overflow:hidden;direction:rtl;font-family:inherit}
#albadr-chat-panel.is-open{display:flex;flex-direction:column}
#albadr-chat-panel .ac-head{display:flex;align-items:center;justify-content:space-between;gap:8px;background:linear-gradient(135deg,#142f68,#5633a5);color:#fff;padding:13px 15px;font-weight:800}
#albadr-chat-panel .ac-close{border:0;background:#ffffff22;color:#fff;border-radius:8px;padding:4px 9px;font-size:20px;cursor:pointer}
#albadr-chat-panel .ac-log{flex:1;overflow:auto;padding:12px;background:#f5f7fc}
#albadr-chat-panel .ac-msg{max-width:88%;padding:9px 11px;border-radius:13px;margin:7px 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}
#albadr-chat-panel .ac-msg.visitor{background:#e4eafe;margin-right:auto;border-bottom-right-radius:4px}
#albadr-chat-panel .ac-msg.admin{background:#e4f7ed;margin-left:auto;border-bottom-left-radius:4px}
#albadr-chat-panel .ac-time{font-size:10px;opacity:.65;margin-top:3px}
#albadr-chat-panel .ac-form{display:flex;gap:7px;padding:10px;border-top:1px solid #e7eaf1;background:#fff}
#albadr-chat-panel .ac-form textarea{flex:1;min-width:0;resize:none;min-height:42px;max-height:95px;border:1px solid #d9deea;border-radius:10px;padding:9px;font:inherit;font-size:14px}
#albadr-chat-panel .ac-send{border:0;border-radius:10px;background:#f47b20;color:#fff;font-weight:800;padding:0 14px;cursor:pointer}
#albadr-chat-panel .ac-note{font-size:11px;color:#65708a;padding:5px 10px;background:#fff}
#albadr-chat-panel .ac-notice-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:7px 10px;background:#f3f6ff;border-bottom:1px solid #e7eaf1}
#albadr-chat-panel .ac-notice-enable{border:0;border-radius:8px;background:#e4eafe;color:#142f68;padding:7px 10px;font:700 12px inherit;cursor:pointer}
#albadr-chat-panel .ac-notice-enable:disabled{opacity:.6;cursor:not-allowed}
#albadr-chat-panel .ac-notice-status{font-size:10px;color:#65708a;line-height:1.5}
@media(max-width:600px){#albadr-chat-launcher{right:12px;bottom:12px;padding:10px 12px;font-size:13px;border-radius:14px}#albadr-chat-panel{right:10px;bottom:64px;width:calc(100vw - 20px);height:min(470px,calc(100vh - 90px))}}


/* AL BADR 4.2.24 — polished responsive admin chat center */
body.toplevel_page_albadr-live-chat #wpcontent{padding-left:18px;padding-right:18px}
body.toplevel_page_albadr-live-chat .wrap[dir="rtl"]{max-width:1250px;margin:22px auto;font-family:inherit}
body.toplevel_page_albadr-live-chat .wrap[dir="rtl"]>h1{font-size:26px;font-weight:800;color:#142f68;padding:18px 20px 6px;margin:0;background:#fff;border:1px solid #e5eaf2;border-bottom:0;border-radius:18px 18px 0 0}
body.toplevel_page_albadr-live-chat .albadr-chat-intro{margin:0;background:#fff;padding:4px 20px 18px;border:1px solid #e5eaf2;border-top:0;color:#68758b}
body.toplevel_page_albadr-live-chat #albadr-chat-enable-notices{margin:0 0 18px;background:#fff;border:1px solid #d5deef;border-radius:11px;color:#183a79;padding:8px 15px;min-height:40px}
body.toplevel_page_albadr-live-chat .wrap[dir="rtl"]>div[style*="display:grid"]{grid-template-columns:minmax(250px,340px) minmax(0,1fr)!important;gap:18px!important;margin-top:0!important}
body.toplevel_page_albadr-live-chat .wrap[dir="rtl"]>div[style*="display:grid"]>div{border:1px solid #e3e8f0!important;border-radius:16px!important;box-shadow:0 6px 24px #102b600b;padding:16px!important;min-width:0}
body.toplevel_page_albadr-live-chat .wrap[dir="rtl"] h2{font-size:17px;font-weight:800;color:#172d52;margin:4px 0 14px}
body.toplevel_page_albadr-live-chat .albadr-chat-select{background:#fff;border:1px solid #e3e8f0!important;border-radius:12px!important;padding:13px 14px!important;margin:8px 0!important;color:#233958;box-shadow:none!important;transition:border-color .15s,background .15s;line-height:1.7}
body.toplevel_page_albadr-live-chat .albadr-chat-select:hover{border-color:#9bb3ed!important;background:#f7f9ff}
body.toplevel_page_albadr-live-chat .albadr-chat-select.active{background:#edf2ff!important;border:1px solid #5578db!important;box-shadow:inset -3px 0 #4263cf!important}
body.toplevel_page_albadr-live-chat #albadr-chat-admin-title{background:#f7f9fd;border-radius:10px;padding:12px;margin:0 0 12px}
body.toplevel_page_albadr-live-chat #albadr-chat-admin-log{height:min(56vh,620px)!important;min-height:260px;background:#f5f7fb!important;border:1px solid #edf0f5}
body.toplevel_page_albadr-live-chat .ac-admin-msg{max-width:84%;font-size:14px;line-height:1.75;border-radius:14px;box-shadow:0 1px 2px #142f6808}
body.toplevel_page_albadr-live-chat .ac-admin-msg.visitor{background:#e7edff;margin-right:0;margin-left:auto;border-bottom-right-radius:4px}
body.toplevel_page_albadr-live-chat .ac-admin-msg.admin{background:#e3f6ec;margin-left:0;margin-right:auto;border-bottom-left-radius:4px}
body.toplevel_page_albadr-live-chat #albadr-chat-admin-form textarea{border:1px solid #dbe2ed;border-radius:11px;padding:12px;min-height:48px;font:inherit}
body.toplevel_page_albadr-live-chat #albadr-chat-admin-form .button-primary{background:#244ec7;border-color:#244ec7;border-radius:10px;min-height:44px;padding:0 18px}
body.toplevel_page_albadr-live-chat #wpadminbar #wp-admin-bar-albadr-chat-shortcut>a{background:#f47b20;color:#fff}
body.toplevel_page_albadr-live-chat #wpadminbar #wp-admin-bar-albadr-chat-shortcut>a:hover{background:#d96510;color:#fff}
@media(max-width:782px){
 body.toplevel_page_albadr-live-chat #wpcontent{padding-left:10px;padding-right:10px}
 body.toplevel_page_albadr-live-chat .wrap[dir="rtl"]{margin:12px auto}
 body.toplevel_page_albadr-live-chat .wrap[dir="rtl"]>h1{font-size:21px;padding:15px 14px 5px}
 body.toplevel_page_albadr-live-chat .albadr-chat-intro{padding:5px 14px 14px}
 body.toplevel_page_albadr-live-chat .wrap[dir="rtl"]>div[style*="display:grid"]{display:flex!important;flex-direction:column!important}
 body.toplevel_page_albadr-live-chat .wrap[dir="rtl"]>div[style*="display:grid"]>div{width:auto;max-width:none}
 body.toplevel_page_albadr-live-chat #albadr-chat-admin-log{height:42vh!important;min-height:220px}
 body.toplevel_page_albadr-live-chat .ac-admin-msg{max-width:94%}
}

/* AL BADR 4.2.26 — visitor contact details in the live chat widget */
#albadr-chat-panel .ac-profile{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:9px 10px;background:#fff;border-bottom:1px solid #edf0f5}
#albadr-chat-panel .ac-profile label{display:block;min-width:0;color:#273858;font-size:11px;font-weight:700}
#albadr-chat-panel .ac-profile label span{font-weight:400;color:#7a8496}
#albadr-chat-panel .ac-profile input{display:block;width:100%;min-width:0;box-sizing:border-box;margin-top:4px;border:1px solid #dbe2ed;border-radius:8px;padding:8px 9px;font:inherit;font-size:12px;background:#fff;color:#182744}
#albadr-chat-panel .ac-note{font-size:12px;line-height:1.7;padding:9px 11px;background:#f9faff;color:#56647c}
#albadr-chat-panel .ac-form textarea{font-size:13px}
@media(max-width:420px){#albadr-chat-panel .ac-profile{grid-template-columns:1fr;gap:6px}#albadr-chat-panel .ac-profile input{padding:7px}}

/* AL BADR 4.2.28 — visitor reply alerts */
#albadr-chat-launcher{position:relative}
#albadr-chat-launcher .albadr-chat-unread{position:absolute;top:-8px;right:-7px;min-width:22px;height:22px;padding:0 5px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;border:2px solid #fff;border-radius:999px;background:#d92d20;color:#fff;font:800 11px/1 Arial,sans-serif;box-shadow:0 2px 8px #0003}
#albadr-chat-launcher .albadr-chat-unread[hidden],.albadr-chat-reply-toast[hidden]{display:none!important}
.albadr-chat-reply-toast{position:fixed;z-index:1000000;left:18px;bottom:82px;max-width:min(370px,calc(100vw - 36px));padding:14px 17px;border-radius:14px;background:#102b60;color:#fff;box-shadow:0 10px 35px #0003;font-size:14px;line-height:1.65;direction:rtl;text-align:right;overflow-wrap:anywhere;animation:albadrReplyIn .22s ease-out}
@keyframes albadrReplyIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.albadr-chat-reply-toast{left:12px;bottom:76px;max-width:calc(100vw - 24px);font-size:13px}}

/* 4.2.31: onboarding is hidden by chat JS after conversation begins */
#albadr-chat-panel .ac-note[hidden],#albadr-chat-panel .ac-profile[hidden]{display:none!important}


/* ==========================================================
   AL-BADR STUDIO 4.2.32 — Motion & CSS 3D enhancement
   Design rule: preserve the existing theme palette unchanged.
   ========================================================== */
html { scroll-behavior: smooth; }
body { animation: albadr-page-enter .42s ease-out both; }
@keyframes albadr-page-enter {
  from { opacity: .88; }
  to { opacity: 1; }
}

/* Perspective and restrained depth: original colors are inherited. */
.work-grid, .category-grid, .main-category-grid, .services-grid-final,
.albadr-services-v9-grid, .youtube-grid-final {
  perspective: 1100px;
  transform-style: preserve-3d;
}
.work, .card, .main-category, .category-child, .albadr-services-v9-card,
.yt-final, .albadr-yt-landing-card {
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform .32s cubic-bezier(.2,.75,.25,1),
              box-shadow .32s ease,
              border-color .32s ease;
  will-change: transform;
}
@media (hover:hover) and (pointer:fine) {
  .work:hover, .card:hover, .main-category:hover, .category-child:hover,
  .albadr-services-v9-card:hover, .yt-final:hover, .albadr-yt-landing-card:hover {
    transform: translateY(-5px) rotateX(1.2deg) rotateY(-1.2deg);
  }
  .hero-cta:hover, .button-primary:hover, .outline-btn:hover,
  .work-actions a:hover, .cat-links a:hover {
    transform: translateY(-2px);
  }
}
.hero-cta, .button-primary, .outline-btn, .work-actions a, .cat-links a {
  transition: transform .22s ease, filter .22s ease, box-shadow .22s ease;
}
.hero-final, .hero-final-inner, .hero-bg, .cat-bg, .about-photo-final {
  transform-style: preserve-3d;
}
.hero-final { overflow: hidden; }
.hero-bg, .cat-bg {
  transition: transform .65s cubic-bezier(.2,.75,.25,1);
}
@media (hover:hover) and (pointer:fine) {
  .hero-final:hover .hero-bg { transform: scale(1.025); }
  .main-category:hover .cat-bg { transform: scale(1.035); }
}

/* Reveal only when JS has prepared an element; avoids hiding content if JS is off. */
.albadr-motion-ready .albadr-reveal {
  opacity: 0;
  transform: translateY(18px) scale(.99);
  transition: opacity .55s ease, transform .6s cubic-bezier(.2,.75,.25,1);
}
.albadr-motion-ready .albadr-reveal.albadr-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.albadr-motion-ready .albadr-reveal.albadr-revealed.work,
.albadr-motion-ready .albadr-reveal.albadr-revealed.card,
.albadr-motion-ready .albadr-reveal.albadr-revealed.main-category,
.albadr-motion-ready .albadr-reveal.albadr-revealed.albadr-services-v9-card {
  transform: translateY(0) scale(1);
}

/* Page navigation feedback; does not intercept links or alter navigation logic. */
@media (prefers-reduced-motion: no-preference) {
  a, button { -webkit-tap-highlight-color: transparent; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .albadr-motion-ready .albadr-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
