
/* Expanded Creator footer and WhatsApp handoff chat */
body .footer{display:block!important;padding-top:36px!important;padding-bottom:26px!important;border-top:1px solid var(--border)}
.footer-main{display:grid;grid-template-columns:1.45fr 1fr 1fr;gap:48px;padding-bottom:34px}
.footer-column{display:flex;flex-direction:column;align-items:flex-start;gap:13px}
.footer-column h3{margin:0 0 6px;font-size:15px;font-weight:800;color:var(--foreground)}
.footer-identity strong{font-family:'Outfit',sans-serif;color:var(--foreground);font-size:23px}
.footer-identity p{font-size:13px;line-height:1.6;margin:0;color:var(--foreground);opacity:.7;max-width:280px}
.footer-column a{font-size:13px;text-decoration:none;color:var(--foreground)!important;opacity:.78;font-weight:550!important}
.footer-column a:hover{opacity:1;color:var(--accent)!important}
.footer-contact,.footer-social{display:flex;flex-direction:column;align-items:flex-start!important;gap:11px!important}
.footer-contact span{font-size:12px;opacity:.7}
.footer-social:empty:before{content:'Belum ada media sosial yang diatur';font-size:12px;opacity:.55}
.footer-chat-button{background:var(--accent);border:0;border-radius:30px;color:#fff;padding:11px 18px;font-weight:800;font-size:12px;cursor:pointer}
.footer-bottom{border-top:1px solid var(--border);display:flex;justify-content:space-between;gap:16px;padding-top:22px;font-size:12px;color:var(--foreground);opacity:.8}
.footer-bottom a{color:var(--accent);font-weight:800;text-decoration:none}
.creator-chat{position:fixed;right:22px;bottom:24px;z-index:50}
.creator-chat-trigger{display:flex;align-items:center;gap:8px;border:0;border-radius:50px;background:#783bd1;color:#fff;padding:13px 18px;box-shadow:0 12px 28px #47257a55;font-weight:800;cursor:pointer}
.creator-chat-panel{position:absolute;bottom:64px;right:0;width:min(370px,calc(100vw - 26px));max-height:min(670px,calc(100dvh - 95px));overflow-y:auto;background:#fff;color:#222342;border-radius:21px;box-shadow:0 20px 65px #2314314d;border:1px solid #e6dbee}
.creator-chat-panel[hidden]{display:none!important}
.creator-chat-header{background:linear-gradient(120deg,#5e2fa5,#9f5ce7);color:#fff;display:flex;align-items:flex-start;justify-content:space-between;padding:21px 21px 20px}
.creator-chat-header div{display:grid;gap:5px}.creator-chat-header strong{font-size:17px}.creator-chat-header small{font-size:11px;color:#f0e3ff}
.creator-chat-header button{border:0;background:#ffffff29;color:#fff;border-radius:50%;width:31px;height:31px;font-size:23px;cursor:pointer}
.creator-chat-form{display:grid;gap:13px;padding:20px}
.creator-chat-form label{display:grid;gap:6px;color:#403955;font-size:12px;font-weight:700}
.creator-chat-form input,.creator-chat-form textarea{border:1px solid #dcd3e9;border-radius:11px;padding:11px 12px;font:inherit;font-size:13px;background:white;color:#302645;outline-offset:2px}
.creator-chat-submit{border:0;border-radius:12px;background:#783bd1;color:#fff;padding:13px;font-size:13px;font-weight:800;cursor:pointer}
.creator-chat-status{color:#6b3f9e;font-size:11px;line-height:1.5;margin:0}
.creator-chat-status:empty{display:none}
.creator-chat-divider{text-align:center;color:#92909c;font-size:12px;position:relative}
.creator-chat-wa{text-align:center;border:1px solid #2aa765;color:#188d50;text-decoration:none;padding:11px;border-radius:12px;font-size:13px;font-weight:800}
.creator-chat-wa[hidden]{display:none!important}
.creator-chat-help{font-size:10px;line-height:1.5;color:#7d7886;margin:0}
@media(max-width:760px){.footer-main{grid-template-columns:1fr 1fr;gap:30px}.footer-identity{grid-column:1/-1}}
@media(max-width:540px){.footer-main{grid-template-columns:1fr 1fr;gap:20px}.footer-bottom{flex-wrap:wrap}.creator-chat{right:15px;bottom:calc(75px + env(safe-area-inset-bottom))}.creator-chat-trigger{padding:13px 15px}.creator-chat-panel{bottom:62px;width:min(360px,calc(100vw - 30px));max-height:calc(100dvh - 165px)}}

/* Footer layout v2: horizontal navigation, social chips immediately below brand. */
body .footer-main{
 display:grid!important;
 grid-template-columns:minmax(235px,1fr) minmax(0,1.7fr) auto!important;
 gap:30px!important;
 align-items:start!important;
}
body .footer-identity{gap:12px!important}
body .footer-links{
 display:flex!important;
 flex-direction:row!important;
 flex-wrap:wrap!important;
 align-content:flex-start!important;
 align-items:center!important;
 justify-content:flex-start!important;
 column-gap:24px!important;
 row-gap:17px!important;
 padding-top:8px!important;
}
body .footer-links h3{flex:0 0 100%;margin:0!important}
body .footer-links a{display:inline-flex;white-space:nowrap;font-size:12px!important}
body .footer-support{align-items:flex-start!important;padding-top:8px;white-space:nowrap}
body #footer-social.footer-social{
 display:flex!important;
 flex-flow:row wrap!important;
 gap:9px!important;
 align-items:center!important;
 max-width:270px;
 margin:5px 0 0;
}
body #footer-social .footer-social-icon{
 width:36px;height:36px;display:inline-flex;justify-content:center;align-items:center;
 border-radius:50%;background:#f3e8ff;color:#7740c2!important;border:1px solid #e9d8fb;
 font-weight:800!important;font-size:12px!important;opacity:1;text-decoration:none;
}
body #footer-social a.footer-social-icon:hover{background:var(--accent);color:#fff!important;transform:translateY(-2px)}
body #footer-social .footer-social-demo{opacity:.55;cursor:default}
body #footer-social .footer-social-note{
 display:block;flex:0 0 100%;font-size:10px;line-height:1.45;
 opacity:.62;color:var(--foreground);margin-top:2px
}
body[data-template=premium] #footer-social .footer-social-icon{background:#3a2b51;border-color:#5a4172;color:#e8caff!important}
@media(max-width:920px){
 body .footer-main{grid-template-columns:minmax(210px,1fr) minmax(0,1.5fr)!important;gap:25px!important}
 body .footer-support{grid-column:2;align-items:flex-start!important;padding-top:0}
}
@media(max-width:600px){
 body .footer-main{grid-template-columns:1fr!important;gap:25px!important}
 body .footer-links{column-gap:17px!important;row-gap:14px!important;padding-top:0!important}
 body .footer-support{grid-column:1!important}
 body #footer-social.footer-social{max-width:none}
}

/* Final footer: social icons in full color, no helper legend or support column. */
body .footer-main{grid-template-columns:minmax(220px,1fr) minmax(0,1.5fr)!important}
body #footer-social .footer-social-icon,
body #footer-social .footer-social-icon.footer-social-demo{
  opacity:1!important;
  border:0!important;
  color:#fff!important;
  box-shadow:0 4px 12px #1711271c;
}
body #footer-social .footer-social-icon:nth-child(1){background:#e3468b!important}
body #footer-social .footer-social-icon:nth-child(2){background:#1877f2!important}
body #footer-social .footer-social-icon:nth-child(3){background:#262433!important}
body #footer-social .footer-social-icon:nth-child(4){background:#ff3030!important}
body #footer-social .footer-social-icon:nth-child(5){background:#0a66c2!important}
body #footer-social .footer-social-icon.footer-social-demo{cursor:default}
body #footer-social .footer-social-note{display:none!important}
@media(max-width:600px){body .footer-main{grid-template-columns:1fr!important}}

/* Compact chat; direct WhatsApp action and footer without a heading. */
body .footer-links{padding-top:2px!important}
body .creator-chat-form{gap:11px;padding:18px}
body .creator-chat-panel{max-height:min(560px,calc(100dvh - 94px))}
body .creator-chat-wa{
 display:flex;align-items:center;justify-content:center;
 background:#1fa85d!important;color:#fff!important;
 border:0!important;border-radius:12px!important;
 min-height:44px;font-weight:800!important;
 box-shadow:0 6px 17px #188b4c22;
}
body .creator-chat-wa:hover{background:#158b4b!important}
@media(max-width:540px){
 body .creator-chat-panel{max-height:calc(100dvh - 165px)}
}

/* Footer v3: social icons on right, vertically aligned with navigation. */
body .footer-main{grid-template-columns: minmax(220px, .85fr) minmax(0, 2.15fr)!important;align-items:center!important}
body .footer-links{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:14px!important;padding-top:0!important;flex-wrap:wrap!important}
body .footer-links > a{font-size:11px!important;white-space:nowrap!important}
body .footer-links #footer-social.footer-social{
  display:flex!important;
  flex-flow:row nowrap!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:flex-end!important;
  margin:0 0 0 auto!important;
  gap:7px!important;
}
body .footer-links #footer-social .footer-social-icon{width:32px!important;height:32px!important}
@media(max-width:1100px){
 body .footer-links #footer-social.footer-social{flex-basis:100%!important;justify-content:flex-end!important;margin:9px 0 0!important}
}
@media(max-width:600px){
 body .footer-main{grid-template-columns:1fr!important;align-items:start!important}
 body .footer-links #footer-social.footer-social{flex-basis:100%!important;justify-content:flex-start!important;margin:10px 0 0!important}
}

/* Two distinct chat actions: form CTA, then direct WhatsApp CTA. */
.creator-chat-divider{margin:2px 0 0;font-size:12px;color:#898395}
.creator-chat-wa{display:flex!important;align-items:center;justify-content:center;min-height:44px;background:#1fa85d;color:#fff;border:0;border-radius:12px;text-decoration:none;font-size:13px;font-weight:800}
.creator-chat-wa[aria-disabled="true"]{opacity:.55;cursor:not-allowed;pointer-events:none}
.creator-chat-submit:disabled{opacity:.6;cursor:not-allowed}

/* Respect Web Chat enable/disable from local Dashboard settings */
.creator-chat-trigger[hidden],.creator-chat-divider[hidden],.creator-chat-wa[hidden]{display:none!important}
