/* НГ-лендинг: только отличия от каркаса кейтеринга (ktg.css) */
.ng-root{--ng-top:148px;--ng-night:#070b09;--ng-gold:#f0d99a}
.ng-root [hidden]{display:none !important}
.ng-root [id]{scroll-margin-top:calc(var(--ng-top) + 12px)}

/* первый экран: вровень с ноутбуком, колесо наряжает ёлку только над рамкой */
.ng-hero{position:relative;padding:16px 0}
.ng-hero__grid{display:grid;grid-template-columns:1fr 1.15fr;gap:24px;height:min(480px,calc(100vh - var(--ng-top) - 32px));height:min(480px,calc(100svh - var(--ng-top) - 32px))}
.ng-hero__text{min-height:0;padding:20px 40px}
.ng-hero__text h1{font-size:clamp(28px,2.8vw,38px);line-height:1.18;margin-bottom:10px}
.ng-hero__text h1 em{font-style:normal;color:var(--ktg-accent)}
.ng-hero__text .ktg-hero__lead{font-size:16px;line-height:24px;margin-bottom:16px}
.ng-hero__text .ktg-hero__actions{margin-bottom:16px}
.ng-hero__text .ktg-facts{padding-top:12px}
.ng-track{min-height:0;min-width:0}
.ng-tree{position:relative;height:100%;overflow:hidden;border-radius:var(--ktg-r-lg);background:var(--ng-night);container-type:size}
.ng-tree__frame{position:absolute;left:50%;bottom:0;translate:-50% 0;width:max(100cqw,177.78cqh);aspect-ratio:16/9;transform-origin:50% 60%}
.ng-tree__frame>img,.ng-tree__frame>canvas{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
.ng-tree__frame>canvas{pointer-events:none}
.ng-tree__gold{-webkit-mask:linear-gradient(#000 calc(var(--d,0)*150% - 50%),transparent calc(var(--d,0)*150%));mask:linear-gradient(#000 calc(var(--d,0)*150% - 50%),transparent calc(var(--d,0)*150%))}

.ng-star{position:absolute;left:49.9%;top:13%;width:15%;aspect-ratio:1;translate:-50% -50%;border-radius:50%;pointer-events:none;mix-blend-mode:screen;opacity:var(--star,0);
  background:radial-gradient(closest-side,#fffbe8 0,#ffe3a0 14%,rgba(255,200,100,.45) 34%,transparent 100%)}

.ng-gift{position:absolute;translate:-50% 0;opacity:0;pointer-events:none;text-decoration:none}
.is-open .ng-gift{pointer-events:auto}
.ng-gift--1{left:38.5%;bottom:9.5%;width:9%;aspect-ratio:758/752}
.ng-gift--2{left:50%;bottom:8%;width:10%;aspect-ratio:964/979}
.ng-gift--3{left:61.5%;bottom:9.5%;width:9%;aspect-ratio:778/739}
.ng-gift::before{content:"";position:absolute;left:-4%;right:-4%;bottom:-5%;height:16%;border-radius:50%;background:radial-gradient(closest-side,rgba(0,0,0,.8),transparent)}
.ng-gift>img{position:absolute;inset:0;width:100%;height:100%}
.ng-gift>i{position:absolute;left:50%;top:30%;width:130%;aspect-ratio:1;translate:-50% -50%;border-radius:50%;opacity:var(--open,0);mix-blend-mode:screen;
  background:radial-gradient(circle,rgba(255,240,200,.9),rgba(255,200,110,.3) 30%,transparent 62%)}
.ng-gift__lid{transform-origin:50% 40%}
.ng-gift>span{position:absolute;left:50%;bottom:109%;translate:-50% 0;width:max-content;max-width:124%;padding:5px 9px;border:1px solid rgba(240,217,154,.45);border-radius:10px;background:rgba(7,11,9,.78);
  text-align:center;text-wrap:balance;font:600 clamp(9px,calc(max(100cqw,177.78cqh)*.0148),13px)/1.15 var(--ktg-font);color:var(--ng-gold);opacity:var(--open,0)}
.ng-gift--1>span{left:auto;right:-4%;translate:none;max-width:168%}
.ng-gift--3>span{left:-4%;translate:none;max-width:168%}
.ng-hint{position:absolute;left:16px;top:16px;max-width:calc(50% - 44px);display:flex;align-items:center;gap:10px;padding:10px 18px;border-radius:99px;background:rgba(7,11,9,.72);color:var(--ng-gold);font-size:15px;line-height:20px;pointer-events:none}
.ng-hint__wheel path{animation:ngWheel 1.4s ease-in-out infinite}
.ng-hint__b,.is-open .ng-hint__a,.is-open .ng-hint__wheel,.ng-hint__touch{display:none}
.is-open .ng-hint__b{display:inline}
@keyframes ngWheel{50%{transform:translateY(6px)}}

/* комплекты: тёмные глубокие, значок за край, огоньки (№526); список и чек (№528) */
.ng-kits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ktg-gap);margin-top:24px}
.ng-kits:has([open]){align-items:start}
.ng-kit{display:flex;flex-direction:column;background:var(--ktg-card);border-radius:var(--ktg-r-lg);overflow:hidden}
.ng-kit.is-on{outline:2px solid var(--ktg-accent)}
.ng-kit__head{--glow:#ffc46b;position:relative;isolation:isolate;overflow:hidden;min-height:264px;padding:28px 24px 24px;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;
  color:#f3e2c4;background:radial-gradient(120% 95% at 85% 0,#7a2420 0,#3d1113 42%,#150506 100%)}
#k2 .ng-kit__head{--glow:#f0d99a;color:#f4f0e6;background:radial-gradient(120% 95% at 85% 0,#4b3814 0,#171208 44%,#030303 100%)}
#k3 .ng-kit__head{--glow:#cdbfff;color:#ece6ff;background:radial-gradient(120% 95% at 85% 0,#353a8c 0,#141746 42%,#05061a 100%)}
.ng-kit__head h3{max-width:82%;font-size:28px;line-height:33px;color:inherit;margin-bottom:8px;text-wrap:balance}
.ng-kit__head p{max-width:340px;font-size:14px;line-height:20px;opacity:.82}
.ng-kit__art{position:absolute;z-index:-1;right:-76px;top:-76px;width:268px;height:268px;opacity:.62;pointer-events:none}
#k2 .ng-kit__art,#k3 .ng-kit__art{right:-96px;top:-96px;width:300px;height:300px}
.ng-lights{position:absolute;inset:0;z-index:-1;pointer-events:none}
.ng-lights i{position:absolute;width:var(--s);height:var(--s);border-radius:50%;background:var(--glow);box-shadow:0 0 calc(var(--s)*2.5) calc(var(--s)*.6) var(--glow);
  opacity:.15;animation:ngTwinkle var(--t) ease-in-out var(--w) infinite}
@keyframes ngTwinkle{50%{opacity:.85}}
.ng-kit__body{flex:1;display:flex;flex-direction:column;padding:20px 24px 24px}
.ng-kit__price{font-size:24px;line-height:30px;font-weight:600;color:var(--ktg-ink)}
.ng-kit__price small{display:block;font-size:14px;font-weight:400;color:var(--ktg-text-2)}
.ng-list{flex:1;list-style:none;padding:0;margin:18px 0 10px}
.ng-list li{margin-bottom:12px}
.ng-list li>b{display:block;margin-bottom:3px;font-size:11px;line-height:16px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--ktg-text-2)}
.ng-list [data-item]{font-size:14px;line-height:21px;color:var(--ktg-ink)}
.ng-list [data-item]:not(:last-child)::after{content:" · ";color:var(--ktg-text-2)}
.ng-list button{display:inline;max-width:100%;padding:0;border:0;background:none;color:inherit;font:inherit;line-height:inherit;text-align:left;cursor:pointer}
.ng-list button:hover{color:var(--ktg-accent)}
.ng-check summary{display:flex;align-items:center;gap:8px;padding:8px 0;list-style:none;cursor:pointer;color:var(--ktg-accent);font-weight:500}
.ng-check summary::-webkit-details-marker{display:none}
.ng-kit:has(.ng-check[open]) .ng-list{display:none}
.ng-check[open]{flex:1;margin-top:10px}
.ng-check__less,.ng-check[open] .ng-check__more{display:none}
.ng-check[open] .ng-check__less{display:inline}
.ng-receipt{margin:10px 0 8px;padding:22px 16px 28px;background:#f7f3e9;color:#1d1c19;font:13px/1.4 "PT Mono",ui-monospace,monospace;
  -webkit-mask:conic-gradient(from 135deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/14px 8px repeat-x,linear-gradient(#000 0 0) top/100% calc(100% - 8px) no-repeat;
  mask:conic-gradient(from 135deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/14px 8px repeat-x,linear-gradient(#000 0 0) top/100% calc(100% - 8px) no-repeat}
.ng-receipt p{margin:0}
.ng-receipt__head{text-align:center;font-size:12px}
.ng-receipt__head b{display:block;font-size:16px;letter-spacing:.18em}
.ng-receipt .ng-receipt__title{margin:14px 0 12px;padding:7px 0;border-block:1px dashed #9a958a;text-align:center;letter-spacing:.1em}
.ng-receipt dl{display:grid;grid-template-columns:auto 1fr;gap:2px 12px;margin:0 0 12px;font-size:12px}
.ng-receipt dt{color:#6b675e}
.ng-receipt dd{margin:0;text-align:right}
.ng-receipt ul{list-style:none;margin:0;padding:8px 0;border-block:1px dashed #9a958a}
.ng-receipt li{display:flex;justify-content:space-between;gap:10px;padding:4px 0}
.ng-receipt li>span{min-width:0;overflow-wrap:anywhere}
.ng-receipt li small{display:block;font-size:11px;color:#6b675e}
.ng-receipt li b{white-space:nowrap;font-weight:400}
.ng-receipt__sum,.ng-receipt__per{display:flex;justify-content:space-between}
.ng-receipt .ng-receipt__sum{margin-top:10px;font-size:17px;font-weight:700}
.ng-receipt .ng-receipt__note{margin:12px 0 0;font-size:11px;color:#6b675e}
.ng-receipt .ng-receipt__bye{margin-top:16px;text-align:center;font-size:11px;letter-spacing:.16em;color:#6b675e}
.ng-share{display:flex;align-items:center;gap:12px;margin-top:12px;padding-top:12px;border-top:1px dashed #9a958a}
.ng-share__qr{flex:none;width:116px;height:116px;padding:6px;background:#fff}
.ng-share__qr svg{display:block;width:100%;height:100%}
.ng-share b{display:block;font-size:13px;line-height:16px}
.ng-share button{margin-top:6px;padding:5px 8px;border:1px solid #1d1c19;background:none;color:#1d1c19;font:11px/14px "PT Mono",monospace;cursor:pointer}
.ng-kit .ktg-btn{width:100%;margin-top:12px}

/* «Вживую» — мозаика ng-vip (№530) */
.ng-gal,.ng-gal__row{display:grid;gap:var(--ktg-gap)}
.ng-gal{margin-top:24px}
.ng-gal__row--1{grid-template-columns:minmax(0,1.7778fr) minmax(0,.8fr) minmax(0,.8fr)}
.ng-gal__row--2{grid-template-columns:minmax(0,.8fr) minmax(0,.5625fr) minmax(0,1.5fr)}
.ng-mf{position:relative;margin:0;overflow:hidden;border-radius:var(--ktg-r-lg);background:var(--ng-night)}
.ng-mf img,.ng-mf video{display:block;width:100%;height:100%;object-fit:cover}
.ng-mf--169{aspect-ratio:16/9}
.ng-mf--45{aspect-ratio:4/5}
.ng-mf--916{aspect-ratio:9/16}
.ng-mf--32{aspect-ratio:3/2}
.ng-sl{cursor:pointer;touch-action:pan-y}
.ng-sl img{position:absolute;inset:0;opacity:0;transition:opacity .9s ease}
.ng-sl img.is-on{opacity:1}
.ng-sl__dots{position:absolute;left:0;right:0;bottom:12px;z-index:1;display:flex;justify-content:center;gap:6px}
.ng-sl__dots i{width:6px;height:6px;border-radius:3px;background:rgba(246,226,168,.45);transition:width .3s}
.ng-sl__dots i.is-on{width:18px;background:var(--ng-gold)}

/* кейсы: подписи под фото (№545) */
.ng-root .ktg-case{display:flex;flex-direction:column;aspect-ratio:auto;background:var(--ktg-card)}
.ng-root .ktg-case::after{display:none}
.ng-root .ktg-case img{position:static;width:100%;height:auto;aspect-ratio:4/3}
.ng-root .ktg-case:hover img{transform:none}
.ng-root .ktg-case__text{position:static;padding:16px 20px 20px;color:var(--ktg-ink)}
.ng-root .ktg-case__text b{font-size:17px;line-height:23px;font-weight:600}
.ng-root .ktg-case:hover .ktg-case__text{color:var(--ktg-accent)}

/* всё в одном окне */
.ng-menu{margin-top:24px}
.ng-menu .ng-card{background:var(--ktg-page)}
.ng-menu .ktg-group{flex-basis:112px;min-width:0}
.ng-card{min-width:0;display:flex;flex-direction:column;background:var(--ktg-card);border-radius:var(--ktg-r-lg);overflow:hidden}
.ng-card__view{display:block;width:100%;padding:0;border:0;background:none;color:inherit;text-align:left;font:inherit;cursor:pointer}
.ng-card img{display:block;width:100%;aspect-ratio:1;object-fit:cover}
.ng-cover{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1;overflow:hidden;background:var(--ng-night)}
.ng-cover::before{content:"";position:absolute;inset:-24px;background:var(--cover) center/cover;filter:blur(18px) brightness(.4)}
.ng-card .ng-cover img{position:relative;width:72%;border-radius:10px;box-shadow:0 12px 32px rgba(0,0,0,.5)}
.ng-card__name{display:block;padding:12px 14px 4px;font-size:15px;line-height:20px;overflow-wrap:anywhere}
.ng-sets{list-style:none;margin:4px 14px 0;padding:6px 0 0;border-top:1px solid var(--ktg-border)}
.ng-sets li{display:flex;justify-content:space-between;gap:8px;padding:2px 0;font-size:12px;line-height:16px;color:var(--ktg-text-2)}
.ng-sets li>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ng-sets li>b{flex:none;font-weight:500;color:var(--ktg-ink);white-space:nowrap}
.ng-root [data-qv-opts]{display:flex;flex-direction:column;gap:6px;margin:12px 0;border:0;border-radius:0}
.ng-root [data-qv-opts]:empty{display:none}
@media (min-width:901px){.ng-root [data-qv-opts]{max-height:min(340px,38vh);overflow-y:auto;scrollbar-width:thin}}
.ng-opt{flex:none;display:flex;align-items:center;gap:10px;width:100%;padding:6px 10px 6px 6px;border:1px solid var(--ktg-border);border-radius:12px;background:none;color:var(--ktg-ink);font:inherit;text-align:left}
button.ng-opt{cursor:pointer}
.ng-opt.is-on{border-color:var(--ktg-accent);background:var(--ktg-accent-tint)}
.ng-opt img{flex:none;width:52px;height:52px;border-radius:8px;object-fit:cover}
.ng-opt>span{flex:1;min-width:0;font-size:14px;line-height:18px;overflow-wrap:anywhere}
.ng-opt small{display:block;font-size:12px;line-height:15px;color:var(--ktg-text-2)}
.ng-opt>b{flex:none;max-width:42%;font-size:13px;font-weight:600;text-align:right}
.ng-card__foot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:auto;padding:8px 14px 14px}
.ng-card__foot b{white-space:nowrap;color:var(--ktg-ink)}
.ng-card__foot>button{padding:8px 12px;border:0;border-radius:10px;background:var(--ktg-accent-tint);color:var(--ktg-accent);font:500 14px/18px var(--ktg-font);cursor:pointer}
.ng-card__foot>button.is-on{background:var(--ktg-accent);color:#fff}
.ng-cart b{margin-left:8px}

.ng-check li button{padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.ng-check li button:hover{color:var(--ktg-accent)}
.ng-preview,.ng-chosen{margin-top:10px;font-weight:500}

@media (hover:none){
  .ng-hint__mouse,.ng-hint__wheel{display:none}
  .ng-hint__touch{display:inline}
}
@media (max-height:680px) and (min-width:901px),(min-width:901px) and (max-width:1199px){
  .ng-hero__text .ktg-facts{display:none}
}
@media (max-width:900px){
  .ng-hero__grid{display:block;height:auto}
  .ng-hero__text{padding:20px}
  .ng-hero__text .ktg-facts{display:none}
  .ng-track{margin-top:12px}
  .ng-tree{height:min(100vw,480px,calc(100svh - var(--ng-top) - 100px))}
  .ng-hint{font-size:13px;padding:8px 14px;border-radius:14px}
  .ng-gift>span{display:none}
  .ng-kits{grid-template-columns:minmax(0,1fr)}
  .ng-kit__head{min-height:210px}
  .ng-gal,.ng-gal__row{gap:10px}
  .ng-gal__row--1{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ng-gal__row--2{grid-template-columns:minmax(0,.8fr) minmax(0,.5625fr)}
  .ng-mf--full{grid-column:1/-1}
}
@media (prefers-reduced-motion:reduce){
  .ng-hint__wheel path{animation:none}
  .ng-lights i{animation:none;opacity:.5}
}
