/* Small account button intended for Elementor headers */
.tgepg-login-link{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;padding:10px 18px;border-radius:var(--tgepg-btn-radius,30px);border:1px solid transparent;background:var(--tgepg-btn-bg,#fff);color:var(--tgepg-btn-fg,#4b102b);font-size:13px;font-weight:650;letter-spacing:.075em;line-height:1.2;text-decoration:none!important;white-space:nowrap;max-width:100%;transition:transform .22s ease,box-shadow .22s ease,opacity .22s ease}
.tgepg-login-link svg{width:17px;height:17px;flex:none}.tgepg-login-link:hover,.tgepg-login-link:focus-visible{color:var(--tgepg-btn-fg,#4b102b);opacity:.90;transform:translateY(-1px);box-shadow:0 5px 16px rgba(0,0,0,.12)}
.tgepg-login-link:focus-visible{outline:2px solid currentColor;outline-offset:3px}.tgepg-login-link--small{padding:7px 12px;font-size:11px;min-height:34px}.tgepg-unconfigured{color:#c83737;font-size:12px;line-height:1.2}
@media(max-width:767px){.tgepg-login-link{min-height:36px;padding:8px 12px;font-size:11px;gap:6px}.tgepg-login-link svg{width:15px;height:15px}}
@media(prefers-reduced-motion:reduce){.tgepg-login-link{transition:none}.tgepg-login-link:hover{transform:none}}

/* v1.2 Account pop-up and paired gallery button. Fully isolated from theme button styling. */
.tgepg-account{position:relative;display:inline-flex;align-items:center;gap:9px;max-width:100%;vertical-align:middle;flex-wrap:wrap}
.tgepg-account [hidden],.tgepg-account-modal[hidden],.tgepg-account-modal [hidden]{display:none!important}
.tgepg-account .tgepg-login-link{cursor:pointer;font-family:inherit;text-transform:none;line-height:1.2}
.tgepg-account .tgepg-gallery-link{margin:0}
.tgepg-account-dropdown{position:absolute;z-index:2147483000;top:calc(100% + 10px);right:0;min-width:190px;padding:6px;background:#15171c;box-shadow:0 17px 40px rgba(0,0,0,.35);border:1px solid #3a3c43;border-radius:10px;display:flex;flex-direction:column;gap:2px}
.tgepg-account-dropdown[hidden]{display:none!important}
.tgepg-account-dropdown button{background:transparent!important;color:#f7f7fa!important;text-align:left!important;padding:13px 12px!important;min-height:38px!important;border:0!important;border-radius:7px!important;box-shadow:none!important;font-size:13px!important;font-weight:500!important;cursor:pointer!important;width:100%}
.tgepg-account-dropdown button:hover,.tgepg-account-dropdown button:focus-visible{background:#333743!important}
.tgepg-account-modal-open{overflow:hidden!important}
.tgepg-account-modal{position:fixed!important;inset:0!important;z-index:2147483000!important;display:grid!important;place-items:center!important;padding:16px!important;box-sizing:border-box!important;color:#f6f6f6!important;font-family:inherit;isolation:isolate}
.tgepg-account-modal[hidden]{display:none!important}
.tgepg-account-shade{position:absolute;inset:0;background:rgba(3,5,11,.78);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.tgepg-account-card{position:relative;z-index:1;box-sizing:border-box!important;width:min(100%,440px)!important;max-height:min(94dvh,780px)!important;overflow-y:auto!important;padding:35px clamp(21px,5vw,38px) 30px!important;background:#101318!important;color:#f8f8f8!important;border:1px solid rgba(255,255,255,.15)!important;border-radius:16px!important;box-shadow:0 35px 110px rgba(0,0,0,.54)!important;text-align:left!important}
.tgepg-account-card :is(input,button){font-family:inherit!important;box-sizing:border-box!important}
.tgepg-account-card h2{color:#fff!important;font-size:clamp(25px,5vw,35px)!important;line-height:1.15!important;margin:13px 0 8px!important;text-transform:none!important;letter-spacing:-.02em!important;font-weight:500!important}
.tgepg-account-card p{color:#b4b8c2!important;line-height:1.55!important;font-size:13px!important;margin:9px 0 18px!important}
.tgepg-account-brand{color:#f2f2f5;font-size:12px;letter-spacing:.17em;font-weight:700}
.tgepg-account-brand small{display:block;font-size:9px;letter-spacing:.25em;color:#adb1b8;margin-top:6px;font-weight:400}
.tgepg-account-card .tgepg-account-close{position:absolute;top:12px;right:14px;border:none!important;background:transparent!important;color:#f5f5f5!important;font-size:29px!important;font-weight:400!important;cursor:pointer;min-height:40px!important;min-width:40px!important;padding:0!important;line-height:1!important}
.tgepg-account-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;border-radius:9px;padding:4px;background:#292e38;margin:20px 0}
.tgepg-account-tabs button{background:transparent!important;color:#afb2bc!important;font-size:13px!important;font-weight:600!important;border:0!important;border-radius:7px!important;box-shadow:none!important;min-height:39px!important;cursor:pointer!important}
.tgepg-account-tabs button.is-selected{background:#ffffff!important;color:#361020!important}
.tgepg-account-card form:not(.tgepg-logout){display:flex;flex-direction:column;gap:14px}
.tgepg-account-card form label{font-size:12px!important;font-weight:500!important;color:#eff0f5!important;display:flex;flex-direction:column;gap:6px;margin:0!important}
.tgepg-account-card form label small{font-size:10px;font-weight:400;color:#aaa}
.tgepg-account-card form input:not([type="checkbox"]){display:block;width:100%!important;height:44px!important;border-radius:7px!important;border:1px solid #555b65!important;background:#21252c!important;color:#fff!important;box-shadow:none!important;padding:10px 12px!important;line-height:1.35!important;font-size:14px!important}
.tgepg-account-card form input:focus-visible{outline:2px solid #fff!important;outline-offset:2px}
.tgepg-account-card form .tgepg-account-remember{flex-direction:row;gap:8px;align-items:center;font-weight:400!important;color:#b7bac3!important}
.tgepg-account-remember input{width:16px;height:16px;accent-color:#fff}
.tgepg-account-card .tgepg-account-submit{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#32101f!important;background:#fff!important;border:0!important;border-radius:9px!important;padding:13px 15px!important;min-height:46px!important;font-weight:700!important;font-size:13px!important;text-transform:none!important;box-shadow:none!important;cursor:pointer!important}
.tgepg-account-card .tgepg-account-submit:disabled{opacity:.5;cursor:wait!important}
.tgepg-account-card .tgepg-account-feedback:not([hidden]){color:#ffb6c1!important;background:#52252f!important;padding:11px!important;border-radius:7px!important;margin:0!important;font-size:12px!important}
.tgepg-account-page-link{display:block;text-align:center!important;margin-top:17px;font-size:12px!important;text-decoration:underline!important;color:#d0d2d8!important}
.tgepg-account-back{border:0!important;background:transparent!important;color:#c6c7cd!important;font-size:13px!important;box-shadow:none!important;cursor:pointer!important}
@media(max-width:767px){.tgepg-account{gap:6px;justify-content:flex-end}.tgepg-account .tgepg-login-link{min-height:35px;padding:8px 11px;white-space:normal;font-size:11px}.tgepg-account-card{padding:35px 20px 26px!important}.tgepg-account-dropdown{min-width:165px}}
@media(prefers-reduced-motion:reduce){.tgepg-account-shade{backdrop-filter:none;-webkit-backdrop-filter:none}}

/* v1.2.1: the account trigger is a real button so Elementor transitions cannot navigate. */
.tgepg-account button.tgepg-account-trigger{
  -webkit-appearance:none;appearance:none;
  text-align:center;vertical-align:middle;cursor:pointer;
  font-family:inherit;
}
.tgepg-account button.tgepg-account-trigger:focus-visible{outline:2px solid currentColor;outline-offset:3px}

/* v1.3: gallery action is fully configurable independently of the account trigger. */
.tgepg-account .tgepg-gallery-link{border-radius:var(--tgepg-gallery-radius,999px);transition:transform var(--tgepg-gallery-duration,300ms) ease,box-shadow var(--tgepg-gallery-duration,300ms) ease,background-color var(--tgepg-gallery-duration,300ms) ease,color var(--tgepg-gallery-duration,300ms) ease,border-color var(--tgepg-gallery-duration,300ms) ease;will-change:auto;}
.tgepg-account .tgepg-gallery-link:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.tgepg-gallery-shape-pill{--tgepg-gallery-radius:999px}
.tgepg-gallery-shape-rounded{--tgepg-gallery-radius:14px}
.tgepg-gallery-shape-square{--tgepg-gallery-radius:0px}
.tgepg-gallery-shape-custom{--tgepg-gallery-radius:16px}
.tgepg-account .tgepg-gallery-hover-none:hover{transform:none}
.tgepg-account .tgepg-gallery-hover-lift:hover{transform:translateY(-4px)}
.tgepg-account .tgepg-gallery-hover-scale:hover{transform:scale(var(--tgepg-gallery-scale,1.06))}
.tgepg-account .tgepg-gallery-hover-glow:hover{transform:none;box-shadow:0 0 22px rgba(255,255,255,.38),0 7px 20px rgba(0,0,0,.1)}
.tgepg-account .tgepg-gallery-hover-pulse:hover{animation:tgepg-gallery-pulse 1100ms ease-in-out infinite}
.tgepg-account .tgepg-gallery-icon{display:inline-flex;align-items:center;justify-content:center;font-size:1.1em;line-height:1}
.tgepg-account .tgepg-gallery-label{display:inline-block}
.tgepg-account.is-authenticated .tgepg-gallery-enter-fade:not([hidden]){animation:tgepg-gallery-fade var(--tgepg-gallery-enter-duration,450ms) both}
.tgepg-account.is-authenticated .tgepg-gallery-enter-fade-up:not([hidden]){animation:tgepg-gallery-fade-up var(--tgepg-gallery-enter-duration,450ms) both}
.tgepg-account.is-authenticated .tgepg-gallery-enter-soft-zoom:not([hidden]){animation:tgepg-gallery-soft-zoom var(--tgepg-gallery-enter-duration,450ms) both}
.tgepg-dropdown-status{display:block;padding:8px 10px;color:#ffc7d2;font-size:12px;line-height:1.35;max-width:250px}
.tgepg-dropdown-status[hidden]{display:none!important}
.tgepg-account-dropdown button:disabled{opacity:.5;cursor:wait!important}
@keyframes tgepg-gallery-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.035)}}
@keyframes tgepg-gallery-fade{from{opacity:0}to{opacity:1}}
@keyframes tgepg-gallery-fade-up{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes tgepg-gallery-soft-zoom{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.tgepg-account .tgepg-gallery-link,.tgepg-account.is-authenticated .tgepg-gallery-link{animation:none!important;transition:none!important;transform:none!important}}

/* v1.5.5 — Account / Login trigger design, independent from the Gallery link. */
.tgepg-account button.tgepg-account-trigger{
  border-radius:var(--tgepg-login-radius,var(--tgepg-btn-radius,30px));
  margin:0;flex-shrink:0;max-width:100%;box-sizing:border-box;
  display:inline-flex;align-items:center;justify-content:center;
  transition:transform var(--tgepg-login-duration,300ms) ease,
    background-color var(--tgepg-login-duration,300ms) ease,
    color var(--tgepg-login-duration,300ms) ease,
    border-color var(--tgepg-login-duration,300ms) ease,
    box-shadow var(--tgepg-login-duration,300ms) ease,
    opacity var(--tgepg-login-duration,300ms) ease;
}
.tgepg-account button.tgepg-account-trigger.tgepg-login-shape-existing{border-radius:var(--tgepg-btn-radius,30px)}
.tgepg-account button.tgepg-account-trigger.tgepg-login-shape-pill{border-radius:999px}
.tgepg-account button.tgepg-account-trigger.tgepg-login-shape-rounded{border-radius:14px}
.tgepg-account button.tgepg-account-trigger.tgepg-login-shape-square{border-radius:0}
.tgepg-account button.tgepg-account-trigger.tgepg-login-shape-custom{border-radius:16px}
.tgepg-account button.tgepg-account-trigger.tgepg-login-icon-right{flex-direction:row-reverse}
.tgepg-account button.tgepg-account-trigger.tgepg-login-hover-none:hover{transform:none;opacity:1}
.tgepg-account button.tgepg-account-trigger.tgepg-login-hover-lift:hover{transform:translateY(-4px);opacity:1}
.tgepg-account button.tgepg-account-trigger.tgepg-login-hover-scale:hover{transform:scale(var(--tgepg-login-scale,1.06));opacity:1}
.tgepg-account button.tgepg-account-trigger.tgepg-login-hover-glow:hover{transform:none;opacity:1;box-shadow:0 0 22px rgba(255,255,255,.38),0 7px 20px rgba(0,0,0,.1)}
.tgepg-account button.tgepg-account-trigger.tgepg-login-hover-pulse:hover{transform:none;opacity:1;animation:tgepg-login-pulse 1100ms ease-in-out infinite}
.tgepg-account button.tgepg-account-trigger.tgepg-login-enter-fade{animation:tgepg-gallery-fade var(--tgepg-login-enter-duration,450ms) both}
.tgepg-account button.tgepg-account-trigger.tgepg-login-enter-fade-up{animation:tgepg-gallery-fade-up var(--tgepg-login-enter-duration,450ms) both}
.tgepg-account button.tgepg-account-trigger.tgepg-login-enter-soft-zoom{animation:tgepg-gallery-soft-zoom var(--tgepg-login-enter-duration,450ms) both}
.tgepg-account button.tgepg-account-trigger svg{flex-shrink:0}
.tgepg-account button.tgepg-account-trigger .tgepg-login-arrow{font-size:1.1em;line-height:1}
@keyframes tgepg-login-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.035)}}
@media(prefers-reduced-motion:reduce){
  .tgepg-account button.tgepg-account-trigger,
  .tgepg-account button.tgepg-account-trigger:hover{animation:none!important;transition:none!important;transform:none!important}
}


/* v1.6.3 — Exact, independent button dimensions: no inherited minimum from
   the original .tgepg-login-link class. Elementor responsive variables are
   scoped to each widget instance so other buttons in the header are unaffected. */
.tgepg-account button.tgepg-account-trigger{
  min-width:var(--tgepg-login-min-width,0px)!important;
  min-height:var(--tgepg-login-min-height,0px)!important;
  width:var(--tgepg-login-width,auto)!important;
  height:var(--tgepg-login-height,auto)!important;
  box-sizing:border-box!important;
  max-width:100%;
}
.tgepg-account a.tgepg-gallery-link{
  min-width:var(--tgepg-gallery-min-width,0px)!important;
  min-height:var(--tgepg-gallery-min-height,0px)!important;
  width:var(--tgepg-gallery-width,auto)!important;
  height:var(--tgepg-gallery-height,auto)!important;
  box-sizing:border-box!important;
  max-width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.tgepg-account a.tgepg-gallery-link[hidden]{display:none!important}

/* v1.6.4 unified header toolbar: independent of third-party social plugins. */
.tgepg-header-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:var(--tgepg-toolbar-gap,12px);max-width:100%;flex-wrap:wrap;width:100%;box-sizing:border-box}
.tgepg-header-toolbar .tgepg-account{flex:0 1 auto;justify-content:flex-end}
.tgepg-social-items{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px;flex:0 0 auto}
.tgepg-social-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:32px;height:32px;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0 solid transparent;background:#fff;color:#4b102b;border-radius:50%;text-decoration:none!important;box-sizing:border-box!important;transition:transform .25s ease,background-color .25s ease,color .25s ease,box-shadow .25s ease}
.tgepg-social-link svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;flex-shrink:0}
.tgepg-social-link:hover{opacity:1!important}
.tgepg-social-hover-lift .tgepg-social-link:hover{transform:translateY(-3px)}
.tgepg-social-hover-zoom .tgepg-social-link:hover{transform:scale(1.08)}
.tgepg-social-hover-glow .tgepg-social-link:hover{box-shadow:0 0 13px rgba(255,255,255,.5)}
.tgepg-social-link:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(max-width:767px){.tgepg-header-toolbar{gap:8px}.tgepg-social-items{gap:6px}}
@media(prefers-reduced-motion:reduce){.tgepg-social-link{transition:none!important;transform:none!important}}

/* v1.6.5: native-like per-icon styling and reliable right-edge alignment.
   Do not modify modal/dropdown positioning or private-account behaviours. */
.tgepg-header-toolbar{min-width:0;box-sizing:border-box!important;}
.tgepg-header-toolbar .tgepg-account{min-width:0}
.tgepg-header-toolbar.tgepg-account-order-gallery-first .tgepg-account-trigger{order:2}
.tgepg-header-toolbar.tgepg-account-order-gallery-first .tgepg-gallery-link{order:1}
.tgepg-social-items{min-width:0;box-sizing:border-box;}
.tgepg-header-toolbar .tgepg-social-link{
  background-color:var(--tgepg-item-bg,var(--tgepg-social-bg,#fff))!important;
  color:var(--tgepg-item-fg,var(--tgepg-social-fg,#4b102b))!important;
  border-radius:var(--tgepg-icon-radius,50%);
  flex-shrink:0;
}
.tgepg-header-toolbar .tgepg-social-link:hover,
.tgepg-header-toolbar .tgepg-social-link:focus-visible{
  background-color:var(--tgepg-item-bg-hover,var(--tgepg-social-bg-hover,var(--tgepg-item-bg,var(--tgepg-social-bg,#fff))))!important;
  color:var(--tgepg-item-fg-hover,var(--tgepg-social-fg-hover,var(--tgepg-item-fg,var(--tgepg-social-fg,#4b102b))))!important;
}
.tgepg-social-shape-circle .tgepg-social-link{border-radius:50%!important}
.tgepg-social-shape-rounded .tgepg-social-link{border-radius:10px!important}
.tgepg-social-shape-square .tgepg-social-link{border-radius:0!important}
.tgepg-social-shape-custom .tgepg-social-link{border-radius:var(--tgepg-icon-radius,12px)!important}
.tgepg-social-link i{display:inline-flex;align-items:center;justify-content:center;line-height:1;font-size:16px;}
.tgepg-social-link i:before{font-size:inherit}
.tgepg-social-link svg {fill:none}
.tgepg-social-link svg path[fill]:not([fill="none"]) {fill:currentColor}
@media(max-width:767px){.tgepg-header-toolbar{min-width:0}}

.tgepg-social-link svg.e-font-icon-svg{fill:currentColor!important;stroke:none!important}


/* v1.6.6: unified Share Dock style for Login and Gallery buttons.
   Deliberately scoped to the Elementor widget class; account dialogs are unaffected. */
.tgepg-widget-login-wrap.tgepg-share-style{
  --tgepg-share-hover-zoom:1.14;
  --tgepg-share-radius:40px;
  --tgepg-share-gap:12px;
  --tgepg-share-bg:#4b102b;
  --tgepg-share-fg:#fff;
  --tgepg-share-stroke:rgba(225,131,167,.75);
}
.tgepg-widget-login-wrap.tgepg-share-style--glass{
  --tgepg-share-bg:rgba(20,23,27,.76);
  --tgepg-share-stroke:rgba(255,255,255,.35);
}
.tgepg-widget-login-wrap.tgepg-share-style--outline{
  --tgepg-share-bg:rgba(13,16,19,.15);
  --tgepg-share-stroke:rgba(255,255,255,.8);
}
.tgepg-widget-login-wrap.tgepg-share-style .tgepg-account{
  gap:var(--tgepg-share-gap);
}
.tgepg-widget-login-wrap.tgepg-share-style .tgepg-account button.tgepg-account-trigger,
.tgepg-widget-login-wrap.tgepg-share-style .tgepg-account a.tgepg-gallery-link{
  background:var(--tgepg-share-bg)!important;
  color:var(--tgepg-share-fg)!important;
  border:1px solid var(--tgepg-share-stroke)!important;
  border-radius:var(--tgepg-share-radius)!important;
  box-shadow:0 7px 19px rgba(0,0,0,.18)!important;
  -webkit-backdrop-filter:blur(9px);
  backdrop-filter:blur(9px);
  transform-origin:center;
  transition:transform 350ms cubic-bezier(.2,.8,.2,1),box-shadow 350ms ease,background-color 350ms ease!important;
}
.tgepg-widget-login-wrap.tgepg-share-style .tgepg-account button.tgepg-account-trigger:hover,
.tgepg-widget-login-wrap.tgepg-share-style .tgepg-account button.tgepg-account-trigger:focus-visible,
.tgepg-widget-login-wrap.tgepg-share-style .tgepg-account a.tgepg-gallery-link:hover,
.tgepg-widget-login-wrap.tgepg-share-style .tgepg-account a.tgepg-gallery-link:focus-visible{
  transform:scale(var(--tgepg-share-hover-zoom))!important;
  box-shadow:0 11px 28px rgba(0,0,0,.32),0 0 14px rgba(197,83,127,.28)!important;
  opacity:1!important;
}
@media(prefers-reduced-motion:reduce){
  .tgepg-widget-login-wrap.tgepg-share-style .tgepg-account button.tgepg-account-trigger,
  .tgepg-widget-login-wrap.tgepg-share-style .tgepg-account a.tgepg-gallery-link{transition:none!important;animation:none!important;}
  .tgepg-widget-login-wrap.tgepg-share-style .tgepg-account button.tgepg-account-trigger:hover,
  .tgepg-widget-login-wrap.tgepg-share-style .tgepg-account a.tgepg-gallery-link:hover{transform:none!important;}
}

/* v1.6.9: same portal design choice drives popup styling; form logic untouched. */
.tgepg-popup-brand{text-align:center;margin:0 auto 12px}
.tgepg-account-modal .tgepg-login-logo-wrap{margin:0 auto 10px;max-width:210px}
.tgepg-account-modal .tgepg-login-logo{max-width:100%;max-height:75px;object-fit:contain}
.tgepg-account-modal .tgepg-monogram{font:normal 54px/1 Georgia,serif;letter-spacing:-.1em;color:#fff;margin:0 auto 12px}
.tgepg-account-modal .tgepg-account-brand{text-align:center;letter-spacing:.2em;color:#c5b9af!important}
.tgepg-account-modal .tgepg-account-card{width:min(94vw,560px)!important;padding:clamp(25px,4vw,48px)!important;text-align:left!important}
.tgepg-account-modal .tgepg-account-card h2{text-align:center!important;font:normal clamp(30px,4vw,47px)/1.12 Georgia,serif!important;margin:16px 0!important}
.tgepg-popup-template-editorial .tgepg-account-card{background:#0d141b!important;border-radius:0!important;border:1px solid rgba(255,255,255,.22)!important}
.tgepg-popup-template-editorial .tgepg-account-submit{background:#d6bc9d!important;color:#111!important;border-radius:0!important}
.tgepg-popup-template-glass .tgepg-account-card{background:rgba(16,23,33,.75)!important;border-radius:22px!important;backdrop-filter:blur(19px);-webkit-backdrop-filter:blur(19px);border-color:rgba(255,255,255,.28)!important}
.tgepg-popup-template-glass .tgepg-account-submit{background:#f2e4d7!important;border-radius:13px!important}
.tgepg-popup-template-split .tgepg-account-card{width:min(96vw,720px)!important;display:grid;grid-template-columns:minmax(160px,.85fr) minmax(250px,1.15fr);gap:0 25px;background:#0e161e!important;border-radius:0!important}
.tgepg-popup-template-split .tgepg-popup-brand{grid-column:1;align-self:center}
.tgepg-popup-template-split .tgepg-account-card>h2{grid-column:1;text-align:center!important}
.tgepg-popup-template-split .tgepg-account-login-view,.tgepg-popup-template-split .tgepg-account-password-view{grid-column:2;grid-row:1/span 2}
.tgepg-popup-template-split .tgepg-account-close{z-index:2}
.tgepg-popup-template-minimal .tgepg-account-card{background:#071018!important;border-radius:0!important;border:1px solid rgba(255,255,255,.28)!important;box-shadow:none!important}
.tgepg-popup-template-minimal .tgepg-account-submit{background:transparent!important;border:1px solid #d6bc9d!important;color:#d6bc9d!important;border-radius:0!important}
.tgepg-popup-template-signature .tgepg-account-card{background:linear-gradient(#121c25,#080e15)!important;border:1px solid rgba(214,188,157,.55)!important;border-radius:0!important;outline:1px solid rgba(255,255,255,.12);outline-offset:-15px}
.tgepg-popup-template-signature .tgepg-account-submit{background:#d6bc9d!important;color:#111!important;border-radius:0!important}
@media(max-width:650px){.tgepg-popup-template-split .tgepg-account-card{display:block}.tgepg-popup-template-split .tgepg-popup-brand{display:block}.tgepg-account-modal .tgepg-account-card{padding:32px 22px!important}}
@media(prefers-reduced-motion:reduce){.tgepg-account-modal .tgepg-account-card{animation:none!important}}

/* v1.6.10: popup & full login share the same visual system. */
.tgepg-account-modal .tgepg-account-card,
.tgepg-login .tgepg-login-card{box-sizing:border-box!important;width:min(94vw,680px)!important;max-width:680px!important;padding:clamp(28px,4vw,52px)!important;text-align:center!important;overflow-y:auto;}
.tgepg-account-modal .tgepg-popup-brand,.tgepg-login .tgepg-login-logo-wrap,.tgepg-login .tgepg-monogram{text-align:center!important;justify-content:center!important;}
.tgepg-account-modal .tgepg-account-card h2,.tgepg-login .tgepg-login-card h2{font:normal clamp(32px,4.2vw,48px)/1.15 Georgia,serif!important;color:#fff!important;text-align:center!important;margin:15px 0!important;letter-spacing:-.02em!important;}
.tgepg-account-modal .tgepg-account-explainer,.tgepg-login .tgepg-login-card>p:not(.tgepg-eyebrow):not(.tgepg-small):not(.tgepg-error){font-size:14px!important;line-height:1.55!important;text-align:center!important;max-width:530px!important;margin:0 auto 22px!important;color:#b9bdc3!important;}
.tgepg-account-modal .tgepg-account-tabs,.tgepg-login .tgepg-page-tabs{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;padding:4px;background:#292e38;border-radius:9px;margin:18px auto 22px;max-width:540px;}
.tgepg-login .tgepg-page-tabs button{border:0!important;background:transparent!important;color:#b9bdc7!important;min-height:39px!important;padding:9px!important;font-size:13px!important;font-weight:600!important;border-radius:7px!important;cursor:pointer;}
.tgepg-login .tgepg-page-tabs button.is-selected{background:#fff!important;color:#361020!important;}
.tgepg-account-modal .tgepg-account-login-form,.tgepg-login .tgepg-login-card form:not(.tgepg-logout){max-width:540px;width:100%;margin:0 auto!important;display:flex;flex-direction:column;gap:12px;text-align:left!important;}
.tgepg-login .tgepg-login-card form>label:not(.tgepg-remember){margin-top:4px!important;font-size:12px!important;font-weight:500!important;letter-spacing:normal!important;color:#eff0f5!important;text-transform:none!important;}
.tgepg-login .tgepg-login-card input[type=text],.tgepg-login .tgepg-login-card input[type=password]{height:44px!important;min-height:44px!important;border:1px solid #555b65!important;border-radius:7px!important;background:#21252c!important;color:#fff!important;padding:10px 12px!important;font-size:14px!important;}
.tgepg-login .tgepg-remember{margin:3px 0 8px!important;font-size:12px!important;color:#b7bac3!important;}
.tgepg-login .tgepg-action,.tgepg-account-modal .tgepg-account-submit{min-height:46px!important;padding:13px 15px!important;border-radius:8px!important;display:flex!important;justify-content:space-between!important;align-items:center!important;letter-spacing:.06em!important;font-size:13px!important;text-transform:none!important;font-weight:700!important;background:#d6bc9d!important;color:#111!important;}
.tgepg-popup-privacy,.tgepg-login .tgepg-small{max-width:540px;margin:18px auto 0!important;color:#949ca5!important;text-align:center!important;font-size:12px!important;line-height:1.5!important;}
.tgepg-account-modal .tgepg-account-page-link{display:none!important;}
.tgepg-popup-template-glass .tgepg-account-card,.tgepg-login-template-glass .tgepg-login-card{background:rgba(16,23,33,.78)!important;border-radius:22px!important;}
.tgepg-popup-template-minimal .tgepg-account-card,.tgepg-login-template-minimal .tgepg-login-card{background:#071018!important;border-radius:0!important;box-shadow:none!important;}
.tgepg-popup-template-minimal .tgepg-account-submit,.tgepg-login-template-minimal .tgepg-action{background:transparent!important;border:1px solid #d6bc9d!important;color:#d6bc9d!important;}
.tgepg-popup-template-signature .tgepg-account-card,.tgepg-login-template-signature .tgepg-login-card{background:linear-gradient(#121c25,#080e15)!important;border:1px solid rgba(214,188,157,.55)!important;border-radius:0!important;}
.tgepg-popup-template-editorial .tgepg-account-card,.tgepg-login-template-editorial .tgepg-login-card{background:#0d141b!important;border-radius:0!important;border:1px solid rgba(255,255,255,.22)!important;}
/* Make split match on both: stacked and centred, keeping the same controls. */
.tgepg-popup-template-split .tgepg-account-card,.tgepg-login-template-split .tgepg-login-card{display:block!important;grid-template-columns:none!important;text-align:center!important;background:#0e161e!important;border-radius:0!important;}
.tgepg-popup-template-split .tgepg-popup-brand,.tgepg-login-template-split .tgepg-login-logo-wrap{margin:0 auto 12px!important;justify-content:center!important;}
.tgepg-popup-template-split .tgepg-account-login-view,.tgepg-popup-template-split .tgepg-account-password-view{display:block;grid-column:auto;grid-row:auto;}
.tgepg-account-modal .tgepg-account-card form .tgepg-account-remember{margin:3px 0 8px!important;}
@media(max-width:767px){.tgepg-account-modal .tgepg-account-card,.tgepg-login .tgepg-login-card{width:min(95vw,680px)!important;padding:32px 20px!important;}}


/* v1.7.0: single popup login; each preset has a distinctive visual treatment.
   These selectors come AFTER the old shared-layout rules. */
.tgepg-portal-login-launch{min-height:58vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:16px;padding:clamp(42px,9vw,100px) 20px;background:#0a1119;color:#fff}
.tgepg-portal-login-launch h2{font:400 clamp(32px,5vw,58px)/1.12 Georgia,serif;color:#fff;margin:0}
.tgepg-portal-login-launch p{max-width:600px;color:#c9c2bd;margin:0}
.tgepg-portal-login-launch .tgepg-portal-launch-eyebrow{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:#d6bc9d}
.tgepg-portal-login-launch .tgepg-account{display:flex;justify-content:center}
.tgepg-portal-login-launch .tgepg-account-trigger{background:#d6bc9d!important;color:#121820!important;border:0!important;border-radius:50px!important;padding:15px 24px!important;min-height:48px}
.tgepg-account-modal.tgepg-popup-template-editorial .tgepg-account-card{background:#0d141b!important;border:1px solid #5b636d!important;border-radius:0!important;box-shadow:0 22px 80px rgba(0,0,0,.55)!important}
.tgepg-account-modal.tgepg-popup-template-glass .tgepg-account-card{background:rgba(30,38,52,.76)!important;border:1px solid rgba(255,255,255,.37)!important;border-radius:24px!important;box-shadow:0 26px 100px rgba(0,0,0,.42)!important;backdrop-filter:blur(22px)!important;-webkit-backdrop-filter:blur(22px)!important}
.tgepg-account-modal.tgepg-popup-template-minimal .tgepg-account-card{background:#080e13!important;border:1px solid rgba(255,255,255,.32)!important;border-radius:0!important;box-shadow:none!important}
.tgepg-account-modal.tgepg-popup-template-minimal .tgepg-account-submit{background:transparent!important;color:#d6bc9d!important;border:1px solid #d6bc9d!important;border-radius:0!important}
.tgepg-account-modal.tgepg-popup-template-signature .tgepg-account-card{background:linear-gradient(135deg,#17232d,#080c13)!important;border:1px solid #ceb593!important;border-radius:0!important;box-shadow:0 32px 95px rgba(0,0,0,.52)!important;outline:1px solid rgba(206,181,147,.45)!important;outline-offset:-13px!important}
.tgepg-account-modal.tgepg-popup-template-split .tgepg-account-card{width:min(96vw,850px)!important;max-width:850px!important;display:grid!important;grid-template-columns:minmax(190px,.8fr) minmax(270px,1.2fr)!important;gap:14px 32px!important;text-align:left!important;background:linear-gradient(107deg,#45142c 0%,#371224 26%,#2c1523 43%,#1b151b 63%,#0d0f10 100%)!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:12px!important}
.tgepg-account-modal.tgepg-popup-template-split .tgepg-popup-brand{grid-column:1!important;grid-row:1!important;align-self:center!important}
.tgepg-account-modal.tgepg-popup-template-split .tgepg-account-card>h2{grid-column:1!important;grid-row:2!important;align-self:start!important}
.tgepg-account-modal.tgepg-popup-template-split .tgepg-account-login-view,
.tgepg-account-modal.tgepg-popup-template-split .tgepg-account-password-view{grid-column:2!important;grid-row:1/span 2!important}
.tgepg-account-modal .tgepg-account-card{max-height:min(92vh,870px);overflow-y:auto!important}
@media(max-width:690px){.tgepg-account-modal.tgepg-popup-template-split .tgepg-account-card{display:block!important;width:min(95vw,560px)!important;background:#1b1720!important}.tgepg-account-modal.tgepg-popup-template-split .tgepg-account-card>h2{margin-bottom:15px!important}}
@media(prefers-reduced-motion:reduce){.tgepg-account-modal .tgepg-account-card{transition:none!important;animation:none!important}}

/* v1.7.1 robust popup presets; styles intentionally scoped to the actual body-mounted modal. */
body > .tgepg-account-modal.tgepg-popup-template-editorial .tgepg-account-card{width:min(94vw,780px)!important;}
body > .tgepg-account-modal.tgepg-popup-template-glass .tgepg-account-card{width:min(94vw,730px)!important;}
body > .tgepg-account-modal.tgepg-popup-template-minimal .tgepg-account-card{width:min(94vw,620px)!important;}
body > .tgepg-account-modal.tgepg-popup-template-signature .tgepg-account-card{width:min(94vw,770px)!important;}
body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-account-card{width:min(96vw,900px)!important;max-width:900px!important;display:grid!important;grid-template-columns:minmax(180px,0.85fr) minmax(280px,1.15fr)!important;gap:18px 28px!important;}
body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-popup-brand{grid-column:1!important;grid-row:1!important;}
body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-account-card>h2{grid-column:1!important;grid-row:2!important;}
body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-account-login-view,body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-account-password-view{grid-column:2!important;grid-row:1/span 2!important;}
body > .tgepg-account-modal.tgepg-popup-template-minimal .tgepg-account-submit{background:transparent!important;color:#d6bc9d!important;border:1px solid #d6bc9d!important;}
@media(max-width:690px){body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-account-card{display:block!important;width:min(95vw,560px)!important;background:#1b1720!important;}}


/* v1.7.2 — Champagne Pill reference preset: login trigger only, never Gallery button. */
.tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger{
  background:#d8bd9c!important;color:#101820!important;border:1px solid transparent!important;
  border-radius:999px!important;box-shadow:none!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:16px!important;
  padding:15px 31px!important;min-height:58px!important;
  width:auto!important;height:auto!important;min-width:0!important;max-width:100%!important;
  font-size:clamp(16px,1.55vw,27px)!important;font-weight:400!important;line-height:1.25!important;
  letter-spacing:.015em!important;text-transform:none!important;white-space:nowrap!important;
  transform:scale(1);transition:transform .34s cubic-bezier(.22,.85,.3,1),background-color .34s ease,box-shadow .34s ease!important;
}
.tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger svg{
  display:block!important;width:25px!important;height:25px!important;flex-shrink:0!important;stroke-width:1.8!important;
}
.tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger:hover,
.tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger:focus-visible{
  background:#e5ceb0!important;color:#101820!important;transform:scale(var(--tgepg-share-hover-zoom,1.08))!important;
  box-shadow:0 9px 28px rgba(0,0,0,.20)!important;
}
@media(max-width:767px){
 .tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger{font-size:17px!important;padding:13px 21px!important;min-height:48px!important;gap:11px!important}
 .tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger svg{width:20px!important;height:20px!important}
}
@media(prefers-reduced-motion:reduce){
 .tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger{transition:none!important}
 .tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger:hover{transform:none!important}
}

/* v1.7.3 — adjustable popup logo dimensions, proportional image scaling */
.tgepg-account-modal .tgepg-login-logo-wrap{width:var(--tgepg-popup-logo-width,210px)!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0 auto 10px!important;display:flex!important;justify-content:center!important;align-items:center!important}
.tgepg-account-modal .tgepg-login-logo-wrap img.tgepg-login-logo{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:var(--tgepg-popup-logo-height,75px)!important;object-fit:contain!important}

/* v1.7.4: editable Champagne Pill dimensions, per-device in Elementor.
   Explicitly override legacy preset !important dimensions. */
.tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger{
  width:var(--tgepg-champagne-width,auto)!important;
  height:var(--tgepg-champagne-height,auto)!important;
  min-height:0!important;
  max-width:100%!important;
  padding:var(--tgepg-champagne-pad-y,15px) var(--tgepg-champagne-pad-x,31px)!important;
  font-size:var(--tgepg-champagne-font,clamp(16px,1.55vw,27px))!important;
  gap:var(--tgepg-champagne-gap,16px)!important;
  box-sizing:border-box!important;
}
.tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger svg{
  width:var(--tgepg-champagne-icon,25px)!important;
  height:var(--tgepg-champagne-icon,25px)!important;
}
@media(max-width:767px){
  .tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger{
    padding:var(--tgepg-champagne-pad-y,13px) var(--tgepg-champagne-pad-x,21px)!important;
    font-size:var(--tgepg-champagne-font,17px)!important;
    gap:var(--tgepg-champagne-gap,11px)!important;
  }
  .tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger svg{
    width:var(--tgepg-champagne-icon,20px)!important;
    height:var(--tgepg-champagne-icon,20px)!important;
  }
}

/* v1.7.6 — refined Champagne Pill:
   - keeps the same visual family as the reference button,
   - uses content-based width by default so it looks more natural,
   - hover now does a gentle lift instead of zoom.
   Elementor custom variables still override these defaults. */
.tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger{
  width:var(--tgepg-champagne-width,auto)!important;
  height:var(--tgepg-champagne-height,40px)!important;
  min-height:0!important;
  min-width:0!important;
  padding:var(--tgepg-champagne-pad-y,5px) var(--tgepg-champagne-pad-x,18px)!important;
  font-size:var(--tgepg-champagne-font,14px)!important;
  font-weight:500!important;
  gap:var(--tgepg-champagne-gap,10px)!important;
  line-height:1.15!important;
  letter-spacing:.01em!important;
  box-shadow:none!important;
  transform:translateY(0)!important;
  will-change:transform;
}
.tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger svg{
  width:var(--tgepg-champagne-icon,16px)!important;
  height:var(--tgepg-champagne-icon,16px)!important;
  stroke-width:1.9!important;
}
.tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger:hover,
.tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger:focus-visible{
  background:#e5ceb0!important;
  color:#101820!important;
  transform:translateY(-3px)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.18)!important;
}
@media(max-width:767px){
  .tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger{
    width:var(--tgepg-champagne-width,auto)!important;
    height:var(--tgepg-champagne-height,36px)!important;
    font-size:var(--tgepg-champagne-font,12px)!important;
    padding:var(--tgepg-champagne-pad-y,4px) var(--tgepg-champagne-pad-x,12px)!important;
    gap:var(--tgepg-champagne-gap,8px)!important;
  }
  .tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger svg{
    width:var(--tgepg-champagne-icon,14px)!important;
    height:var(--tgepg-champagne-icon,14px)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger:hover,
  .tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger:focus-visible{
    transform:none!important;
  }
}


/* v1.7.7 — tighter split-brand composition + slimmer champagne login trigger.
   User request: logo/brand/title closer together in the Split Brand popup,
   and the top login button should be slightly lower with the text closer to the lock icon. */
body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-account-card{
  width:min(96vw,900px)!important;
  max-width:900px!important;
  grid-template-columns:minmax(220px,.92fr) minmax(320px,1.08fr)!important;
  gap:8px 24px!important;
}
body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-popup-brand{
  grid-column:1!important;
  grid-row:1!important;
  align-self:end!important;
  margin:0 auto -4px!important;
  max-width:82%!important;
  text-align:center!important;
}
body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-popup-brand .tgepg-login-logo-wrap{
  margin:0 auto 4px!important;
}
body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-popup-brand .tgepg-account-brand{
  margin-top:0!important;
}
body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-account-card>h2{
  grid-column:1!important;
  grid-row:2!important;
  align-self:start!important;
  margin:0 auto!important;
  max-width:78%!important;
  text-align:center!important;
  font:normal clamp(28px,4.1vw,42px)/0.95 Georgia,serif!important;
}
@media(max-width:690px){
  body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-popup-brand,
  body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-account-card>h2{
    max-width:100%!important;
  }
  body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-account-card>h2{
    margin:6px auto 12px!important;
    line-height:1.02!important;
  }
}

.tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger{
  height:var(--tgepg-champagne-height,34px)!important;
  padding:var(--tgepg-champagne-pad-y,4px) var(--tgepg-champagne-pad-x,16px)!important;
  font-size:var(--tgepg-champagne-font,13px)!important;
  font-weight:500!important;
  gap:var(--tgepg-champagne-gap,7px)!important;
  line-height:1.05!important;
  border-radius:999px!important;
}
.tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger svg{
  width:var(--tgepg-champagne-icon,15px)!important;
  height:var(--tgepg-champagne-icon,15px)!important;
}
.tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger:hover,
.tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger:focus-visible{
  transform:translateY(-2px)!important;
  box-shadow:0 8px 18px rgba(0,0,0,.16)!important;
}
@media(max-width:767px){
  .tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger{
    height:var(--tgepg-champagne-height,32px)!important;
    padding:var(--tgepg-champagne-pad-y,4px) var(--tgepg-champagne-pad-x,14px)!important;
    font-size:var(--tgepg-champagne-font,12px)!important;
    gap:var(--tgepg-champagne-gap,6px)!important;
  }
  .tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger svg{
    width:var(--tgepg-champagne-icon,14px)!important;
    height:var(--tgepg-champagne-icon,14px)!important;
  }
}


/* v1.7.8 — Split Brand: give brand/title breathing room, keep both inside burgundy column. */
body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-account-card{
  grid-template-columns:minmax(0, .92fr) minmax(0, 1.08fr)!important;
  column-gap:30px!important;
  row-gap:22px!important;
}
body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-popup-brand{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  grid-column:1!important;
  grid-row:1!important;
  align-self:end!important;
  margin:0!important;
  padding:0 6px!important;
}
body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-popup-brand .tgepg-login-logo-wrap{
  max-width:100%!important;
  margin:0 auto 8px!important;
}
body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-popup-brand .tgepg-login-logo{
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  object-fit:contain!important;
}
body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-account-card>h2{
  grid-column:1!important;
  grid-row:2!important;
  min-width:0!important;
  max-width:100%!important;
  align-self:start!important;
  margin:12px 0 0!important;
  padding:0 6px!important;
  font:normal clamp(29px,3vw,39px)/1.09 Georgia,serif!important;
  overflow-wrap:normal!important;
  text-align:center!important;
}
/* Header-specific compact preset. Intentional override of older saved Elementor
   dimensions, so the change is visible on existing sites. Disable in widget
   to restore all manual sizing controls. Does not affect the Gallery button. */
.tgepg-widget-login-wrap.tgepg-share-style--champagne.tgepg-champagne-compact-fit .tgepg-account button.tgepg-account-trigger{
  width:max-content!important;
  min-width:0!important;
  max-width:100%!important;
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  box-sizing:border-box!important;
  padding:4px 14px!important;
  gap:5px!important;
  border-radius:999px!important;
  background:#d8bd9c!important;
  color:#101820!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  transition:transform .26s cubic-bezier(.2,.8,.2,1),box-shadow .26s ease,background-color .26s ease!important;
}
.tgepg-widget-login-wrap.tgepg-share-style--champagne.tgepg-champagne-compact-fit .tgepg-account button.tgepg-account-trigger svg{
  width:14px!important;height:14px!important;min-width:14px!important;flex-shrink:0!important;
}
.tgepg-widget-login-wrap.tgepg-share-style--champagne.tgepg-champagne-compact-fit .tgepg-account button.tgepg-account-trigger:hover,
.tgepg-widget-login-wrap.tgepg-share-style--champagne.tgepg-champagne-compact-fit .tgepg-account button.tgepg-account-trigger:focus-visible{
  transform:translateY(-3px)!important;
  background:#e7ceb0!important;
  box-shadow:0 9px 18px rgba(0,0,0,.19)!important;
}
@media(max-width:690px){
  body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-account-card{
    display:block!important;
    background:#1b1720!important;
  }
  body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-account-card>h2{margin:18px auto 20px!important;}
  .tgepg-widget-login-wrap.tgepg-share-style--champagne.tgepg-champagne-compact-fit .tgepg-account button.tgepg-account-trigger{
    height:32px!important;min-height:32px!important;max-height:32px!important;padding:3px 12px!important;font-size:12px!important;gap:5px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .tgepg-widget-login-wrap.tgepg-share-style--champagne.tgepg-champagne-compact-fit .tgepg-account button.tgepg-account-trigger:hover,
  .tgepg-widget-login-wrap.tgepg-share-style--champagne.tgepg-champagne-compact-fit .tgepg-account button.tgepg-account-trigger:focus-visible{transform:none!important;}
}

/* v1.7.9 — gallery-left layout independent of social toolbar and page template.
   Previously order was applied only when .tgepg-header-toolbar existed. */
.tgepg-widget-login-wrap.tgepg-account-order-gallery-first .tgepg-account{display:inline-flex!important;flex-direction:row!important;}
.tgepg-widget-login-wrap.tgepg-account-order-gallery-first .tgepg-account > button.tgepg-account-trigger{order:2!important;}
.tgepg-widget-login-wrap.tgepg-account-order-gallery-first .tgepg-account > a.tgepg-gallery-link{order:1!important;}
.tgepg-widget-login-wrap.tgepg-account-order-login-first .tgepg-account > button.tgepg-account-trigger{order:1!important;}
.tgepg-widget-login-wrap.tgepg-account-order-login-first .tgepg-account > a.tgepg-gallery-link{order:2!important;}

/* v1.8.0: gallery outline pill matching the burgundy header sample; lock shows auth state. */
.tgepg-account .tgepg-lock-icon-pair{display:inline-flex;align-items:center;justify-content:center;flex:none;width:14px;height:14px;line-height:0}
.tgepg-account .tgepg-lock-icon-pair svg{width:100%!important;height:100%!important;display:block!important}
.tgepg-account .tgepg-lock-icon-pair .tgepg-lock-open{display:none!important}
.tgepg-account.is-authenticated .tgepg-lock-icon-pair .tgepg-lock-closed{display:none!important}
.tgepg-account.is-authenticated .tgepg-lock-icon-pair .tgepg-lock-open{display:block!important}
.tgepg-widget-login-wrap.tgepg-gallery-reference-style .tgepg-account > a.tgepg-gallery-link{
  box-sizing:border-box!important;
  width:max-content!important;
  min-width:0!important;
  height:34px!important;
  min-height:34px!important;
  padding:4px 14px!important;
  display:inline-flex!important;
  gap:6px!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  background:transparent!important;
  color:#f5e5e9!important;
  border:1px solid rgba(216,189,156,.95)!important;
  border-radius:999px!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  text-decoration:none!important;
  box-shadow:none!important;
  transform:translateY(0)!important;
  transition:transform .26s cubic-bezier(.2,.8,.2,1),background .26s ease,box-shadow .26s ease!important;
}
.tgepg-widget-login-wrap.tgepg-gallery-reference-style .tgepg-account > a.tgepg-gallery-link[hidden]{display:none!important}
.tgepg-widget-login-wrap.tgepg-gallery-reference-style .tgepg-account > a.tgepg-gallery-link .tgepg-gallery-outline-icon{width:15px!important;height:15px!important;display:block!important;flex-shrink:0!important}
.tgepg-widget-login-wrap.tgepg-gallery-reference-style .tgepg-account > a.tgepg-gallery-link:hover,
.tgepg-widget-login-wrap.tgepg-gallery-reference-style .tgepg-account > a.tgepg-gallery-link:focus-visible{background:rgba(216,189,156,.13)!important;transform:translateY(-3px)!important;box-shadow:0 8px 18px rgba(0,0,0,.14)!important}
@media(max-width:690px){.tgepg-widget-login-wrap.tgepg-gallery-reference-style .tgepg-account > a.tgepg-gallery-link{height:32px!important;min-height:32px!important;padding:3px 11px!important;font-size:12px!important}}
@media(prefers-reduced-motion:reduce){.tgepg-widget-login-wrap.tgepg-gallery-reference-style .tgepg-account > a.tgepg-gallery-link:hover{transform:none!important}}

/* v1.8.1: override the high-specificity Champagne SVG rule. Exactly one lock visible. */
.tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account button.tgepg-account-trigger .tgepg-lock-icon-pair > svg.tgepg-lock-open,
.tgepg-account:not(.is-authenticated) button.tgepg-account-trigger .tgepg-lock-icon-pair > svg.tgepg-lock-open{
  display:none!important;
}
.tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account.is-authenticated button.tgepg-account-trigger .tgepg-lock-icon-pair > svg.tgepg-lock-closed,
.tgepg-account.is-authenticated button.tgepg-account-trigger .tgepg-lock-icon-pair > svg.tgepg-lock-closed{
  display:none!important;
}
.tgepg-widget-login-wrap.tgepg-share-style--champagne .tgepg-account.is-authenticated button.tgepg-account-trigger .tgepg-lock-icon-pair > svg.tgepg-lock-open,
.tgepg-account.is-authenticated button.tgepg-account-trigger .tgepg-lock-icon-pair > svg.tgepg-lock-open{
  display:block!important;
}

/* v1.8.5 · THE GOS EFFECT STUDIO brand, reversed defaults so burgundy is the logged-out button.
   Keep BOTH login/account and signed-in gallery links consistent on the header.
   Deliberately more specific than legacy presets (including compact fit). */
.tgepg-widget-login-wrap.tgepg-studio-palette .tgepg-account > button.tgepg-account-trigger,
.tgepg-widget-login-wrap.tgepg-studio-palette .tgepg-account > a.tgepg-gallery-link,
.tgepg-widget-login-wrap.tgepg-studio-palette.tgepg-share-style--champagne.tgepg-champagne-compact-fit .tgepg-account > button.tgepg-account-trigger{
  font-family:Montserrat,Arial,sans-serif!important;
  font-size:var(--tgepg-studio-font,12px)!important;
  font-weight:700!important;
  letter-spacing:.075em!important;
  text-transform:uppercase!important;
  line-height:1.15!important;
  height:var(--tgepg-studio-h,36px)!important;
  min-height:var(--tgepg-studio-h,36px)!important;
  max-height:none!important;
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  padding:0 var(--tgepg-studio-pad,18px)!important;
  gap:8px!important;
  border-width:1px!important;
  border-style:solid!important;
  border-radius:999px!important;
  box-shadow:0 5px 16px rgba(0,0,0,.11)!important;
  white-space:nowrap!important;
  display:inline-flex!important;
  justify-content:center!important;
  align-items:center!important;
  opacity:1!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  transform:none!important;
  transition:transform .28s cubic-bezier(.2,.8,.2,1),background-color .28s ease,color .28s ease,border-color .28s ease,box-shadow .28s ease!important;
}
.tgepg-widget-login-wrap.tgepg-studio-palette .tgepg-account > button.tgepg-account-trigger,
.tgepg-widget-login-wrap.tgepg-studio-palette.tgepg-share-style--champagne.tgepg-champagne-compact-fit .tgepg-account > button.tgepg-account-trigger{
  background:var(--tgepg-site-login-bg,#4B102B)!important;
  color:var(--tgepg-site-login-fg,#FFFFFF)!important;
  border-color:var(--tgepg-site-login-border,#F5F5F5)!important;
}
.tgepg-widget-login-wrap.tgepg-studio-palette .tgepg-account > a.tgepg-gallery-link{
  background:var(--tgepg-site-gallery-bg,#F5F5F5)!important;
  color:var(--tgepg-site-gallery-fg,#4B102B)!important;
  border-color:var(--tgepg-site-gallery-border,#F5F5F5)!important;
}
.tgepg-widget-login-wrap.tgepg-studio-palette .tgepg-account > button.tgepg-account-trigger:hover,
.tgepg-widget-login-wrap.tgepg-studio-palette .tgepg-account > button.tgepg-account-trigger:focus-visible,
.tgepg-widget-login-wrap.tgepg-studio-palette.tgepg-share-style--champagne.tgepg-champagne-compact-fit .tgepg-account > button.tgepg-account-trigger:hover,
.tgepg-widget-login-wrap.tgepg-studio-palette.tgepg-share-style--champagne.tgepg-champagne-compact-fit .tgepg-account > button.tgepg-account-trigger:focus-visible{
  background:var(--tgepg-site-login-hbg,#F5F5F5)!important;
  color:var(--tgepg-site-login-hfg,#4B102B)!important;
  border-color:var(--tgepg-site-login-hborder,#F5F5F5)!important;
  opacity:1!important;
}
.tgepg-widget-login-wrap.tgepg-studio-palette .tgepg-account > a.tgepg-gallery-link:hover,
.tgepg-widget-login-wrap.tgepg-studio-palette .tgepg-account > a.tgepg-gallery-link:focus-visible{
  background:var(--tgepg-site-gallery-hbg,#8F2D56)!important;
  color:var(--tgepg-site-gallery-hfg,#FFFFFF)!important;
  border-color:var(--tgepg-site-gallery-hborder,#F5F5F5)!important;
  opacity:1!important;
}
/* Override legacy large Champagne icon dimensions and keep the lock's two SVGs in sync. */
.tgepg-widget-login-wrap.tgepg-studio-palette .tgepg-account > button.tgepg-account-trigger .tgepg-lock-icon-pair,
.tgepg-widget-login-wrap.tgepg-studio-palette.tgepg-share-style--champagne .tgepg-account > button.tgepg-account-trigger .tgepg-lock-icon-pair{
  width:15px!important;height:15px!important;min-width:15px!important;line-height:0!important;
}
.tgepg-widget-login-wrap.tgepg-studio-palette .tgepg-account > button.tgepg-account-trigger svg,
.tgepg-widget-login-wrap.tgepg-studio-palette.tgepg-share-style--champagne .tgepg-account > button.tgepg-account-trigger .tgepg-lock-icon-pair svg,
.tgepg-widget-login-wrap.tgepg-studio-palette .tgepg-account > a.tgepg-gallery-link svg{
  width:15px!important;height:15px!important;flex-shrink:0!important;
}
.tgepg-widget-login-wrap.tgepg-studio-palette .tgepg-account > a.tgepg-gallery-link[hidden]{display:none!important;}
.tgepg-widget-login-wrap.tgepg-studio-palette .tgepg-account > button.tgepg-account-trigger:focus-visible,
.tgepg-widget-login-wrap.tgepg-studio-palette .tgepg-account > a.tgepg-gallery-link:focus-visible{
  outline:2px solid #F5F5F5!important;outline-offset:3px!important;
}
.tgepg-widget-login-wrap.tgepg-studio-palette.tgepg-studio-motion-lift .tgepg-account > button.tgepg-account-trigger:hover,
.tgepg-widget-login-wrap.tgepg-studio-palette.tgepg-studio-motion-lift .tgepg-account > a.tgepg-gallery-link:hover,
.tgepg-widget-login-wrap.tgepg-studio-palette.tgepg-studio-motion-lift.tgepg-share-style--champagne.tgepg-champagne-compact-fit .tgepg-account > button.tgepg-account-trigger:hover{
  transform:translateY(-2px)!important;box-shadow:0 10px 21px rgba(0,0,0,.2)!important;
}
.tgepg-widget-login-wrap.tgepg-studio-palette.tgepg-studio-motion-glow .tgepg-account > button.tgepg-account-trigger:hover,
.tgepg-widget-login-wrap.tgepg-studio-palette.tgepg-studio-motion-glow .tgepg-account > a.tgepg-gallery-link:hover{
  transform:none!important;box-shadow:0 0 0 3px rgba(143,45,86,.2),0 8px 20px rgba(0,0,0,.22)!important;
}
@media(max-width:767px){
  .tgepg-widget-login-wrap.tgepg-studio-palette .tgepg-account > button.tgepg-account-trigger,
  .tgepg-widget-login-wrap.tgepg-studio-palette .tgepg-account > a.tgepg-gallery-link,
  .tgepg-widget-login-wrap.tgepg-studio-palette.tgepg-share-style--champagne.tgepg-champagne-compact-fit .tgepg-account > button.tgepg-account-trigger{
    height:var(--tgepg-studio-h,32px)!important;
    min-height:var(--tgepg-studio-h,32px)!important;
    font-size:var(--tgepg-studio-font,10px)!important;
    padding:0 var(--tgepg-studio-pad,12px)!important;
    gap:5px!important;
  }
  .tgepg-widget-login-wrap.tgepg-studio-palette .tgepg-account > button.tgepg-account-trigger svg,
  .tgepg-widget-login-wrap.tgepg-studio-palette .tgepg-account > a.tgepg-gallery-link svg{width:13px!important;height:13px!important;}
}
@media(prefers-reduced-motion:reduce){
 .tgepg-widget-login-wrap.tgepg-studio-palette .tgepg-account > button.tgepg-account-trigger,
 .tgepg-widget-login-wrap.tgepg-studio-palette .tgepg-account > a.tgepg-gallery-link{transition:none!important;animation:none!important;transform:none!important;}
}

/* v1.8.6 — Studio button & login popup consistency
   Fixes (1) saved Elementor 1.8.4 colors, (2) split-modal color seam,
   (3) old champagne submit button. No authentication behavior changed. */
body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-account-card {
  background:linear-gradient(107deg,#45142c 0%,#371224 26%,#2c1523 43%,#1b151b 63%,#0d0f10 100%)!important;
  background-color:#151016!important;
}
body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-popup-brand,
body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-account-card > h2 {
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
}
body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-popup-brand .tgepg-login-logo-wrap,
body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-popup-brand img.tgepg-login-logo {
  max-width:100%!important;
  object-fit:contain!important;
}
body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-account-card > h2 {
  font-size:clamp(25px,2.7vw,37px)!important;
  line-height:1.13!important;
}
/* Apply the same burgundy-and-white CTA to both Client/Guest login,
   password-change form and (where used) the standalone login page. */
body > .tgepg-account-modal .tgepg-account-card button.tgepg-account-submit,
.tgepg-login .tgepg-login-card button.tgepg-action {
  -webkit-appearance:none!important;
  appearance:none!important;
  background:#8F2D56!important;
  background-image:none!important;
  color:#FFFFFF!important;
  border:1px solid rgba(245,245,245,.55)!important;
  border-radius:999px!important;
  font-family:Montserrat,Arial,sans-serif!important;
  font-weight:700!important;
  letter-spacing:.055em!important;
  box-shadow:0 8px 26px rgba(0,0,0,.16)!important;
  transition:background-color .25s ease,color .25s ease,box-shadow .25s ease,transform .25s ease!important;
}
body > .tgepg-account-modal .tgepg-account-card button.tgepg-account-submit:hover,
body > .tgepg-account-modal .tgepg-account-card button.tgepg-account-submit:focus-visible,
.tgepg-login .tgepg-login-card button.tgepg-action:hover,
.tgepg-login .tgepg-login-card button.tgepg-action:focus-visible {
  background:#F5F5F5!important;
  color:#4B102B!important;
  border-color:#F5F5F5!important;
  box-shadow:0 10px 25px rgba(0,0,0,.23)!important;
}
/* Cleaner fields and role switch, with warm black instead of navy. */
body > .tgepg-account-modal .tgepg-account-tabs { background:#241a22!important; }
body > .tgepg-account-modal .tgepg-account-tabs button.is-selected {background:#F5F5F5!important;color:#4B102B!important;}
body > .tgepg-account-modal .tgepg-account-card form input:not([type=checkbox]) {
  background:#1c1a1e!important;
  color:#F5F5F5!important;
  border-color:rgba(245,245,245,.38)!important;
}
@media(max-width:690px) {
  body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-account-card {
    background:linear-gradient(170deg,#391425 0%,#24131e 43%,#0D0F10 100%)!important;
  }
  body > .tgepg-account-modal.tgepg-popup-template-split .tgepg-account-card > h2 {
    font-size:clamp(27px,6vw,36px)!important;
  }
}
@media(prefers-reduced-motion:reduce) {
  body > .tgepg-account-modal .tgepg-account-card button.tgepg-account-submit,
  .tgepg-login .tgepg-login-card button.tgepg-action {transition:none!important;transform:none!important;}
}
/* v1.8.8 · Client documents entry; entirely absent for real guest role. */
.tgepg-account-dropdown a.tgepg-dropdown-documents{
  display:block!important;padding:13px 12px!important;font-family:Montserrat,Arial,sans-serif!important;
  font-size:13px!important;font-weight:600!important;text-decoration:none!important;
  color:#f7f7fa!important;line-height:1.2!important;text-align:left!important;border-radius:7px;
}
.tgepg-account-dropdown a.tgepg-dropdown-documents[hidden]{display:none!important}
.tgepg-account-dropdown a.tgepg-dropdown-documents:hover,
.tgepg-account-dropdown a.tgepg-dropdown-documents:focus-visible{background:#4B102B!important;color:#fff!important}

/* v1.9.0: account menu is portaled to document.body above Elementor headers. */
body > .tgepg-account-dropdown{position:fixed!important;z-index:2147483600!important;width:max-content;max-width:min(94vw,340px);pointer-events:auto!important;visibility:visible!important;opacity:1!important}
body > .tgepg-account-dropdown a,body > .tgepg-account-dropdown button{pointer-events:auto!important;position:relative;z-index:1}


/* v1.9.2: Gallery is the first account-dropdown action, no separate header button.
   Dropdown is portaled to body by account.js, so these styles must not depend
   on the Elementor widget wrapper or the old .tgepg-gallery-link class. */
body > .tgepg-account-dropdown a.tgepg-dropdown-gallery,
.tgepg-account-dropdown a.tgepg-dropdown-gallery{
  display:block!important;
  width:100%!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:13px 12px!important;
  font-family:Montserrat,Arial,sans-serif!important;
  font-size:13px!important;
  font-weight:600!important;
  line-height:1.2!important;
  text-align:left!important;
  text-decoration:none!important;
  text-transform:none!important;
  letter-spacing:normal!important;
  color:#f7f7fa!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
  animation:none!important;
  cursor:pointer!important;
}
body > .tgepg-account-dropdown a.tgepg-dropdown-gallery[hidden],
.tgepg-account-dropdown a.tgepg-dropdown-gallery[hidden]{display:none!important;}
body > .tgepg-account-dropdown a.tgepg-dropdown-gallery:hover,
body > .tgepg-account-dropdown a.tgepg-dropdown-gallery:focus-visible,
.tgepg-account-dropdown a.tgepg-dropdown-gallery:hover,
.tgepg-account-dropdown a.tgepg-dropdown-gallery:focus-visible{
  background:#4B102B!important;
  color:#fff!important;
  outline-offset:2px;
}
