/* Whole-site material motion: compositor-driven layers + quiet transactional surfaces. */
.splash .sp-v{object-fit:contain}.splash .sp-skip{min-width:58px;min-height:40px;display:flex;align-items:center;justify-content:center}
.screen{isolation:isolate}.motion-ready .body{z-index:2}.motion-ready .ambient{opacity:.15;z-index:1}
/* Keep transaction controls painted above the decorative backdrop. */
.motion-ready .cartbar,.motion-ready .detbar,.motion-ready .paybar{position:relative;z-index:3}
.motion-backdrop{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0;background:radial-gradient(ellipse at 80% 0%,#383127 0%,#1b1916 45%,#12120f 100%)}
.motion-light{position:absolute;width:85%;height:80%;border-radius:50%;opacity:.55;will-change:transform;pointer-events:none}
.light-a{left:-25%;top:-15%;background:radial-gradient(ellipse,#a280493d,transparent 68%);animation:lightDrift 21s ease-in-out infinite alternate}
.light-b{right:-30%;bottom:-18%;background:radial-gradient(ellipse,#577c6b50,transparent 68%);animation:lightDrift 27s -9s ease-in-out infinite alternate-reverse}
.motion-grid{position:absolute;inset:-20%;opacity:.19;background:repeating-linear-gradient(0deg,transparent 0 79px,#c5b18a29 80px),repeating-linear-gradient(90deg,transparent 0 79px,#c5b18a29 80px);transform:perspective(850px) rotateX(22deg) rotateZ(-18deg);mask-image:linear-gradient(transparent,#000 30%,#000 70%,transparent);animation:gridDrift 36s linear infinite alternate}
.motion-orbit{position:absolute;width:760px;height:760px;border:1px solid #cdbb9330;border-radius:50%;right:-380px;top:8%;box-shadow:0 0 0 60px #cdbb9306,0 0 0 120px #cdbb9305,inset 0 0 100px #ac97660a;animation:orbitDrift 32s ease-in-out infinite alternate}
.motion-orbit:before,.motion-orbit:after{content:'';position:absolute;inset:14%;border:1px solid #cdbb9320;transform:rotate(40deg);border-radius:28%}.motion-orbit:after{inset:26%;transform:rotate(65deg)}
.motion-grain{position:absolute;inset:0;opacity:.075;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.7' d='M0 0h160v160H0z'/%3E%3C/svg%3E");background-size:160px}
[data-motion-page="p14"] .light-a{background:radial-gradient(ellipse,#7c977759,transparent 68%)}
[data-motion-page="p15"] .light-b{background:radial-gradient(ellipse,#967aab50,transparent 68%)}
[data-motion-page="p17"] .light-a{background:radial-gradient(ellipse,#6a9dba55,transparent 68%)}
.ex-nav{flex-shrink:0;position:relative;background:linear-gradient(110deg,#171510f5,#242018ef);backdrop-filter:blur(18px);padding-left:30px;padding-right:30px;gap:18px}
.ex-nav nav{gap:22px}.ex-nav-tools{align-items:center;gap:16px}.ex-nav-tools>button{white-space:nowrap}
.ex-nav .navacts{display:flex!important;position:relative;inset:auto;gap:7px;margin-left:4px;z-index:50;flex-shrink:0}
.ex-nav .langmenu,.ex-nav .sharepanel{top:40px;bottom:auto}.ex-nav .act-btn{min-height:34px;white-space:nowrap;color:var(--tx);font-size:11px}
.ex-nav .motion-toggle{border:1px solid var(--line);background:#2b261e80;padding:0 10px;border-radius:18px;font-size:10px}
.ex-nav nav button{position:relative;padding:9px 0;transition:color .25s}.ex-nav nav button:after{content:'';position:absolute;bottom:0;left:0;right:0;height:1px;background:var(--tan);transform:scaleX(0);transform-origin:left;transition:transform .3s}.ex-nav nav button:hover:after,.ex-nav nav button.active:after{transform:scaleX(1)}
.motion-heading{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid #c9a87630;margin:0 0 24px;padding:32px 30px;min-height:140px;background:radial-gradient(ellipse at var(--pointer-x,75%) var(--pointer-y,30%),#b8a67b18,transparent 65%)}
.motion-heading>div:first-child{position:relative;z-index:2;max-width:76%}.motion-kicker{font-size:10px;letter-spacing:3px;color:#c6b08b}.motion-heading h2{font:400 clamp(23px,3vw,46px)/1.45 var(--font-serif);letter-spacing:2px;margin:16px 0 0;text-wrap:balance}.motion-heading p{font-size:13px;color:#c2b8a8;line-height:1.8;margin-top:16px}.motion-heading-large{min-height:230px;margin-top:18px;border:1px solid #c9a8762e;border-radius:5px;padding:36px 42px;background:linear-gradient(115deg,#363124aa,#20242188)}
.motion-heading-large:before{content:'';position:absolute;inset:-70%;background:conic-gradient(from 40deg,transparent 20%,#c4b48a15 30%,transparent 45%,#728c7d18 65%,transparent 80%);animation:materialTurn 42s linear infinite;z-index:-1;pointer-events:none}
.motion-object{width:160px;height:160px;position:relative;flex-shrink:0;perspective:700px;opacity:.7;pointer-events:none}
.motion-object i{position:absolute;inset:18%;border:1px solid #d5bd8990;border-radius:22%;transform:rotateX(52deg) rotateZ(35deg);animation:objectTurn 16s ease-in-out infinite alternate;box-shadow:inset 0 0 24px #b6a78312}
.motion-object i:nth-child(2){inset:10%;animation-delay:-4s}.motion-object i:nth-child(3){inset:0;animation-delay:-8s}.motion-object i:nth-child(4){inset:30%;animation-delay:-12s}.motion-object span{position:absolute;inset:38%;border-radius:50%;background:radial-gradient(#ecd5a255,#ecd5a200);animation:lightDrift 8s ease-in-out infinite alternate}
#p14 .motion-object i,#p17 .motion-object i{border-radius:50%;border-color:#a8c8b780}#p15 .motion-object i{border-radius:2px;border-color:#c4b4d280}
#p1 .motion-heading{flex-shrink:0;min-height:72px;padding:16px 22px;margin-bottom:8px}#p1 .motion-heading h2{font-size:24px;margin-top:8px}#p1 .motion-object{height:76px;width:76px}
#p4>.motion-heading{grid-column:1/-1;margin-bottom:0;min-height:90px;padding:14px 22px}#p4>.motion-heading h2{font-size:25px}#p4>.motion-heading .motion-object{width:90px;height:90px}
:is(#p7,#p8,#p9,#p10,#p13,#p18) .motion-heading{min-height:88px;padding:18px 24px}:is(#p7,#p8,#p9,#p10,#p13,#p18) .motion-heading h2{font-size:24px}:is(#p7,#p8,#p9,#p10,#p13,#p18) .motion-object{width:90px;height:90px;opacity:.35}
.motion-ready :is(.panel,.det-block,.order-panel,.tools,.assets,.order-card,.addr-card,.mat-card,.lb-service,.lg-svc,.lg-eq){border:1px solid #c9a87626;background-image:linear-gradient(125deg,#dac19009,transparent 50%,#7e9c7e08);box-shadow:0 10px 36px #00000012}
.motion-ready :is(.card,.mat-card,.ex-product,.lb-service,.lg-svc){background-image:radial-gradient(ellipse at var(--pointer-x,50%) var(--pointer-y,0%),#b7a1791d,transparent 75%);transition:transform .35s cubic-bezier(.2,.75,.2,1),border-color .3s,box-shadow .3s}
.motion-ready :is(button,[role=button],.gal-chips span,.mat-sub span,.st,.ordertabs>div,.catside>div){transition:background-color .22s,color .22s,box-shadow .25s,transform .22s}
.motion-ready :is(button,[role=button],.gal-chips span,.mat-sub span):active{transform:scale(.975)}
.motion-ready :is(input,textarea,select){transition:border-color .22s,box-shadow .22s}.motion-ready :is(input,textarea,select):focus{border-color:#cfb080;box-shadow:0 0 0 3px #c9a87622;outline:none}
.motion-ready :is(button,[role=button],a):focus-visible{outline:2px solid #d8be91;outline-offset:4px}
.motion-ready .sheet{background:linear-gradient(135deg,#30291f,#191a17 85%);box-shadow:0 -20px 90px #0007}.motion-ready .sheet.on{animation:sheetMaterialIn .32s cubic-bezier(.2,.8,.2,1)}
.motion-ready .catmain,.motion-ready .catside{background-color:#19171399}.motion-ready :is(.segbar,.filterbar,.ordertabs){background:linear-gradient(110deg,#242018f5,#191b17f5)}
.motion-ready .success-wrap .tick{box-shadow:0 0 0 12px #c9a8760a,0 0 45px #c9a87616;animation:successBloom .65s ease-out}
.motion-ready .auth-head img{filter:drop-shadow(0 4px 20px #c9a87633)}
@media(min-width:821px){:is(#p10,#p18){max-width:760px;margin:0 auto}:is(#p7,#p8,#p9,#p13){max-width:1060px;margin:0 auto}.motion-ready .auth-head{padding-top:30px}.motion-ready .auth-head h1{font-size:28px}}
@media(hover:hover) and (pointer:fine){.motion-ready :is(.gal-card,.mat-card,.ex-product,.lb-service,.lg-svc,.lg-eq):hover{transform:translateY(-5px);border-color:#c9a87670;box-shadow:0 20px 44px #0004}.motion-ready .gal-card .ph img,.motion-ready .mat-card img{transition:transform .8s ease,opacity .35s}.motion-ready .gal-card:hover .ph img,.motion-ready .mat-card:hover img{transform:scale(1.035)}}
@keyframes lightDrift{from{transform:translate3d(-3%,-2%,0) scale(.92)}to{transform:translate3d(18%,12%,0) scale(1.16)}}
@keyframes gridDrift{to{transform:perspective(850px) rotateX(26deg) rotateZ(-12deg) translate3d(35px,50px,0)}}
@keyframes orbitDrift{to{transform:translate3d(-80px,40px,0) rotate(35deg)}}
@keyframes materialTurn{to{transform:rotate(360deg)}}
@keyframes objectTurn{from{transform:rotateX(48deg) rotateY(-16deg) rotateZ(20deg) translateY(-8px)}to{transform:rotateX(65deg) rotateY(22deg) rotateZ(150deg) translateY(8px)}}
@keyframes sheetMaterialIn{from{opacity:.3;translate:0 18px}to{opacity:1;translate:0 0}}
@keyframes successBloom{from{opacity:.3;scale:.8}to{opacity:1;scale:1}}
@media(max-width:1200px) and (min-width:821px){.ex-nav{flex-wrap:wrap;padding:12px 24px;gap:10px}.ex-nav nav{order:3;flex-basis:100%;justify-content:center;gap:32px}.ex-brand-group{flex-direction:row;gap:10px}}
@media(max-width:820px){.ex-nav{padding:10px 16px;gap:8px;min-height:76px}.ex-nav-tools{gap:0}.ex-nav-tools>button{display:none}.ex-nav .navacts{gap:5px;margin:0}.ex-nav .act-btn{padding:0 8px;font-size:10px;letter-spacing:0}.ex-brand img{width:100px}.ex-nav .motion-toggle{padding:0 7px}.ex-nav .langmenu{right:-60px}.motion-heading{padding:22px 8px;min-height:110px;gap:10px;margin-bottom:16px}.motion-heading h2{font-size:24px;letter-spacing:1px}.motion-heading-large{padding:26px 20px;min-height:200px;margin-top:12px}.motion-heading-large>div:first-child{max-width:78%}.motion-heading p{font-size:12px;max-width:230px}.motion-kicker{font-size:8px;letter-spacing:2px}.motion-object{position:absolute;right:-25px;width:140px;height:140px;opacity:.42}.motion-heading-compact .motion-object{width:95px;height:95px;right:0;opacity:.3}#p1 .motion-heading{padding:14px 8px;min-height:74px}#p1 .motion-heading h2{font-size:21px}.motion-orbit{width:500px;height:500px;right:-330px}.motion-grid{opacity:.13}.motion-light{width:110%;height:90%}.motion-heading h2{max-width:280px}.motion-heading-compact>div:first-child{max-width:84%}}
/* No invisible content when disabled. Hidden pages never run their ornament loops. */
.page:not(.active) .motion-object *,.page:not(.active) .motion-heading:before{animation-play-state:paused}
.ex-paused *,.ex-paused *:before,.ex-paused *:after,.motion-suspended *,.motion-suspended *:before,.motion-suspended *:after{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.motion-grid{transform:rotate(-12deg)}.motion-light{will-change:auto}}

/* Stable intro compositor: no scaled/fading parent around a playing video. */
.splash{position:fixed;z-index:1000;contain:layout paint;isolation:isolate;transform:none!important;transition:opacity .45s ease;background:#181817}
.splash.out{transform:none!important}.splash .sp-v{backface-visibility:hidden;object-fit:contain;transform:translateZ(0);animation:introCamera 4.4s cubic-bezier(.2,.65,.25,1) both}
@keyframes introCamera{0%{transform:translate3d(0,1.5%,0) scale(1.08)}100%{transform:translate3d(0,0,0) scale(1)}}
html:has(.splash:not(.out)) .motion-backdrop,html:has(.splash:not(.out)) .ambient{visibility:hidden}
html:has(.splash:not(.out)) .motion-backdrop *,html:has(.splash:not(.out)) .ex-scene img{animation-play-state:paused}
html[data-layout="app"] .sbar{position:absolute;top:0!important;bottom:0;left:0;right:auto;width:3px;height:auto;z-index:72;background:#e4c99c08}
.sbar i{width:100%!important;height:0;background:linear-gradient(180deg,#b8905c,#e4c99c);box-shadow:0 0 6px #c9a87666;transition:height .12s linear}
.motion-grid{opacity:.3;background:repeating-linear-gradient(0deg,transparent 0 29px,#bdb08d36 30px),repeating-linear-gradient(90deg,transparent 0 29px,#bdb08d36 30px);background-size:30px 30px;mask-image:radial-gradient(ellipse,#000,transparent 78%)}
.motion-backdrop:after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at var(--light-x,65%) var(--light-y,35%),#ceb47724,transparent 45%);pointer-events:none}
.motion-grid:after{content:'';position:absolute;inset:-50%;background:repeating-linear-gradient(90deg,transparent 0 89px,#e2c79714 90px 92px,transparent 93px 180px),linear-gradient(transparent 35%,#bcb48514 50%,transparent 65%);animation:matrixFlow 15s linear infinite}
@keyframes matrixFlow{to{transform:translate3d(180px,180px,0)}}
.ex-scene img.ex-scene-next{opacity:0;transition:opacity 1.2s ease;z-index:1}.ex-scene img.ex-scene-next.shown{opacity:1}
.ex-scene-flare{position:absolute;inset:0;pointer-events:none;opacity:0;background:linear-gradient(115deg,transparent 20%,#ead9b72a 48%,transparent 75%);z-index:-1}
.scene-changing .ex-scene-flare{animation:sceneFlare 1.4s ease-out}
@keyframes sceneFlare{0%{opacity:0;translate:-30% 0}45%{opacity:1}100%{opacity:0;translate:30% 0}}
@media(max-width:820px){.ex-nav{padding:10px 12px;min-height:68px}.ex-brand-group{flex-direction:row;align-items:center;gap:6px}.ex-brand img{width:88px;height:32px}.ex-brand-group .online-users{padding:0;display:flex;gap:3px;align-items:center;font-size:8px}.ex-brand-group .online-users b{font-size:11px}.ex-nav .act-btn{padding:0 7px}.splash .sp-v{object-fit:cover;animation:introCameraMobile 4.4s cubic-bezier(.2,.65,.25,1) both}.motion-grid{opacity:.22}}
@keyframes introCameraMobile{0%{transform:translate3d(2%,1%,0) scale(1.1)}100%{transform:translate3d(-1%,0,0) scale(1)}}
/* An opaque, untransformed desktop video avoids GPU overlay promotion churn.
   The storefront is scaled separately; the opening film stays viewport-sized. */
html.intro-active #phone{visibility:hidden}
html.intro-active #phone *,html.intro-active #phone *:before,html.intro-active #phone *:after{animation-play-state:paused!important}
@media(min-width:821px){
  html[data-layout="app"] .phone{zoom:.67;width:100%;max-width:1600px;height:calc(100vh / .67);height:calc(100dvh / .67)}
  .splash{contain:none;isolation:auto;transition:none!important;position:fixed;inset:0;width:100%;height:100vh;height:100dvh;margin:0;padding:24px;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
  /* Match the square film's actual aspect ratio: no wide native-video surface
     with internal letterboxing, and no transform-based centering. */
  .splash .sp-v{position:static;inset:auto;flex:0 0 auto;min-width:0;min-height:0;width:min(calc(100vw - 48px),calc(100vh - 48px));width:min(calc(100vw - 48px),calc(100dvh - 48px));height:auto;aspect-ratio:1;max-width:100%;max-height:100%;margin:0;align-self:center;animation:none!important;transform:none!important;translate:none;scale:none;backface-visibility:visible;will-change:auto;object-fit:contain;object-position:50% 50%}
  .splash.sp-canvas-mode .sp-v{display:none!important}
  .splash .sp-canvas{display:block;flex:0 0 auto;width:min(calc(100vw - 48px),calc(100vh - 48px));width:min(calc(100vw - 48px),calc(100dvh - 48px));height:auto;aspect-ratio:1;max-width:100%;max-height:100%;margin:0;object-fit:contain;transform:none;animation:none}
}
@media(max-width:820px){.splash .sp-canvas{display:none}}
@media(prefers-reduced-motion:reduce){.splash .sp-v,.motion-grid:after,.scene-changing .ex-scene-flare{animation:none!important}.ex-scene img.ex-scene-next{transition:none}}
