/* Яркая главная в стиле витрины Funko: белый фон, цветные поля, «коробки» с белым окном.
   Файл ложится поверх действующих стилей главной, поэтому много !important. */

:root{--hb-ink:#00002E;--hb-acc:#F89021;--hb-y:#FFD84D;--hb-b:#9AD8FF;--hb-g:#A8EBCB;--hb-p:#FFBFDA;--hb-o:#FFC9A6;--hb-soft:#3A3A5C}

/* ---------- первый экран ---------- */
.omg-hp-hero.ohb{background:#fff!important;color:var(--hb-ink)!important;padding:30px 24px 38px!important;overflow:hidden;overflow:clip}
.omg-hp-hero.ohb::after{display:none!important}
.ohb .ohb-in{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;gap:40px!important;align-items:center!important}
.ohb .ohb-in>#omgk-gift{grid-column:1/-1}
.ohb .ohb-copy{min-width:0}
.ohb .omg-hp-kick{display:inline-flex!important;padding:7px 14px 6px;border-radius:999px;background:var(--hb-y);color:var(--hb-ink)!important;font:600 12px/1.3 Rubik,Arial,sans-serif;letter-spacing:.08em}
.ohb .omg-hp-kick i{background:var(--hb-ink)!important}
.ohb .ohb-in h1{color:var(--hb-ink)!important;font:700 48px/1.08 Jost,Rubik,Arial,sans-serif!important;letter-spacing:-.8px;margin:16px 0 16px!important;max-width:none}
.ohb .ohb-in h1 em{font-style:normal;color:var(--hb-ink)!important;background:linear-gradient(var(--hb-y),var(--hb-y)) 0 78%/100% .42em no-repeat;padding:0 .06em}
.ohb .omg-hp-lead{color:var(--hb-soft)!important;font:400 18px/1.5 Rubik,Arial,sans-serif!important;max-width:520px;margin:0 0 22px!important}
.ohb .omg-v2-actions{margin-bottom:26px}
.ohb .omg-v2-primary,.ohb .omg-v2-secondary{border-radius:999px;padding:12px 22px;font:600 16px/1.3 Rubik,Arial,sans-serif;transition:transform .2s cubic-bezier(.2,.8,.2,1),background .2s,color .2s}
.ohb .omg-v2-primary{background:var(--hb-acc);border-color:var(--hb-acc);color:var(--hb-ink)!important}
.ohb .omg-v2-secondary{background:#fff;border:2px solid var(--hb-ink);color:var(--hb-ink)!important}
.ohb .omg-v2-primary:hover,.ohb .omg-v2-secondary:hover{transform:translateY(-2px)}
.ohb .omg-v2-secondary:hover{background:var(--hb-ink);color:#fff!important}
.ohb .omg-hp-chips{max-width:none!important;margin:0!important;gap:8px!important;align-content:flex-start}
.ohb .omg-hp-chips>span{width:100%!important;color:var(--hb-soft)!important;font:600 12px/1.3 Rubik,Arial,sans-serif;letter-spacing:.08em}
.ohb .omg-hp-chips a{min-height:40px!important;padding:8px 15px!important;border:0!important;border-radius:999px;background:var(--hb-y)!important;color:var(--hb-ink)!important;font:500 15px/1.3 Rubik,Arial,sans-serif!important;transition:transform .2s cubic-bezier(.2,.8,.2,1),background .2s,color .2s}
.ohb .omg-hp-chips a:nth-of-type(5n+2){background:var(--hb-b)!important}
.ohb .omg-hp-chips a:nth-of-type(5n+3){background:var(--hb-p)!important}
.ohb .omg-hp-chips a:nth-of-type(5n+4){background:var(--hb-g)!important}
.ohb .omg-hp-chips a:nth-of-type(5n+5){background:var(--hb-o)!important}
.ohb .omg-hp-chips a:hover,.ohb .omg-hp-chips a:focus-visible{background:var(--hb-ink)!important;color:#fff!important;transform:translateY(-2px)}

/* сцена справа: логотип крутится, вокруг него коробки с товарами из наличия */
.ohb-stage{position:relative;width:100%;max-width:520px;margin-left:auto;aspect-ratio:1/.9}
.ohb-logo{position:absolute;left:50%;top:50%;width:118%;aspect-ratio:1.021;background:var(--hb-acc);-webkit-mask:var(--k-spiral) center/contain no-repeat;mask:var(--k-spiral) center/contain no-repeat;transform:translate(-50%,-50%);animation:ohbSpin 80s linear infinite;pointer-events:none}
@keyframes ohbSpin{to{transform:translate(-50%,-50%) rotate(360deg)}}
.ohb-stage.is-away .ohb-logo,.ohb-stage.is-away .ohb-box{animation-play-state:paused}
.ohb-box{--f:var(--hb-y);position:absolute;display:block;aspect-ratio:1;padding:7px;border-radius:18px;background:var(--f);text-decoration:none!important;color:var(--hb-ink)!important;box-shadow:0 10px 0 -4px rgba(0,0,46,.12);transition:scale .22s cubic-bezier(.2,.8,.2,1);animation:ohbFloat 6s ease-in-out infinite}
.ohb-box[hidden]{display:none}
.ohb-f-y{--f:var(--hb-y)}.ohb-f-b{--f:var(--hb-b)}.ohb-f-p{--f:var(--hb-p)}.ohb-f-g{--f:var(--hb-g)}.ohb-f-o{--f:var(--hb-o)}
.ohb-b1{left:2%;top:27%;width:43%;padding:10px;border-radius:24px;rotate:-3deg;z-index:2}
.ohb-b2{left:50%;top:1%;width:28%;rotate:4deg;animation-duration:7s;animation-delay:-2s}
.ohb-b3{left:64%;top:40%;width:32%;rotate:-2deg;animation-duration:6.5s;animation-delay:-4s}
.ohb-b4{left:38%;top:68%;width:26%;rotate:3deg;animation-duration:7.5s;animation-delay:-1s}
.ohb-b5{left:15%;top:0;width:23%;rotate:-5deg;animation-duration:5.5s;animation-delay:-3s}
@keyframes ohbFloat{0%,100%{translate:0 0}50%{translate:0 -9px}}
.ohb-win{position:relative;display:block;width:100%;height:100%;border-radius:12px;background:#fff;overflow:hidden;transition:transform .26s cubic-bezier(.3,.7,.2,1),opacity .22s}
.ohb-b1 .ohb-win{border-radius:15px}
.ohb-win img{position:absolute;inset:6%;width:88%!important;height:88%!important;max-width:none;object-fit:contain}
.ohb-cap{position:absolute;left:11px;right:11px;bottom:11px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;pointer-events:none;transition:opacity .2s}
.ohb-cap b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:100%;border:solid var(--hb-ink);border-width:5px 9px;border-radius:9px;background:var(--hb-ink);color:#fff;font:500 13px/1.25 Rubik,Arial,sans-serif;overflow:hidden;opacity:0;transform:translateY(8px);transition:opacity .2s,transform .25s cubic-bezier(.2,.8,.2,1)}
.ohb-cap i{padding:3px 10px;border-radius:999px;background:var(--f);color:var(--hb-ink);font:500 14px/1.3 Rubik,Arial,sans-serif;font-style:normal;white-space:nowrap}
/* уголок коробки: номер Funko POP! или отметка 18+ у энергетиков */
.ohb-box[data-tag]::after{content:attr(data-tag);position:absolute;top:0;right:0;min-width:34px;padding:3px 9px 2px;border-radius:0 18px 0 11px;background:var(--hb-ink);color:#fff;font:700 13px/1.25 Jost,Rubik,Arial,sans-serif;text-align:center;transition:opacity .2s}
.ohb-b1[data-tag]::after{font-size:18px;padding:6px 13px 5px;border-radius:0 24px 0 14px}
.ohb-box.is-out[data-tag]::after{opacity:0}
.ohb-b1 .ohb-cap{left:17px;right:17px;bottom:17px}
.ohb-b1 .ohb-cap b{font-size:15px;border-width:6px 11px}
.ohb-b1 .ohb-cap i{font-size:16px;padding:4px 12px}
.ohb-box:hover,.ohb-box:focus-visible{scale:1.06;z-index:3}
.ohb-box:hover .ohb-cap b,.ohb-box:focus-visible .ohb-cap b{opacity:1;transform:none}
.ohb-box:active{scale:.97}
.ohb-box.is-out .ohb-win{transform:scale(.8) rotate(-5deg);opacity:0}
.ohb-box.is-out .ohb-cap{opacity:0}
.ohb-box.is-in .ohb-win{animation:ohbPop .5s cubic-bezier(.2,.8,.2,1)}
@keyframes ohbPop{0%{transform:scale(.8) rotate(5deg);opacity:0}60%{transform:scale(1.04) rotate(-1deg);opacity:1}100%{transform:none}}
.ohb-next{position:absolute;left:0;bottom:0;z-index:4;appearance:none;padding:8px 15px;border:2px solid var(--hb-ink);border-radius:999px;background:#fff;color:var(--hb-ink);font:500 14px/1.3 Rubik,Arial,sans-serif;cursor:pointer;transition:background .2s,color .2s,transform .2s}
.ohb-next[hidden]{display:none}
.ohb-next:hover,.ohb-next:focus-visible{background:var(--hb-ink);color:#fff;transform:translateY(-2px)}
.ohb :focus-visible{outline:3px solid var(--hb-acc);outline-offset:3px}

/* ---------- подборщик подарка: мятное поле, белые кнопки ответов ---------- */
.ohb .omg-home-gift:not([hidden]){--fr-ink:var(--hb-ink);--fr-muted:var(--hb-soft);--fr-acc:var(--hb-ink);--fr-acc-ink:#fff;background:var(--hb-g)!important;color:var(--hb-ink)!important;border-radius:24px}
.ohb .omg-home-gift .omgk-quiz{color:var(--hb-ink)!important}
.ohb .omg-home-caption{color:var(--hb-ink)}
.ohb .omg-home-caption b{color:var(--hb-ink)!important;font:700 26px/1.2 Jost,Rubik,Arial,sans-serif}
.ohb .omg-home-caption span{color:var(--hb-soft)!important;font:400 15px/1.4 Rubik,Arial,sans-serif}
.ohb .omg-home-gift .omgk-quiz-dots i{background:rgba(0,0,46,.18)}
.ohb .omg-home-gift .omgk-quiz-dots i.is-now{background:var(--hb-ink)}
.ohb .omg-home-gift .omgk-quiz-dots i.is-ok{background:var(--hb-acc)}
.ohb .omg-home-gift .omgk-opt{background:#fff!important;border-color:#fff!important;color:var(--hb-ink)!important}
.ohb .omg-home-gift .omgk-opt:hover:not([disabled]),.ohb .omg-home-gift .omgk-opt:focus-visible{border-color:var(--hb-ink)!important}
.ohb .omg-home-gift .omgk-opt.is-pick{background:var(--hb-ink)!important;border-color:var(--hb-ink)!important;color:#fff!important}
.ohb .omg-home-gift .omgk-quiz-fb b{color:var(--hb-ink)}
.ohb .omg-home-gift .omgk-quiz-bar button,.ohb .omg-home-gift .omgk-quiz-bar a{border-radius:999px}
.ohb .omg-v2-close{border:2px solid var(--hb-ink)!important;border-radius:999px!important;background:#fff!important;color:var(--hb-ink)!important;padding:10px 18px;font-weight:500;transition:background .2s,color .2s}
.ohb .omg-v2-close:hover,.ohb .omg-v2-close:focus-visible{background:var(--hb-ink)!important;color:#fff!important}
.ohb .omg-home-gift .omgk-v2-offer{box-shadow:0 10px 0 -4px rgba(0,0,46,.12)!important}
.ohb .omg-home-gift .omgk-v2-note{color:var(--hb-soft)!important}
.ohb .omg-v2-bot{color:var(--hb-ink)!important}
.ohb .omg-v2-bot a{color:var(--hb-ink)!important}

@media(max-width:1023px){
  .ohb .ohb-in{grid-template-columns:minmax(0,1fr) minmax(0,.86fr)!important;gap:26px!important}
  .ohb .ohb-in h1{font-size:38px!important}
}
@media(max-width:767px){
  .omg-hp-hero.ohb{padding:18px 16px 26px!important}
  .ohb .ohb-in{grid-template-columns:minmax(0,1fr)!important;gap:20px!important;padding:0!important}
  .ohb .ohb-in h1{font-size:31px!important;line-height:1.12!important;margin:12px 0 10px!important}
  .ohb .omg-hp-lead{font-size:16px!important;margin:0 0 16px!important}
  .ohb .omg-v2-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px;margin-bottom:18px}
  .ohb .omg-v2-primary,.ohb .omg-v2-secondary{padding:11px 10px!important;font-size:14px}
  .ohb .omg-hp-chips>span{display:block!important}
  .ohb .omg-hp-chips a{font-size:14px!important;padding:8px 13px!important}
  /* на телефоне коробки идут сразу после кнопок, быстрые ссылки — под ними */
  .ohb .ohb-in{gap:0!important}
  .ohb .ohb-copy{display:contents}
  .ohb .omg-hp-kick{justify-self:start}
  .ohb .omg-hp-chips{order:3}
  .ohb .omg-hp-chips{position:relative;z-index:1}
  .ohb-stage{order:2;max-width:380px;margin:22px auto 40px;aspect-ratio:1/.86}
  .ohb-logo{width:100%}
  .ohb-b4{left:48%}
  .ohb-next{bottom:-8px}
  .ohb-cap b{display:none}
  .ohb-b1 .ohb-cap{left:13px;right:13px;bottom:13px}
  .ohb-cap{left:8px;right:8px;bottom:8px}
  .ohb-cap i{font-size:13px;padding:2px 8px}
  .ohb-b1 .ohb-cap i{font-size:14px}
}
@media(prefers-reduced-motion:reduce){
  .ohb-logo,.ohb-box{animation:none!important}
  .ohb-box,.ohb-win,.ohb-cap b{transition:none!important}
}

/* ---------- «С чего начнём?»: рамки плиток в цветах полей ---------- */
html body .omgk-home .omgk-world{--wi:var(--hb-ink)!important;box-shadow:0 10px 0 -4px rgba(0,0,46,.1)!important}
html body .omgk-home .omgk-world:nth-child(5n+1){--w:var(--hb-y)!important}
html body .omgk-home .omgk-world:nth-child(5n+2){--w:var(--hb-b)!important}
html body .omgk-home .omgk-world:nth-child(5n+3){--w:var(--hb-p)!important}
html body .omgk-home .omgk-world:nth-child(5n+4){--w:var(--hb-g)!important}
html body .omgk-home .omgk-world:nth-child(5n+5){--w:var(--hb-o)!important}
html body .omgk-home .omgk-world,html body .omgk-home .omgk-world b,html body .omgk-home .omgk-world>span:last-child{color:var(--hb-ink)!important}
html body .omgk-home .omgk-world.omg-energy-world .energy-art{background:#fff!important}
html body .omgk-home .omgk-world.omg-energy-world .omgk-badge{background:var(--hb-ink)!important;color:#fff!important}

/* ---------- «Что берут прямо сейчас»: цветное поле, белые карточки ---------- */
html body .insales-section-tabs--index{background:var(--hb-y)!important}
html body .insales-section-tabs--index:has([data-target^="collection-novinki"].is-active){background:var(--hb-b)!important}
html body .insales-section-tabs--index:has([data-target^="collection-skidki"].is-active){background:var(--hb-p)!important}
html body .insales-section-tabs--index:has([data-target^="collection-predzakaz"].is-active){background:var(--hb-g)!important}
html body .insales-section-tabs--index:before{display:none!important}
html body .insales-section-tabs--index:after{-webkit-text-stroke-color:rgba(0,0,46,.13)!important}
html body .insales-section-tabs--index .section-title:before{color:var(--hb-ink)!important;text-shadow:none!important;font-family:Jost,Rubik,Arial,sans-serif;font-weight:700}
html body .insales-section-tabs--index .tabs-list-item{color:var(--hb-ink)!important;border-color:var(--hb-ink)!important;background:transparent;font-weight:600!important}
html body .insales-section-tabs--index .tabs-list-item.is-active{background:var(--hb-ink)!important;border-color:var(--hb-ink)!important;color:#fff!important;box-shadow:none!important}
html body .insales-section-tabs--index .product_card{box-shadow:0 10px 0 -4px rgba(0,0,46,.12)!important}
html body .insales-section-tabs--index .product_card:hover{box-shadow:0 16px 0 -6px rgba(0,0,46,.16)!important}
html body .insales-section-tabs--index .tabs-all .button{background:var(--hb-ink)!important;border-color:var(--hb-ink)!important;color:#fff!important;border-radius:999px!important}
html body .insales-section-tabs--index .js-tabs-content .products .row{scrollbar-color:rgba(0,0,46,.45) transparent!important}
html body .insales-section-tabs--index .js-tabs-content .products .row::-webkit-scrollbar-thumb{background:rgba(0,0,46,.45)!important}

/* ---------- преимущества: четыре цветных поля ---------- */
html body .insales-section-benefits{background:#fff!important;padding:26px 0 14px!important}
html body .insales-section-benefits .benefits-item{background:var(--hb-b)!important;border:0!important}
html body .insales-section-benefits [class*="col"]:nth-child(4n+2) .benefits-item{background:var(--hb-g)!important}
html body .insales-section-benefits [class*="col"]:nth-child(4n+3) .benefits-item{background:var(--hb-p)!important}
html body .insales-section-benefits [class*="col"]:nth-child(4n+4) .benefits-item{background:var(--hb-o)!important}
html body .insales-section-benefits .benefits-item:hover{background-color:inherit;transform:translateY(-3px)}
html body .insales-section-benefits .benefits-item-image{background:#fff!important}
html body .insales-section-benefits .benefits-item-title{color:var(--hb-ink)!important}
html body .insales-section-benefits .benefits-item-title:after{color:var(--hb-ink)!important}
html body .insales-section-benefits .benefits-item-description{color:var(--hb-soft)!important}

/* ---------- новости: голубое поле ---------- */
html body .omg-news{background:var(--hb-b)!important}
html body .omg-news::before{display:none!important}
html body .omg-news-marquee{-webkit-text-stroke-color:rgba(0,0,46,.13)!important}
html body .omg-news-kicker{color:var(--hb-ink)!important}
html body .omg-news #omg-news-title{color:var(--hb-ink)!important;font-family:Jost,Rubik,Arial,sans-serif;font-weight:700}
html body .omg-news-head p,html body .omg-news-count{color:var(--hb-soft)!important}
html body .omg-news .omg-news-all{border:2px solid var(--hb-ink)!important;color:var(--hb-ink)!important;background:#fff}
html body .omg-news .omg-news-all:hover{background:var(--hb-ink)!important;color:#fff!important}
html body .omg-news-item{border:0!important;box-shadow:0 10px 0 -4px rgba(0,0,46,.12)!important}
html body .omg-news-item:hover{box-shadow:0 16px 0 -6px rgba(0,0,46,.16)!important}
html body .omg-news-arrows button{border:2px solid var(--hb-ink)!important;background:#fff!important;color:var(--hb-ink)!important}
html body .omg-news-arrows button:hover:not(:disabled){background:var(--hb-ink)!important;color:#fff!important}
html body .omg-news .omg-news-read{color:var(--hb-ink)!important}
