/* Dentalprom layout repair, 2026-11-05. Existing routes and commerce handlers retained. */
html{scrollbar-gutter:stable}body{margin:0}img{max-width:100%}.width-content{box-sizing:border-box;min-width:0}
.header{padding-top:0}.header-line{position:relative}.header-line>.width-content{gap:12px;flex-wrap:wrap}.head-contacts{gap:12px;flex-wrap:wrap}.head-contacts-block{padding:0 12px}.head-cart{padding-right:0;border:0}.head-logo{flex:0 0 260px;background-position:center}.header>.width-content>.flex-between{gap:20px}.header>.width-content>.flex-between>.flex-between{flex:1;min-width:0;gap:12px;justify-content:flex-end}.header .margin-left-15{margin-left:0}.head-search{position:relative;display:flex;align-items:center;flex:1;min-width:180px;max-width:420px}.header-search-input{min-width:0;width:100%;border:1px solid #cdd2df;border-left:0;border-radius:0 8px 8px 0}.header-search-icon{flex:0 0 40px;border:1px solid #cdd2df;border-right:0;border-radius:8px 0 0 8px;background-color:#647087}.autocompleter{top:100%;border-radius:8px;overflow:hidden}.autocompleter-list .autocompleter-item{height:auto!important;min-height:44px;font-size:14px;overflow-wrap:anywhere;padding:6px!important}.header .btn-nsv{white-space:nowrap;border-radius:8px}.header-cart__summ{white-space:nowrap}.head-logo:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid #315478;outline-offset:3px}
.nav-menu-top{padding:0;border-radius:10px 10px 0 0}.nav-menu-top>div,.menu-top{width:100%}.menu-top{display:flex;flex-wrap:wrap;justify-content:space-between}.menu-top li,.menu-top li:first-child{width:auto;flex:1;display:flex;justify-content:center;align-items:center;gap:6px;padding:4px 8px;text-align:center}.menu-top>li>a{height:auto;min-height:40px;line-height:1.4;padding:10px 0;display:flex;align-items:center}.menu-top>li>[class*=icon-nsv]{flex-shrink:0}
article.width-content>section>.flex-between_wrap_no-wrap{align-items:flex-start;gap:20px}.nav-page-start-left{flex:0 0 260px;max-width:260px;min-width:0}.content-right{flex:1;min-width:0;width:100%;max-width:calc(100% - 280px);margin-left:0}.section-slider .slider{flex:1;min-width:0;width:calc(100% - 280px);margin-left:0}.menu-catalog>li>ul{left:275px;width:calc(100% - 290px);max-width:940px}.menu-catalog>li>a{padding-right:26px;line-height:1.5}.menu-catalog__child-ul-li{gap:12px}.menu-catalog .menu-catalog__child-ul-li>div{flex:1;min-width:150px;max-width:none;margin:0}.menu-catalog li:focus-within>ul{display:block}
.dp-nav-toggle{display:none}.shop-search{border-radius:12px;padding:16px}.shop-search label{line-height:1.5;display:inline-block;padding:3px 0 3px 25px;min-height:28px}.shop-search .filter-block-footer{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.shop-search .filter-block-footer [class*=shop_search_]{margin:0!important;min-height:36px}.shop-search .search-group-title{margin-top:18px;margin-bottom:8px}.shop-sort{border-radius:10px;gap:12px;flex-wrap:wrap}.shop-sort>div{min-width:0}.shop-sort .sort_сount{min-width:125px}.shop-sort .flex-between_wrap_no-wrap{gap:12px;flex-wrap:wrap}.shop-search input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]){max-width:100%;min-width:0}
.shop-all-items:not(._shop_strong){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}.shop-all-items:not(._shop_strong)>.nsv-product,.shop-all-items>.shop-category-item{max-width:none;width:100%;margin:0;min-width:0}.nsv-product{border-radius:10px;padding:14px;display:flex;flex-direction:column;min-width:0}.nsv-product .shop-photo{height:220px;min-height:220px;margin:0 0 12px}.nsv-product .shop-photo a{display:flex;align-items:center;justify-content:center;height:200px}.nsv-product .shop-photo img{width:auto!important;max-width:100%;height:auto!important;max-height:200px;object-fit:contain}.nsv-product .shop-item__name-param{display:flex;flex-direction:column;flex:1;min-width:0}.nsv-product .shop-item-title{font-size:14px;line-height:1.5;font-weight:600;min-height:63px;margin-top:0;overflow-wrap:anywhere}.nsv-product .table_theme_nsv{margin-top:auto;padding-top:10px}.nsv-product .table_theme_nsv td{overflow-wrap:anywhere;vertical-align:top}.nsv-product .shop_form{margin-top:14px}.nsv-product .shop-price{display:flex;flex-direction:column;gap:10px}.nsv-product .shop-item-price{min-height:32px;display:flex;align-items:center;gap:6px}.nsv-product .js_shop_buy{width:100%;height:42px;border-radius:8px;white-space:normal;padding:8px;line-height:1.3}.nsv-product .btn-shop-item-no-price{min-height:32px;padding:6px 0;background:transparent;color:#575b71;text-align:left;line-height:1.5}.dp-card-request{margin-top:14px}.dp-card-request .dp-request-label{display:block;color:#575b71;min-height:32px;line-height:32px}.dp-card-request .btn-nsv{display:flex;align-items:center;justify-content:center;width:100%;height:42px;border-radius:8px;margin-top:10px;background:#575b71;color:white}
.shop-all-items._shop_strong{display:flex;gap:12px}.shop-all-items._shop_strong>.nsv-product{flex-direction:row;gap:14px;flex-wrap:wrap;border-radius:10px;padding:14px}.shop-all-items._shop_strong .nsv-product .shop-photo{height:100px;min-height:100px;flex:0 0 100px;max-width:100px;margin:0}.shop-all-items._shop_strong .nsv-product .shop-photo a{height:90px}.shop-all-items._shop_strong .nsv-product .shop-photo img{max-height:90px}.shop-all-items._shop_strong .nsv-product .shop-item__name-param{flex:1;min-width:160px}.shop-all-items._shop_strong .nsv-product .shop_form,.shop-all-items._shop_strong .dp-card-request{width:220px;margin:0;max-width:100%}
.shop-category-item{border-radius:10px}.shop-category-item .shop_cat_img{height:180px;display:flex;align-items:center;justify-content:center}.shop-category-item .shop_cat_img img{max-height:170px;max-width:100%;object-fit:contain}.shop-category-item .shop-category-name{color:#314b69;line-height:1.5;padding:10px}.shop-category-item .shop-category-title{font-size:13px}.section-products .nsv-product{height:100%}.zagolovok-site-start{width:100%;left:0;border-radius:8px;font-size:20px;line-height:1.3;padding:12px 18px}.zagolovok-site-start:before,.zagolovok-site-start:after{display:none}.text p{text-align:left!important;line-height:1.6}.footer>.width-content{gap:20px;flex-wrap:wrap}.footer .text-align-center{max-width:650px;flex:1;min-width:240px}.breadcrumb-nsv{line-height:1.8;overflow-wrap:anywhere}h1,.shop-item-id-h1{line-height:1.35;overflow-wrap:anywhere}
.shop-item-container-top{border-radius:12px;padding:18px;gap:20px;align-items:flex-start}.shop-item-container-top__left{flex:1;min-width:0;max-width:55%}.shop-item-container-top__right{flex:1;min-width:230px;max-width:none;margin-left:0}.shop-item-container-top__right .shop-price{display:flex;flex-direction:column;gap:14px}.shop-item-container-top__right .js_shop_buy{height:46px;border-radius:9px;width:100%}.shop-price-count{border:1px solid #cdd2df;border-radius:9px;overflow:hidden;max-width:240px}.shop-price-count span{height:40px;width:40px;flex:0 0 40px;background-position:center!important}.shop_form.form_theme_nsv .shop-price-count input{height:40px;min-width:40px;max-width:calc(100% - 80px);text-align:center}.shop-id-all-params{overflow:auto}.shop-id-all-params table{width:100%;table-layout:fixed}.shop-id-all-params td{overflow-wrap:anywhere}.nsv_popup{max-width:min(500px,calc(100vw - 24px))!important;max-height:88vh;overflow:auto!important;border-radius:12px!important}.nsv_popup input:not([type=hidden]):not([type=checkbox]):not([type=radio]),.nsv_popup textarea{max-width:100%;border-radius:8px}.popup_template_cart__img{flex:0 0 90px}
.cart-order{padding:24px;border-radius:12px}.cart-order .table-item{gap:8px;align-items:center}.cart-order .table-item>div:nth-child(2){max-width:none;flex:1;min-width:0}.cart-order .table-item>div:nth-child(3){max-width:none;width:140px}.cart-order .table-item>div:nth-child(4){max-width:none;width:130px}.cart-order .table-item>div:nth-child(5){max-width:none;width:100px}.cart-order .cart-count-items{min-width:120px;border:1px solid #cdd2df;border-radius:9px}.cart-order .cart_count_minus,.cart-order .cart_count_plus{height:40px;flex:0 0 36px;width:36px;background-position:center!important}.cart-order .cart_count input.number{height:40px;min-width:40px;width:calc(100% - 72px);text-align:center}.cart-order .cart-form-title{display:block;margin:14px 0 8px;line-height:1.4}.cart-order input:not([type=hidden]):not([type=checkbox]):not([type=radio]),.cart-order textarea,.cart-order select{border:1px solid #cdd2df;border-radius:9px;min-height:42px;padding:10px;max-width:100%}.cart-order textarea{min-height:100px}.cart-order .cart-order-summ{padding:18px;border-radius:9px;margin:20px 0;line-height:1.6}
@media(max-width:1100px){.head-contacts-block{padding:0 6px}.head-contacts{gap:8px}.head-logo{flex-basis:220px;width:220px}.header>.width-content>.flex-between{flex-wrap:wrap}.header>.width-content>.flex-between>.flex-between{flex-basis:100%}.head-search{max-width:none}.nav-page-start-left{flex-basis:225px;max-width:225px}.content-right{max-width:calc(100% - 245px)}.section-slider .slider{width:calc(100% - 245px)}.menu-catalog>li>ul{left:240px;width:calc(100% - 255px)}.shop-all-items:not(._shop_strong){grid-template-columns:repeat(2,minmax(0,1fr))}.header-line>.width-content{justify-content:center}.menu-top>li>a{font-size:12px}.adver-block{font-size:20px}}
@media(max-width:767px){.width-content{padding:0 12px}.header-line>.width-content{display:flex;gap:10px}.head-contacts{width:100%;justify-content:center;gap:8px 12px}.head-contacts-block,.head-contacts-block:first-child,.head-contacts-block:not(:first-child){padding:0;border:0;display:flex;gap:5px;align-items:center}.head-contacts-block [class*=icon-nsv]{font-size:18px;margin:0}.head-contacts a{font-size:13px}.head-cart{width:100%;text-align:center}.header-cart__link{margin-left:4px}.header-cart__summ{font-size:16px;padding:5px 8px;margin:0 7px}.header-line .head-cart [class*=icon-nsv]{font-size:24px}.head-logo{flex:0 0 250px;width:250px;height:68px;margin:auto}.header>.width-content>.flex-between{gap:12px}.header>.width-content>.flex-between>.flex-between{flex-wrap:wrap;gap:10px}.head-search{flex-basis:100%;min-width:0}.header>.width-content .btn-nsv{flex:1;font-size:12px;padding:8px;min-height:40px;line-height:24px}.menu-top{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.menu-top li{padding:3px 8px;justify-content:flex-start;min-width:0;border-bottom:1px solid #cdd2df}.menu-top>li>a{font-size:11px}.padding-15{padding:12px}.nav-menu-top{overflow:hidden}.menu-top>li>[class*=icon-nsv]{font-size:18px}article.width-content>section>.flex-between_wrap_no-wrap{flex-direction:column;gap:16px}.nav-page-start-left{flex:auto;max-width:none;width:100%}.content-right,.section-slider .slider{max-width:100%;width:100%;margin:0;flex:auto}.dp-nav-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:12px 14px;border:1px solid #cdd2df;border-radius:9px;background:#f4f5fa;color:#314b69;font-size:15px;text-align:left;cursor:pointer}.dp-nav-toggle::after{content:'+';font-size:22px}.dp-nav-toggle[aria-expanded=true]::after{content:'−'}.dp-nav-ready:not(.dp-nav-open)>:not(.dp-nav-toggle){display:none!important}.menu-catalog>li>ul{position:static;left:auto;max-width:100%;width:100%;min-height:0;box-shadow:none}.menu-catalog .menu-catalog__child-ul-li{display:block}.menu-catalog .menu-catalog__child-ul-li>div{max-width:none;margin:0 0 12px}.menu-catalog li:focus-within>ul{display:block}.shop-search{margin-top:12px}.shop-sort{padding:10px;gap:10px}.shop-sort>.flex-start_wrap_no-wrap,.shop-sort>.flex-between_wrap_no-wrap{width:100%}.shop-all-items:not(._shop_strong){gap:12px}.nsv-product{padding:10px}.nsv-product .shop-photo{height:160px;min-height:160px}.nsv-product .shop-photo a{height:140px}.nsv-product .shop-photo img{max-height:140px}.nsv-product .shop-item-title{font-size:13px;min-height:78px}.nsv-product .table_theme_nsv td{font-size:11px;padding:4px 2px}.nsv-product .table_theme_nsv table{table-layout:fixed}.nsv-product .table_theme_nsv td:first-child{width:43%}.nsv-product .shop-item-price__num{font-size:18px}.nsv-product .js_shop_buy{font-size:12px}.adver-block{font-size:17px;height:44px;line-height:40px}.adver-block:nth-child(2){width:calc(50% - 8px)}.zagolovok-site-start{font-size:17px;padding:12px}.footer>.width-content{padding:0;gap:18px}.footer .text-align-center{flex-basis:100%;min-width:0;text-align:left}.shop-item-container-top{flex-direction:column;padding:14px;gap:18px}.shop-item-container-top__left,.shop-item-container-top__right{width:100%;max-width:100%;min-width:0;flex:auto}.shop-item-id-h1,h1{font-size:21px}.cart-order{padding:14px}.cart-order .thead{display:none}.cart-order .table-item{display:flex;flex-wrap:wrap;gap:12px;padding:16px 0;border-bottom:1px solid #e0e3ed}.cart-order .table-item>div:first-child{width:80px;max-width:80px}.cart-order .table-item>div:nth-child(2){flex:1;min-width:150px}.cart-order .table-item>div:nth-child(n+3){max-width:none;width:auto;flex:1;min-width:70px}.cart-order .table-item>div:last-child{flex:0 0 30px}.cart-order .cart-order-summ{text-align:left;font-size:20px}.cart-order form .flex-between,.cart-order form .flex-between_wrap_no-wrap{flex-wrap:wrap;gap:14px}.newton_callback_wrap{max-width:calc(100vw - 40px)!important;left:20px!important;margin-left:0!important;box-sizing:border-box!important}}
@media(max-width:359px){.shop-all-items:not(._shop_strong){grid-template-columns:minmax(0,1fr)}.nsv-product .shop-photo{height:200px;min-height:200px}.nsv-product .shop-photo a{height:180px}.nsv-product .shop-photo img{max-height:180px}.nsv-product .shop-item-title{min-height:0}.head-contacts{justify-content:flex-start}.head-contacts__email{width:100%}.header-cart__link{font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

.text_theme_nsv p{line-height:1.6;text-align:left!important}.shop-id-all-params td{padding:10px 8px;line-height:1.5}.shop-id-all-params td:first-child{width:54%}.seaction-product-block>.owl-carousel>.owl-stage-outer,.seaction-product-block>.owl-carousel>.owl-stage-outer>.owl-stage,.seaction-product-block>.owl-carousel>.owl-stage-outer>.owl-stage>.owl-item{height:auto!important}.seaction-product-block>.owl-carousel>.owl-stage-outer>.owl-stage{display:flex;align-items:stretch}.seaction-product-block>.owl-carousel>.owl-stage-outer>.owl-stage>.owl-item{display:flex}.seaction-product-block .owl-item>.nsv-product{height:auto;min-height:340px;flex:1}.seaction-product-block>.owl-carousel{margin-bottom:20px}.nsv-product:not(:has(.shop-photo))::before{content:'Фото уточняется';height:220px;min-height:220px;margin-bottom:12px;display:flex;align-items:center;justify-content:center;color:#7d8794;background:#f5f6f9;border-radius:8px;font-size:13px}.shop-category-description{margin-top:24px}.shop-id-name_prev-next{flex-shrink:0}
@media(max-width:767px){.js_shop>.margin-top-15>.flex-between_wrap_no-wrap{display:flex;flex-direction:column;gap:20px}.js_shop [itemprop=description],.js_shop .shop-id-all-params{max-width:100%;width:100%;margin-left:0;min-width:0}.nsv-product:not(:has(.shop-photo))::before{height:160px;min-height:160px}.shop-id-all-params table{font-size:14px}.cart-order .SumoSelect{max-width:100%}}

.breadcrumb-nsv span{white-space:normal;max-width:100%;line-height:1.7;overflow-wrap:anywhere}.cart-order .cart-count-items{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between}.cart-order .cart_count input.number{flex:1;padding:4px!important;min-width:40px;max-width:none;border:0!important;border-radius:0!important}.cart-order .cart_count_minus,.cart-order .cart_count_plus{flex:0 0 36px;border:0!important}.cart-order .cart-form-title{font-size:13px}
@media(max-width:767px){.cart-order .table-item.thead{display:none!important}.cart-order .table-item:not(.thead){display:grid;grid-template-columns:120px minmax(0,1fr) 26px;grid-template-areas:"photo name name" "qty price remove" "qty total remove";gap:12px 10px}.cart-order .table-item:not(.thead)>div{padding:0!important;max-width:none!important;min-width:0!important;width:auto!important;text-align:left}.cart-order .table-item:not(.thead)>div:first-child{grid-area:photo}.cart-order .table-item:not(.thead)>div:nth-child(2){grid-area:name}.cart-order .table-item:not(.thead)>div:nth-child(3){grid-area:qty}.cart-order .table-item:not(.thead)>div:nth-child(4){grid-area:price}.cart-order .table-item:not(.thead)>div:nth-child(5){grid-area:total}.cart-order .table-item:not(.thead)>div:last-child{grid-area:remove}.cart-order .table-item:not(.thead)>div:nth-child(4)::before{content:'Цена: ';font-size:12px;color:#687283}.cart-order .table-item:not(.thead)>div:nth-child(5)::before{content:'Сумма: ';font-size:12px;color:#687283}.cart-order .cart_img img{width:90px;height:90px;object-fit:contain}.cart-order .cart-count-items{width:120px}.cart-order .cart-count-items input{padding:4px}.cart-order .table-item:not(.thead)>div:nth-child(2){font-size:14px;line-height:1.5}.cart-order .table-item:not(.thead)>div:nth-child(2) *{font-size:14px;line-height:1.5}.cart-order input[type=file]{font-size:12px;width:100%}}

.cart-order form .cart-count-items{flex-wrap:nowrap!important;gap:0!important;width:120px;min-width:120px;align-items:center}.cart-order form .cart-count-items input.number{margin:0!important;flex:1 1 44px;max-width:44px;min-width:44px;width:44px}.cart-order form .cart-count-items .cart_count_minus,.cart-order form .cart-count-items .cart_count_plus{flex:0 0 36px;width:36px;min-width:36px}

/* Keep portrait product photographs within the purchase panel. */
.shop-item-left__img{height:420px;display:flex;align-items:center;justify-content:center;min-width:0}
.shop-item-left__img img.shop_id_img{display:block;width:100%!important;height:100%!important;max-height:420px;object-fit:contain}
.shop-id-name_prev-next>a{display:flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;color:#314b69;border-radius:8px}
.shop-id-name_prev-next>.icon-nsv-arrow-left::before{content:'←';font:20px Arial,sans-serif;color:#314b69}
.shop-id-name_prev-next>.icon-nsv-arrow-right::before{content:'→';font:20px Arial,sans-serif;color:#314b69}
@media(max-width:767px){.shop-item-left__img{height:320px}.shop-item-left__img img.shop_id_img{max-height:320px}.shop-id-name_prev-next{gap:8px}.shop-id-name_prev-next>a{margin:0;flex-basis:28px;width:28px;height:32px}}

/* Fotorama measures its own square stage; its parent must have a real width. */
.shop-item-left__img{display:block;height:auto!important;min-height:260px;width:100%}.shop-item-left__img>.fotorama{width:100%;max-width:100%}.shop-item-left__img img.shop_id_img{height:auto!important;max-height:420px;width:100%!important;object-fit:contain}
