/* Final mobile layer: readable catalogue, reachable purchase, one fixed bottom bar. */
.mobile-cartbar{display:none}
.mobile-buybar[hidden],.mobile-cartbar[hidden]{display:none!important}
@media(max-width:1180px){
  :root{--mobile-nav-height:64px;--nav-height:108px}
  html{scroll-padding-top:124px;scroll-padding-bottom:90px}
  .site-header .header-main{padding:6px 0 8px;gap:4px 10px}
  .site-header .search{height:44px;border:1px solid var(--line);border-radius:10px;background:var(--pale)}
  .site-header .search input{font-size:16px}
  .mobile-official{min-height:32px;font-size:12px;gap:6px}
  .mobile-official img{width:65px;height:23px}
  .mobile-bottom-nav>a,.mobile-bottom-nav>button{font-size:12px;font-weight:400;line-height:1.25}
  .mobile-bottom-nav [aria-current="page"]{color:var(--orange);background:transparent;font-weight:500}
  .mobile-bottom-nav .counter,.mobile-buybar .counter{font-size:11px}
  .mobile-menu .dialog-head{position:sticky;top:-20px;background:var(--white);z-index:2;padding:4px 0 12px}
  .mobile-menu-nav a{font-size:16px;min-height:48px}
  .dialog-head>button{display:grid;place-items:center;width:44px;height:44px;flex:none;font-size:24px;border-radius:10px}
  .dialog-head>button:active{background:var(--pale)}
  .mobile-filter-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}
  .mobile-filter-dialog .dialog-head{position:static;padding:10px 16px}
  .mobile-filter-dialog .catalog-sidebar{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:0 0 12px}
  .mobile-filter-dialog .catalog-filters{padding:0 16px}
  .mobile-filter-dialog .catalog-filters .facet>summary{font-size:15px;min-height:52px}
  .mobile-filter-dialog .catalog-filters .facet-option>span{font-size:15px}
  .mobile-filter-dialog .filter-title>a{font-size:15px;min-height:44px}
  .mobile-filter-dialog .facet-body .facet-equipment{color:var(--ink)}
  .mobile-filter-footer{position:static;padding:10px 16px calc(10px + env(safe-area-inset-bottom))}
  .mobile-filter-footer .button{min-height:48px;font-size:15px}
  .mobile-filter-button .filter-selected-count{min-width:20px;height:20px;font-size:12px}
  .catalog-main .catalog-toolbar{position:sticky;top:108px;z-index:20;flex-wrap:nowrap;gap:10px;padding:10px 0;background:var(--pale);border-radius:0;margin-bottom:14px}
  .catalog-main #catalog-count{display:none}
  .catalog-main .mobile-filter-button{flex:none;min-height:46px;padding:10px 12px;background:var(--white);font-size:15px;border-color:var(--line)}
  .catalog-main .catalog-sort{flex:1;min-width:0;margin:0}
  .catalog-main .catalog-toolbar select{width:100%;max-width:none;min-height:46px;font-size:16px;border-radius:8px;background:var(--white)}
  .catalog-sort-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .catalog-main .catalog-view{display:none}
  .catalog-main .catalog-card-cart{width:46px;height:46px}
  .catalog-main .catalog-card-actions .catalog-card-buy{min-height:46px;font-size:15px;padding:10px 14px}
  .catalog-main .catalog-card-footer .catalog-stock{font-family:var(--font-body);font-size:13px}
  .catalog-main .product-card__title,.catalog-main .is-list .product-card__title{display:block;-webkit-line-clamp:unset;max-height:none;overflow:visible;line-height:1.4;font-size:15px;font-weight:500;overflow-wrap:break-word}
  .catalog-main .catalog-card .product-card__sku{font-size:11px}
  .catalog-main .catalog-picture,.catalog-main .is-list .catalog-picture{margin:0}
  .catalog-main .catalog-card,.catalog-main .is-list .catalog-card{padding:0}
  .catalog-main .catalog-card-purchase{border-top:0}
  .catalog-main .catalog-quick-links{gap:8px;scrollbar-width:thin}
  .catalog-main .catalog-quick-links a{font-size:14px;min-height:44px}
  .catalog-main .tj-pagination{gap:5px;justify-content:center}
  .catalog-main .tj-pagination a,.catalog-main .tj-pagination span{min-width:40px;min-height:44px}
  .mobile-buybar,.mobile-cartbar{position:fixed;inset:auto 0 0;z-index:42;display:flex;align-items:center;gap:10px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:var(--white);border-top:1px solid var(--line);box-shadow:0 -3px 16px #24282c08}
  .mobile-buybar>div,.mobile-cartbar>div{display:flex;flex:1;flex-direction:column;min-width:0;gap:3px}
  .mobile-buybar small,.mobile-cartbar small{font:400 12px/1.3 var(--font-body);color:var(--muted)}
  #mobile-product-price,.mobile-cartbar strong{font:500 19px/1.3 var(--font-display);white-space:nowrap}
  .mobile-buybar .button,.mobile-cartbar .button{min-height:48px;min-width:0;font-size:15px;padding:10px 14px;white-space:nowrap}
  .mobile-buybar-cart{display:grid;place-items:center;position:relative;width:44px;min-height:48px;border-radius:10px;color:var(--ink);background:var(--pale);flex:none}
  .mobile-buybar-cart .icon{width:23px;height:23px}
  .mobile-buybar-cart .counter{top:-1px;right:-3px}
  body:has(.mobile-buybar:not([hidden])) .mobile-bottom-nav,body:has(.mobile-cartbar:not([hidden])) .mobile-bottom-nav{display:none}
  body:has(.mobile-buybar:not([hidden])),body:has(.mobile-cartbar:not([hidden])){padding-bottom:calc(80px + env(safe-area-inset-bottom))}
  body.mobile-input-active .mobile-bottom-nav,body.mobile-input-active .mobile-buybar,body.mobile-input-active .mobile-cartbar{display:none}
  .mobile-buybar .button:disabled{opacity:.6;cursor:wait}
  .tj-status{bottom:calc(88px + env(safe-area-inset-bottom));font-size:14px;line-height:1.5;z-index:50}
  .checkout-layout{grid-template-columns:minmax(0,1fr);gap:20px}
  .checkout-summary{position:static}
  .checkout-main input,.checkout-main textarea{scroll-margin-top:126px;scroll-margin-bottom:100px}
  .checkout-field input,.checkout-field textarea{font-size:16px;min-height:48px}
  .checkout-field label,.checkout-choice strong{font-size:15px}
  .checkout-choice{min-height:70px}
  .checkout-consent{font-size:14px;line-height:1.55;padding:8px 0}
  .checkout-consent input,.checkout-choice input{width:20px;height:20px}
  .checkout-next{min-height:50px;font-size:16px}
  .checkout-fineprint,.checkout-section-note{font-size:14px;line-height:1.5}
  .checkout-field-error{font-size:13px}
  .checkout-field-error[hidden]{display:none}
  body[data-tj-route="checkout/index"] .mobile-bottom-nav,body[data-tj-route="checkout/index"]>.mobile-official,body[data-tj-route="checkout/index"]>footer{display:none}
  body[data-tj-route="checkout/index"] .header-main .search{display:none}
  body[data-tj-route="checkout/index"]{padding-bottom:env(safe-area-inset-bottom)}
  body[data-tj-route="checkout/index"] .checkout-main input,body[data-tj-route="checkout/index"] .checkout-main textarea{scroll-margin-top:80px}
  .cart-quantity{height:46px;width:134px}
  .cart-quantity button{width:44px;min-height:44px}
  .cart-quantity input{width:44px;font-size:16px}
  .cart-remove{width:44px;height:44px}
  .cart-item-name{font-size:15px;line-height:1.45}
  .cart-item-price strong{font-size:20px}
  .cart-help>a{min-height:44px;display:flex;align-items:center;font-size:15px}
  .footer-pages>a,.footer-main h3,.footer-contact .mail,.footer-contact .messenger-link{font-size:14px;line-height:1.5}
  .footer-main h3{font-size:15px}
  .information-lead,.information-text,.information-callout p{line-height:1.65}
}
@media(max-width:767px){
  .container{width:calc(100% - 32px)}
  .hero{margin-top:12px}
  .hero-copy{padding:22px 20px 14px}
  .hero .hero-copy h1{font-size:32px;line-height:1.1;margin:14px 0}
  .hero-copy .eyebrow{font-size:10px;letter-spacing:.04em}
  .hero-copy p{font-size:15px;line-height:1.55}
  .hero-actions{margin-top:16px;gap:0}
  .hero-actions .primary{min-height:48px}
  .hero-actions .text-button{display:none}
  .hero-visual{height:166px}
  .benefits{gap:18px 14px;padding:24px 0}
  .benefits strong{font-size:14px;line-height:1.45}
  .benefits span{font-size:12px;line-height:1.4}
  .section-heading h2,.optimus-heading h2,.help-section h2{font-size:25px;line-height:1.25}
  .category-grid{gap:10px}
  .category{min-height:132px;padding:16px 12px}
  .category strong{font-size:15px;hyphens:none;overflow-wrap:normal}
  .category>span:not(.category-icon){display:none}
  .novelties-grid,.product-grid,.pdp-related-grid{grid-auto-columns:78%;gap:12px}
  .novelties-grid>.catalog-card,.product-grid>.catalog-card{padding:14px;border-radius:14px;border:1px solid var(--line);background:var(--white)}
  .product-grid>.catalog-card .catalog-picture,.novelties-grid>.catalog-card .catalog-picture{height:160px}
  .product-grid>.catalog-card .catalog-picture img,.novelties-grid>.catalog-card .catalog-picture img{height:145px;max-width:100%;object-fit:contain}
  .novelties-grid .product-card__title,.product-grid .product-card__title{font-size:15px;max-height:none;-webkit-line-clamp:unset;display:block;line-height:1.4}
  .novelties-grid .catalog-card-buy,.product-grid .catalog-card-buy{min-height:46px}
  .novelties-grid .price,.product-grid .price{font-size:22px}
  .novelties-toolbar{flex-wrap:nowrap}
  .novelties-count{font-size:12px;white-space:nowrap}
  .slider-arrow{width:44px;height:44px}
  .presentation-link{font-size:14px}
  .catalog-main .breadcrumbs,.pdp-reference .breadcrumbs,.information-main .breadcrumbs,.finfire-main .breadcrumbs{padding:12px 0;gap:4px 6px;line-height:1.4;font-size:12px}
  .catalog-main .directory-heading h1,.catalog-main .catalog-page-heading h1,.information-main .information-heading h1,.finfire-heading h1{font-size:27px;line-height:1.2;text-wrap:wrap}
  .catalog-page-heading,.directory-heading{margin-bottom:12px}
  .catalog-main .breadcrumbs>[aria-current="page"],.catalog-main .breadcrumbs>span:has(+[aria-current="page"]){display:none}
  .catalog-page-heading p{font-size:13px;margin-top:8px}
  .catalog-main .directory-item h3{font-size:16px;line-height:1.4}
  .catalog-main .tj-directory{gap:10px}
  .catalog-main .directory-item>a{min-height:76px}
  .catalog-main .direction-subcategories a{font-size:15px;min-height:44px;display:flex;align-items:center}
  .catalog-main .directory-item{border-radius:12px}
  .pdp-reference .pdp-heading h1{font-size:25px;line-height:1.25;text-wrap:wrap}
  .pdp-reference .pdp-heading{gap:10px;margin-bottom:14px}
  .pdp-reference .pdp-heading-actions>button{font-size:14px;min-height:44px}
  .pdp-reference .pdp-image-button{min-height:240px;padding:36px 24px}
  .pdp-reference .pdp-image-button>img{height:180px}
  .pdp-reference .tj-photo-placeholder{min-height:240px}
  .pdp-reference .pdp-buybox{padding:18px 16px;box-shadow:none}
  .pdp-reference .pdp-price{font-size:28px}
  .pdp-reference .pdp-buy-row{gap:8px}
  .pdp-reference .pdp-buy-row>.button{min-height:52px;font-size:15px}
  .pdp-reference .pdp-invoice{font-size:14px;border-color:var(--line);min-height:46px}
  .pdp-reference .pdp-price-note{font-size:14px}
  .pdp-reference .pdp-highlights{grid-template-columns:1fr;gap:8px}
  .pdp-reference .pdp-highlight{display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:12px;row-gap:3px;min-height:0;padding:12px}
  .pdp-highlight-icon{grid-column:1;grid-row:1/3;margin:0;align-self:center}
  .pdp-reference .pdp-highlight strong{grid-column:2;font-family:var(--font-body);font-size:15px;line-height:1.4}
  .pdp-reference .pdp-highlight>span:last-child{grid-column:2;font-size:13px}
  .pdp-reference .pdp-key-specs dt,.pdp-reference .pdp-key-specs dd{font-size:14px;line-height:1.55}
  .pdp-reference .pdp-tabs,.finfire-tabs{display:flex;flex-wrap:wrap;gap:4px;padding:4px;background:var(--white);border:1px solid var(--line);border-radius:12px;overflow:visible}
  .pdp-reference .pdp-tabs button,.finfire-tabs button{flex:1 1 45%;padding:10px 8px;min-width:0;min-height:46px;white-space:normal;font-size:14px;line-height:1.4;border:0;border-radius:8px}
  .pdp-reference .pdp-tabs button[aria-selected=true],.finfire-tabs button[aria-selected=true]{background:var(--warm);color:var(--orange)}
  .pdp-reference .pdp-tabs button:after,.finfire-tabs button:after{display:none}
  .pdp-reference .pdp-full-specs>div{grid-template-columns:1fr;gap:4px;padding:12px 14px}
  .pdp-reference .pdp-full-specs dt{font-size:13px}
  .pdp-reference .pdp-full-specs dd{font-size:15px;font-weight:400;line-height:1.5;text-align:left}
  .pdp-reference .pdp-tab-panel h2{font-size:19px}
  .pdp-reference .pdp-tab-panel{overflow-wrap:break-word}
  .checkout-heading{margin:12px 0 18px}
  .checkout-heading h1{font-size:27px}
  .checkout-heading p{font-size:14px;line-height:1.5}
  .checkout-heading .checkout-back{font-size:14px}
  .checkout-section,.checkout-summary,.cart-items{border-radius:14px}
  .checkout-section h2,.checkout-summary h2{font-size:18px}
  .checkout-buyer span{font-size:14px;line-height:1.4}
  .checkout-mini-item{font-size:14px;gap:10px}
  .checkout-mini-item>strong{font-size:13px}
  .checkout-summary .checkout-total dd{font-size:24px}
  .checkout-summary dt{font-size:14px}
  .checkout-main .checkout-fields{grid-template-columns:1fr}
  .checkout-choice small{font-size:13px;line-height:1.5}
  .checkout-main .checkout-payments{grid-template-columns:1fr}
  .finfire-main .finfire-card h2{font-size:17px}
  .finfire-card-price>strong,.finfire-retail-price{font-size:22px}
  .finfire-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .finfire-filters a{padding:10px 4px;font-size:14px;white-space:normal;text-align:center}
  .finfire-thumbnails button{flex:1;min-width:0;padding:6px;gap:5px;font-size:13px}
  .finfire-thumbnails img{width:38px;height:38px}
  .finfire-key-specs{grid-template-columns:1fr}
  .finfire-key-specs>div{display:grid;grid-template-columns:30px minmax(0,1fr);padding:12px}
  .finfire-key-specs>div>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
  .finfire-key-specs span{margin:0;font-size:14px}
  .finfire-order-actions>a:last-child{min-height:44px;display:flex;align-items:center}
  .finfire-specs>div{grid-template-columns:1fr;gap:4px}
  .finfire-specs dt{font-size:13px}
  .finfire-specs dd{font-size:15px}
  .contacts-email,.support-primary--email{font-size:20px}
  .footer-bottom{font-size:12px;line-height:1.5}
}
@media(max-width:600px){
  .catalog-main .catalog-product-grid,.catalog-main .catalog-product-grid.is-list{grid-template-columns:minmax(0,1fr);gap:12px}
  .catalog-main .catalog-card,.catalog-main .is-list .catalog-card{display:grid;grid-template-columns:112px minmax(0,1fr);grid-template-rows:auto auto;border-radius:14px;gap:0;background:var(--white)}
  .catalog-main .catalog-card-top{top:8px;left:8px;right:auto;width:100px;min-height:44px;align-items:center;gap:2px}
  .catalog-main .catalog-badges{min-width:0;gap:2px;flex-wrap:wrap}
  .catalog-main .catalog-badge{font-size:10px;padding:3px 4px}
  .catalog-main .catalog-discount{font-size:12px;padding:5px}
  .catalog-main .favorite{width:44px;height:44px;flex:none;min-width:44px;min-height:44px;box-shadow:none;background:transparent;padding:10px}
  .catalog-main .catalog-picture,.catalog-main .is-list .catalog-picture{grid-column:1;grid-row:1;width:112px;height:168px;padding:46px 8px 8px;margin:0;background:var(--white);border-radius:14px 0 0 0}
  .catalog-main .catalog-picture img,.catalog-main .is-list .catalog-picture img{width:100%;max-width:100%;height:110px;object-fit:contain}
  .catalog-main .catalog-card-copy,.catalog-main .is-list .catalog-card-copy,.catalog-main .product-card__body{grid-column:2;grid-row:1;padding:16px 12px 12px 0;margin:0;gap:8px;align-self:center}
  .catalog-main .catalog-card .product-card__specs{font-size:13px;gap:4px 0;line-height:1.5}
  .catalog-main .catalog-card .product-card__specs li+li:before{margin:0 5px}
  .catalog-main .catalog-card-purchase,.catalog-main .is-list .catalog-card-purchase{grid-column:1/-1;grid-row:2;padding:0 12px 12px;margin:0;border:0;width:auto}
  .catalog-main .catalog-card .price{font-size:22px}
  .catalog-main .catalog-price-line{gap:10px}
  .catalog-main .catalog-saving{font-size:12px;margin-top:3px;line-height:1.4}
  .catalog-main .catalog-card-footer{margin-top:10px;padding-top:10px;gap:10px}
  .catalog-main .catalog-card-actions,.catalog-main .is-list .catalog-card-actions{flex:0 0 auto}
  .catalog-main .catalog-card-actions .catalog-card-buy{flex:none;padding:10px 14px}
  .catalog-main .catalog-card-footer .catalog-stock{flex:1 0 70px;font-size:13px;line-height:1.45}
  .cart-item{grid-template-columns:76px minmax(0,1fr) 44px;gap:12px}
  .cart-item-photo{height:84px}
  .cart-item-info{grid-column:2/4;padding-right:32px}
  .cart-remove-form{grid-column:3;justify-self:end;z-index:1}
  .cart-quantity-form{grid-column:1/3;justify-self:start}
  .cart-item-price{grid-column:2/4;justify-self:end}
  .cart-item-sku,.cart-item-stock{font-size:12px;line-height:1.5}
  .cart-item-price span,.cart-item-price del{font-size:12px}
  .cart-items{padding:0 14px}
  .cart-help{display:block}
  .cart-help>.icon{display:none}
  .cart-help strong,.cart-help span{font-size:14px;line-height:1.5}
  .cart-help>a{margin:4px 0 0}
  .checkout-section,.checkout-summary{padding:20px 16px}
}
@media(max-width:359px){
  .container{width:calc(100% - 24px)}
  .catalog-main .catalog-card,.catalog-main .is-list .catalog-card{grid-template-columns:96px minmax(0,1fr)}
  .catalog-main .catalog-picture,.catalog-main .is-list .catalog-picture{width:96px}
  .catalog-main .catalog-card-top{width:86px}
  .catalog-main .catalog-card-actions .catalog-card-buy{padding:10px}
  .mobile-buybar,.mobile-cartbar{padding-left:12px;padding-right:12px;gap:6px}
  #mobile-product-price,.mobile-cartbar strong{font-size:18px}
  .mobile-buybar .button{padding:10px;font-size:14px}
  .checkout-buyer span{font-size:13px}
}
