/* SHAHAZ Policy Center — header treatment + three-dot contact drawer.
 * Scoped to the two Policy Center pages only (body classes). No blue. */

/* Header strip — ONE pink header for both Policy Centers (ZIP-208).
 * Every viewport: Back · Search · three-dot (ZIP-323: no logo/wordmark).
 * ZIP-323: Back + three-dot are plain white icons on the pink — no button
 * background, border, shadow, ring or hover/focus fill; a 40px box (also at
 * <=374px, where the base CSS shrinks it to 36px) stays as a transparent tap
 * target. States are listed so the parent theme's generic button:hover/:focus
 * colours can never repaint them. */
body.shahaz-seller-policy-page .topbar,
body.shahaz-customer-policy-page .topbar{
  background:linear-gradient(120deg,#ff4f9a 0%,#f2106f 52%,#d7005c 100%);
  -webkit-backdrop-filter:none;backdrop-filter:none;
  border:0;border-radius:0 0 18px 18px;
  box-shadow:none;
}
body.shahaz-seller-policy-page .topbar .back-btn,
body.shahaz-customer-policy-page .topbar .back-btn,
body.shahaz-seller-policy-page .topbar .menu-btn,
body.shahaz-customer-policy-page .topbar .menu-btn,
body.shahaz-seller-policy-page .topbar .back-btn:hover,
body.shahaz-customer-policy-page .topbar .back-btn:hover,
body.shahaz-seller-policy-page .topbar .menu-btn:hover,
body.shahaz-customer-policy-page .topbar .menu-btn:hover,
body.shahaz-seller-policy-page .topbar .back-btn:focus,
body.shahaz-customer-policy-page .topbar .back-btn:focus,
body.shahaz-seller-policy-page .topbar .menu-btn:focus,
body.shahaz-customer-policy-page .topbar .menu-btn:focus,
body.shahaz-seller-policy-page .topbar .back-btn:active,
body.shahaz-customer-policy-page .topbar .back-btn:active,
body.shahaz-seller-policy-page .topbar .menu-btn:active,
body.shahaz-customer-policy-page .topbar .menu-btn:active{
  flex:0 0 40px;width:40px;height:40px;border:0;border-radius:0;background:transparent;color:#fff;
  box-shadow:none;outline:none;-webkit-tap-highlight-color:transparent;cursor:pointer;
}
/* ZIP-323: beats the policy app's !important pink button:focus-visible ring — the header icons get no ring. */
body.shahaz-seller-policy-page .topbar .back-btn:focus-visible,
body.shahaz-customer-policy-page .topbar .back-btn:focus-visible,
body.shahaz-seller-policy-page .topbar .menu-btn:focus-visible,
body.shahaz-customer-policy-page .topbar .menu-btn:focus-visible{outline:none!important}
body.shahaz-seller-policy-page .topbar .back-btn svg,
body.shahaz-customer-policy-page .topbar .back-btn svg{width:24px;height:24px;stroke:#fff}
body.shahaz-seller-policy-page .topbar .menu-btn svg,
body.shahaz-customer-policy-page .topbar .menu-btn svg{width:24px;height:24px}
body.shahaz-seller-policy-page .topbar .menu-btn svg circle,
body.shahaz-customer-policy-page .topbar .menu-btn svg circle{fill:#fff}
/* Search capsule on pink: white ring instead of the pink one. */
body.shahaz-seller-policy-page .topbar .policy-search,
body.shahaz-customer-policy-page .topbar .policy-search{background:rgba(255,255,255,.96);box-shadow:none}

/* Drawer — compact glass shortcut rows, shared by Customer + Seller Policy Centers. */
.shz-pd[hidden]{display:none!important}
.shz-pd{position:fixed;inset:0;z-index:2000;font-family:inherit}
.shz-pd__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.48);-webkit-backdrop-filter:none;backdrop-filter:none;animation:shzPdFade .18s ease}
.shz-pd__panel{position:absolute;left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));max-height:calc(100dvh - 90px);overflow:auto;box-sizing:border-box;
  padding:13px 12px 14px;border-radius:26px;border:1px solid rgba(240,195,215,.92);
  background:#fff;
  box-shadow:none;animation:shzPdUp .22s ease;outline:none}
