/* L ♥ Studio — language (RU/EN) + currency (₽/$) switchers in the header and mobile drawer */
.lsx-sw{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;font-family:'Arial','Helvetica Neue',sans-serif}
.lsx-seg{display:inline-flex;align-items:center;padding:2px;border-radius:999px;border:1px solid rgba(147,51,234,.35);background:rgba(147,51,234,.08)}
.lsx-seg a,.lsx-seg button{appearance:none;-webkit-appearance:none;border:0;background:transparent;margin:0;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:26px;padding:0 8px;border-radius:999px;
  font:700 12px/1 'Arial','Helvetica Neue',sans-serif;letter-spacing:.04em;color:inherit;opacity:.7;text-decoration:none;
  transition:background .25s,color .25s,opacity .25s;-webkit-tap-highlight-color:transparent}
.lsx-seg a:hover,.lsx-seg button:hover{opacity:1}
.lsx-seg .on{background:linear-gradient(135deg,#9333EA,#EC4899);color:#fff;opacity:1;box-shadow:0 2px 10px rgba(147,51,234,.35)}
.lsx-seg a:focus-visible,.lsx-seg button:focus-visible{outline:2px solid #EC4899;outline-offset:1px}
/* drawer row (mobile) */
.lsx-drow{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 4px;padding:12px 0;border-top:1px solid rgba(147,51,234,.18)}
.lsx-drow .lsx-lbl{font-size:13px;opacity:.75}
.lsx-drow .lsx-seg a,.lsx-drow .lsx-seg button{height:32px;min-width:40px;font-size:13px}
/* narrow phones: header keeps only the currency toggle; language lives in the drawer */
@media(max-width:520px){.lsx-sw--nav .lsx-lang{display:none}.lsx-seg a,.lsx-seg button{min-width:26px;padding:0 6px}}
/* phones: the header currency control collapses to one tappable symbol (₽ ⇄ $); the full RU/EN and ₽/$ pair stays in the drawer */
@media(max-width:430px){.lsx-sw--nav .lsx-cur button:not(.on){display:none}.lsx-sw--nav .lsx-cur button.on{min-width:28px;padding:0 7px}}
@media(max-width:330px){.lsx-sw--nav{display:none}}
/* phones: make room for the currency symbol — the header theme switch keeps only its track (the drawer keeps the full one) */
@media(max-width:430px){
  .ls__nav-r>.ls__theme-toggle .ls__theme-icon,.lsu__r>.lsu-theme-btn .lsu__tg-ic{display:none}
  .ls__nav-r>.ls__theme-toggle,.lsu__r>.lsu-theme-btn{padding-left:6px;padding-right:6px;gap:0}
}

/* ── Popups follow the site theme (timed #lsPop and #formPopup sit outside/inline of #lsRoot) ── */
.ls__popup-cta{box-sizing:border-box}
.ls__popup-overlay{--p:#9333EA;--p2:#7C3AED;--pk:#EC4899;--ls-headline-font:'Georgia','Times New Roman',serif;--ls-text-font:'Arial','Helvetica Neue',sans-serif}
#lsRoot[data-theme="light"] #formPopup{background:rgba(19,8,38,.45)!important}
#lsRoot[data-theme="light"] #formPopup>div{background:#fff!important;border-color:rgba(147,51,234,.3)!important;box-shadow:0 32px 80px rgba(19,8,38,.25);color:#130826}
#lsRoot[data-theme="light"] #formPopup h3{color:#130826}
#lsRoot[data-theme="light"] #formPopup>div>button{color:#7057A0!important}
#lsRoot[data-theme="light"] #formPopup input:not([type="file"]):not([type="checkbox"]),
#lsRoot[data-theme="light"] #formPopup textarea,
body:has(#lsRoot[data-theme="light"]) #formPopup input:not([type="file"]):not([type="checkbox"]),
body:has(#lsRoot[data-theme="light"]) #formPopup textarea{
  appearance:none;-webkit-appearance:none;background:#F7F4FF!important;background-clip:padding-box!important;
  border-color:rgba(147,51,234,.3)!important;color:#130826!important;caret-color:#130826;
}
#lsRoot[data-theme="light"] #formPopup input::placeholder,
#lsRoot[data-theme="light"] #formPopup textarea::placeholder,
body:has(#lsRoot[data-theme="light"]) #formPopup input::placeholder,
body:has(#lsRoot[data-theme="light"]) #formPopup textarea::placeholder{color:#8A76A8;opacity:1;-webkit-text-fill-color:#8A76A8}
#lsRoot[data-theme="light"] #formPopup input:not([type="file"]):not([type="checkbox"]):focus,
#lsRoot[data-theme="light"] #formPopup textarea:focus,
body:has(#lsRoot[data-theme="light"]) #formPopup input:not([type="file"]):not([type="checkbox"]):focus,
body:has(#lsRoot[data-theme="light"]) #formPopup textarea:focus{
  border-color:#9333EA!important;background:#F7F4FF!important;box-shadow:0 0 0 3px rgba(147,51,234,.13)!important;outline:none;color:#130826!important
}
#lsRoot[data-theme="light"] #formPopup input:-webkit-autofill,
#lsRoot[data-theme="light"] #formPopup input:-webkit-autofill:hover,
#lsRoot[data-theme="light"] #formPopup input:-webkit-autofill:focus,
#lsRoot[data-theme="light"] #formPopup textarea:-webkit-autofill,
#lsRoot[data-theme="light"] #formPopup textarea:-webkit-autofill:hover,
#lsRoot[data-theme="light"] #formPopup textarea:-webkit-autofill:focus,
body:has(#lsRoot[data-theme="light"]) #formPopup input:-webkit-autofill,
body:has(#lsRoot[data-theme="light"]) #formPopup textarea:-webkit-autofill{
  -webkit-text-fill-color:#130826;caret-color:#130826;
  box-shadow:0 0 0 1000px #F7F4FF inset;-webkit-box-shadow:0 0 0 1000px #F7F4FF inset;
  transition:background-color 99999s ease-out;
}
#lsRoot[data-theme="light"] #formPopup>div>p{color:#5B3F80!important}
#lsRoot[data-theme="light"] #formPopup a{color:#9333EA!important}
#lsRoot[data-theme="light"] #formPopup label{color:#3B2260!important}
#lsRoot[data-theme="light"] #formPopup .ls-photo{background:#F7F4FF;border-color:rgba(147,51,234,.35);color:#5B3F80!important}
#lsRoot[data-theme="light"] #formPopup .ls-photo:hover{border-color:#9333EA}

/* ── Timed popup v1: photo + dark glass, animated gradient edge (both themes) ── */
.ls__popup.ls__popup--v1{display:grid;grid-template-columns:1fr 1.08fr;max-width:860px;min-height:480px;padding:0;border:0;border-radius:24px;overflow:hidden;color:#fff;background:linear-gradient(160deg,rgba(30,16,58,.74),rgba(10,6,22,.82));-webkit-backdrop-filter:blur(22px) saturate(140%);backdrop-filter:blur(22px) saturate(140%);box-shadow:0 36px 100px rgba(0,0,0,.5),0 0 60px rgba(236,72,153,.22)}
.ls__popup--v1::before{content:'';position:absolute;inset:0;height:auto;z-index:2;border-radius:inherit;padding:1.5px;pointer-events:none;background:linear-gradient(120deg,#EC4899,#9333EA,#F59E0B,#EC4899,#9333EA);background-size:300% 300%;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);animation:ls-pop-edge 9s linear infinite}
.ls__popup--v1::after{top:-80px;right:-60px;width:280px;height:280px;background:radial-gradient(circle,rgba(236,72,153,.28),transparent 65%)}
@keyframes ls-pop-edge{to{background-position:300% 0}}
@media (prefers-reduced-motion:reduce){.ls__popup--v1::before{animation:none}}
.ls__popup-ph{position:relative;min-height:100%;background:url(/assets/img/lstudio_type_feminin.jpg) center 22%/cover}
.ls__popup-ph::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(14,9,32,.78)),linear-gradient(90deg,transparent 70%,rgba(14,9,32,.35))}
.ls__popup-ph span{position:absolute;left:24px;bottom:22px;z-index:1;font-family:var(--ls-headline-font);font-size:22px;color:#fff}
.ls__popup-ph em{font-style:normal;color:#F9A8D4}
.ls__popup-tx{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;padding:52px 44px 42px}
.ls__popup--v1 .ls__popup-eye{color:#C084FC;font-size:11px;margin-bottom:14px}
.ls__popup--v1 .ls__popup-eye::before{background:#C084FC}
.ls__popup--v1 .ls__popup-title{color:#fff;font-size:30px;margin:0 0 18px}
.ls__popup-list{list-style:none;margin:4px 0 28px;padding:0;border-top:1px solid rgba(255,255,255,.12)}
.ls__popup-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid rgba(255,255,255,.12);font-family:var(--ls-headline-font);font-size:17px;color:#F3EEFF}
.ls__popup--v1 .ls__popup-item-badge{margin:0;flex-shrink:0;color:#1a0b00;background:linear-gradient(135deg,#FBBF24,#F59E0B);font-size:10px;padding:4px 10px}
.ls__popup--v1 .ls__popup-cta{width:auto;align-self:flex-start;padding:15px 28px;border-radius:999px;background:linear-gradient(135deg,#9333EA,#EC4899);box-shadow:0 10px 28px rgba(236,72,153,.35);overflow:hidden;position:relative}
.ls__popup--v1 .ls__popup-cta:hover{background:linear-gradient(135deg,#A855F7,#F472B6)}
.ls__popup--v1 .ls__popup-x{z-index:3;background:rgba(10,6,22,.5);border-color:rgba(255,255,255,.2);color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
body:has(#lsRoot[data-theme="light"]) .ls__popup-overlay{background:rgba(40,20,70,.32)}
@media (max-width:640px){
.ls__popup.ls__popup--v1{grid-template-columns:1fr;min-height:0;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;border-radius:22px}
.ls__popup-ph{min-height:0;height:220px;background-position:center 18%}
.ls__popup-tx{padding:22px 22px 24px}
.ls__popup--v1 .ls__popup-title{font-size:22px}
.ls__popup-list li{font-size:15px;padding:11px 0}.ls__popup-list{margin-bottom:20px}
.ls__popup--v1 .ls__popup-cta{align-self:stretch}
}
