/* إخفاء اللوغو */
.pn-logo {
    display: none !important;
}

/* إخفاء قسم الإيميل والإنستغرام أسفل */
.store-footer__contacts-row {
    display: none !important;
}

/* ترتيب الاشتراك يمين والسوشال ميديا يسار */
.pn-follow-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.pn-follow-subscribe {
    order: 1; /* الاشتراك */
}

.pn-follow {
    order: 2; /* السوشال ميديا */
}

/* ضبط الألوان مثل أُناس */
.store-footer__inner {
    background-color: #000 !important;
    color: #fff !important;
}

.store-footer__inner a {
    color: #fff !important;
}

/* الخلفية والنص مثل أُناس */

.store-footer{background:#0c0c0c !important;color:#fff !important}
.store-footer a{color:rgba(255,255,255,.88)}
.store-footer a:hover{color:#fff}

/* إخفاء المنحنى */
.store-footer__curve{display:none !important}

/* شريط (تابعنا + الاشتراك + الشعار) بمحاذاة الكونتينر */
.pn-follow-wrap{width:100%;margin:0 auto}
.pn-follow-subscribe{
  direction:rtl;
  display:flex;flex-wrap:wrap;align-items:center;
  gap:16px;margin:12px 0 16px;
  border-top:1px solid rgba(255,255,255,.14);padding-top:16px
}
.pn-mode-desktop .pn-follow-subscribe{justify-content:space-between}
.pn-mode-tablet .pn-follow-subscribe,
.pn-mode-mobile .pn-follow-subscribe{flex-direction:column;align-items:center}

/* الشعار داخل الشريط (يمين) */
.pn-logo{display:flex;align-items:center;gap:10px}
.pn-logo img{max-height:44px;height:auto;width:auto;object-fit:contain;display:block}

/* عناصر المتابعة */
.pn-follow{display:flex;align-items:center;gap:14px}
.pn-follow .lbl{opacity:.9;font-weight:600}
.pn-social{display:flex;align-items:center;gap:12px}
.pn-social a{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid rgba(255,255,255,.25);border-radius:50%}
.pn-social i{font-size:15px}

/* نموذج الاشتراك (يسار الشريط في الديسكتوب) */
.pn-sub{display:flex;align-items:center;gap:10px}
.pn-sub input{background:#1c1c1c;border:1px solid rgba(255,255,255,.25);color:#fff;border-radius:6px;padding:10px 12px;min-width:320px}
.pn-sub input::placeholder{color:rgba(255,255,255,.55)}
.pn-sub button{background:#fff;color:#111;border:0;border-radius:6px;padding:10px 16px;font-weight:700;cursor:pointer}
.pn-sub button:hover{opacity:.9}
.pn-mode-mobile .pn-sub input{min-width:unset;width:100%}

/* شبكة الأعمدة */
.pn-footer-col h4{
  font-weight:800;font-size:15px;line-height:1.1;
  margin:0 0 10px;color:#fff;text-align:right
}
.pn-footer-col ul{list-style:none;margin:0;padding:0}
.pn-footer-col li{margin:6px 0}
.pn-footer-col a{font-size:14px}

/* أكورديون للجوال/تابلت */
.pn-acc__head{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;background:rgba(255,255,255,.06);border-radius:12px;cursor:pointer;border:0;color:#fff;font-size:15px;font-weight:800;text-align:right}
.pn-acc__icon{transition:transform .2s ease}
.pn-acc__head[aria-expanded="true"] .pn-acc__icon{transform:rotate(180deg)}
.pn-acc__panel{padding:10px 14px 2px;display:block}
.pn-acc__panel[hidden]{display:none}

/* أوضاع الاستجابة (تُضاف من JS) */
.pn-mode-desktop .pn-footer-col{border:0;border-radius:0;text-align:right;padding:0 8px}
.pn-mode-desktop .pn-acc__head{pointer-events:none;background:transparent;border:0;padding:0 0 8px;display:block}
.pn-mode-desktop .pn-acc__icon{display:none}
.pn-mode-desktop .pn-acc__panel{display:block !important;padding:0 !important}

.pn-mode-tablet .pn-footer-col,
.pn-mode-mobile .pn-footer-col{border:1px solid rgba(255,255,255,.10);border-radius:14px}

/* خط فاصل قبل صف سلة الافتراضي */
.store-footer__contacts-row{border-top:1px solid rgba(255,255,255,.14);margin-top:18px !important;padding-top:14px !important}

/* ====== pn-follow-wrap: توزيع احترافي ====== */

/* ألغي أي ستايل قديم */
.pn-follow-wrap{display:block !important; width:100%;}
.pn-follow-subscribe{
  direction:rtl !important;
  display:grid !important;
  grid-template-columns:auto 1fr auto;   /* اشتراك | فراغ | سوشال */
  grid-template-areas:"sub spacer social";
  align-items:center;
  column-gap:16px;
  margin:12px auto 16px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.14);
  max-width:var(--pn-container, 1200px); /* يضبطها JS حسب الكونتينر */
}
.pn-sub{ grid-area:sub; justify-self:start; display:flex; align-items:center; gap:10px; }
.pn-follow{ grid-area:social; justify-self:end; display:flex; align-items:center; gap:12px; }
.pn-social{ display:flex; align-items:center; gap:12px; }
.pn-social a{ display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; border:1px solid rgba(255,255,255,.25); border-radius:50%; }
.pn-sub input{
  background:#1b1b1b; border:1px solid rgba(255,255,255,.25); color:#fff;
  border-radius:6px; padding:10px 12px; min-width:320px;
}
.pn-sub input::placeholder{ color:rgba(255,255,255,.55); }
.pn-sub button{ background:#fff; color:#111; border:0; border-radius:6px; padding:10px 16px; font-weight:700; cursor:pointer; }

/* تابلت وجوال: سنتر ورتّبها عمودي */
@media (max-width: 1023px){
  .pn-follow-subscribe{
    grid-template-columns:1fr !important;
    grid-template-areas:
      "sub"
      "social";
    row-gap:10px;
    text-align:center;
  }
  .pn-sub{ justify-self:stretch; }
  .pn-sub input{ min-width:0; width:100%; }
  .pn-follow{ justify-self:center; }
}
/* فاصل بين الأعمدة وقسم الاشتراك/السوشال */
/* .pn-follow--below{
  border-top:1px solid rgba(255,255,255,.14);
  padding-top:16px;
  margin-top:16px;
}*/