/* AXIOMA global ecosystem header v2.0 · 2026-09-04 */
.axgh{--axgh-bg:#080808;--axgh-panel:#11110f;--axgh-panel2:#171613;--axgh-fg:#f7f4ee;--axgh-muted:#9d9890;--axgh-line:rgba(255,255,255,.13);--axgh-accent:#d4af76;position:relative;z-index:99980;width:100%;box-sizing:border-box;background:var(--axgh-bg);color:var(--axgh-fg);font-family:Arial,Helvetica,sans-serif;border-bottom:1px solid rgba(255,255,255,.07)}
.axgh *{box-sizing:border-box}.axgh a{color:inherit;text-decoration:none}.axgh__inner{width:min(1520px,100%);min-height:86px;margin:0 auto;padding:0 30px;display:grid;grid-template-columns:190px minmax(0,1fr) auto;align-items:center;gap:24px}.axgh__brand{display:flex;align-items:center;min-width:0}.axgh__brand img{display:block;width:170px;height:60px;object-fit:contain;object-position:left center;filter:brightness(0) invert(1)}.axgh__brand .axgh-logo--en{display:none}.axgh[data-lang="en"] .axgh-logo--ru{display:none}.axgh[data-lang="en"] .axgh-logo--en{display:block}
.axgh__nav{display:flex;align-items:center;justify-content:center;gap:clamp(14px,1.45vw,26px);min-width:0}.axgh__nav>a,.axgh__drop>summary{position:relative;display:flex;align-items:center;min-height:48px;padding:0;color:#f1eee9;font-size:12px;font-weight:760;line-height:1;white-space:nowrap;cursor:pointer;list-style:none}.axgh__drop>summary::-webkit-details-marker{display:none}.axgh__drop>summary:after{content:"⌄";margin-left:6px;color:#858077;font-size:11px;transform:translateY(-1px)}.axgh__nav>a:after,.axgh__drop>summary:before{content:"";position:absolute;left:0;right:0;bottom:5px;height:1px;background:var(--axgh-accent);transform:scaleX(0);transform-origin:left;transition:transform .18s}.axgh__nav>a:hover:after,.axgh__drop:hover>summary:before,.axgh__drop[open]>summary:before,.axgh__nav>a.is-active:after{transform:scaleX(1)}.axgh__nav>a.is-active,.axgh__drop.is-active>summary{color:#fff}
.axgh__drop{position:relative}.axgh__mega{position:absolute;top:calc(100% + 10px);left:50%;width:570px;padding:16px;border:1px solid var(--axgh-line);border-radius:22px;background:var(--axgh-panel);box-shadow:0 28px 80px rgba(0,0,0,.43);transform:translateX(-42%)}.axgh__mega--school{width:390px;transform:translateX(-35%)}.axgh__mega--shop{width:470px;transform:translateX(-48%)}.axgh__mega--about{width:390px;transform:translateX(-55%)}.axgh__drop:not([open]) .axgh__mega{display:none}.axgh__mega-label{display:block;margin:2px 6px 10px;color:#8d877e;font-size:9px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.axgh__mega-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.axgh__mega-grid--one{grid-template-columns:1fr}.axgh__mega-card{display:block;min-height:92px;padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:15px;background:rgba(255,255,255,.035);transition:background .16s,border-color .16s,transform .16s}.axgh__mega-card:hover{background:rgba(255,255,255,.075);border-color:rgba(212,175,118,.35);transform:translateY(-1px)}.axgh__mega-card b{display:block;color:#fff;font-size:13px;line-height:1.25}.axgh__mega-card small{display:block;margin-top:6px;color:#99938a;font-size:10.5px;line-height:1.42}.axgh__mega-card--accent{background:linear-gradient(135deg,rgba(212,175,118,.13),rgba(255,255,255,.035))}.axgh__mega-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:8px;padding:12px 14px;border-radius:14px;background:#191815}.axgh__mega-row b{font-size:12px}.axgh__mega-row small{color:#8f8980;font-size:10px}.axgh__mega-row span:last-child{color:#d8bc8b;font-size:15px}.axgh__mega-note{margin-top:9px;padding:12px 14px;border-top:1px solid rgba(255,255,255,.08);color:#aaa49b;font-size:10.5px;line-height:1.45}.axgh__mega-note a{color:#e2c18d;font-weight:800}
.axgh__right{display:flex;align-items:center;justify-content:flex-end;gap:11px}.axgh__lang{display:flex;align-items:center;padding:3px;border:1px solid var(--axgh-line);border-radius:999px;background:rgba(255,255,255,.035)}.axgh__lang a{display:grid;place-items:center;min-width:34px;height:30px;border-radius:999px;color:#8f8c86;font-size:10px;font-weight:900;letter-spacing:.08em}.axgh__lang a.is-active{background:#f4efe7;color:#111}.axgh__account{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 15px;border:1px solid rgba(255,255,255,.18);border-radius:999px;color:#f5f2ed;font-size:11px;font-weight:800;white-space:nowrap}.axgh__account:hover{border-color:#d4af76;color:#e5c795}.axgh__burger{display:none;width:42px;height:42px;padding:0;border:1px solid var(--axgh-line);border-radius:12px;background:transparent;color:#fff;cursor:pointer}.axgh__burger span{display:block;width:20px;height:2px;margin:4px auto;background:currentColor;border-radius:99px}.axgh__mobile{display:none}
/* Optional contextual second level used by Academy / AI. */
.axgh-subbar{width:100%;box-sizing:border-box;background:#11110f;color:#eee9e2;border-bottom:1px solid rgba(255,255,255,.08)}.axgh-subbar__inner{width:min(1480px,100%);min-height:50px;margin:0 auto;padding:0 34px;display:flex;align-items:center;justify-content:space-between;gap:18px}.axgh-subbar__nav{display:flex;align-items:center;gap:20px;overflow:auto;scrollbar-width:none}.axgh-subbar__nav::-webkit-scrollbar{display:none}.axgh-subbar__nav a{color:#b7b2aa;text-decoration:none;font-size:11px;font-weight:750;white-space:nowrap}.axgh-subbar__nav a:hover,.axgh-subbar__nav a.active{color:#fff}.axgh-subbar__meta{display:flex;align-items:center;gap:10px;color:#afa9a0;font-size:10px;white-space:nowrap}
@media(max-width:1280px){.axgh__inner{grid-template-columns:175px minmax(0,1fr) auto;padding:0 22px;gap:16px}.axgh__brand img{width:157px}.axgh__nav{gap:13px}.axgh__nav>a,.axgh__drop>summary{font-size:11px}.axgh__account{padding:0 12px}}
@media(max-width:1040px){.axgh__inner{min-height:72px;grid-template-columns:minmax(0,1fr) auto auto;padding:0 16px;gap:9px}.axgh__brand img{width:152px;height:54px}.axgh__nav,.axgh__account{display:none}.axgh__right{gap:8px}.axgh__burger{display:block}.axgh__mobile{position:fixed;z-index:99995;inset:72px 0 0 auto;width:min(430px,100%);padding:16px 18px 22px;background:#0c0c0b;border-left:1px solid var(--axgh-line);overflow:auto;transform:translateX(105%);visibility:hidden;transition:transform .22s ease,visibility .22s}.axgh.is-mobile-open .axgh__mobile{display:block;transform:translateX(0);visibility:visible}.axgh__mobile-backdrop{position:fixed;z-index:99990;inset:72px 0 0;background:rgba(0,0,0,.55);display:none}.axgh.is-mobile-open .axgh__mobile-backdrop{display:block}.axgh__mobile-label{display:block;margin:12px 12px 6px;color:#7f7a72;font-size:9px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.axgh__mobile nav{display:grid;gap:3px}.axgh__mobile nav>a,.axgh__mobile details>summary{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:0 12px;border-bottom:1px solid rgba(255,255,255,.08);font-size:14px;font-weight:800;list-style:none}.axgh__mobile details>summary::-webkit-details-marker{display:none}.axgh__mobile details>summary:after{content:"+";color:#999}.axgh__mobile details[open]>summary:after{content:"−"}.axgh__mobile-sub{display:grid;padding:5px 0 10px 12px}.axgh__mobile-sub a{display:block;padding:11px 12px;border-radius:11px;color:#ddd8d0}.axgh__mobile-sub a:hover{background:#171613}.axgh__mobile-sub b{display:block;font-size:12px}.axgh__mobile-sub small{display:block;margin-top:3px;color:#888279;font-size:10px;line-height:1.35}.axgh__mobile-account{display:flex;align-items:center;justify-content:center;min-height:48px;margin-top:16px;border-radius:13px;background:#f4efe7;color:#111!important;font-size:12px;font-weight:900}.axgh-subbar__inner{padding:0 16px}.axgh-subbar__meta{display:none}}
@media(max-width:430px){.axgh__brand img{width:137px}.axgh__lang a{min-width:31px}.axgh__inner{gap:7px;padding:0 12px}}
body.axgh-lock{overflow:hidden}

/* AXIOMA mobile touch/scroll QA · 2026-09-04 */
@media(max-width:1040px){
  .axgh__lang a{min-width:38px;height:38px}
  .axgh__burger{width:44px;height:44px}
  .axgh__mobile{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .axgh__mobile details>summary,.axgh__mobile nav>a{min-height:56px}
  .axgh__mobile-sub a{min-height:44px;display:flex;flex-direction:column;justify-content:center}
  .axgh__mobile-account{min-height:52px}
}
@media(max-width:430px){
  .axgh__lang a{min-width:36px;height:36px}
  .axgh__burger{width:44px;height:44px}
}


/* AXIOMA books category — restored after global-header migration · 2026-09-05 */
body:has(.axcat-hero--v130){background:#fff;color:#121116}
body:has(.axcat-hero--v130) .breadcrumbs,
body:has(.axcat-hero--v130) .title-container,
body:has(.axcat-hero--v130) .category-desc,
body:has(.axcat-hero--v130) .plugin__skcatimage{display:none!important}
.axcat-hero--v130{
  --axb-accent:#e65786;--axb-bg:#151219;--axb-muted:#b8b3b8;
  position:relative;left:50%;width:100vw;max-width:none;margin:0 0 0 -50vw;padding:72px max(34px,calc((100vw - 1400px)/2 + 36px));
  box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.78fr);gap:54px;align-items:center;overflow:hidden;isolation:isolate;
  background:radial-gradient(circle at 78% 22%,rgba(230,87,134,.20),transparent 28%),linear-gradient(135deg,#121016 0%,#17131a 55%,#111014 100%);color:#fff
}
.axcat-hero--v130:before{content:"";position:absolute;z-index:-1;right:-120px;top:-180px;width:620px;height:620px;border:1px solid rgba(255,255,255,.08);border-radius:50%;box-shadow:0 0 0 74px rgba(230,87,134,.025),0 0 0 148px rgba(230,87,134,.018)}
.axcat-hero--v130 .axcat-hero__copy{max-width:760px}
.axcat-hero--v130 .axcat-hero__kicker{display:flex;align-items:center;gap:13px;margin:0;color:#bdb7bd;font-size:11px;font-weight:900;letter-spacing:.15em;text-transform:uppercase}
.axcat-hero--v130 .axcat-hero__kicker:before{content:"";width:36px;height:2px;background:var(--axb-accent)}
.axcat-hero--v130 h1{margin:25px 0 24px;color:#fff;font-size:clamp(64px,7vw,104px);font-weight:800;line-height:.88;letter-spacing:-.065em}
.axcat-hero--v130 h1 em{font-style:normal;color:var(--axb-accent)}
.axcat-hero--v130 p{max-width:720px;margin:0;color:#b8b3b8;font-size:18px;line-height:1.58}
.axcat-hero--v130 .axcat-hero__visual{position:relative;min-height:420px}
.axcat-hero--v130 .axcat-hero__visual:after{content:"УЧЕБНЫЕ МАТЕРИАЛЫ";position:absolute;right:14px;bottom:0;color:rgba(255,255,255,.32);font-size:9px;font-weight:900;letter-spacing:.18em}
.axcat-hero--v130 .axcat-hero__visual img{position:absolute;display:block;width:54%;height:345px;max-width:none;max-height:none;object-fit:contain;filter:drop-shadow(0 28px 40px rgba(0,0,0,.48))}
.axcat-hero--v130 .axcat-hero__visual img:first-child{left:2%;top:20px;transform:rotate(-6deg)}
.axcat-hero--v130 .axcat-hero__visual img:last-child{right:1%;bottom:18px;transform:rotate(5deg)}
.category.container:has(.axcat-catalog-head){width:min(1400px,calc(100% - 72px))!important;max-width:1400px!important;margin:0 auto!important;padding:72px 0 96px!important}
.category.container:has(.axcat-catalog-head) .category__leftside{display:none!important}
.category.container:has(.axcat-catalog-head) .category__rightside{float:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.axcat-catalog-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.48fr);gap:44px;align-items:end;margin:0 0 34px;padding-bottom:28px;border-bottom:1px solid #e5e2de}
.axcat-catalog-head__kicker{display:block;margin-bottom:10px;color:#8f888f;font-size:10px;font-weight:900;letter-spacing:.15em;text-transform:uppercase}
.axcat-catalog-head h2{max-width:820px;margin:0;color:#121116;font-size:clamp(38px,4.5vw,62px);font-weight:850;line-height:.96;letter-spacing:-.052em}
.axcat-catalog-head p{margin:0;color:#777178;font-size:15px;line-height:1.55}
.category.container:has(.axcat-catalog-head) #product-list>.ajax-category-count,
.category.container:has(.axcat-catalog-head) #product-list>.ajax-category-count-mobile,
.category.container:has(.axcat-catalog-head) .p-thumbs__add{display:none!important}
.category.container:has(.axcat-catalog-head) .category__topbar{margin:0 0 20px!important;padding:0!important}
.category.container:has(.axcat-catalog-head) .p-thumbs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;width:100%!important;margin:0!important;padding:0!important;overflow:visible!important}
.category.container:has(.axcat-catalog-head) .p-thumbs>[class*="p-thumbs__col-"]{display:block!important;float:none!important;width:auto!important;max-width:none!important;min-width:0!important;height:auto!important;margin:0!important;padding:0!important}
.category.container:has(.axcat-catalog-head) .p-thumbs__inner{position:relative!important;display:flex!important;flex-direction:column!important;height:100%!important;overflow:hidden!important;background:#fff!important;border:1px solid #e4e1dd!important;border-radius:22px!important;box-shadow:none!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important}
.category.container:has(.axcat-catalog-head) .p-thumbs__inner:hover{transform:translateY(-4px)!important;border-color:transparent!important;box-shadow:0 22px 55px rgba(20,17,22,.11)!important}
.category.container:has(.axcat-catalog-head) .p-thumbs__img{position:relative!important;width:100%!important;height:auto!important;aspect-ratio:4/3!important;padding:26px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;background:#f3f1ee!important;border-radius:0!important}
.category.container:has(.axcat-catalog-head) .p-thumbs__img a{display:flex!important;width:100%!important;height:100%!important;align-items:center!important;justify-content:center!important}
.category.container:has(.axcat-catalog-head) .p-thumbs__img img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;margin:0!important;object-fit:contain!important;border-radius:0!important}
.category.container:has(.axcat-catalog-head) .p-thumbs__text{display:flex!important;flex:1!important;flex-direction:column!important;min-height:220px!important;padding:21px 22px 22px!important;background:#fff!important}
.category.container:has(.axcat-catalog-head) .p-thumbs__text-icons{min-height:18px!important;margin:0 0 6px!important}
.category.container:has(.axcat-catalog-head) .p-thumbs__text-status{margin:0 0 9px!important;color:#8c858b!important;font-size:10px!important;line-height:1.35!important}
.category.container:has(.axcat-catalog-head) .p-thumbs__code{margin-left:7px!important;color:#aaa4a8!important}
.category.container:has(.axcat-catalog-head) .p-thumbs__text-name{margin:0 0 13px!important;min-height:0!important}
.category.container:has(.axcat-catalog-head) .p-thumbs__text-name a{display:block!important;color:#161318!important;font-size:19px!important;font-weight:850!important;line-height:1.12!important;letter-spacing:-.025em!important;text-decoration:none!important}
.category.container:has(.axcat-catalog-head) .p-thumbs__summary{height:auto!important;margin:0 0 16px!important;color:#777178!important;font-size:13px!important;line-height:1.45!important}
.category.container:has(.axcat-catalog-head) .p-thumbs__text-bottom{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:14px!important;width:100%!important;margin-top:auto!important}
.category.container:has(.axcat-catalog-head) .p-thumbs__price{color:#161318!important;font-size:21px!important;font-weight:900!important;line-height:1.05!important;white-space:normal!important}
.category.container:has(.axcat-catalog-head) .p-thumbs__button-col button{display:flex!important;align-items:center!important;justify-content:center!important;width:48px!important;height:48px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#161318!important;color:#fff!important;box-shadow:none!important}
.category.container:has(.axcat-catalog-head) .p-thumbs__button-col button:hover{background:#e65786!important}
.category.container:has(.axcat-catalog-head) .category__views{opacity:.5}
@media(max-width:1050px){.axcat-hero--v130{grid-template-columns:1fr .8fr;padding-left:28px;padding-right:28px;gap:28px}.category.container:has(.axcat-catalog-head){width:calc(100% - 44px)!important}.category.container:has(.axcat-catalog-head) .p-thumbs{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.axcat-hero--v130{left:auto;width:auto;margin:0;padding:48px 18px 42px;grid-template-columns:1fr;gap:22px}.axcat-hero--v130 h1{font-size:54px}.axcat-hero--v130 p{font-size:16px}.axcat-hero--v130 .axcat-hero__visual{min-height:270px}.axcat-hero--v130 .axcat-hero__visual img{height:238px}.category.container:has(.axcat-catalog-head){width:calc(100% - 28px)!important;padding:48px 0 70px!important}.axcat-catalog-head{grid-template-columns:1fr;gap:12px;margin-bottom:24px;padding-bottom:22px}.axcat-catalog-head h2{font-size:38px}.category.container:has(.axcat-catalog-head) .p-thumbs{grid-template-columns:1fr!important;gap:14px!important}.category.container:has(.axcat-catalog-head) .p-thumbs__img{aspect-ratio:4/3!important;padding:22px!important}.category.container:has(.axcat-catalog-head) .p-thumbs__text{min-height:0!important}}
/* /AXIOMA books category */
