@media(min-width:971px){
html body .wrapper.ts-bg-ready{position:relative;isolation:isolate;background-image:url('/assets/components/topsword/background164/landscape.png')!important;background-size:100% auto!important;background-position:center var(--landscape-y,-38px)!important;}
.ts-bg-group{position:absolute;pointer-events:none;width:960px;height:1702px;z-index:-2;top:var(--group-y);background-image:url('/assets/components/topsword/background164/landscape.png');background-size:1920px 1702px;background-repeat:no-repeat;}
.ts-bg-left{left:var(--left-x);background-position:left top;mask-image:linear-gradient(to right,transparent,black 12%,black 76%,transparent);}
.ts-bg-right{left:var(--right-x);background-position:right top;mask-image:linear-gradient(to right,transparent,black 15%,black 86%,transparent);}
.ts-bg-figure{position:absolute;pointer-events:none;z-index:-1;background-size:contain;background-repeat:no-repeat;}
.ts-bg-knight{left:var(--knight-x);top:var(--knight-y);width:351.085714px;height:634.514286px;background-image:url('/assets/components/topsword/background164/knight.png');}
.ts-bg-samurai{left:var(--samurai-x);top:var(--samurai-y);width:384px;height:560.457143px;background-image:url('/assets/components/topsword/background164/samurai.png');}
}@media(max-width:970px){.ts-bg-group,.ts-bg-figure{display:none;}}

/* 166: intact landscape; no duplicate scenery layers. */
@media(min-width:971px){.ts-bg-group{display:none;} }

