/* BOMONTI: mobile presentation only; 2026-11-07 */
@media screen and (max-width: 640px) {
  /* Readable existing product descriptions, including separate product pages. */
  #allrecords .t-store__prod-popup__text,
  #allrecords .js-store-prod-all-text,
  #allrecords .js-store-prod-all-text p,
  #allrecords .js-store-prod-all-text div,
  #allrecords .js-store-prod-all-text span {
    font-size:15px!important; line-height:1.6!important; font-weight:400!important;
  }
  #allrecords .js-store-prod-all-text strong {font-weight:600!important;}
  #allrecords .js-store-prod-all-text h2 {font-size:19px!important;line-height:1.35!important;margin:26px 0 12px!important;}
  #allrecords .t-store__prod-popup__title {font-size:25px!important;line-height:1.25!important;overflow-wrap:normal;word-break:normal;}
  #allrecords .t-store__prod-popup__text {margin-top:24px!important;}

  /* Same fabric tabs, denser two-column layout. */
  #allrecords .bomonti-catalog-tabs .t-store__tabs__controls {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;
  }
  #allrecords .bomonti-catalog-tabs .t-store__tabs__button {
    width:100%!important;min-width:0!important;margin:0!important;padding:11px 8px!important;
    min-height:60px;display:flex;align-items:center;justify-content:center;
  }
  #allrecords .bomonti-catalog-tabs .t-store__tabs__button[data-tab-title="2х нитка 240 г/м²"] {grid-column:1 / -1;margin-left:0!important;min-height:46px;}
  #allrecords .bomonti-catalog-tabs .t-store__tabs__button-title {font-size:13px!important;line-height:1.4!important;text-align:center;white-space:normal!important;}
  #allrecords .bomonti-catalog-tabs .bd-material {padding:18px 16px!important;}
  #allrecords .bomonti-catalog-tabs .bd-material h2 {font-size:19px!important;line-height:1.35!important;margin:0 0 12px!important;}
  #allrecords .bomonti-catalog-tabs .bd-material-intro {font-size:15px!important;line-height:1.6!important;margin:0 0 16px!important;}
  #allrecords .bomonti-catalog-tabs .bd-material dl {gap:10px!important;}
  #allrecords .bomonti-catalog-tabs .bd-series table {font-size:15px!important;line-height:1.45!important;table-layout:fixed;width:100%!important;}
  #allrecords .bomonti-catalog-tabs .bd-series th,
  #allrecords .bomonti-catalog-tabs .bd-series td {padding:12px 10px!important;}
  #allrecords .bomonti-catalog-tabs .bd-series td {white-space:nowrap;}
  #allrecords .bomonti-catalog-tabs .bd-series thead th {font-size:13px!important;line-height:1.45!important;white-space:normal;}

  /* All existing category buttons remain visible; switching is unchanged. */
  #rec2388088291 .t1281__wrapper {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;overflow:visible!important;white-space:normal!important;}
  #rec2388088291 .t1281__item {width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;display:block!important;border:1px solid #222!important;box-sizing:border-box;}
  #rec2388088291 .t1281__item:after {display:none!important;}
  #rec2388088291 .t1281__item:last-child {grid-column:1 / -1;}
  #rec2388088291 .t1281__title {width:100%!important;height:100%!important;min-height:58px;padding:10px 8px!important;box-sizing:border-box;white-space:normal!important;}
  #rec2388088291 .t1281__title-text {font-size:13px!important;line-height:1.4!important;white-space:normal!important;}
  #rec2388088291 .t1281__item:last-child .t1281__title {min-height:44px;}

  /* Keep the existing two-column product grid. */
  #allrecords .t-store__card__title {font-size:14px!important;line-height:1.4!important;}
  #allrecords .t-store__card__descr {font-size:13px!important;line-height:1.5!important;font-weight:400!important;margin-top:8px!important;}
  #allrecords .t-store__card__price-wrapper {margin-top:12px!important;}
  #allrecords .t-store__card__textwrapper {padding-top:14px!important;}

  /* Repair the about cover's nested inline font and content clipping. */
  #rec2294080141 .t001__title,
  #rec2294080141 .t001__title * {font-size:clamp(23px,7.2vw,32px)!important;line-height:1.22!important;letter-spacing:0!important;word-break:normal!important;overflow-wrap:normal!important;}
  #rec2294080141 .t001__descr,
  #rec2294080141 .t001__descr * {font-size:16px!important;line-height:1.55!important;}
  #rec2294080141 .t-cover,
  #rec2294080141 .t-cover__wrapper {height:auto!important;min-height:0!important;}
  #rec2294080141 .t-cover__carrier,
  #rec2294080141 .t-cover__filter {height:100%!important;}
  #rec2294080141 .t001__wrapper {padding:96px 0 64px!important;}
  #rec2294080141 .t-cover > .t-container {position:relative!important;}
  #rec2294080141 .t001__title {margin:22px 0!important;}
  #rec2294080141 .t-cover__arrow {bottom:20px!important;}

  /* Compact existing first screens, without adding controls or changing copy. */
  #rec2284969461 .t-cover,
  #rec2289596031 .t-cover,
  #rec2288186241 .t-cover,
  #rec2289817911 .t-cover {height:auto!important;min-height:620px!important;min-height:78svh!important;}
  #rec2284969461 .t-cover__wrapper,
  #rec2289596031 .t-cover__wrapper,
  #rec2288186241 .t-cover__wrapper,
  #rec2289817911 .t-cover__wrapper {height:auto!important;min-height:620px!important;min-height:78svh!important;padding:96px 0 64px!important;box-sizing:border-box;display:flex!important;align-items:center;}
  #rec2284969461 .t-cover__carrier,#rec2284969461 .t-cover__filter,
  #rec2289596031 .t-cover__carrier,#rec2289596031 .t-cover__filter,
  #rec2288186241 .t-cover__carrier,#rec2288186241 .t-cover__filter,
  #rec2289817911 .t-cover__carrier,#rec2289817911 .t-cover__filter {height:100%!important;}
  #rec2284969461 .t-cover > .t-container,#rec2289596031 .t-cover > .t-container,
  #rec2288186241 .t-cover > .t-container,#rec2289817911 .t-cover > .t-container {position:relative!important;}
  #rec2284969461 .t-cover__wrapper,#rec2289596031 .t-cover__wrapper,
  #rec2288186241 .t-cover__wrapper,#rec2289817911 .t-cover__wrapper {width:100%!important;}
  #rec2284969461 .t001,#rec2289596031 .t001,
  #rec2288186241 .t001,#rec2289817911 .t001 {width:100%!important;min-width:0!important;}
  #rec2284969461 .t001__title,#rec2289596031 .t001__title,
  #rec2288186241 .t001__title,#rec2289817911 .t001__title,
  #rec2284969461 .t001__descr,#rec2289596031 .t001__descr,
  #rec2288186241 .t001__descr,#rec2289817911 .t001__descr {max-width:100%!important;box-sizing:border-box;word-break:normal!important;overflow-wrap:normal!important;}

  /* Secondary archive covers and the existing technical copy at narrow widths. */
  :is(#rec2285138391,#rec2289799041,#rec2294047331,#rec5527026201,#rec5527027201) .t-cover,
  :is(#rec2285138391,#rec2289799041,#rec2294047331,#rec5527026201,#rec5527027201) .t-cover__wrapper {height:auto!important;min-height:0!important;}
  :is(#rec2285138391,#rec2289799041,#rec2294047331,#rec5527026201,#rec5527027201) .t-cover > .t-container {position:relative!important;}
  :is(#rec2285138391,#rec2289799041,#rec2294047331,#rec5527026201,#rec5527027201) .t-cover__wrapper {width:100%!important;display:block!important;word-break:normal!important;}
  :is(#rec2285138391,#rec2289799041,#rec2294047331,#rec5527026201,#rec5527027201) .t-cover__carrier,
  :is(#rec2285138391,#rec2289799041,#rec2294047331,#rec5527026201,#rec5527027201) .t-cover__filter {height:100%!important;}
  :is(#rec2285138391,#rec2289799041,#rec2294047331,#rec5527026201,#rec5527027201) .t001__wrapper {padding:96px 0 64px!important;box-sizing:border-box;}
  :is(#rec2285138391,#rec2289799041,#rec2294047331,#rec5527026201,#rec5527027201) .t001__title,
  :is(#rec2285138391,#rec2289799041,#rec2294047331,#rec5527026201,#rec5527027201) .t001__title * {font-size:clamp(23px,7vw,30px)!important;line-height:1.3!important;word-break:normal!important;overflow-wrap:normal!important;}
  :is(#rec2285138391,#rec2289799041,#rec2294047331,#rec5527026201,#rec5527027201) .t001__descr,
  :is(#rec2285138391,#rec2289799041,#rec2294047331,#rec5527026201,#rec5527027201) .t001__descr * {font-size:16px!important;line-height:1.55!important;}

  /* Keep the native gallery; reduce thumbnail wrapping and excess height. */
  #allrecords .t-store__prod-popup__slider .t-slds__thumbsbullet-wrapper {display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start;gap:6px;padding:10px 0 6px!important;overflow-x:auto!important;overflow-y:hidden;max-width:100%;box-sizing:border-box;scrollbar-width:thin;}
  #allrecords .t-store__prod-popup__slider .t-slds__thumbsbullet {width:44px!important;height:44px!important;flex:0 0 44px;margin:0!important;}
  #allrecords .t-store__prod-popup__slider .t-slds__container .t-slds__bgimg {padding-bottom:88%!important;background-size:contain!important;background-repeat:no-repeat!important;}

  /* Form appearance only; preserve fields, rules, and submission behaviour. */
  #allrecords .t-popup textarea.t-input {height:110px!important;min-height:110px;resize:vertical;}
  #allrecords .t-popup .t-input-group {margin-bottom:18px!important;}
  #allrecords .t-popup .t-popup__close-wrapper {width:44px!important;height:44px!important;box-sizing:border-box;top:8px!important;right:8px!important;padding:10px!important;display:flex;align-items:center;justify-content:center;}

  /* Existing footer: stronger text, tighter rhythm, unchanged links and order. */
  #rec1802094991 {padding-top:36px!important;padding-bottom:24px!important;}
  #rec1802094991 .t420__col {margin-bottom:20px!important;}
  #rec1802094991 .t420__title {margin-bottom:8px!important;}
  #rec1802094991 .t420__descr,
  #rec1802094991 .t420__descr span,
  #rec1802094991 .t420__descr a {font-size:14px!important;line-height:1.5!important;font-weight:400!important;}
  #rec1802094991 .t420__descr ul {margin:0!important;}
  #rec1802094991 .t420__descr li {margin:0!important;}
  #rec1802094991 .t420__descr li:empty {display:none;}
  #rec1802094991 .t420__descr a {display:inline-block;padding:5px 0;}
  #rec1802094991 .t420__text {margin-top:16px!important;font-size:12px!important;line-height:1.5!important;}
}
@media screen and (max-width:960px) {
  #rec2298161041 .t-menu-burger {min-width:44px!important;min-height:44px!important;width:44px!important;height:44px!important;display:flex;align-items:center;justify-content:center;margin-right:-11px!important;}
  #rec2298161041 .tmenu-mobile__container {height:64px!important;min-height:64px!important;padding-top:10px!important;padding-bottom:10px!important;}
  #rec2298161041 .t-menu-base__list-item a {display:block!important;padding:12px 8px!important;line-height:1.4!important;}
  #rec2298161041 .t-menu__link-item {display:block!important;padding:12px 8px!important;line-height:1.4!important;}
  #rec2298161041 .t-menu-base__list .t-menu__link-item {display:flex!important;width:100%!important;box-sizing:border-box;min-height:44px;align-items:center;}
  #rec2298161041 .t-menu-base__list-item {margin:0!important;}
  #rec2298161041 .t-sociallinks__item a {min-width:44px;min-height:44px;display:inline-flex!important;align-items:center;justify-content:center;}
}


/* BOMONTI — existing photo/gallery presentation, 2026-11-10 */
/* A square, white canvas for existing product images. */
#allrecords .t-store__prod-popup__slider .t-slds__container {background-color:#fff!important;}
#allrecords .t-store__prod-popup__slider .t-slds__container .t-slds__bgimg {
  padding-bottom:100%!important;background-size:contain!important;
  background-position:center center!important;background-repeat:no-repeat!important;background-color:#fff!important;
}
@media(max-width:360px) {
  #allrecords .t-store__card__descr {min-height:120px!important;}
}
/* Existing branding photos use a consistent landscape canvas, with no crop. */
#allrecords #rec2289823911 .t-store__prod-popup__slider .t-slds__container .t-slds__bgimg {padding-bottom:56.25%!important;}

/* Align thumbnail strips with the photo, retaining the native controls. */
#allrecords .t-store__prod-popup__slider .t-slds__thumbsbullet-wrapper {
  display:flex!important;flex-wrap:wrap!important;gap:6px!important;
  width:100%!important;max-width:100%!important;box-sizing:border-box;
  margin:0!important;padding:12px 0 4px!important;justify-content:flex-start!important;
}
#allrecords .t-store__prod-popup__slider .t-slds__thumbsbullet {
  width:54px!important;height:54px!important;flex:0 0 54px!important;margin:0!important;
}
#allrecords .t-store__prod-popup__slider .t-slds__thumbsbullet-border {box-sizing:border-box;}
#allrecords .t-store__prod-popup__slider .t-slds__bullet_active .t-slds__thumbsbullet-border {border:2px solid #111!important;}
#allrecords .t-store__prod-popup__slider .t-slds__arrow {
  width:36px!important;height:36px!important;box-sizing:border-box;
  background-color:rgba(255,255,255,.96)!important;border:1px solid #b8b8b8!important;
  box-shadow:0 1px 5px rgba(0,0,0,.12);border-radius:50%;
}
#allrecords .t-store__prod-popup__slider .t-slds__arrow svg polyline {stroke:#222!important;stroke-width:1.5!important;}
#allrecords .t-store__prod-popup__slider .t-slds__arrow:focus-visible {outline:2px solid #111;outline-offset:3px;}

/* Preserve the full square source in the seven existing archive previews. */
#allrecords .t-feed__post-imgwrapper {aspect-ratio:1 / 1!important;}
#allrecords .t-feed__post-bgimg {background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;background-color:#f7f7f7;}

/* Compact the existing home slider and keep copy readable over each frame. */
#rec2285021401 .t675 {height:auto!important;min-height:0!important;}
#rec2285021401 .t-slds__wrapper.t-slds__bgimg {height:clamp(520px,70vh,720px)!important;background-position:center 44%!important;}
#rec2285021401 .t675__wrapper {background-image:linear-gradient(to bottom,rgba(0,0,0,.02) 20%,rgba(0,0,0,.52) 56%,rgba(0,0,0,.94) 100%)!important;}
#rec2285021401 .t675__title {font-size:20px!important;line-height:1.35!important;}
#rec2285021401 .t675__descr {font-size:16px!important;line-height:1.55!important;color:#fff!important;opacity:1!important;}
#rec2285021401 .t675__textwrapper {max-width:920px;margin-left:auto!important;margin-right:auto!important;float:none;}
#rec2284979261 .t-section__container {margin-bottom:48px!important;}
#rec2284979261 .t-section__descr {margin-bottom:0!important;}

/* A stable text baseline under existing catalogue photos, without truncation. */
#allrecords .t-store__card__title {min-height:40px;}
#allrecords .t-store__card__descr {min-height:66px;}
#allrecords .t-store__card__price-wrapper {margin-top:12px!important;}
/* Short stock captions and service cards keep their compact native rhythm. */
#allrecords .t-store__card[data-product-uid="521463542472"] .t-store__card__descr,
#allrecords .t-store__card[data-product-uid="456802089182"] .t-store__card__descr {min-height:60px!important;}
#allrecords .t-store__card[data-product-uid="521463542472"] .t-store__card__imgwrapper,
#allrecords .t-store__card[data-product-uid="456802089182"] .t-store__card__imgwrapper {padding-bottom:100%!important;}
#allrecords .t-store__card[data-product-uid="521463542472"] .t-store__card__bgimg,
#allrecords .t-store__card[data-product-uid="456802089182"] .t-store__card__bgimg {background-size:contain!important;background-color:#fff!important;}
#allrecords #rec2289823911 .t-store__card__title,
#allrecords #rec2289823911 .t-store__card__descr {min-height:0!important;}
#allrecords #rec2289823911 .t-store__card__imgwrapper {padding-bottom:56.25%!important;}
#allrecords #rec2289823911 .t-store__card__bgimg {background-size:contain!important;background-repeat:no-repeat!important;background-color:#fff!important;}

@media(max-width:640px) {
  #allrecords .t-store__prod-popup__slider .t-slds__thumbsbullet-wrapper {
    flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;
    scrollbar-width:none!important;-ms-overflow-style:none;
  }
  #allrecords .t-store__prod-popup__slider .t-slds__thumbsbullet-wrapper::-webkit-scrollbar {display:none;width:0;height:0;}
  #allrecords .t-store__prod-popup__slider .t-slds__thumbsbullet {width:44px!important;height:44px!important;flex-basis:44px!important;}
  #allrecords .t-store__card__title {min-height:40px;}
  #allrecords .t-store__card__descr {min-height:100px;}
  #rec2285021401 .t-slds__wrapper.t-slds__bgimg {height:560px!important;}
  #rec2285021401 .t675__textwrapper {margin-bottom:60px!important;}
  #rec2285021401 .t675__title {font-size:18px!important;line-height:1.4!important;}
  #rec2285021401 .t675__descr {font-size:15px!important;line-height:1.6!important;}
  #rec2284979261 .t-section__container {margin-bottom:32px!important;}
}

/* BOMONTI: uniform square catalogue photos without frames, 2026-11-10. */
#allrecords .t-store__card__imgwrapper,
#allrecords #rec2289823911 .t-store__card__imgwrapper,
#allrecords .t-store__card[data-product-uid] .t-store__card__imgwrapper {
  padding-bottom:100%!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
#allrecords .t-store__card__bgimg,
#allrecords #rec2289823911 .t-store__card__bgimg,
#allrecords .t-store__card[data-product-uid] .t-store__card__bgimg {
  background-size:cover!important;background-position:center center!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
}
#allrecords .t-store__prod-popup__slider .t-slds__container,
#allrecords .t-store__prod-popup__slider .t-slds__bgimg {
  border:0!important;border-radius:0!important;box-shadow:none!important;
}
#allrecords .t-store__prod-popup__slider .t-slds__container .t-slds__bgimg,
#allrecords #rec2289823911 .t-store__prod-popup__slider .t-slds__container .t-slds__bgimg {
  padding-bottom:100%!important;background-size:cover!important;background-position:center center!important;
}
#allrecords .t-store__prod-popup__slider .t-slds__thumbsbullet,
#allrecords .t-store__prod-popup__slider .t-slds__thumbsbullet-wrapper {
  border:0!important;border-radius:0!important;box-shadow:none!important;
}
#allrecords .t-store__prod-popup__slider .t-slds__thumbsbullet-border {
  display:none!important;border:0!important;box-shadow:none!important;
}

/* Fit the existing portrait in the home gallery on desktop only. */
@media(min-width:961px){
 #rec2285021401 .t-slds__wrapper.t-slds__bgimg[data-original*="Frame_9567.png"]{background-size:auto 100%!important;background-position:center top!important;background-repeat:no-repeat!important;background-color:#eeede9!important;}
}

/* Feather portrait edges into the existing gallery background. */
@media(min-width:961px){
 #rec2285021401 .t-slds__wrapper.t-slds__bgimg[data-original*="Frame_9567.png"]{position:relative;--portrait-height:clamp(520px,70vh,720px);}
 #rec2285021401 .t-slds__wrapper.t-slds__bgimg[data-original*="Frame_9567.png"]:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(to right,#eeede9 0,#eeede9 calc(50% - var(--portrait-height)/2 + 5px),transparent calc(50% - var(--portrait-height)/2 + 110px),transparent calc(50% + var(--portrait-height)/2 - 110px),#eeede9 calc(50% + var(--portrait-height)/2 - 5px),#eeede9 100%);}
}
