/* ================================================================================
   SHAZDEH — v8 hardcoded footer (szd-footer.tpl). Ported 1:1 from mockup home-v8.
   Trust badges are LIGHT icon buttons → click opens a popup with the 3 REAL badges
   (official enamad/samandehi/torob logos+links) so first paint stays fast.
   ================================================================================ */

/* hide panda's native footer hooks output (kept in DOM, display:none, so module
   scripts still run) — we render our own hardcoded footer instead */
#footer.footer-container > #footer-primary,
#footer.footer-container > #footer-secondary,
#footer.footer-container > #footer-tertiary,
#footer.footer-container > #footer-bottom{ display:none !important; }

.szd-foot{
  --pink:#F478A9;--pink-dk:#E0568B;--pink-soft:#FFE3EC;--yellow:#FFD96B;--yellow-dk:#F0BB3D;
  --teal:#6FD3CB;--teal-dk:#3DA39B;--orange:#FF9F8A;--purple:#C5B0E8;--green:#A8DFA8;
  --green-dk:#3DA85E;--red:#F25F5C;--cream:#FFF5F0;--ink:#3D2C2E;--ink-2:#5A4A4C;
  --ink-3:#7B6B6D;--line:#F2E7E3;--r-lg:18px;--r-md:14px;--sh-1:0 4px 14px rgba(45,28,32,.06);
  display:block;box-sizing:border-box;
  /* full-bleed: escape the theme footer wrapper's padding so boxes can align to the home's 12px */
  width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
  background:linear-gradient(180deg,var(--cream) 0%,#FFEAD6 50%,#FFE3EC 100%);
  color:var(--ink); padding:24px 0 16px; margin-top:18px; position:relative;
  font-family:'Vazirmatn','Tahoma',sans-serif; direction:rtl; text-align:right;
}
.szd-foot::before{
  content:"";position:absolute;top:-1px;left:0;right:0;height:20px;
  background:radial-gradient(circle at 50% 0%,transparent 22px,var(--cream) 23px);
  background-size:46px 22px;background-repeat:repeat-x;
}
/* boxes align to the home content rhythm (12px side gap, full width) */
.szd-foot .szd-container{max-width:none;width:100%;margin:0;padding:0 12px;box-sizing:border-box}
.szd-foot a{text-decoration:none;color:inherit}

/* SERVICES — 8 tiles in TWO rows (4×2), all visible; pastel; click → popup */
.szd-foot__services{margin-bottom:14px;background:#fff;border-radius:var(--r-lg);padding:14px 10px;box-shadow:var(--sh-1);border:1px solid rgba(0,0,0,.04)}
.szd-foot__services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px 6px}
.szd-foot__service{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;cursor:pointer;border:0;background:transparent;font-family:inherit;padding:0}
.szd-foot__service-icon{width:52px;height:52px;border-radius:18px;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 10px rgba(0,0,0,.06);transition:transform .2s}
.szd-foot__service:active .szd-foot__service-icon{transform:scale(.9)}
.szd-foot__service-icon svg{width:30px;height:30px;overflow:visible}
.szd-foot__service-lbl{font-size:10px;font-weight:800;color:var(--ink);line-height:1.3}
/* PASTEL tints: soft bg + saturated icon stroke */
.szd-foot__service:nth-child(1) .szd-foot__service-icon{background:#FFE3EC}.szd-foot__service:nth-child(1) .szd-foot__service-icon svg{color:#E0568B}
.szd-foot__service:nth-child(2) .szd-foot__service-icon{background:#FFF3D6}.szd-foot__service:nth-child(2) .szd-foot__service-icon svg{color:#E0A21C}
.szd-foot__service:nth-child(3) .szd-foot__service-icon{background:#D9F2EF}.szd-foot__service:nth-child(3) .szd-foot__service-icon svg{color:#2F9E96}
.szd-foot__service:nth-child(4) .szd-foot__service-icon{background:#E3F2DB}.szd-foot__service:nth-child(4) .szd-foot__service-icon svg{color:#5FA85F}
.szd-foot__service:nth-child(5) .szd-foot__service-icon{background:#EEE6FA}.szd-foot__service:nth-child(5) .szd-foot__service-icon svg{color:#8966C8}
.szd-foot__service:nth-child(6) .szd-foot__service-icon{background:#FFE7DE}.szd-foot__service:nth-child(6) .szd-foot__service-icon svg{color:#E07861}
.szd-foot__service:nth-child(7) .szd-foot__service-icon{background:#DAEEFB}.szd-foot__service:nth-child(7) .szd-foot__service-icon svg{color:#1F8FD1}
.szd-foot__service:nth-child(8) .szd-foot__service-icon{background:#FFE0E0}.szd-foot__service:nth-child(8) .szd-foot__service-icon svg{color:#E0494F}

/* Service info popup (bottom sheet) */
.szd-svc-pop{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:flex-end;justify-content:center;font-family:'Vazirmatn','Tahoma',sans-serif}
.szd-svc-pop[hidden]{display:none}
.szd-svc-pop__backdrop{position:absolute;inset:0;background:rgba(45,28,32,.45);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);opacity:0;transition:opacity .25s}
.szd-svc-pop.--on .szd-svc-pop__backdrop{opacity:1}
.szd-svc-pop__sheet{position:relative;z-index:1;width:100%;max-width:480px;background:#fff;border-radius:22px 22px 0 0;padding:22px 20px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -10px 40px rgba(45,28,32,.28);transform:translateY(100%);transition:transform .3s cubic-bezier(.34,1.4,.6,1);text-align:center}
.szd-svc-pop.--on .szd-svc-pop__sheet{transform:translateY(0)}
.szd-svc-pop__sheet::before{content:"";display:block;width:42px;height:4px;border-radius:4px;background:#E8DAD6;margin:-8px auto 16px}
.szd-svc-pop__icon{width:84px;height:84px;border-radius:26px;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;background:#FFF5F0;box-shadow:0 6px 16px rgba(45,28,32,.08)}
.szd-svc-pop__icon svg{width:48px;height:48px;overflow:visible}
.szd-svc-pop__title{font-size:16px;font-weight:900;color:#3D2C2E;margin-bottom:8px}
.szd-svc-pop__text{font-size:13px;color:#5A4A4C;line-height:1.9;margin-bottom:16px}
.szd-svc-pop__ok{background:linear-gradient(135deg,#F478A9,#E0568B);color:#fff;border:0;border-radius:14px;padding:12px 28px;font-family:inherit;font-weight:800;font-size:13px;cursor:pointer;box-shadow:0 6px 16px rgba(244,120,169,.35)}

/* PARTNER cards */
.szd-foot__partners{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;margin-bottom:14px}
.szd-foot__partner{display:flex;flex-direction:column;align-items:flex-start;background:#fff;border-radius:14px;padding:10px;box-shadow:var(--sh-1);border:1px solid rgba(0,0,0,.04);cursor:pointer}
.szd-foot__partner small{font-size:8.5px;color:var(--ink-3);font-weight:600;line-height:1.4;text-align:right;width:100%}
.szd-foot__partner b{font-size:11px;color:var(--ink);font-weight:900;margin-top:2px}
.szd-foot__partner-logo{width:100%;height:40px;margin-top:8px;display:flex;align-items:center;justify-content:center}
.szd-foot__partner-logo img{max-width:100%;max-height:40px;height:auto;object-fit:contain;border-radius:6px}
.szd-foot__partner-logo.--ph{border-radius:6px;background:#F2E7E3;font-size:9px;font-weight:800;color:#9B8B8D}
.szd-foot__partner-logo.--ph::after{content:"لوگو به‌زودی"}

/* HERO call us */
.szd-foot__hero{background:linear-gradient(135deg,var(--pink) 0%,#FF8FBD 100%);border-radius:var(--r-lg);padding:18px;margin-bottom:14px;color:#fff;display:flex;align-items:center;gap:12px;box-shadow:0 8px 20px rgba(244,120,169,.25)}
.szd-foot__hero-icon{width:54px;height:54px;background:rgba(255,255,255,.2);border-radius:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.szd-foot__hero-icon svg{width:30px;height:30px;color:#fff}
.szd-foot__hero h3{font-size:14px;font-weight:900}
.szd-foot__hero p{font-size:11px;opacity:.95;margin-top:2px}
.szd-foot__hero-cta{background:#fff;color:var(--pink-dk);border-radius:20px;padding:7px 14px;font-weight:800;font-size:11px;margin-right:auto;flex-shrink:0;font-variant-numeric:tabular-nums}

/* CATEGORY cards */
.szd-foot__cats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px}
.szd-foot__cat{display:flex;align-items:center;gap:8px;background:#fff;padding:11px 12px;border-radius:14px;font-size:12px;color:var(--ink);font-weight:700;box-shadow:var(--sh-1);border:1px solid rgba(0,0,0,.04)}
.szd-foot__cat svg{width:18px;height:18px;flex-shrink:0}
.szd-foot__cat:nth-child(1) svg{color:var(--pink-dk)}
.szd-foot__cat:nth-child(2) svg{color:var(--teal-dk)}
.szd-foot__cat:nth-child(3) svg{color:var(--yellow-dk)}
.szd-foot__cat:nth-child(4) svg{color:#9579D0}
/* --- HARDEN footer line-icons: force outline + ensure colored (cols/heart inherited dark ink) --- */
.szd-foot__cat svg,.szd-foot__addr-row svg,.szd-foot__cols h4 svg,.szd-foot__hero-icon svg,.szd-foot__back-top svg{fill:none !important}
.szd-foot__cols h4 svg{width:17px;height:17px;color:var(--pink-dk);vertical-align:-3px;flex-shrink:0}
.szd-foot__heart svg{fill:var(--red,#E01F2E) !important;stroke:none !important;width:14px;height:14px;vertical-align:-2px}

/* ADDRESS card */
.szd-foot__addr{background:#fff;border-radius:14px;padding:14px;margin-bottom:14px;box-shadow:var(--sh-1);border:1px solid rgba(0,0,0,.04)}
.szd-foot__addr-row{display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.7;color:var(--ink-2);margin-bottom:10px}
.szd-foot__addr-row:last-child{margin-bottom:0}
.szd-foot__addr-row svg{width:18px;height:18px;color:var(--pink);flex-shrink:0;margin-top:2px}
.szd-foot__addr-row b{color:var(--ink);font-weight:800;display:block;margin-bottom:2px}

/* TRUST badges (REAL official logos; light = just the image). 4 badges → 4-col */
.szd-foot__trust{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:14px}
.szd-foot__trust-badge{background:#fff;border:1px solid rgba(0,0,0,.04);border-radius:14px;padding:10px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:96px;box-shadow:var(--sh-1);cursor:pointer;transition:transform .15s}
.szd-foot__trust-badge:active{transform:scale(.95)}
.szd-foot__trust-badge img{max-width:100%;max-height:80px;height:auto;object-fit:contain}
.szd-foot__trust-fallback{display:none;font-size:10.5px;font-weight:800;color:#5A4A4C}
.szd-foot__trust-badge.--ph{background:#FFF5F0}
.szd-foot__trust-badge.--ph .szd-foot__trust-fallback{display:block}
.szd-foot__trust-badge.--ph::before{content:"";display:block;width:34px;height:34px;background-repeat:no-repeat;background-position:center;background-size:contain;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2.5L19 5.4V11C19 16.2 15.5 19.4 12 21.2C8.5 19.4 5 16.2 5 11V5.4Z' fill='%23F7B8CE' stroke='%23E0568B' stroke-width='1.4' stroke-linejoin='round'/><path d='M9 11.3L11 13.3L15 9' fill='none' stroke='%23E0568B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>")}

/* TRUST popup (real badges) */
.szd-namad-pop{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:flex-end;justify-content:center;font-family:'Vazirmatn','Tahoma',sans-serif}
.szd-namad-pop[hidden]{display:none}
.szd-namad-pop__backdrop{position:absolute;inset:0;background:rgba(45,28,32,.45);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);opacity:0;transition:opacity .25s}
.szd-namad-pop.--on .szd-namad-pop__backdrop{opacity:1}
.szd-namad-pop__sheet{position:relative;z-index:1;width:100%;max-width:480px;background:#fff;border-radius:22px 22px 0 0;padding:6px 16px calc(22px + env(safe-area-inset-bottom));box-shadow:0 -10px 40px rgba(45,28,32,.28);transform:translateY(100%);transition:transform .3s cubic-bezier(.34,1.4,.6,1)}
.szd-namad-pop.--on .szd-namad-pop__sheet{transform:translateY(0)}
.szd-namad-pop__sheet::before{content:"";display:block;width:42px;height:4px;border-radius:4px;background:#E8DAD6;margin:8px auto 12px}
.szd-namad-pop__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}
.szd-namad-pop__head span{font-weight:900;font-size:15px;color:#3D2C2E}
.szd-namad-pop__x{width:32px;height:32px;border:0;background:#F6ECE9;border-radius:50%;font-size:22px;line-height:1;color:#9B8B8D;cursor:pointer}
.szd-namad-pop__sub{font-size:12px;color:#7B6B6D;margin:0 0 16px}
.szd-namad-pop__grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}
.szd-namad-pop__item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#F8F1EE;border-radius:16px;padding:14px 8px;min-height:120px;text-decoration:none;cursor:pointer}
.szd-namad-pop__item img{max-width:100%;max-height:88px;height:auto;object-fit:contain}
.szd-namad-pop__item:not([href]){cursor:default}
/* 4 items → wrap 2x2 on narrow screens */
@media (max-width:420px){ .szd-namad-pop__grid{grid-template-columns:1fr 1fr} }
.szd-namad-pop__fallback{display:none;font-size:11px;font-weight:800;color:#5A4A4C;text-align:center}
.szd-namad-pop__item.--noimg{background:#FFE3EC}
.szd-namad-pop__item.--noimg .szd-namad-pop__fallback{display:block}

/* PAYMENT methods */
.szd-foot__pay{background:#fff;border-radius:14px;padding:12px 14px;margin-bottom:14px;box-shadow:var(--sh-1);border:1px solid rgba(0,0,0,.04)}
.szd-foot__pay-title{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:900;color:var(--ink);margin-bottom:8px}
.szd-foot__pay-title svg{width:16px;height:16px;color:var(--pink)}
.szd-foot__pay-row{display:flex;gap:6px;flex-wrap:wrap}
.szd-foot__pay-card{background:var(--cream);border-radius:10px;padding:5px 10px;display:flex;align-items:center;gap:5px;font-size:10px;font-weight:800;color:var(--ink);border:1px solid var(--line)}
.szd-foot__pay-card svg{width:16px;height:16px;flex-shrink:0}

/* LINK columns */
.szd-foot__cols{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px;background:#fff;padding:16px 14px;border-radius:14px;box-shadow:var(--sh-1);border:1px solid rgba(0,0,0,.04)}
.szd-foot__col h4{font-size:12px;font-weight:900;color:var(--ink);margin-bottom:8px;display:flex;align-items:center;gap:6px}
.szd-foot__col h4 svg{width:14px;height:14px;color:var(--pink)}
.szd-foot__col a{display:block;font-size:11px;color:var(--ink-2);padding:5px 0;line-height:1.4}
.szd-foot__col a:hover{color:var(--pink-dk)}

/* SOCIAL — all icons on ONE row */
.szd-foot__social-block{background:#fff;border-radius:14px;padding:14px;margin-bottom:14px;text-align:center;box-shadow:var(--sh-1);border:1px solid rgba(0,0,0,.04)}
.szd-foot__social-title{font-size:12px;font-weight:900;color:var(--ink);margin-bottom:12px}
.szd-foot__social{display:flex;justify-content:center;gap:8px;flex-wrap:nowrap}
.szd-foot__social a{display:flex;flex-direction:column;align-items:center;gap:4px;flex:1 1 0;min-width:0}
.szd-foot__social .ico{width:46px;height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:#fff;box-shadow:0 3px 8px rgba(0,0,0,.1);overflow:hidden}
.szd-foot__social .ico img{width:100%;height:100%;object-fit:cover}
.szd-foot__social .lbl{font-size:9.5px;color:var(--ink-2);font-weight:700}

/* BACK TO TOP */
.szd-foot__back-top{display:flex;justify-content:center;margin:14px 0}
.szd-foot__back-top button{background:#fff;color:var(--pink-dk);border:1px solid var(--line);border-radius:20px;padding:10px 18px;font-family:inherit;font-weight:800;font-size:11.5px;cursor:pointer;display:inline-flex;align-items:center;gap:6px;box-shadow:var(--sh-1)}
.szd-foot__back-top svg{width:14px;height:14px}

/* COPYRIGHT */
.szd-foot__bottom{text-align:center;font-size:11.5px;font-weight:700;color:var(--ink-2);padding-top:16px;display:flex;justify-content:center;align-items:center;gap:5px;flex-wrap:wrap}
.szd-foot__heart{color:#E01F2E;font-size:14px;display:inline-block;animation:szdFootHeart 1.1s ease-in-out infinite}
@keyframes szdFootHeart{0%,100%{transform:scale(1)}15%{transform:scale(1.3)}30%{transform:scale(1)}45%{transform:scale(1.3)}}
/* kill the extra gap between copyright and the fixed bottom-nav (body already pads for the nav) */
.szd-foot{padding-bottom:0 !important;margin-bottom:0 !important}
.szd-foot__navspace{height:0}

/* desktop: a bit wider grid */
@media (min-width:768px){
  .szd-foot__cats{grid-template-columns:repeat(4,1fr)}
}

/* ===== ADD-TO-CART success toast (global) ===== */
.szd-cart-toast{
  position:fixed; left:50%; bottom:96px; transform:translateX(-50%) translateY(160%);
  z-index:62; display:flex; align-items:center; gap:11px;
  width:max-content; max-width:calc(100% - 28px);
  background:rgba(255,255,255,.94); -webkit-backdrop-filter:blur(16px) saturate(180%); backdrop-filter:blur(16px) saturate(180%);
  border:1px solid rgba(255,255,255,.7); border-radius:16px; padding:11px 14px;
  box-shadow:0 14px 34px rgba(45,28,32,.22), inset 0 1px 0 rgba(255,255,255,.8);
  font-family:'Vazirmatn','Tahoma',sans-serif; direction:rtl;
  opacity:0; transition:transform .42s cubic-bezier(.34,1.5,.6,1), opacity .3s;
}
.szd-cart-toast.--on{ transform:translateX(-50%) translateY(0); opacity:1; }
.szd-cart-toast[hidden]{ display:none; }
.szd-cart-toast__ic{
  width:36px; height:36px; flex-shrink:0; border-radius:50%;
  background:linear-gradient(135deg,#3DA85E,#6FD3A0); color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 12px rgba(61,168,94,.4);
}
.szd-cart-toast.--on .szd-cart-toast__ic{ animation:szdToastPop .5s cubic-bezier(.34,1.6,.6,1); }
.szd-cart-toast__ic svg{ width:20px; height:20px; }
@keyframes szdToastPop{ 0%{ transform:scale(0) rotate(-30deg);} 60%{ transform:scale(1.25) rotate(8deg);} 100%{ transform:scale(1) rotate(0);} }
.szd-cart-toast__body{ display:flex; flex-direction:column; gap:1px; }
.szd-cart-toast__body b{ font-size:13px; font-weight:800; color:#3D2C2E; }
.szd-cart-toast__body small{ font-size:10.5px; color:#7B6B6D; font-variant-numeric:tabular-nums; }
.szd-cart-toast__cta{ flex-shrink:0; font-size:12px; font-weight:800; color:#E0568B; background:#FFE3EC; padding:7px 13px; border-radius:11px; text-decoration:none; }
.szd-cart-toast__cta:active{ transform:scale(.95); }

/* live cart-count badge bump on update */
[data-cart-count].--bump{ animation:szdBadgeBump .45s cubic-bezier(.34,1.6,.6,1); }
@keyframes szdBadgeBump{ 0%,100%{ transform:scale(1);} 45%{ transform:scale(1.45);} }
.szd-hdr-m__badge.--empty{ display:none !important; }

/* === F10: 24/7 AI online-chat button (footer) — teal orb, matches bottom-nav sample === */
.szd-foot__hero-body{flex:1;min-width:0}
.szd-foot__ai{
  display:flex;align-items:center;gap:12px;width:100%;
  margin:10px 0 14px;padding:11px 14px;border:0;cursor:pointer;
  border-radius:var(--r-lg,18px);
  background:linear-gradient(135deg,#2F968E 0%,#3DA39B 45%,#6FD3CB 100%);
  box-shadow:0 8px 20px rgba(61,163,155,.32);
  text-align:right;font-family:inherit;position:relative;overflow:hidden;
  -webkit-tap-highlight-color:transparent;
}
.szd-foot__ai:active{transform:scale(.985)}
.szd-foot__ai-orb{position:relative;flex:0 0 auto;width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.16);display:flex;align-items:center;justify-content:center}
.szd-foot__ai-orb svg{width:26px;height:26px;position:relative;z-index:2}
.szd-foot__ai-ring{position:absolute;inset:0;border-radius:50%;border:2px solid rgba(255,255,255,.65);opacity:0;animation:szdFootAiRadar 2.6s ease-out infinite;pointer-events:none}
.szd-foot__ai-dot{position:absolute;top:2px;right:2px;width:10px;height:10px;border-radius:50%;background:#A8DFA8;border:2px solid #fff;z-index:3;animation:szdFootAiBlink 3s ease-in-out infinite}
.szd-foot__ai-txt{flex:1;min-width:0;color:#fff}
.szd-foot__ai-txt strong{display:block;font-size:13.5px;font-weight:900;line-height:1.3}
.szd-foot__ai-txt small{display:block;font-size:10.5px;opacity:.92;margin-top:1px;font-weight:500}
.szd-foot__ai-go{flex:0 0 auto;width:18px;height:18px;color:rgba(255,255,255,.9)}
@keyframes szdFootAiRadar{0%{transform:scale(1);opacity:.55}100%{transform:scale(1.5);opacity:0}}
@keyframes szdFootAiBlink{0%,80%,100%{opacity:1}40%{opacity:.5}}
@media (prefers-reduced-motion:reduce){.szd-foot__ai-ring,.szd-foot__ai-dot{animation:none !important}}

/* === F12: kill the empty space at the very bottom (white band was `body`'s 108px
   nav-clearance padding showing under the footer + an over-large footer tail). Remove
   the body clearance; let the footer's own pink tail (just enough) sit behind the
   floating nav so the copyright clears it with only a tiny gap, no empty band. */
body{padding-bottom:0 !important}
body main,.st-content,.st-content-inner,.st-pusher{padding-bottom:0 !important;margin-bottom:0 !important}
.szd-foot{padding-bottom:90px !important}   /* footer pink = nav clearance (with body padding removed → ~18px visible gap) */
.szd-foot__bottom{padding-top:14px !important;flex-direction:column !important;gap:3px !important}
.szd-foot__copyline{display:flex;align-items:center;justify-content:center;gap:5px}
.szd-foot__copy{font-weight:900;font-size:13px;color:var(--pink-dk);vertical-align:-1px}
.szd-foot__credit{font-size:11px;color:var(--ink-3);font-weight:600;display:flex;align-items:center;justify-content:center;gap:4px}
.szd-foot__credit .szd-foot__heart{color:#E01F2E;display:inline-flex}

/* SZD-FOOT-GAP: kill the extra empty space above the footer — the PS #footer wrapper had padding-top:24 and .szd-foot had margin-top:18 (=42px of page-bg gap above the peach top). Keep the footer's own scalloped top (padding-top:24) intact. */
#footer.footer-container{padding-top:0 !important;padding-bottom:0 !important}
.szd-foot{margin-top:0 !important}

/* ============================================================
   SZD MOTION — sitewide footer comes alive (user: «همه‌جا مثل صفحهٔ تعمیرات»)
   ring (phone), pulse (CTA), float (icons, staggered), dance (socials), twinkle
   ============================================================ */
@keyframes szdFtRing{0%{transform:rotate(0)}2%{transform:rotate(13deg)}4%{transform:rotate(-11deg)}6%{transform:rotate(9deg)}8%{transform:rotate(-7deg)}10%{transform:rotate(4deg)}12%,100%{transform:rotate(0)}}
.szd-foot__hero-icon{animation:szdFtRing 3.2s ease-in-out infinite;transform-origin:50% 20%}
@keyframes szdFtPulse{0%{box-shadow:0 0 0 0 rgba(224,81,138,.5)}70%{box-shadow:0 0 0 13px rgba(224,81,138,0)}100%{box-shadow:0 0 0 0 rgba(224,81,138,0)}}
.szd-foot__hero-cta{animation:szdFtPulse 2.2s ease-out infinite}
@keyframes szdFtFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.szd-foot__cat svg{animation:szdFtFloat 3s ease-in-out infinite}
.szd-foot__cats .szd-foot__cat:nth-child(2) svg{animation-delay:.45s}
.szd-foot__cats .szd-foot__cat:nth-child(3) svg{animation-delay:.9s}
.szd-foot__cats .szd-foot__cat:nth-child(4) svg{animation-delay:1.35s}
.szd-foot__social a .ico{display:inline-block;animation:szdFtFloat 2.6s ease-in-out infinite}
.szd-foot__social a:nth-child(2) .ico{animation-delay:.3s}
.szd-foot__social a:nth-child(3) .ico{animation-delay:.6s}
.szd-foot__social a:nth-child(4) .ico{animation-delay:.9s}
.szd-foot__social a:nth-child(5) .ico{animation-delay:1.2s}
.szd-foot__partner-logo img{animation:szdFtFloat 3.8s ease-in-out infinite}
.szd-foot__partners .szd-foot__partner:nth-child(2) .szd-foot__partner-logo img{animation-delay:.7s}
.szd-foot__partners .szd-foot__partner:nth-child(3) .szd-foot__partner-logo img{animation-delay:1.4s}
.szd-foot__hero{position:relative;overflow:hidden}
@keyframes szdFtTw{0%,100%{opacity:.2;transform:scale(.7)}50%{opacity:.95;transform:scale(1)}}
.szd-foot__hero::before,.szd-foot__hero::after{content:'';position:absolute;border-radius:50%;background:#f2a9c8;pointer-events:none;z-index:0}
.szd-foot__hero::before{width:9px;height:9px;top:10px;left:14px;animation:szdFtTw 2.6s ease-in-out infinite}
.szd-foot__hero::after{width:6px;height:6px;bottom:12px;left:40px;animation:szdFtTw 3.4s ease-in-out 1.1s infinite}

/* ===== SZD footer branches � live Neshan maps (dreamy) + bouncing pink pins ===== */
.szd-foot__branches{margin:14px 12px;background:#fff;border:1px solid #f0e2ea;border-radius:18px;padding:13px 12px;box-shadow:0 4px 14px rgba(0,0,0,.04)}
.szd-foot__br-title{display:flex;align-items:center;gap:7px;font-weight:800;color:#b03a6e;font-size:.95rem;margin:0 2px 11px}
.szd-foot__br-title svg{width:18px;height:18px;stroke:#e0518a}
.szd-foot__br-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
@media(max-width:420px){.szd-foot__br-grid{grid-template-columns:1fr}}
.szd-foot__br{display:block;position:relative;border-radius:13px;overflow:hidden;border:1px solid #f0e2ea;text-decoration:none!important;min-height:110px;background:#fdf6ef}
.szd-foot__br img{display:block;width:100%;height:130px;object-fit:cover}
.szd-foot__br .pin{position:absolute;left:50%;top:42%;width:30px;height:38px;margin:-32px 0 0 -15px;pointer-events:none}
.szd-foot__br .pin svg{display:block;width:100%;height:100%;overflow:visible;animation:szdFtPin 1.8s ease-in-out infinite}
@keyframes szdFtPin{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.szd-foot__br .pin .ring{transform-origin:18px 42px;animation:szdFtPinR 1.8s ease-in-out infinite}
@keyframes szdFtPinR{0%,100%{transform:scale(.7);opacity:.45}50%{transform:scale(1.15);opacity:.15}}
.szd-foot__br .nm{position:absolute;right:7px;bottom:7px;background:rgba(255,255,255,.94);border:1px solid #f3d9e6;border-radius:10px;padding:5px 10px;color:#b03a6e;font-size:.74rem;font-weight:800;line-height:1.5}
.szd-foot__br .nm small{display:block;color:#9a7184;font-size:.62rem;font-weight:700}
.szd-foot__br.--noimg{display:flex;align-items:center;justify-content:center}
.szd-foot__br.--noimg .pin{position:static;margin:0}

/* == F17: footer declutter — addresses merged INTO the branch-map cards + slim hours/email meta row; hero+AI blocks removed in tpl == */
.szd-foot__br .nm{left:7px;max-width:none}
.szd-foot__br .nm small{white-space:normal;line-height:1.7;margin-top:1px}
.szd-foot__br-meta{display:flex;flex-direction:column;gap:6px;margin-top:10px;padding-top:9px;border-top:1px dashed #f0dbe7}
.szd-foot__br-meta span{display:flex;align-items:center;gap:7px;color:#8c6b7d;font-size:.72rem;font-weight:700;line-height:1.7}
.szd-foot__br-meta svg{width:13px;height:13px;flex:0 0 13px;color:#cf5e93}
.szd-foot__br-meta svg{fill:none !important;stroke:#cf5e93 !important}
/* F19: bottom-sheet popups — small X top-right instead of big buttons */
.szd-svc-pop__sheet{position:relative}
.szd-svc-pop__x{position:absolute;top:8px;right:10px;width:30px;height:30px;border:0;border-radius:50%;background:#f6e7ee;color:#b03a6e;font-size:20px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;font-family:inherit;padding:0}
.szd-svc-pop__ok{display:none !important}
/* == F20/F21: FOOTER partner tiles = full-bleed brand art + white overlay text — scoped to footer.szd-foot
   (the PDP installment strip reuses these classnames and must keep its own look); branches aligned == */
.szd-foot .szd-foot__partner{position:relative;overflow:hidden;min-height:92px;border:0;background:#fff}
.szd-foot .szd-foot__partner-logo{position:absolute;inset:0;margin:0;height:auto;z-index:0}
.szd-foot .szd-foot__partner-logo img{width:100%;height:100%;max-height:none;object-fit:cover;border-radius:0}
.szd-foot .szd-foot__partner small,
#footer .szd-foot__partner small,
.footer-container .szd-foot__partner small{position:relative;z-index:2;color:rgba(255,255,255,.95) !important;text-shadow:0 1px 5px rgba(0,0,0,.38)}
.szd-foot .szd-foot__partner b,
#footer .szd-foot__partner b,
.footer-container .szd-foot__partner b{position:relative;z-index:2;color:#fff !important;text-shadow:0 1px 6px rgba(0,0,0,.45)}
.szd-foot .szd-foot__branches{margin-left:0 !important;margin-right:0 !important}
/* == F23: the partner-tile artwork and quick-link icons must sit STILL (user request) — social icons keep floating == */
.szd-foot__partner-logo img,.szd-foot__partner-logo{animation:none !important}
.szd-foot__cat svg{animation:none !important}
/* == F24: tile = EXACT image frame (owner-resized art, 1219x1030) — aspect-ratio match, zero crop == */
.szd-foot .szd-foot__partner{aspect-ratio:1219/1030;min-height:0;height:auto}

/* ================================================================================
   F25 (دور ۱۱۳) — فوترِ دسکتاپ طبقِ موکاپِ تاییدشدهٔ product-v3.3:
   خدمات ۸تایی تک‌ردیف + کارتِ پشتیبانی/PWA + گریدِ ۳ستونه (لینک‌ها | شعب | نمادها+درگاه‌ها)
   + نمادها تک‌ردیفِ قطعی + سوشالِ وسط + نوارِ پایانی. موبایل دست‌نخورده (<992).
   ================================================================================ */
.szd-foot__cta{ display:none; } /* موبایل: مخفی */
@media (min-width:992px){
  .szd-foot{ padding-top:26px; }
  .szd-foot > .szd-container{ max-width:1320px; }
  /* خدمات: یک ردیفِ ۸تایی جمع‌وجور */
  .szd-foot__services-grid{ grid-template-columns:repeat(8,1fr) !important; gap:12px !important; }
  .szd-foot__service{ padding:13px 6px 10px !important; border-radius:18px !important; }
  .szd-foot__service-icon svg{ width:30px !important; height:30px !important; }
  .szd-foot__service-lbl{ font-size:11px !important; }
  /* کارتِ پشتیبانی + PWA */
  .szd-foot__cta{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:22px; }
  .szd-foot__cta-item{ display:flex; align-items:center; gap:14px; background:#fff; border:1px solid #F6E9EF;
    border-radius:20px; padding:14px 20px; box-shadow:0 10px 30px rgba(176,58,110,.08); transition:.18s; text-decoration:none; }
  .szd-foot__cta-item:hover{ transform:translateY(-3px); border-color:#F3C9DA; }
  .szd-foot__cta-ic{ width:48px; height:48px; border-radius:14px; display:flex; align-items:center; justify-content:center; flex:0 0 auto; }
  .szd-foot__cta-ic--tel{ background:#EFFBF3; } .szd-foot__cta-ic--pwa{ background:#F3EBFF; }
  .szd-foot__cta-ic svg{ width:26px; height:26px; }
  .szd-foot__cta-tx b{ display:block; font-size:13.5px; color:#3D2C2E; }
  .szd-foot__cta-tx small{ font-size:11px; color:#8B7B7D; font-weight:700; }
  .szd-foot__cta-num{ margin-right:auto; font-size:19px; font-weight:900; color:#1D7A4C; font-variant-numeric:tabular-nums; direction:ltr; }
  .szd-foot__cta-btn{ margin-right:auto; display:inline-flex; background:linear-gradient(135deg,#F478A9,#E0568B);
    color:#fff; border-radius:999px; font-size:12px; font-weight:900; padding:9px 20px; box-shadow:0 8px 18px rgba(224,86,139,.3); }
  /* گریدِ میانی با areaها روی خودِ کانتینر (ترتیبِ مارکاپِ موبایل دست نمی‌خورد):
     [لینک‌ها | شعب | نمادها/درگاه‌ها] */
  .szd-foot > .szd-container{
    display:grid; grid-template-columns:1.15fr 1.5fr 1.05fr; gap:24px 32px; align-items:start;
    grid-template-areas:
      "svc   svc   svc"
      "cta   cta   cta"
      "links maps  cert"
      "links maps  cert2"
      "soc   soc   soc"
      "bot   bot   top";
  }
  .szd-foot__services{ grid-area:svc; }
  .szd-foot__cta{ grid-area:cta; margin-top:0; }
  .szd-foot__cols{ grid-area:links; display:grid !important; grid-template-columns:1fr 1fr !important; gap:26px; align-self:start; }
  .szd-foot__branches{ grid-area:maps; margin:0 !important; }
  .szd-foot__trust{ grid-area:cert; align-self:start; }
  .szd-foot__partners{ grid-area:cert2; margin:0 !important; display:flex; flex-direction:column; gap:8px; align-self:start; }
  /* پیلِ درگاه: [لوگو] [نام] … [نقش]  — مارکاپِ واقعی = small(نقش)+b(نام)+logo-span
     فیکس: base v8 این‌ها را flex-direction:column + متنِ سفید (فوترِ تیرهٔ قدیم) کرده بود → row + متنِ تیره */
  .szd-foot .szd-foot__partner{ aspect-ratio:auto !important; display:flex !important; flex-direction:row !important; align-items:center !important; gap:9px !important;
    background:#fff !important; border:1px solid #F6E9EF !important; border-radius:13px !important; padding:8px 13px !important; min-height:0 !important; box-shadow:0 3px 8px rgba(176,58,110,.05); }
  .szd-foot .szd-foot__partner-logo{ order:-2 !important; flex:0 0 auto !important; width:30px !important; height:30px !important; padding:0 !important; background:transparent !important; border:0 !important; box-shadow:none !important; display:flex; align-items:center; }
  .szd-foot .szd-foot__partner-logo img{ width:30px !important; height:30px !important; object-fit:contain !important; border-radius:8px !important; }
  .szd-foot .szd-foot__partner b{ order:-1 !important; font-size:12.5px !important; color:#3D2C2E !important; font-weight:800 !important; }
  .szd-foot .szd-foot__partner small{ order:1 !important; margin-inline-start:auto !important; font-size:10px !important; color:#8B7B7D !important; font-weight:700 !important; white-space:nowrap; }
  /* متنِ سفیدِ ارثیِ فوترِ تیرهٔ قدیم را خنثی کن (روی پس‌زمینهٔ سفید نامرئی می‌شد) */
  .szd-foot .szd-foot__partner *{ text-shadow:none !important; }
  /* پس‌زمینهٔ صورتیِ موکاپ */
  .szd-foot{ background:linear-gradient(180deg,#FFF3F8 0%,#FDE9F2 100%) !important; border-top:1px solid #F6DFEA; }
  .szd-foot__social-block{ grid-area:soc; }
  .szd-foot__bottom{ grid-area:bot; }
  .szd-foot__back-top{ grid-area:top; justify-self:end; align-self:center; }
  .szd-foot__cats{ display:none !important; }           /* دسکتاپ: لینک‌ها کافی است */
  /* شعب: دو نقشه کنارِ هم، فشرده */
  .szd-foot__br-grid{ display:grid !important; grid-template-columns:1fr 1fr !important; gap:12px !important; }
  .szd-foot__br img{ height:118px !important; object-fit:cover; }
  /* نمادها: تک‌ردیفِ قطعی */
  .szd-foot__trust{ display:grid !important; grid-template-columns:repeat(4,1fr) !important; gap:9px !important; margin:0 !important; }
  .szd-foot__trust-badge{ aspect-ratio:1; width:auto !important; height:auto !important; min-width:0; padding:7px !important; border-radius:14px !important; }
  /* سوشال + پایان */
  .szd-foot__social-block{ margin-top:24px !important; }
  .szd-foot__back-top{ margin:0 !important; }
  .szd-foot__bottom{ display:flex; align-items:center; justify-content:space-between; margin-top:18px !important;
    border-top:1px dashed #F0CADD; padding:14px 0 16px !important; }
  .szd-foot__navspace{ display:none !important; }
}

/* F28 — پیل‌های درگاه: متن سفیدِ ارثی روی پیل سفید نامرئی بود (بازگشت باگ F27 با سلکتور قوی‌تر) */
.szd-foot .szd-foot__partner small,
#footer .szd-foot__partner small,
.footer-container .szd-foot__partner small{color:#8B7B7D !important; text-shadow:none !important}
.szd-foot .szd-foot__partner b,
#footer .szd-foot__partner b,
.footer-container .szd-foot__partner b{color:#3D2C2E !important; text-shadow:none !important}
.szd-foot .szd-foot__partner,
#footer .szd-foot__partner{background:#fff !important}
/* F28c — چیدمان پیل: ردیف تمیز، لوگو چیپ ۴۴ در انتهای چپ، بدون overlay */
.szd-foot .szd-foot__partner,
#footer .szd-foot__partner{display:flex !important;flex-direction:row !important;align-items:center !important;gap:8px !important;min-height:64px !important;padding:10px 14px !important;overflow:visible !important}
.szd-foot .szd-foot__partner-logo,
#footer .szd-foot__partner-logo{position:static !important;inset:auto !important;width:44px !important;height:44px !important;flex:0 0 auto !important;margin:0 !important;margin-inline-start:auto !important;z-index:1}
.szd-foot .szd-foot__partner-logo img,
#footer .szd-foot__partner-logo img{width:100% !important;height:100% !important;max-height:none !important;object-fit:contain !important;border-radius:10px !important}
.szd-foot .szd-foot__partner small,
#footer .szd-foot__partner small{width:auto !important}

/* F29 — دور ۱۲۶: حذف پیل‌های قسطی از فوتر (پیام‌شان به کارت قسطی هوم منتقل شد) */
.szd-foot__partners,
#footer .szd-foot__partners{display:none !important}

@media (min-width:992px){
/* سوشال: جمع‌وجور، وسط، بدون فضای مرده */
.szd-foot .szd-foot__social-block,
#footer .szd-foot__social-block{max-width:640px !important; margin-inline:auto !important; padding:16px 20px !important}
.szd-foot .szd-foot__social,
#footer .szd-foot__social{gap:38px !important; justify-content:center !important}
.szd-foot .szd-foot__social a,
#footer .szd-foot__social a{flex:0 0 auto !important}

/* نمادهای اعتماد: کارت‌های یکدست با فاصله — تو هم رفته نباشند */
.szd-foot .szd-foot__trust,
#footer .szd-foot__trust{gap:16px !important}
.szd-foot .szd-foot__trust-badge,
#footer .szd-foot__trust-badge{
  background:#fff !important; border-radius:18px !important; padding:14px 12px !important;
  display:flex !important; flex-direction:column !important; align-items:center !important; justify-content:center !important;
  gap:8px !important; min-height:128px !important; overflow:hidden !important;
  box-shadow:0 6px 18px rgba(176,58,110,.07) !important; border:1px solid rgba(0,0,0,.04) !important;
}
.szd-foot .szd-foot__trust-badge img,
#footer .szd-foot__trust-badge img{max-width:86% !important; max-height:74px !important; width:auto !important; height:auto !important; object-fit:contain !important}
}

/* F30 — دور ۱۲۷: نمادها ۴تایی در ستون ۳۵۰px له می‌شدند → ۲×۲؛ + جمع‌کردن فضای خالی انتهای فوتر */
@media (min-width:992px){
.szd-foot .szd-foot__trust,
#footer .szd-foot__trust{grid-template-columns:1fr 1fr !important; gap:12px !important}
.szd-foot .szd-foot__trust-badge,
#footer .szd-foot__trust-badge{aspect-ratio:auto !important; min-height:118px !important}
.szd-foot .szd-foot__social-block,
#footer .szd-foot__social-block{margin-top:14px !important}
.szd-foot .szd-foot__bottom,
#footer .szd-foot__bottom{margin-top:10px !important; padding:12px 0 !important}
}

/* ================================================================
   F31 — دور ۱۲۸: فوتر کودکانه‌تر + حذف فضاهای مرده + اتصال نرم به بدنه
   ================================================================ */
@media (min-width:992px){
/* ۱) لبه اسکالوپی (ابری) بالای فوتر — به‌جای خط صاف، اتصال بازیگوش به صفحه */
.szd-foot{position:relative; border-top:0 !important; margin-top:26px !important; overflow:visible !important}
.szd-foot::before{content:""; position:absolute; top:-17px; left:0; right:0; height:18px; pointer-events:none;
  background-image:radial-gradient(circle at 50% 100%, #FFF3F8 0 14px, transparent 15px);
  background-size:32px 18px; background-position:bottom center; background-repeat:repeat-x}

/* ۲) پاشیدنی‌های کودکانه در پس‌زمینه (ستاره/قلب/ابر/برق) — خیلی ملایم */
.szd-foot::after{content:""; position:absolute; inset:0; pointer-events:none; z-index:0; opacity:.55;
  background-repeat:no-repeat;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F7B8CE'><path d='M12 2l2.4 6.9L21 11l-6.6 2.1L12 20l-2.4-6.9L3 11l6.6-2.1z'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F6A9C4'><path d='M12 21C7 16.5 3 13.2 3 9.3 3 6.4 5.2 4.5 7.7 4.5c1.7 0 3.3.9 4.3 2.3 1-1.4 2.6-2.3 4.3-2.3C18.8 4.5 21 6.4 21 9.3c0 3.9-4 7.2-9 11.7z'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32' fill='%23FFE4EF'><ellipse cx='20' cy='22' rx='16' ry='9'/><ellipse cx='38' cy='16' rx='14' ry='10'/><ellipse cx='50' cy='23' rx='11' ry='7'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFD96B'><path d='M12 2l1.8 8.2L22 12l-8.2 1.8L12 22l-1.8-8.2L2 12l8.2-1.8z'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C9E8E4'><path d='M12 2l2.4 6.9L21 11l-6.6 2.1L12 20l-2.4-6.9L3 11l6.6-2.1z'/></svg>");
  background-position:4% 10%, 96% 16%, 90% 78%, 3% 72%, 55% 6%;
  background-size:24px 24px, 19px 19px, 58px 29px, 17px 17px, 14px 14px}
.szd-foot > .szd-container{position:relative; z-index:1}

/* ۳) فضاهای مرده: کلیرنس ۹۰px ناوبار موبایل در دسکتاپ بی‌معنی + گپ‌ها جمع + ردیف خالی cert2 حذف */
.szd-foot{padding-top:22px !important; padding-bottom:14px !important}
.szd-foot > .szd-container{gap:16px 22px !important;
  grid-template-areas:
    "svc   svc   svc"
    "cta   cta   cta"
    "links maps  cert"
    "soc   soc   soc"
    "bot   bot   top" !important}
.szd-foot__services{margin-bottom:0 !important}
.szd-foot__social-block{margin:2px auto 0 !important}
.szd-foot__bottom{margin-top:2px !important; padding:8px 0 2px !important}

/* ۴) روباه اوریگامی سرک‌کش (F31) — دور ۱۳۱ به خواست کاربر حذف شد */
.szd-foot__social-block{overflow:visible !important; position:relative}
.szd-foot__social-block::before{content:none !important}

/* ۵) میکروانیمیشن‌های بازیگوش */
.szd-foot__social a{transition:transform .2s cubic-bezier(.34,1.56,.64,1)}
.szd-foot__social a:hover{transform:rotate(-8deg) scale(1.16)}
.szd-foot__service{transition:transform .18s ease, box-shadow .18s ease}
.szd-foot__service:hover{transform:translateY(-4px)}
.szd-foot__trust-badge{transition:transform .18s ease}
.szd-foot__trust-badge:hover{transform:translateY(-3px) rotate(-1.2deg)}
.szd-foot__back-top{transition:transform .18s ease}
.szd-foot__back-top:hover{transform:translateY(-3px)}

/* ۶) کارت‌های ستون میانی: قاب پاستلی لطیف به‌جای خاکستری */
.szd-foot__branches, .szd-foot__cols .szd-foot__col, .szd-foot__trust-badge, .szd-foot__social-block, .szd-foot__cta-item{
  border-color:#F6DFEA !important}
}

/* ================================================================
   F32 — دور ۱۲۹: ردیف پایانی [اپلیکیشن | سوشال | کارشناسان] هم‌تراز
   + چراغ سبز آنلاین + حذف بازگشت‌به‌بالا + کپی‌رایت وسط + رنگی‌تر
   ================================================================ */
@media (min-width:992px){
/* گرید: CTAها از بالا حذف و دو طرف سوشال می‌نشینند؛ سوشال دقیقا هم‌ستون شعبه‌ها */
.szd-foot > .szd-container{
  grid-template-areas:
    "svc    svc   svc"
    "links  maps  cert"
    "ctaTel soc   ctaPwa"
    "bot    bot   bot" !important;
  align-items:stretch !important}
.szd-foot__cta{display:contents !important}
.szd-foot__cta-item:nth-child(1){grid-area:ctaTel}
.szd-foot__cta-item:nth-child(2){grid-area:ctaPwa}
.szd-foot__social-block{grid-area:soc !important; max-width:none !important; width:100% !important; margin:0 !important;
  display:flex; flex-direction:column; justify-content:center; gap:12px}

/* کارت‌های CTA: ستونی، وسط‌چین، هم‌قد سوشال، رنگی */
.szd-foot__cta-item{flex-direction:column !important; align-items:center !important; justify-content:center !important;
  gap:8px !important; text-align:center; padding:16px 18px !important; height:100%}
.szd-foot__cta-tx{display:flex; flex-direction:column; gap:3px; align-items:center}
.szd-foot__cta-tx b{font-size:12.5px !important}
.szd-foot__cta-num{margin:0 !important; font-size:17px !important}
.szd-foot__cta-btn{margin:0 !important; padding:8px 22px !important}
.szd-foot__cta-ic{width:44px !important; height:44px !important}
.szd-foot__cta-item:nth-child(1){background:linear-gradient(160deg,#F0FBF4,#FFFFFF 70%) !important; border-color:#D9F0E2 !important}
.szd-foot__cta-item:nth-child(2){background:linear-gradient(160deg,#F5F0FF,#FFFFFF 70%) !important; border-color:#E6DCF7 !important}
.szd-foot__social-block{background:linear-gradient(160deg,#FFF6EC,#FFFFFF 70%) !important; border:1px solid #F6E3CE !important}
.szd-foot__social-title{font-size:13px !important}

/* چراغ سبز چشمک‌زن «آنلاین هستیم» روی کارت کارشناسان */
.szd-foot__cta-ic--tel{position:relative}
.szd-foot__cta-ic--tel::after{content:""; position:absolute; top:-2px; inset-inline-end:-2px; width:11px; height:11px;
  border-radius:50%; background:#22C55E; border:2px solid #fff; animation:szdOnlinePulse 1.8s ease-in-out infinite}
@keyframes szdOnlinePulse{
  0%,100%{box-shadow:0 0 0 0 rgba(34,197,94,.45)}
  50%{box-shadow:0 0 0 7px rgba(34,197,94,0)}
}

/* بازگشت‌به‌بالا: زیر FABها گم بود — حذف */
.szd-foot__back-top{display:none !important}

/* کپی‌رایت: وسط‌چین تمام‌عرض */
.szd-foot__bottom{justify-content:center !important; text-align:center !important}

}

/* F32b — margin-top:14 سوشال از F30 (سلکتور سنگین‌تر) می‌آمد → هم‌وزن صفر؛ ارتفاع ردیف پایانی یکدست */
@media (min-width:992px){
.szd-foot .szd-foot__social-block,
#footer .szd-foot__social-block{margin:0 !important}
.szd-foot .szd-foot__bottom,
#footer .szd-foot__bottom{justify-content:center !important; text-align:center !important}
}

/* ================================================================
   F33 — دور ۱۳۰: وسط‌چینی کانتینر فوتر در عرض‌های بالا (در ۱۹۲۰ به
   لبه راست می‌چسبید) + مدرن‌سازی کارت‌های کارشناسان/اپلیکیشن
   ================================================================ */
@media (min-width:992px){
/* ۱) وسط‌چینی: کانتینر max-width:1320 مارجین auto نداشت */
.szd-foot > .szd-container{margin-inline:auto !important}

/* ۲) کارت‌های CTA: squircle گرادیانی + چیپ وضعیت + دکمه پیل */
.szd-foot__cta-item{position:relative; border-radius:24px !important; border:1px solid #F0E4EC !important;
  box-shadow:0 12px 34px rgba(176,58,110,.08) !important; gap:10px !important; padding:22px 18px 18px !important}
.szd-foot__cta-item:hover{transform:translateY(-3px); box-shadow:0 18px 44px rgba(176,58,110,.13) !important; border-color:#F3C9DA !important}
.szd-foot__cta-ic{width:56px !important; height:56px !important; border-radius:19px !important}
.szd-foot__cta-ic svg{width:26px !important; height:26px !important}
.szd-foot__cta-ic--tel{background:linear-gradient(135deg,#E2F8EA,#C4EED6) !important; box-shadow:0 8px 18px rgba(34,197,94,.22)}
.szd-foot__cta-ic--pwa{background:linear-gradient(135deg,#EFE6FF,#DCCBF8) !important; box-shadow:0 8px 18px rgba(124,77,222,.2)}
.szd-foot__cta-tx b{font-size:13.5px !important}
.szd-foot__cta-tx small{font-size:11px !important; color:#8B7B7D !important}

/* شماره تماس = دکمه پیل سبز تماس */
.szd-foot__cta-num{direction:ltr; background:linear-gradient(135deg,#3ECF8E,#1D9A5C); color:#fff !important;
  padding:10px 28px !important; border-radius:999px !important; font-size:16.5px !important; font-weight:900 !important;
  box-shadow:0 10px 22px rgba(29,154,92,.28); letter-spacing:.4px; line-height:1 !important;
  transition:transform .15s ease, box-shadow .15s ease}
.szd-foot__cta-item:nth-child(1):hover .szd-foot__cta-num{transform:scale(1.04); box-shadow:0 14px 28px rgba(29,154,92,.36)}

/* دکمه نصب: گرادیان بنفش + آیکون دانلود */
.szd-foot__cta-btn{padding:10px 26px !important; font-size:13px !important; display:inline-flex !important; align-items:center; gap:8px;
  background:linear-gradient(135deg,#9B6BE8,#6D28D9) !important; box-shadow:0 10px 22px rgba(109,40,217,.28) !important}
.szd-foot__cta-btn::after{content:""; width:14px; height:14px; flex:0 0 auto;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3v12'/><path d='M6 11l6 6 6-6'/><path d='M5 21h14'/></svg>") center/contain no-repeat}

/* چیپ‌های وضعیت گوشه کارت‌ها */
.szd-foot__cta-item:nth-child(1)::after{content:"آنلاین هستیم"; position:absolute; top:13px; inset-inline-start:14px;
  font-size:10.5px; font-weight:800; color:#157A47; background:#E9F9EF; border:1px solid #C9EDD8; border-radius:999px; padding:4px 11px}
.szd-foot__cta-item:nth-child(2)::after{content:"بدون نیاز به مارکت"; position:absolute; top:13px; inset-inline-start:14px;
  font-size:10.5px; font-weight:800; color:#6D28D9; background:#F3EBFF; border:1px solid #E2D4F8; border-radius:999px; padding:4px 11px}
}