/* Desktop only: centered content with equal proportional side margins. */
@media(min-width:971px){
html body .wrapper main.page,html body .wrapper .menu-header__container,html body .wrapper .body-header__container,html body .wrapper .footer__container{width:69%;max-width:none;margin-left:auto;margin-right:auto;box-sizing:border-box;}
html body .wrapper main.page .content,html body .wrapper main.page [class*="__container"]{width:100%;max-width:none;box-sizing:border-box;}
}
@media(min-width:971px){html body .wrapper .knife__container{background-size:cover;}}
/* Keep the catalogue action at the banner's right inset as its width changes. */
@media(min-width:971px){
  html body .wrapper .container-knife__content{padding-right:5%;box-sizing:border-box;}
  html body .wrapper .container-knife__buttom{margin-left:auto;flex-shrink:0;}
}
@media(min-width:971px){
  #msProduct .product_row_images{height:auto;min-height:325px;align-items:stretch;}
  #msProduct .product_row_images_main{min-width:0;}
  #msProduct .product_row_images_main>a{display:block;aspect-ratio:auto;}
  #msProduct .product_row_images_main>a>img{display:block;width:100%;max-width:none;height:auto;object-fit:contain;}
  .content__conteiner:has(>.product-item-holder){display:grid;grid-template-columns:repeat(auto-fill,290px);gap:30px 20px;justify-content:center;}
  .content__conteiner>.product-item-holder .product-item{max-width:none;width:100%;}
  .content__conteiner>.product-item-holder .image__catalog{width:100%;}
  .content__conteiner>.product-item-holder .image__catalog img{display:block;width:100%;height:147px;aspect-ratio:auto;object-fit:cover;}
  .ant-carousel{max-width:none;width:100%;min-width:0;}
  .content__conteiner_over{width:100%;height:auto;min-width:0;display:block;overflow:visible;}
  .ts-desktop-carousel .ant-carousel-list{gap:var(--ts-card-gap,30px);margin-left:0!important;transition:none!important;}
  .ts-desktop-carousel .ant-carousel-hider{overflow-x:auto;scrollbar-width:none;scroll-snap-type:x mandatory;}
  .ts-desktop-carousel .ant-carousel-hider::-webkit-scrollbar{display:none;}
  .ts-desktop-carousel .ant-carousel-element{width:var(--ts-card-width);scroll-snap-align:start;}
  .ts-desktop-carousel .product-item,.ts-desktop-carousel .post_news{width:100%;max-width:none;}
  .ts-desktop-carousel .image__catalog{width:100%;}
  .ts-desktop-carousel .image__catalog img{display:block;width:100%;height:147px;aspect-ratio:auto;object-fit:cover;}
  .ts-desktop-carousel .image_post img{width:100%;height:auto;aspect-ratio:399/222;object-fit:cover;}
  .content__conteiner_book_over,.content__conteiner_book{display:grid;width:100%;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:30px;}
  .content__conteiner_book_over .product-item_book_home,.content__conteiner_book .product-item_book{width:100%;max-width:none;}
  .content__conteiner_book_over img,.content__conteiner_book .product-item_book img{max-width:100%;object-fit:contain;}
  .ts-desktop-carousel .prices__catalog,.content__conteiner>.product-item-holder .prices__catalog{justify-content:space-between;gap:12px;flex-wrap:wrap;}
  :is(.ts-desktop-carousel,.content__conteiner) .product-item>.ms2_form{display:grid;grid-template-columns:minmax(0,1fr);}
  :is(.ts-desktop-carousel,.content__conteiner) .product-item .image__catalog{grid-area:1/1;}
  :is(.ts-desktop-carousel,.content__conteiner) .product-item .body__catalog{grid-area:2/1;}
  :is(.ts-desktop-carousel,.content__conteiner) .product-item .ribbons{grid-area:1/1;position:relative;z-index:2;pointer-events:none;}
  :is(.ts-desktop-carousel,.content__conteiner) .product-item .ribbon__new{position:absolute;left:15px;bottom:12px;}
  :is(.ts-desktop-carousel,.content__conteiner) .product-item .ribbon__new img{position:static;margin:0;height:auto;display:block;}
  :is(.ts-desktop-carousel,.content__conteiner) .product-item .btn-add-to-wishlist{inset:12px 12px auto auto;margin:0;pointer-events:auto;}
}
/* 168: size inner content and reserve space for carousel controls. */
@media(min-width:971px){
  .container-news__conteneveru{height:auto;padding:50px 75px 30px;min-width:0;box-sizing:border-box;}
  .ts-desktop-carousel{display:block;padding-bottom:20px;}
  .ts-desktop-carousel .ts-carousel-controls{display:flex;justify-content:center;align-items:center;gap:30px;margin-top:30px;}
  .ts-desktop-carousel .ant-carousel-hider{grid-column:1/-1;grid-row:1;min-width:0;width:100%;}
  .ts-desktop-carousel .ant-carousel-list{margin-bottom:0;}
  .ts-desktop-carousel .ant-carousel-arrow-left,.ts-desktop-carousel .ant-carousel-arrow-right,.ts-desktop-carousel .ant-carousel-dots{position:static;width:auto;left:auto;right:auto;top:auto;bottom:auto;}
  .ts-desktop-carousel .ant-carousel-arrow-left{grid-column:1;grid-row:2;width:22px;}
  .ts-desktop-carousel .ant-carousel-arrow-right{grid-column:3;grid-row:2;width:22px;}
  .ts-desktop-carousel .ant-carousel-dots{grid-column:2;grid-row:2;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;row-gap:12px;}
  .content__conteiner:has(.product-item_category){grid-template-columns:repeat(auto-fill,minmax(min(100%,380px),1fr));align-items:start;}
  .product-item_category,.product-item_category .ms2_form{position:relative;min-width:0;width:100%;height:auto;}
  .product-item_category .ms2_form{aspect-ratio:403/400;background:#f0f1f3;}
  .product-item_category .image__catalog_category,.product-item_category .image__info_not_search{width:100%;height:100%;position:absolute;inset:0;}
  .product-item_category .image__catalog_category img,.product-item_category .image__info_not_search img{display:block;width:100%;height:100%;object-fit:fill;}
  .product-item_category .image__catalog_category>a{display:block;height:100%;}
  .product-item_category .body__catalog_category{position:absolute;inset:66.5% 10.5% auto;margin:0;z-index:1;}
  .product-item_category .name__catalog_category{width:auto;display:flex;align-items:center;gap:15px;}
  .product-item_category .title__catalog_category{height:auto;width:auto;flex:1;min-width:0;}
  .product-item_category .check-button_category{float:none;margin:0;flex-shrink:0;position:relative;z-index:2;}
  .product-item_category .check-button_category a{display:block;}
  .product-item_category .ms2_form:has(.body__info_not_search){background:white;}
  .product-item_category .body__info_not_search{position:absolute;inset:46% 6% auto;margin:0;z-index:1;}
  .product-item_category .name__info_not_search{width:auto;}
  .product-item_category .image__info_not_search{pointer-events:none;}
}

/* 170: use the available width for fixed-size product cards. */
@media(min-width:971px){
  .conteiner__content:has(.ts-desktop-carousel .product-item),
  .conteiner__content:has(.content__conteiner>.product-item-holder .product-item){padding-left:50px;padding-right:50px;}
  .tabs:has(.ts-desktop-carousel .product-item){padding-right:0;}
}
