/* Kursberry 3.1 — final overrides after native search and catalog styles. */
@media(min-width:1025px){
.kb-site .kb-desktop-catalog .header-nav__submenu.megamenu{--kb-menu-width:min(1000px,calc(100vw - 48px));width:var(--kb-menu-width)!important;right:auto!important;left:clamp(24px,var(--kb-catalog-left,24px),calc(100vw - var(--kb-menu-width) - 24px))!important}
.kb-site .kb-desktop-catalog .megamenu__wrap{height:min(600px,calc(100dvh - var(--kb-header-bottom,112px) - 24px))!important}
.kb-site .kb-desktop-catalog .megamenu__col--parents{width:260px!important;flex-basis:260px!important}
.kb-site .kb-desktop-catalog .megamenu__children{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 24px!important}
}
.kb-site .mc-catalog-shell>.mc-main-intro,.kb-site .mc-entity-directory-page>.mc-main-intro{box-sizing:border-box;width:100%!important;max-width:none!important;margin-top:0!important;margin-bottom:24px!important;padding:24px clamp(18px,4vw,60px)!important}
.kb-site .mc-main-intro h1{hyphens:none!important;word-break:normal!important}
.kb-site .kb-category-copy{margin-left:auto!important;margin-right:auto!important}
/* Currency picker: existing conversion and cookie handlers remain in currency.js. */
.kb-site .currency__dropdown .dropdown{position:relative!important}
.kb-site .currency__dropdown .dropdown__head{display:flex!important;align-items:center!important;gap:6px!important;padding:0!important;background:transparent!important;color:#fff!important;height:30px!important;min-width:0!important;line-height:30px!important}
.kb-site .currency__dropdown .dropdown__head::after{display:none!important}
.kb-site #currency_now{display:inline-flex!important;align-items:center!important;gap:6px!important;color:#fff!important;font:400 12px/1 Arial,sans-serif!important;white-space:nowrap}
.kb-site #currency_now .currency__symbol{display:none!important}
.kb-site #currency_now::before{content:"";width:20px;height:20px;border-radius:50%;background:center/cover no-repeat url('../images/currency/rub.svg');flex-shrink:0}
.kb-site #currency_now[data-currency="BYN"]::before{background-image:url('../images/currency/byn.svg')}
.kb-site #currency_now[data-currency="KZT"]::before{background-image:url('../images/currency/kzt.svg')}
.kb-site #currency_now[data-currency="USD"]::before{background-image:url('../images/currency/usd.svg')}
.kb-site #currency_now[data-currency="EUR"]::before{background-image:url('../images/currency/eur.svg')}
.kb-site #currency_now[data-currency="UAH"]::before{background-image:url('../images/currency/uah.svg')}
.kb-site .kb-currency-chevron{width:16px;height:16px;color:#ffffffc9}
.kb-site .currency__dropdown .dropdown__cont{left:auto!important;right:0!important;width:340px!important;min-width:0!important;max-width:calc(100vw - 24px)!important;box-sizing:border-box;padding:14px!important;border:1px solid #efedf2!important;border-radius:16px!important;background:#fff!important;box-shadow:0 12px 35px #27133220!important;max-height:calc(100dvh - 140px);overflow:auto;z-index:1010!important}
.kb-site .kb-currency-title{margin:2px 8px 12px!important;color:#302736!important;font-size:20px!important;font-weight:600!important;line-height:1.3!important}
.kb-site .currency__list{padding:0!important;margin:0!important;display:block!important}
.kb-site .currency__list .currency__list-item{height:auto!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;line-height:normal!important}
.kb-site .kb-currency-option{display:grid!important;grid-template-columns:28px 38px minmax(0,1fr) 20px!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:48px!important;height:auto!important;padding:9px 8px!important;border:0!important;border-radius:9px!important;background:transparent!important;box-shadow:none!important;color:#302736!important;text-align:left!important;font:400 14px/1.35 Arial,sans-serif!important;cursor:pointer}
.kb-site .kb-currency-option:hover{background:#f7f6f9!important}
.kb-site .currency__list-item._active .kb-currency-option{background:#f0eff3!important}
.kb-site .kb-currency-flag{width:28px!important;height:28px!important;border-radius:50%;display:block}
.kb-site .kb-currency-code{color:#938c99;font-size:13px}
.kb-site .kb-currency-name{white-space:normal}
.kb-site .kb-currency-check{width:20px;height:20px;opacity:0;color:#a13ae1}
.kb-site .currency__list-item._active .kb-currency-check{opacity:1}
/* Lighter price typography including children formatted by currency.js. */
.kb-site .mc-card .mc-card__price,.kb-site .mc-catalog-shell .mc-card .mc-card__price{font-size:20px!important;font-weight:600!important;letter-spacing:-.35px!important;line-height:1.3!important}
.kb-site .mc-card .mc-card__price span{font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important}
.kb-site .game-available .currencyPrice,.kb-site .game-available .currencySymbol{font-weight:600!important}
/* Search grid: same poster and body layout as the catalog. */
.kb-site .mc-search-shell[data-catalog-view="grid"] .mc-search-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:26px 20px!important}
.kb-site .mc-search-shell[data-catalog-view="grid"] .mc-search-card{display:flex!important;flex-direction:column!important;min-height:0!important;height:auto!important;padding:0!important;border:0!important;border-radius:16px!important;overflow:hidden!important;background:#fff!important;box-shadow:none!important}
.kb-site .mc-search-shell[data-catalog-view="grid"] .mc-search-card .mc-media{display:block!important;padding:0!important;flex:none!important;width:100%!important;height:auto!important;position:relative!important}
.kb-site .mc-search-shell[data-catalog-view="grid"] .mc-search-card .mc-card__thumb{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:auto!important;aspect-ratio:3/4!important;padding:0!important;margin:0!important;background:#f5f1f8!important;overflow:hidden!important;border-radius:16px!important}
.kb-site .mc-search-shell[data-catalog-view="grid"] .mc-search-card .mc-card__thumb>img{width:100%!important;height:100%!important;object-fit:contain!important}
.kb-site .mc-search-shell[data-catalog-view="grid"] .mc-search-card .mc-card__badges{display:flex!important}
.kb-site .mc-search-shell[data-catalog-view="grid"] .mc-search-card .mc-card__body{display:flex!important;flex-direction:column!important;gap:7px!important;padding:12px 0 0!important;min-width:0!important;flex:1!important}
.kb-site .mc-search-shell[data-catalog-view="grid"] .mc-search-card .mc-card__price{order:0!important;font-size:20px!important;font-weight:600!important;margin:0!important;text-align:left!important}
.kb-site .mc-search-shell[data-catalog-view="grid"] .mc-search-card .mc-card__cat{order:1!important;font-size:12px!important;line-height:18px!important}
.kb-site .mc-search-shell[data-catalog-view="grid"] .mc-search-card .mc-card__title{order:2!important;font-size:14px!important;font-weight:400!important;line-height:20px!important;min-height:40px!important;max-height:40px!important;margin:0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.kb-site .mc-search-shell[data-catalog-view="grid"] .mc-search-card .mc-card__footer{display:block!important;order:3!important;padding:0!important;margin-top:auto!important}
.kb-site .mc-search-shell[data-catalog-view="grid"] .mc-search-card .mc-card__actions{width:100%!important;margin:5px 0 0!important}
.kb-site .mc-search-shell[data-catalog-view="grid"] .mc-search-card .mc-btn{width:100%!important;min-height:40px!important;padding:10px 8px!important;font-size:14px!important;border-radius:10px!important}
/* Search list uses explicit grid areas; native search rules otherwise win. */
.kb-site .mc-search-shell[data-catalog-view="price"] .mc-search-grid{display:grid!important;grid-template-columns:1fr!important;gap:0!important}
.kb-site .mc-search-shell[data-catalog-view="price"] .mc-card.mc-search-card{display:grid!important;grid-template-columns:70px minmax(0,1fr) 132px 150px!important;grid-template-areas:"cover title price action" "cover meta price action"!important;gap:6px 18px!important;align-items:center!important;height:auto!important;min-height:108px!important;padding:12px 0!important;border:0!important;border-bottom:1px solid #eee8f2!important;border-radius:0!important;background:#fff!important}
.kb-site .mc-search-shell[data-catalog-view="price"] .mc-search-card .mc-card__body,.kb-site .mc-search-shell[data-catalog-view="price"] .mc-search-card .mc-card__footer{display:contents!important}
.kb-site .mc-search-shell[data-catalog-view="price"] .mc-search-card .mc-media{grid-area:cover!important;padding:0!important;width:66px!important;height:88px!important}
.kb-site .mc-search-shell[data-catalog-view="price"] .mc-search-card .mc-card__thumb{width:66px!important;height:88px!important;aspect-ratio:auto!important;padding:0!important;margin:0!important}
.kb-site .mc-search-shell[data-catalog-view="price"] .mc-search-card .mc-card__thumb>img{width:100%!important;height:100%!important;object-fit:contain!important}
.kb-site .mc-search-shell[data-catalog-view="price"] .mc-search-card .mc-card__title{grid-area:title!important;align-self:end!important;min-height:0!important;max-height:42px!important;font-size:15px!important;line-height:21px!important;margin:0!important}
.kb-site .mc-search-shell[data-catalog-view="price"] .mc-search-card .mc-card__cat{grid-area:meta!important;align-self:start!important;display:block!important;font-size:12px!important;margin:0!important}
.kb-site .mc-search-shell[data-catalog-view="price"] .mc-search-card .mc-card__price{grid-area:price!important;font-size:20px!important;font-weight:600!important;align-self:center!important;text-align:right!important;white-space:nowrap!important;margin:0!important}
.kb-site .mc-search-shell[data-catalog-view="price"] .mc-search-card .mc-card__actions{grid-area:action!important;width:150px!important;align-self:center!important;margin:0!important}
.kb-site .mc-search-shell[data-catalog-view="price"] .mc-search-card .mc-favbtn,.kb-site .mc-search-shell[data-catalog-view="price"] .mc-search-card .mc-card__badges{display:none!important}
/* Product article label and value occupy the same columns as other facts. */
.kb-site .kb-product .params-cols__tr.mc-article-row{display:grid!important;grid-template-columns:110px minmax(0,1fr)!important;align-items:center!important;justify-content:normal!important}
.kb-site .kb-product .mc-article-row .params-cols__param{grid-column:1!important;justify-self:start!important;text-align:left!important;flex:none!important}
.kb-site .kb-product .mc-article-value{grid-column:2!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;flex-wrap:wrap!important;text-align:left!important;width:auto!important;min-width:0!important}
.kb-site .kb-course-jumps>a{display:inline-flex;align-items:center;gap:7px;padding:6px 0;color:#776281;line-height:20px}
.kb-site .kb-course-jumps>a:hover{color:#a13ae1}
.kb-site .kb-course-jumps svg{width:18px;height:18px;flex:0 0 18px;color:#a13ae1}
/* Remove native colored header backgrounds and the category scrollbar stripe. */
.kb-site .mc-lite-filter__head{background:transparent!important;padding:0!important;border:0!important;box-shadow:none!important}
.kb-site .mc-lite-filter__head h3{color:#302736!important}
.kb-site .mc-lite-filter__close{background:#f4f2f7!important;color:#887990!important}
.kb-site .kb-category-strip{scrollbar-width:none!important}
.kb-site .kb-category-strip::-webkit-scrollbar{display:none!important;height:0!important}
@media(max-width:1500px){.kb-site .mc-search-shell[data-catalog-view="grid"] .mc-search-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:1250px){.kb-site .mc-search-shell[data-catalog-view="grid"] .mc-search-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.kb-site .kb-product .params-cols__tr.mc-article-row{grid-template-columns:1fr!important;gap:3px!important}.kb-site .kb-product .mc-article-value{grid-column:1!important}}
@media(max-width:1024px){
.kb-site .header__info-wr .modal-login,.kb-site .header__info-wr .header-user{flex:0 0 30px!important;width:30px!important;min-width:0!important;height:36px!important;position:relative!important;margin:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important}
.kb-site .header__info-wr .modal-login>a,.kb-site .header__info-wr .header-user>a{display:flex!important;align-items:center!important;justify-content:center!important;position:static!important;inset:auto!important;transform:none!important;min-width:0!important;width:30px!important;height:36px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.kb-site .header__info-wr .modal-login>a i,.kb-site .header__info-wr .header-user>a i{position:static!important;transform:none!important;margin:0!important;font-size:23px!important;line-height:1!important;color:#fff!important}
.kb-site .header__info-wr{gap:3px!important;flex-wrap:nowrap!important;min-width:0!important}
.kb-site .kb-product .params-cols__tr.mc-article-row{grid-template-columns:110px minmax(0,1fr)!important;gap:10px!important}.kb-site .kb-product .mc-article-value{grid-column:2!important}
.kb-site .mc-search-shell[data-catalog-view="price"] .mc-card.mc-search-card{grid-template-columns:66px minmax(0,1fr) 106px 126px!important;gap:5px 12px!important}.kb-site .mc-search-shell[data-catalog-view="price"] .mc-search-card .mc-card__actions{width:126px!important}
}
@media(max-width:760px){
.kb-site .mc-search-shell[data-catalog-view="grid"] .mc-search-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px 14px!important}
.kb-site .mc-search-shell[data-catalog-view="price"] .mc-card.mc-search-card{grid-template-columns:54px minmax(0,1fr) 106px!important;grid-template-areas:"cover title price" "cover meta action"!important;gap:5px 10px!important;min-height:92px!important;padding:10px 0!important}
.kb-site .mc-search-shell[data-catalog-view="price"] .mc-search-card .mc-media,.kb-site .mc-search-shell[data-catalog-view="price"] .mc-search-card .mc-card__thumb{width:54px!important;height:72px!important}
.kb-site .mc-search-shell[data-catalog-view="price"] .mc-search-card .mc-card__title{font-size:13px!important;line-height:18px!important;max-height:36px!important}
.kb-site .mc-search-shell[data-catalog-view="price"] .mc-search-card .mc-card__price{font-size:18px!important;align-self:end!important}
.kb-site .mc-search-shell[data-catalog-view="price"] .mc-search-card .mc-card__actions{width:106px!important;align-self:start!important}.kb-site .mc-search-shell[data-catalog-view="price"] .mc-search-card .mc-btn{font-size:12px!important;min-height:32px!important;padding:7px 5px!important}
}
@media(max-width:560px){.kb-site .mc-search-shell[data-catalog-view="grid"] .mc-search-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 12px!important}.kb-site .mc-search-shell[data-catalog-view="grid"] .mc-search-card .mc-card__title{font-size:13px!important;line-height:18px!important;min-height:36px!important;max-height:36px!important}.kb-site .mc-card .mc-card__price,.kb-site .mc-catalog-shell .mc-card .mc-card__price,.kb-site .mc-search-shell[data-catalog-view="grid"] .mc-search-card .mc-card__price{font-size:18px!important}.kb-site .kb-product .params-cols__tr.mc-article-row{grid-template-columns:100px minmax(0,1fr)!important}.kb-site .kb-course-jumps{gap:8px 15px!important}.kb-site .kb-course-jumps>a{font-size:12px}}
@media(max-width:360px){.kb-site .header__logo,.kb-site .header__logo img{width:116px!important}.kb-site .header__info-wr{gap:0!important}.kb-site .header__top>.wrapper{column-gap:5px!important}}
.kb-site .kb-product .mc-article-row .params-cols__param,.kb-site .kb-product .mc-article-value{grid-row:1!important}
@media(min-width:1025px) and (max-width:1250px){.kb-site .kb-product .mc-article-value{grid-row:2!important}}
