/* UStore UX 1.9.14 — update-safe refinements for UniShop2 */

/* Keep the first rendered frame aligned with the final UniShop2 layout. */
main{flex:1 0 auto;padding:25px 0;background:var(--main-bg,transparent)}
.html-module{margin:0 0 30px;padding:20px 20px 10px;background:rgba(0 0 0 / .03);border-radius:var(--border-radius-1)}
.home-page .content-bottom{display:flex;flex-direction:column}
.home-page .content-bottom>.heading:has(+.news-module){order:90}
.home-page .content-bottom>.news-module{order:91}
.home-page .content-bottom>.news-module+script{order:92}

/* Product trust and conversion */
.ustore-ux-trust{margin:14px 0 16px;padding:14px 16px;background:#fafafa;border:1px solid #e7e7e7;border-radius:12px}
.ustore-ux-trust__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;margin:0;padding:0;list-style:none}
.ustore-ux-trust__list li{position:relative;padding-left:18px;color:#3d3d3d;font-size:13px;line-height:1.35}
.ustore-ux-trust__list li:before{content:"✓";position:absolute;left:0;color:#4a9b52;font-weight:800}
.ustore-ux-trust__list a{color:inherit;text-decoration:none;border-bottom:1px dotted #999}
.ustore-ux-trust__note{margin:11px 0 0;padding-top:10px;border-top:1px solid #e8e8e8;color:#777;font-size:12px}
.product-page__quick-order{opacity:1!important;color:#555!important;background:#f1f3f2!important;border-color:#dde2df!important}
.ustore-ux-mobile-buy{display:none}
.ustore-ux-reviews-widget{width:100%!important;max-width:100%;height:800px!important;overflow:hidden;position:relative;border-radius:12px}
.ustore-ux-reviews-widget>iframe{display:block;width:100%!important;max-width:100%;height:100%!important;border:1px solid #e6e6e6!important;border-radius:12px!important;box-sizing:border-box}
.ustore-ux :where(a,button,input,select,textarea):focus-visible{outline:3px solid rgba(220,81,73,.32);outline-offset:2px}
.ustore-ux-checkout-hint{margin:7px 0 0;color:#6a6a6a;font-size:12px;line-height:1.4}
#simplecheckout_button_confirm,#simplecheckout_button_back,#simplecheckout_button_login{display:inline-flex;align-items:center;justify-content:center;min-height:42px}
.ustore-ux-cart-notice{position:fixed;z-index:2147483647;right:18px;bottom:18px;max-width:min(390px,calc(100vw - 36px));padding:13px 16px;border-radius:10px;background:#333;color:#fff;box-shadow:0 8px 26px rgba(0,0,0,.2);font-size:14px;line-height:1.4}
.ustore-ux-cart-notice--danger{background:#a63f39}
.ustore-ux-filter-reset{display:flex;align-items:center;justify-content:center;min-height:40px;margin:10px 0 0;padding:8px 12px;border:1px solid #d9d9d9;border-radius:9px;background:#fff;color:#444;font-size:13px;font-weight:700;text-decoration:none}
.ustore-ux-filter-reset:hover,.ustore-ux-filter-reset:focus{background:#f3f3f3;color:#222;text-decoration:none}
.ustore-ux-filter-empty{display:grid;gap:6px;margin:14px 0 22px;padding:20px;border:1px solid #e3e3e5;border-radius:14px;background:#f7f7f8;color:#222}
.ustore-ux-filter-empty strong{font-size:17px;line-height:1.25}
.ustore-ux-filter-empty span{color:#6e6e73;font-size:14px;line-height:1.45}
.ustore-ux-filter-empty a{justify-self:start;margin-top:5px;padding:9px 13px;border-radius:9px;background:#333;color:#fff;font-size:13px;font-weight:750;text-decoration:none}
.ustore-ux-filter-empty a:hover,.ustore-ux-filter-empty a:focus{background:#111;color:#fff;text-decoration:none}

@media(min-width:768px){
  .home-page .sp-seo-faq .faq ul{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
}

@media(prefers-reduced-motion:reduce){
  .ustore-ux *, .ustore-ux *:before, .ustore-ux *:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}

@media(max-width:1100px){
  html body #ustore-hero-new .uh-grid{grid-template-columns:minmax(0,1fr) minmax(340px,.82fr);gap:24px}
  html body #ustore-hero-new .uh-title{font-size:31px}
  html body #ustore-hero-new .uh-banner{min-height:360px}
}

@media(max-width:900px){
  .ustore-account-grid,.ustore-account-grid--compact{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body #ustore-hero-new .uh-grid{grid-template-columns:1fr;gap:0}
  html body #ustore-hero-new .uh-banner{display:none}
  html body #ustore-hero-new .uh-wrap{max-width:900px}
  html body .contacts-ystore .c-grid{grid-template-columns:1fr}
  html body .contacts-ystore .map-box,html body .contacts-ystore #ymap,html body .contacts-ystore .map-box iframe,html body .contacts-ystore .map-box.ready iframe{height:390px!important;min-height:390px!important}
}

@media(max-width:640px){
  .ustore-ux-avito-reviews{align-items:stretch;flex-direction:column;gap:14px;margin-bottom:18px;padding:17px;border-radius:14px}
  .ustore-ux-avito-reviews__copy strong{font-size:17px}
  .ustore-ux-avito-reviews__copy span{font-size:13px}
  .ustore-ux-avito-reviews__button{width:100%;min-height:46px}
  .ustore-account-dashboard{gap:17px}
  .ustore-account-intro{padding:20px 18px;border-radius:16px}
  .ustore-account-intro h1{font-size:24px;letter-spacing:-.4px}
  .ustore-account-intro p{font-size:13.5px}
  .ustore-account-grid,.ustore-account-grid--compact{grid-template-columns:1fr;gap:8px}
  .ustore-account-card{min-height:82px;padding:14px 40px 14px 14px;border-radius:12px}
  .ustore-account-card__icon{flex-basis:38px;width:38px;height:38px;border-radius:10px;font-size:15px}
  .ustore-account-card__copy strong{font-size:14px}
  .ustore-account-card__copy small{font-size:12px}
  .ustore-account-extra summary{min-height:68px;padding:13px 46px 13px 15px}
  .ustore-account-grid--compact{padding:10px}
  .ustore-account-card--compact{min-height:58px}
  .home-page .sp-seo-faq{margin:24px 0 20px}
  .home-page .sp-seo-faq .faq{padding:18px 12px 14px;border-radius:16px;box-shadow:0 5px 16px rgba(20,24,32,.04)}
  .home-page .sp-seo-faq .faq-title{margin-bottom:17px!important;font-size:24px!important;letter-spacing:-.45px}
  .home-page .sp-seo-faq .faq-title:before{margin-bottom:7px;font-size:10px}
  .home-page .sp-seo-faq .faq-title:after{margin-top:8px;font-size:13px;line-height:1.45}
  .home-page .sp-seo-faq .faq ul{gap:8px}
  .home-page .sp-seo-faq .faq-question:hover{transform:none}
  .home-page .sp-seo-faq .faq-link{min-height:64px;padding:15px 52px 15px 15px!important;font-size:14px!important;line-height:1.4!important}
  .home-page .sp-seo-faq .faq-link:before{right:12px;width:32px;height:32px}
  .home-page .sp-seo-faq .faq-link:after{right:22px!important;width:10px!important;height:10px!important}
  .home-page .sp-seo-faq .faq-text{padding-right:15px;padding-bottom:16px;padding-left:15px;font-size:13.5px!important}
  html body #ustore-hero-new{margin:12px auto 20px;padding:0 10px}
  html body #ustore-hero-new .uh-wrap{padding:18px;border-radius:14px;box-shadow:0 5px 18px rgba(0,0,0,.05)}
  html body #ustore-hero-new .uh-badge{margin-bottom:10px;font-size:10.5px;letter-spacing:.045em}
  html body #ustore-hero-new .uh-title{margin-bottom:10px;font-size:24px;line-height:1.1;letter-spacing:-.35px}
  html body #ustore-hero-new .uh-sub{margin-bottom:15px;font-size:14px;line-height:1.5}
  html body #ustore-hero-new .uh-pills{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;margin-bottom:17px}
  html body #ustore-hero-new .uh-pills li{gap:7px;font-size:12.5px;line-height:1.25}
  html body #ustore-hero-new .uh-pills svg{width:14px;height:14px;flex-basis:14px}
  html body #ustore-hero-new .uh-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px}
  html body #ustore-hero-new .uh-btn{width:auto;min-height:43px;padding:0 8px;font-size:12.5px}
  html body #ustore-hero-new .uh-meta{flex-direction:column;gap:7px;padding-top:12px}
  html body #ustore-hero-new .uh-meta li{font-size:12px}
  html body #ustore-hero-new .uh-note{font-size:11.5px}
  html body .about-ystore,html body .delivery-ystore,html body .payment-ystore,html body .partner-ystore{padding:16px;border-radius:14px;box-shadow:0 5px 18px rgba(0,0,0,.045)}
  html body .about-ystore__wrap,html body .delivery-ystore__wrap,html body .payment-ystore__wrap,html body .partner-ystore__wrap{gap:14px}
  html body .about-ystore__panel,html body .delivery-ystore__panel,html body .payment-ystore__panel,html body .partner-ystore__panel{padding:15px;border-radius:11px}
  html body .payment-ystore__grid,html body .partner-ystore__grid,html body .about-ystore__grid{gap:12px}
  html body .about-ystore__eyebrow,html body .delivery-ystore__eyebrow,html body .payment-ystore__eyebrow,html body .partner-ystore__eyebrow{font-size:10.5px}
  html body .about-ystore__tagline,html body .about-ystore__lead,html body .delivery-ystore__lead,html body .payment-ystore__lead,html body .partner-ystore__lead{font-size:14px}
  html body .delivery-ystore__tablist{gap:6px}
  html body .delivery-ystore__tablist label{padding:7px 10px;font-size:12px}
  html body .partner-ystore .btn{min-height:40px}
  html body .contacts-ystore .c-wrap{gap:14px}
  html body .contacts-ystore .c-head{padding:22px 20px;border-radius:15px}
  html body .contacts-ystore .c-lead{font-size:15px;line-height:1.5}
  html body .contacts-ystore .c-grid{gap:14px}
  html body .contacts-ystore .actions,html body .contacts-ystore .c-grid>.panel:first-child>.panel{padding:15px;border-radius:14px}
  html body .contacts-ystore .btn{min-height:54px;font-size:15px}
  html body .contacts-ystore .actions>.inline-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body .contacts-ystore .actions>.inline-actions .chip:last-child{grid-column:1/-1}
  html body .contacts-ystore .inline-actions{gap:7px}
  html body .contacts-ystore .c-grid>.panel:nth-child(2){padding:10px;border-radius:14px}
  html body .contacts-ystore .c-grid>.panel:nth-child(2)>h2{margin:6px 6px 11px;font-size:16px}
  html body .contacts-ystore .map-box,html body .contacts-ystore #ymap,html body .contacts-ystore .map-box iframe,html body .contacts-ystore .map-box.ready iframe{height:300px!important;min-height:300px!important}
  html body .contacts-ystore .kv{align-items:flex-start}
  html body .contacts-ystore .kv__label{min-width:58px}
  .ustore-ux-trust__list{grid-template-columns:1fr}
  body.ustore-ux-product{padding-bottom:76px}
  .ustore-ux-mobile-buy{position:fixed;left:0;right:0;bottom:0;z-index:2147483000;display:flex;align-items:center;gap:12px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid #ddd;box-shadow:0 -6px 22px rgba(0,0,0,.12);transform:translateY(120%);transition:transform .2s ease}
  .ustore-ux-mobile-buy--visible{transform:translateY(0)}
  .ustore-ux-mobile-buy__price{min-width:110px;font-size:20px;font-weight:800;color:#2b2b2b}
  .ustore-ux-mobile-buy__button{flex:1;min-height:46px;border:0;border-radius:10px;background:#383838;color:#fff;font-weight:750}
  body.ustore-ux-product:not(.ustore-ux-mobile-buy-active) jdiv.__jivoDesktopButton{opacity:0!important;pointer-events:none!important}
  jdiv.__jivoDesktopButton{left:4px!important;bottom:72px!important;transform:scale(.66)!important;transform-origin:left bottom!important}
  .ustore-ux-reviews-widget{height:720px!important}
  .category-list.row{margin-bottom:12px}
  .category-list>div[class*="col-"]{padding-left:6px;padding-right:6px}
  .category-list__item{margin-bottom:10px!important;padding:7px!important}
  .category-list__img{height:78px!important;object-fit:contain}
  .category-list__name{font-size:12.5px!important;line-height:1.3!important}
  .product-thumb__add-to-cart,.product-thumb__quick-order,.product-page__add-to-cart,.product-page__quick-order,.show-more__btn{min-height:44px!important}
  .top-menu__btn,.top-menu__links button,.header-account,.header-wishlist,.header-cart__btn,.header-search__category,.header-search__button,.header-search__clear,.sorts-block__btn{display:inline-flex!important;align-items:center;justify-content:center;min-width:44px!important;min-height:44px!important}
  .product-thumb__wishlist,.product-page__wishlist,.product-page__compare,.product-page__share a,.product-page__share button{min-width:40px!important;min-height:40px!important}
  #content input.form-control,#content select.form-control,#simplecheckout_form input.form-control,#simplecheckout_form select.form-control{min-height:44px}
  .checkout-cart .checkout-cart__quantity .qty-switch{display:grid;grid-template-columns:38px 40px 38px;align-items:center;width:116px;min-width:116px;height:40px;margin:0 auto;border:1px solid #d7d7d7;border-radius:9px;background:#fff;overflow:hidden}
  .checkout-cart .checkout-cart__quantity .qty-switch__btn{display:flex!important;align-items:center;justify-content:center;width:38px!important;min-width:38px!important;height:40px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#f4f4f4;color:#333;font-size:14px!important;line-height:40px!important;cursor:pointer;touch-action:manipulation}
  .checkout-cart .checkout-cart__quantity .qty-switch__input{width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;margin:0!important;padding:0 2px!important;border:0!important;border-right:1px solid #e0e0e0!important;border-left:1px solid #e0e0e0!important;border-radius:0!important;background:#fff!important;color:#222;font-size:14px!important;font-weight:600!important;line-height:40px!important;text-align:center!important;box-shadow:none!important}
  .checkout-cart .checkout-cart__remove{display:flex;align-items:center;justify-content:center;width:40px;min-width:40px;height:40px;padding:0!important}
  .checkout-cart .checkout-cart__remove-icon{display:flex!important;align-items:center;justify-content:center;width:40px;height:40px;margin:0!important;line-height:40px!important;cursor:pointer;touch-action:manipulation}
  #content .account-login__wrapper form{width:100%}
  #content .account-login__form-group{width:100%!important;max-width:none!important}
  #content .account-login__form-group .form-control{width:100%!important;max-width:none!important}
  #content .account-login__wrapper .btn,#content .uni-form .btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px!important;padding-top:10px!important;padding-bottom:10px!important}
  #content .account-login__wrapper .btn{width:100%}
  #content .account-login__forgotten{display:flex;align-items:center;min-height:44px}
  #content .simpleregister-button-right{width:100%}
  #content #simpleregister_button_confirm{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:44px!important;padding-top:10px!important;padding-bottom:10px!important}
  #simplecheckout_button_confirm,#simplecheckout_button_back,#simplecheckout_button_login{min-height:44px;padding-top:10px;padding-bottom:10px}
  .quick-order__form.row-flex{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  .quick-order__form.row-flex .quick-order__input{width:100%!important;max-width:none!important;margin:0!important;min-height:44px}
  .quick-order input[type="checkbox"],#simplecheckout_form input[type="checkbox"],#simplecheckout_form input[type="radio"]{width:20px!important;height:20px!important;min-width:20px!important;vertical-align:middle}
  .quick-order .add_to_cart{min-height:44px}
  .modal-content>.close,.modal-header>.close{min-width:44px!important;min-height:44px!important}
  .ustore-ux-cart-notice{left:12px;right:12px;bottom:82px;max-width:none}
  .filter-default__icon{left:8px!important;width:auto!important;min-width:44px!important;gap:7px;padding:0 12px!important;border-radius:0 10px 10px 0!important;font-size:14px!important;font-style:normal!important;font-weight:750!important;box-shadow:0 4px 14px rgba(0,0,0,.12)}
  .filter-default__icon:before{font-family:"Font Awesome 5 Free";font-weight:900}
  .ustore-ux-filter-label{display:inline!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
  .ustore-ux-filter-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#dc5149;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:11px;font-weight:800}
}

@media(min-width:421px) and (max-width:640px){
  .checkout-cart .checkout-cart__item-wrapper{display:grid;grid-template-columns:116px minmax(0,1fr);column-gap:10px;align-items:center}
  .checkout-cart .checkout-cart__name{grid-column:1/-1;width:auto;min-width:0}
  .checkout-cart .checkout-cart__quantity{grid-column:1;width:116px;padding-right:0}
  .checkout-cart .checkout-cart__total{grid-column:2;min-width:0;text-align:right;white-space:nowrap}
}

@media(max-width:360px){
  html body #ustore-hero-new .uh-pills,html body #ustore-hero-new .uh-actions{grid-template-columns:1fr}
}

/* Filter and registration clarity */
.filter-default .uni-wrapper{position:relative}
.filter-default #button-filter.ustore-ux-filter-apply{position:sticky;bottom:10px;z-index:8;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;margin:14px 0 0;border-radius:10px;box-shadow:0 8px 22px rgba(0,0,0,.18)}
.ustore-ux-registration-consent{margin:12px 0;color:#6a6a6a;font-size:12px;line-height:1.5}
.ustore-ux-registration-consent a{color:#333;text-decoration:underline;text-underline-offset:2px}
.ustore-ux-account-heading{margin-bottom:18px!important}
.ustore-ux-register-choice{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px 18px!important}
.ustore-ux-register-choice .ustore-ux-checkout-hint{flex:1 0 100%;width:100%;margin:0!important}
@media(max-width:767px){
  .filter-default #button-filter.ustore-ux-filter-apply{bottom:12px;min-height:48px}
  .ustore-ux-register-choice{align-items:flex-start!important;gap:10px 14px!important}
  .product-thumb .product-thumb__add-to-cart,
  .product-thumb .product-thumb__quick-order,
  .product-thumb .product-thumb__wishlist{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important;padding:0!important;border-radius:8px!important;font-size:13px!important;line-height:1!important}
  .product-thumb .product-thumb__add-to-cart span{display:none!important}
  .product-thumb .product-thumb__add-to-cart i,
  .product-thumb .product-thumb__quick-order i,
  .product-thumb .product-thumb__wishlist i{margin:0!important;font-size:13px!important;line-height:1!important}

  /* Compact, even product cards in the two-column home-page carousels. */
  .home-page .content-bottom .owl-item{align-items:flex-start!important}
  .home-page .content-bottom .product-thumb{align-self:flex-start!important}
  .home-page .content-bottom .product-thumb__image{margin-bottom:10px!important}
  .home-page .content-bottom .product-thumb__caption{flex:0 0 auto!important;width:100%!important}
  .home-page .content-bottom .product-thumb__name{
    display:-webkit-box!important;
    flex:0 0 60px!important;
    height:60px!important;
    max-height:60px!important;
    margin-bottom:8px!important;
    overflow:hidden!important;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
  }
  .home-page .content-bottom .qty-indicator{margin-bottom:10px!important}
  .home-page .content-bottom .product-thumb__cart{margin-top:14px!important}
}

/* Accessible contrast for stock labels and news metadata */
.qty-indicator__text.t-1{color:#3f7d25!important}
.news-thumb__date{color:#666!important}

/* The rotating UniShop contact launcher duplicates the site chat and its VK
   state renders inconsistently. Keep only a compact scroll-to-top control. */
.fly-block__contacts{display:none!important}
.fly-block__scrollup{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  min-height:42px!important;
  border-radius:50%!important;
  background:rgba(60,60,60,.72)!important;
  box-shadow:0 6px 18px rgba(0,0,0,.14)!important;
}
.fly-block__scrollup-icon{
  width:auto!important;
  height:auto!important;
  color:#fff!important;
  font-size:14px!important;
  line-height:1!important;
}