@media (min-width:700px){
  .shz-pd__panel{left:auto;right:18px;top:74px;bottom:auto;width:390px;max-height:calc(100dvh - 100px);animation:shzPdFade .18s ease}
}
.shz-pd__head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:1px 2px 9px}
.shz-pd__title{margin:0;font-size:15px;font-weight:800;color:#2a1522;letter-spacing:.01em}
.shz-pd__close{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;margin:0;padding:0;line-height:0;
  border:1px solid #f1e3ea;border-radius:11px;background:linear-gradient(160deg,#fff,#fbf3f7);color:#3b2d36;cursor:pointer;
  box-shadow:none;-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none;outline:none!important}
.shz-pd__close svg{display:block;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.shz-pd__close:focus,.shz-pd__close:active,.shz-pd__close:focus-visible{outline:none!important;box-shadow:none!important}
.shz-pd__body{display:flex;flex-direction:column;gap:7px}
.shz-pd__primary,.shz-pd__item,.shz-pd__whatsapp{position:relative;display:flex;align-items:center;gap:10px;width:100%;min-height:62px;box-sizing:border-box;padding:8px 11px;border-radius:17px;text-decoration:none!important;font-family:inherit;-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none;outline:none!important;transition:transform .12s ease,box-shadow .16s ease,border-color .16s ease}
.shz-pd__primary::after,.shz-pd__item::after,.shz-pd__whatsapp::after{content:"";position:absolute;left:10%;right:10%;top:5px;height:34%;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.48),rgba(255,255,255,0));pointer-events:none}
.shz-pd__primary{color:#fff!important;border:1px solid rgba(255,255,255,.72);background:linear-gradient(135deg,#ff5aa3 0%,#f20d73 52%,#d80a68 100%);box-shadow:none}
.shz-pd__primary--customer{background:linear-gradient(135deg,#ff2f8f 0%,#f20d73 55%,#d90063 100%)}
.shz-pd__item{color:#2a1522!important;background:#fff;border:1px solid #f20d73;box-shadow:none}
.shz-pd__item--email{background:#fff;border-color:#f20d73}
.shz-pd__item--call{background:#fff;border-color:#d8b85d}
.shz-pd__icon{position:relative;z-index:1;flex:0 0 40px;width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:#fff;color:#c01760;border:1px solid #f7a8cc;box-shadow:none}
.shz-pd__primary .shz-pd__icon{background:#fff;color:#f20d73;border-color:#fff;box-shadow:none}
.shz-pd__item--call .shz-pd__icon{color:#c38a16;background:#fff}
.shz-pd__icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.shz-pd__copy{position:relative;z-index:1;display:flex;flex-direction:column;min-width:0;flex:1 1 auto}
.shz-pd__copy strong{font-size:14px;font-weight:800;line-height:1.22}
.shz-pd__copy small{font-size:12px;line-height:1.22;opacity:.76;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shz-pd__arrow{position:relative;z-index:1;flex:0 0 40px;width:40px;height:40px;display:grid;place-items:center;margin-left:auto;font-size:26px;line-height:1;opacity:1;color:currentColor}
.shz-pd__primary:focus,.shz-pd__primary:active,.shz-pd__primary:focus-visible,.shz-pd__item:focus,.shz-pd__item:active,.shz-pd__item:focus-visible,.shz-pd__whatsapp:focus,.shz-pd__whatsapp:active,.shz-pd__whatsapp:focus-visible{outline:none!important;box-shadow:none!important}
.shz-pd__primary:active,.shz-pd__item:active,.shz-pd__whatsapp:active{transform:translateY(1px) scale(.988)}
/* WhatsApp — intentionally green glass row. */
.shz-pd__whatsapp{justify-content:flex-start;color:#fff;border:1px solid rgba(255,255,255,.78);background:linear-gradient(135deg,#32e889 0%,#08d66a 52%,#00b85a 100%);box-shadow:none}
.shz-pd__wa-icon{position:relative;z-index:1;flex:0 0 40px;width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:#fff;border:1px solid #fff;box-shadow:none}
.shz-pd__wa-icon svg{display:block;width:23px;height:23px;fill:#fff}
.shz-pd__wa-icon .shz-pd__wa-glyph{fill:#159b52}
.shz-pd__wa-text{position:relative;z-index:1;font-size:14px;font-weight:800;line-height:1.2}
body.shz-pd-open{overflow:hidden}
@keyframes shzPdUp{from{transform:translateY(16px);opacity:0}to{transform:none;opacity:1}}
@keyframes shzPdFade{from{opacity:0}to{opacity:1}}
@media (max-width:420px){.shz-pd__panel{left:9px;right:9px;padding:12px 10px 13px}.shz-pd__body{gap:6px}.shz-pd__primary,.shz-pd__item,.shz-pd__whatsapp{min-height:58px;padding:7px 10px;border-radius:16px}.shz-pd__icon,.shz-pd__wa-icon{flex-basis:38px;width:38px;height:38px;border-radius:12px}.shz-pd__copy strong,.shz-pd__wa-text{font-size:13.5px}.shz-pd__copy small{font-size:11.5px}}
@media (prefers-reduced-motion:reduce){.shz-pd__panel,.shz-pd__backdrop,.shz-pd__primary,.shz-pd__item,.shz-pd__whatsapp{animation:none;transition:none}}

body.shz-pd-open{overflow:hidden}
@keyframes shzPdUp{from{transform:translateY(16px);opacity:0}to{transform:none;opacity:1}}
@keyframes shzPdFade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.shz-pd__panel,.shz-pd__backdrop{animation:none}}

/* ------------------------------------------------------------------
 * Login/Register reference language (both Policy Centers):
 *   active   = "Login"    — glossy coral→magenta capsule, white bold text
 *   inactive = "Register" — white/soft-pink capsule, pink border, magenta text
 *   track    = soft-pink capsule container
 * ------------------------------------------------------------------ */
body.shahaz-seller-policy-page,body.shahaz-customer-policy-page{
  --shz-ref-active:linear-gradient(100deg,#ff5a5f 0%,#f2257a 48%,#d0107e 100%);
  --shz-ref-active-shadow:0 6px 14px rgba(226,24,110,.30),inset 0 1px 0 rgba(255,255,255,.45),inset 0 -2px 4px rgba(150,0,70,.18);
  --shz-ref-idle-bg:linear-gradient(180deg,#fff 0%,#fff6fa 100%);
  --shz-ref-idle-border:#f2b3cf;
  --shz-ref-idle-text:#c2185b;
  --shz-ref-track:linear-gradient(180deg,#fde7f0,#fbdce9);
}

/* Horizontal topic buttons under the header */
body.shahaz-seller-policy-page .nav-chip,body.shahaz-customer-policy-page .nav-chip{
  border:1.5px solid var(--shz-ref-idle-border);background:var(--shz-ref-idle-bg);color:var(--shz-ref-idle-text);
  font-weight:700;box-shadow:none;
}
body.shahaz-seller-policy-page .nav-chip .nav-icon,body.shahaz-customer-policy-page .nav-chip .nav-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px}
body.shahaz-seller-policy-page .nav-chip .nav-icon svg,body.shahaz-customer-policy-page .nav-chip .nav-icon svg{width:18px;height:18px}
body.shahaz-seller-policy-page .nav-chip.active,body.shahaz-customer-policy-page .nav-chip.active{
  border-color:rgba(255,255,255,.7);background:var(--shz-ref-active);color:#fff;font-weight:800;box-shadow:none;
}
body.shahaz-seller-policy-page .nav-chip:focus-visible,body.shahaz-customer-policy-page .nav-chip:focus-visible{outline:2px solid #e0306f;outline-offset:2px}

/* Voice cluster: Talk button → connector → language selector → status */
body.shahaz-seller-policy-page .shz-voice-cluster,body.shahaz-customer-policy-page .shz-voice-cluster{display:flex;flex-direction:column;align-items:center;flex:0 0 auto;max-width:100%}
.shz-vl{display:flex;flex-direction:column;align-items:center;gap:0;margin-top:0}
.shz-vl__connector{display:block;width:2px;height:10px;margin:2px 0 0;border-radius:2px;background:linear-gradient(180deg,#f2257a,#f7b6d2)}
.shz-vl__connector::after{content:"";display:block;width:6px;height:6px;margin:8px 0 0 -2px;border-radius:50%;background:#f2257a;box-shadow:0 0 0 2px #fde7f0}
.shz-vl__track{display:inline-flex;align-items:center;gap:4px;margin-top:2px;padding:4px;border-radius:999px;background:var(--shz-ref-track);border:1px solid rgba(255,255,255,.9);box-shadow:none}
body .shz-vl .shz-vl__opt,body .shz-vl .shz-vl__opt:hover,body .shz-vl .shz-vl__opt:focus,body .shz-vl .shz-vl__opt:active{-webkit-appearance:none;appearance:none;margin:0;padding:6px 14px;min-height:30px;border-radius:999px;cursor:pointer;
  border:1.5px solid var(--shz-ref-idle-border);background:var(--shz-ref-idle-bg);color:var(--shz-ref-idle-text);
  font:inherit;font-size:12.5px;font-weight:800;line-height:1;-webkit-tap-highlight-color:transparent;transition:background .18s ease,color .18s ease,box-shadow .18s ease}
body .shz-vl .shz-vl__opt.is-active,body .shz-vl .shz-vl__opt.is-active:hover,body .shz-vl .shz-vl__opt.is-active:focus{border-color:rgba(255,255,255,.75);background:var(--shz-ref-active);color:#fff;box-shadow:none}
body .shz-vl .shz-vl__opt:focus-visible{outline:2px solid #e0306f;outline-offset:2px}
body.shahaz-seller-policy-page .shz-vl .ai-talk-status,body.shahaz-customer-policy-page .shz-vl .ai-talk-status{
  max-width:230px;margin:6px 0 0;padding:0 4px;text-align:center;font-size:11.5px;line-height:1.35;font-weight:600;color:#c2185b}
@media (prefers-reduced-motion:reduce){body .shz-vl .shz-vl__opt{transition:none}}
