

/* Start:/local/components/molotok/catalog/templates/brands_new/style.css?17810332071877*/
.grid{}
.grid .bx_content_section{
	margin-bottom: 15px;
}
.grid .bx_sidebar{
	margin-bottom: 15px;
}

/* grid2x1 */
.grid2x1{}
.grid2x1 .bx_content_section{
	float: left;
	width: 66%;
	margin-bottom: 15px;
}
.grid2x1 .bx_sidebar{
	float: right;
	width: 33%;
	margin-bottom: 15px;
	padding-left: 5%;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}
@media (max-width:960px){
	.grid2x1 .bx_sidebar{
		padding-left: 4%;
	}
}
@media (max-width:640px) {
	.grid2x1 .bx_content_section,
	.grid2x1 .bx_sidebar{
		width: 100%;
		float: none;
	}
	.grid2x1 .bx_sidebar{
		padding-left: 3%;
	}
}
@media (max-width:479px){
	.grid2x1 .bx_sidebar{
		padding-left: 1%;
	}

}

.catalog-block-header{
	font-size:14px;
	font-weight: bold;
	text-align: left;
	margin:5px 0;
	padding:5px 15px;
	border-bottom: 2px solid #d9dee6;
	color: #000;
}

body.bx-theme-blue .catalog-block-header{border-color:#006cc0;}
body.bx-theme-green .catalog-block-header{border-color:#63aa28;}
body.bx-theme-red .catalog-block-header{border-color:#da3737;}
body.bx-theme-yellow .catalog-block-header{border-color:#f4b236;}

.api_upload .api_upload_file {
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    cursor: pointer;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0;
    filter: alpha(opacity=0);
}

.api_upload .api_upload_drop {
    margin-bottom: 15px;
    padding: 10px;
    border: 2px dashed #ddd;
    background: #fafafa;
    color: #666;
    text-align: center;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: all 0.1s ease-out 0s;
    -moz-transition: all 0.1s ease-out 0s;
    -ms-transition: all 0.1s ease-out 0s;
    -o-transition: all 0.1s ease-out 0s;
    transition: all 0.1s ease-out 0s;
}

.new-novini_price.priceDiscount {
    color: #D00000;
}
/* End */


/* Start:/local/templates/new_plitka/components/bitrix/catalog.element/newelem/style.css?17815073672709*/
h2 {
    text-align: center;
    font-family: "DINPro-Bold", sans-serif;
    font-size: 22px;
    color: #000;
}

.new-elem-card .new-elem-card-row-height {
    align-items: flex-start;
}

@media (min-width: 992px) {
    .new-elem-card .fotorama {
        height: auto;
        padding: 40px 0;
    }
}

.hidden-description {
    display: none;
}

.element-price__item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-around;
    align-items: center;
}

.element-price__price {
    display: none;
    font-weight: bold;
    text-align: center;
    grid-template-columns: repeat(2, 1fr);
    grid-column: 1/3;
    align-items: center;
}

.element-price__price.active {
    display: grid;
}

.element-price__price .element-price__base-price {
    font-size: 24px;
    color: #D00000;
}

.element-price__discount-price {
    text-decoration: line-through;
    color: #565252;
}

.element-price__count {
    justify-self: center;
}

.element-price__count .quantity {
    padding-left: 0 !important;
}

.element-price__total-price__title {
    background-color: #F2F2F2;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    margin-top:10px;
}

.element-price__total-price {
    text-align: center;
    font-size: 22px;
    padding: 15px 0;
    font-weight: bold;
}

.new-elem-card .element-price_no-discount .price-new-elem-one {
    font-size: 24px;
}

.new-elem-card .element-price_no-discount .element-price__type{
    margin-top: 10px;
}

.information-bordurs{
    margin-top: 10px;
    text-align: center;
}

.new-elem-card{
    margin-bottom: 20px;
}

.new-elem-card__description{
    margin-top: 15px;
    height: 50px;
    overflow: hidden;
    transition: .5s;
}

.new-elem-card__description p{
    margin-bottom: 15px;
}

.new-elem-card__description__more-btn{
    font-weight: bold;
    margin-bottom: 15px;
}

.new-elem-card__description__more-btn svg{
    width: 12px;
    height: 12px;
    position: relative;
    top: 2px;
    transform: translateX(0);
    transition: .5s;
}

.new-elem-card__description__more-btn:hover{
    cursor: pointer;
}

.new-elem-card__description__more-btn:hover svg{
    transform: translateX(5px);
    transition: .5s;
}

.new-elem-card__description__more-btn.active svg{
    transform: rotate(-90deg);
}

.characteristic-auto-font {
    font-family: unset !important;
}

.npl-product-tags-section {
    margin: 12px auto 24px;
}

.npl-product-tags-section__title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
    color: #241d37;
}

.npl-product-tags-section__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.npl-product-tags-section .npl-tags-filter_tag {
    margin: 0;
}

/* End */


/* Start:/local/templates/new_plitka/components/bitrix/news.list/main_gallery/style.css?17814638122273*/
.main-gallery{
    position: relative;
}

.main-gallery__gallery img {
    width: 100%;
    height: 535px;
    object-fit: contain;
}

.main-gallery__thumbs .swiper-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-gallery__thumbs .swiper-slide-thumb-active {
    border: 2px solid #fbb738;
}

.main-gallery__thumbs{
    display: flex;
    margin-top: 10px;
    height: 64px;
    width: 650px;
}

.main-gallery .swiper-button-next, .main-gallery .swiper-button-prev{
    top: auto;
    bottom: 10px;
}

.main-gallery__gallery .zoom{
    background: rgba(0, 0, 0, 0.3) url(/local/templates/new_plitka/image/icon/zoom-in_2.png) no-repeat center center;
    height: 60px;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    opacity: 0;
    position: absolute;
    transition: opacity .3s;
    width: 60px;
    z-index: 1;
    border-radius: 100%;
}

.main-gallery__gallery .swiper-slide:hover .zoom{
    opacity: 1;
    transition: .3s;
}

.main-gallery__no-image img{
    display: block;
    margin: 0 auto;
}

.main-gallery_panorama .main-gallery__thumbs{
    margin-left: 120px !important;
    width: 575px;
}

.main-gallery_panorama .swiper-button-prev{
    left: 95px;
}

.main-gallery_delivery .main-gallery__thumbs{
    margin-left: 40px;
}

@media (max-width: 990px) {
    .main-gallery__thumbs{
        width: 80%;
    }

    .main-gallery_panorama .main-gallery__thumbs{
        margin-left: 125px !important;
        width: 50%;
    }

    .main-gallery{
        margin-bottom: 20px;
    }

    .main-gallery.main-gallery_panorama.main-gallery_one-item{
        margin-bottom: 50px;
    }
}

.main-gallery_full-width{
    width: 100%;
}

.main-gallery_full-width .main-gallery__thumbs{
    width: calc(100% - 60px);
}

@media (max-width: 600px) {
    .main-gallery__gallery img{
        height: 385px;
    }
}

@media (max-width: 500px) {
    .main-gallery__gallery img{
        height: 355px;
    }
}

@media (max-width: 400px) {
    .main-gallery__gallery img{
        height: 260px;
    }
}

.main-gallery .swiper-button-next{
    right: 0;
}

.main-gallery .swiper-button-prev{
    left: 0;
}
/* End */


/* Start:/local/templates/new_plitka/components/bitrix/system.pagenavigation/.default/style.css?1781463812744*/
div.modern-page-navigation { 
	padding: 0.5em 0;}
div.modern-page-navigation a, 
span.modern-page-current, 
span.modern-page-dots
{
	border-left-width: 1px;
	border-left-style: solid;
	padding-left: 0.75em;
	padding-right: 0.5em;
	text-decoration: none;
}
div.modern-page-navigation a.modern-page-previous { 
	border-right-width: 1px; 
	border-right-style: solid; 
	border-left: none; }
div.modern-page-navigation a.modern-page-first, 
div.modern-page-navigation span.modern-page-first { 
	border-left: none; 
	padding-left: 0.5em; }
span.modern-page-current { 
	font-weight: bold; }
div.modern-page-navigation a, 
span.modern-page-current, 
div.modern-page-navigation a.modern-page-previous, 
span.modern-page-dots { 
	border-color: #cdcdcd; }
/* End */


/* Start:/local/templates/new_plitka/components/bitrix/news.list/collection_photos/style.css?17842228273026*/
.collection-photos {
    width: 100%;
    margin: 16px 0;
}

.collection-photos__title {
    margin-bottom: 12px;
    font-family: "DINPro-Bold", sans-serif;
    font-size: 18px;
    line-height: 1.2;
    color: #000;
}

.collection-photos__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.collection-photos__grid_few {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.collection-photos__grid_single {
    grid-template-columns: minmax(0, 50%);
}

.collection-photos__item {
    position: relative;
    display: block;
    overflow: hidden;
    height: 150px;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.collection-photos__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-photos__item:hover {
    border-color: #fbb738;
}

.collection-photos__zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3) url(/local/templates/new_plitka/image/icon/zoom-in_2.png) no-repeat center center;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.collection-photos__item:hover .collection-photos__zoom {
    opacity: 1;
}

/* Fancybox v3: компактные стрелки у краёв фото */
.fancybox-collection-photos .fancybox-navigation .fancybox-button {
    width: 44px;
    height: 44px;
    padding: 0;
    margin-top: -22px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 1;
    visibility: visible;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.fancybox-collection-photos .fancybox-navigation .fancybox-button:hover {
    background: #fff;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.fancybox-collection-photos .fancybox-navigation .fancybox-button div {
    padding: 10px;
}

.fancybox-collection-photos .fancybox-navigation .fancybox-button--arrow_left,
.fancybox-collection-photos .fancybox-navigation .fancybox-button--arrow_right {
    top: 50%;
}

/* Fancybox v2 (опт) */
.fancybox-collection-photos.fancybox-wrap .fancybox-nav {
    width: 44px;
    height: 44px;
    margin-top: -22px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    visibility: visible;
}

.fancybox-collection-photos.fancybox-wrap .fancybox-nav span {
    visibility: visible;
    margin-top: -12px;
}

.fancybox-collection-photos.fancybox-wrap .fancybox-nav:hover {
    background: #fff;
}

@media (max-width: 991px) {
    .collection-photos__grid,
    .collection-photos__grid_few {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .collection-photos__grid,
    .collection-photos__grid_few,
    .collection-photos__grid_single {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* End */


/* Start:/local/templates/new_plitka/components/bitrix/system.pagenavigation/new_navig/style.css?1781463812431*/
.load_more {
	margin: 10px;
	padding: 10px;
	border: 1px solid #ddd;
	cursor: pointer;
	text-align: center;
}

.li__modern-page-next_mobile, .li_modern-page-previous_mobile{
	display: none;
}

@media (max-width: 600px) {
	.li__modern-page-next, .li_modern-page-previous{
		position: static !important;
		display: none;
	}

	.li__modern-page-next_mobile, .li_modern-page-previous_mobile{
		display: block;
		margin-top: -4px;
	}
}


/* End */


/* Start:/local/templates/new_plitka/components/bitrix/catalog.section/main/style.css?17814638123629*/
.priceDiscount {
    color: #d60303 !important;
}

.list-elements__item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
    flex-wrap: wrap;
    padding: 10px;
    box-sizing: content-box;
    margin-bottom: 15px;
}

.list-elements__item:hover{
    box-shadow: 0px 10px 20px rgb(0 0 0 / 10%);
}

.list-elements__title{
    font-weight: bold;
    font-size: 18px;
    color: #000;
    width: 250px;
}

/* Price && quantity block */

.list-elements__quantity {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.list-elements__quantity .left-column-price {
    display:flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    padding:40px 50px 0 50px;
    order: -1;
}
.list-elements__id{
    color: #807c7c;
    font-size: 14px;
}

.list-elements__basket-items{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.list-elements__price_base{
    font-size: 18px;
}

.list-elements__price_discount{
    font-size: 14px;
    text-decoration: line-through;
}

.list-elements.container .product-basket-link{
    width: 110px;
}

.list-elements .no-available{
    margin-top: 0;
}

.list-elements__image{
    width: 100px;
    height: 100px;
}

.list-elements__image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.list-elements .element-price__price,
.bottom_item_container .element-price__price {
    display:none;
}
.list-elements .element-price__price.active,
.bottom_item_container .element-price__price.active {
    display:block;
}



@media (max-width: 550px) {

    .list-elements__quantity {
        display:flex;
        flex-wrap:wrap;
        margin-top:30px;
        align-items: flex-start;
    }

    .list-elements__quantity .element-price__total-price,
    .list-elements__quantity .left-column-price element__item {width:50%;}
    .list-elements__quantity .right-column-price {position:relative;top:-35px;}
    .list-elements__quantity .left-column-price {padding:0;margin-left:auto;order:0}
    /*.npl-brands-section .element-price__total-price {order:1}*/
    .npl-brands-section .left-column-price element__item {order:0}
    .npl-brands-section .right-column-price {
        order:2;
        margin-left:auto;
    }
    .npl-brands-section .left-column-price {margin-left:0}
    .npl-brands-section.list-elements .element-price__total-price {
        justify-content: flex-end;
        position: absolute;
        right: 0;
    }
    .npl-brands-section .list-elements__quantity {justify-content: space-between;}
    .box-right-top .element-price {width:100%;}

}

@media (max-width: 1200px) {
    .list-elements{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        grid-gap: 20px;
    }

    .list-elements__item{
        height: auto;
        grid-row-gap: 15px;
    }

    .list-elements__image{
        width: 100%;
        height: auto;
    }

    .list-elements__image img{
        width: 100%;
        max-height: 345px;
        object-fit: cover;
    }

    .list-elements__item{
        display: grid;
    }

    .list-elements__basket-items{
        margin-top: 20px;
        display: grid;
    }

    .list-elements__size{
        grid-column: 2 / 3;
    }

    .list-elements__quantity{
        grid-column: 1 / 2;
    }

    .list-elements.container .list-elements__basket-items .product-basket-link{
        grid-column: 2 / 3;
    }

    .list-elements__quantity .box-position-npl-m2-elem{
        right: 60px;
    }
    .list-elements__price {
        margin-bottom: 10px;
    }
}
/* End */


/* Start:/local/templates/new_plitka/components/bitrix/catalog.section/.default/style.css?1781463812648*/
.new-novini_info .priceDiscount {
    color: #D00000;
}
.new-novini_info .priceBase {
    color: #BBBBBB;
    font-size: 14px;
    font-weight: 100;
    text-decoration: line-through;
}

/*catalog basket btn*/
.catalog__main-list .new-novini_item_hide{
    top:unset;
    bottom: -82px;
    height: auto;
    padding-bottom: 0;
}

.catalog__main-list .new-novini_item:hover .new-novini_item_hide {
    box-shadow: 0px 20px 20px rgb(0 0 0 / 10%);
}

.catalog__main-list .new-novini_item:hover {
    box-shadow: 0px 10px 20px rgb(0 0 0 / 10%);
}

.npl-navigate-container.npl-navigate-container_full-width{
    padding-right: 0;
    padding-left: 0;
}
/* End */


/* Start:/local/templates/new_plitka/css/npl_3d_bath.css?178423946839353*/
/* 3D apartment calculator — soft-launch UI shell */
:root {
  --npl3d-bg: #1a1d21;
  --npl3d-panel: #24282e;
  --npl3d-border: #3a4048;
  --npl3d-text: #e8eaed;
  --npl3d-muted: #9aa0a6;
  --npl3d-accent: #c45c26;
  --npl3d-accent-hover: #d96b32;
  --npl3d-ok: #3d8b5f;
  --npl3d-warn: #c9a227;
  --npl3d-danger: #c44;
  --npl3d-font: "Manrope", "Segoe UI", sans-serif;
  /* База под Full HD 1920×1080: узкая плотная панель */
  --npl3d-sidebar-w: 248px;
  --npl3d-ui: 13px;
  --npl3d-pad-x: 10px;
  --npl3d-pad-y: 8px;
  --npl3d-field-gap: 7px;
  --npl3d-input-pad: 5px 7px;
  --npl3d-btn-pad: 6px 10px;
}

body.npl-3d-embed-body,
body.npl-3d-embed-body .wrapper,
body.npl-3d-embed-body #panel {
  margin: 0 !important;
  padding: 0 !important;
}

body.npl-3d-embed-body header,
body.npl-3d-embed-body footer,
body.npl-3d-embed-body .header,
body.npl-3d-embed-body .footer,
body.npl-3d-embed-body .top-banner,
body.npl-3d-embed-body .breadcrumbs,
body.npl-3d-embed-body .breadcrumb,
body.npl-3d-embed-body .bx-breadcrumb,
body.npl-3d-embed-body h1,
body.npl-3d-embed-body .header-top,
body.npl-3d-embed-body .header-bottom,
body.npl-3d-embed-body .navbar,
body.npl-3d-embed-body .factory-alphabet,
body.npl-3d-embed-body .cookie-notice,
body.npl-3d-embed-body .modal-backdrop {
  display: none !important;
}

body.npl-3d-embed-body .workarea,
body.npl-3d-embed-body .content,
body.npl-3d-embed-body .container,
body.npl-3d-embed-body .wrapper {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.npl-3d-root {
  position: relative;
  display: flex;
  height: calc(100vh - 120px);
  max-height: calc(100vh - 120px);
  min-height: 0;
  overflow: hidden;
  background: var(--npl3d-bg);
  color: var(--npl3d-text);
  font-family: var(--npl3d-font);
  font-size: var(--npl3d-ui);
}

.npl-3d-root--embed,
.npl-3d-root--fs {
  height: 100vh;
  max-height: 100vh;
}

.npl-3d-sidebar {
  width: var(--npl3d-sidebar-w);
  flex: 0 0 var(--npl3d-sidebar-w);
  flex-shrink: 0;
  background: var(--npl3d-panel);
  border-right: 1px solid var(--npl3d-border);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.npl-3d-sidebar__brand {
  padding: var(--npl3d-pad-y) var(--npl3d-pad-x);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--npl3d-border);
  line-height: 1.25;
}

.npl-3d-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 6px;
  border-bottom: 1px solid var(--npl3d-border);
}

.npl-3d-tab {
  flex: 1 1 28%;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--npl3d-muted);
  padding: 5px 2px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.npl-3d-tab.is-active {
  color: var(--npl3d-text);
  border-color: var(--npl3d-border);
  background: var(--npl3d-bg);
}

.npl-3d-panel {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: var(--npl3d-pad-y) var(--npl3d-pad-x);
  -webkit-overflow-scrolling: touch;
}

.npl-3d-panel[hidden] {
  display: none !important;
}

.npl-3d-panel h3 {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--npl3d-muted);
  font-weight: 600;
}

.npl-3d-field {
  margin-bottom: var(--npl3d-field-gap);
}

.npl-3d-field label {
  display: block;
  font-size: 11px;
  color: var(--npl3d-muted);
  margin-bottom: 3px;
}

.npl-3d-field input,
.npl-3d-field select,
.npl-3d-field textarea {
  width: 100%;
  box-sizing: border-box;
  background: var(--npl3d-bg);
  border: 1px solid var(--npl3d-border);
  color: var(--npl3d-text);
  padding: var(--npl3d-input-pad);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.25;
}

.npl-3d-row {
  display: flex;
  gap: 6px;
}

.npl-3d-row > * {
  flex: 1;
  min-width: 0;
}

.npl-3d-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--npl3d-accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: var(--npl3d-btn-pad);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}

.npl-3d-btn:hover {
  background: var(--npl3d-accent-hover);
}

.npl-3d-btn--primary {
  background: var(--npl3d-accent);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(196, 92, 38, 0.35);
}

/* Мини-диалог: линия бордюра после кисти */
.npl-3d-border-ask {
  position: absolute;
  z-index: 40;
  min-width: 200px;
  max-width: 260px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(28, 32, 38, 0.96);
  border: 1px solid rgba(196, 92, 38, 0.55);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(232, 160, 106, 0.15);
  color: #f2efe8;
  opacity: 0;
  transform: translateY(6px) scale(0.96);
  transition: opacity 0.16s ease, transform 0.16s ease;
  pointer-events: auto;
}
.npl-3d-border-ask.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.npl-3d-border-ask__q {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
}
.npl-3d-border-ask__meta {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #a8a29a;
  font-weight: 400;
}
.npl-3d-border-ask__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}
.npl-3d-border-ask__plus {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--npl3d-accent, #c45c26);
  color: #fff;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(196, 92, 38, 0.35), 0 4px 14px rgba(196, 92, 38, 0.45);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.npl-3d-border-ask__plus:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 5px rgba(196, 92, 38, 0.45), 0 6px 18px rgba(196, 92, 38, 0.55);
}
.npl-3d-border-ask__cancel {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #5a554e;
  background: transparent;
  color: #c8c2b8;
  font-size: 14px;
  cursor: pointer;
}
.npl-3d-border-ask__cancel:hover {
  border-color: #a8a29a;
  color: #fff;
}

.npl-3d-btn--primary:hover {
  background: var(--npl3d-accent-hover);
}

.npl-3d-btn--ghost {
  background: transparent;
  border: 1px solid var(--npl3d-border);
  color: var(--npl3d-text);
}

.npl-3d-btn--ghost:hover {
  border-color: var(--npl3d-muted);
  background: var(--npl3d-bg);
}

.npl-3d-btn--block {
  width: 100%;
  margin-bottom: 6px;
}

.npl-3d-btn--danger {
  border-color: rgba(196, 92, 38, 0.65);
  color: #f0c4a8;
  background: rgba(196, 92, 38, 0.12);
}

.npl-3d-btn--danger:hover:not(:disabled) {
  background: rgba(196, 92, 38, 0.28);
  border-color: var(--npl3d-accent);
  color: #fff;
}

.npl-3d-clear-tiles {
  margin: 8px 0 4px;
  padding: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.npl-3d-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.npl-3d-sidebar__actions {
  display: flex;
  gap: 6px;
  padding: 8px;
  border-top: 1px solid var(--npl3d-border);
}

.npl-3d-sidebar__actions .npl-3d-btn {
  flex: 1;
  padding: 6px 4px;
  font-size: 11px;
}

.npl-3d-viewport {
  flex: 1 1 auto;
  position: relative;
  min-width: 0;
  min-height: 0;
  background: #121418;
  overflow: hidden;
}

/* Нижняя панель: плитки на сцене */
.npl-3d-used-tiles {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 12;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 12px 10px;
  background: linear-gradient(180deg, rgba(18, 20, 24, 0.72) 0%, rgba(18, 20, 24, 0.94) 40%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  pointer-events: auto;
  color: #e8eaed;
}

.npl-3d-used-tiles[hidden] {
  display: none !important;
}

.npl-3d-used-tiles__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.npl-3d-used-tiles__title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.npl-3d-used-tiles__hint {
  font-size: 11px;
  color: var(--npl3d-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.npl-3d-used-tiles__row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  min-width: 0;
}

.npl-3d-used-tiles__list {
  display: flex;
  flex: 1 1 auto;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 2px;
}

.npl-3d-used-tiles__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 220px;
  padding: 6px 10px 6px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(32, 36, 44, 0.92);
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.npl-3d-used-tiles__item:hover {
  border-color: rgba(232, 140, 74, 0.55);
  background: rgba(40, 44, 54, 0.96);
}

.npl-3d-used-tiles__item.is-active {
  border-color: var(--npl3d-accent, #e88c4a);
  box-shadow: 0 0 0 1px rgba(232, 140, 74, 0.35);
}

.npl-3d-used-tiles__img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #2a2e36;
}

.npl-3d-used-tiles__img--empty {
  display: block;
  background: repeating-linear-gradient(
    -45deg,
    #2a2e36,
    #2a2e36 4px,
    #343944 4px,
    #343944 8px
  );
}

.npl-3d-used-tiles__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.npl-3d-used-tiles__name {
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

.npl-3d-used-tiles__qty {
  font-size: 11px;
  color: var(--npl3d-muted);
  white-space: nowrap;
}

.npl-3d-used-tiles__total {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  min-width: 88px;
  padding: 4px 2px 4px 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.npl-3d-used-tiles__total-label {
  font-size: 10px;
  color: var(--npl3d-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.npl-3d-used-tiles__total-value {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: #fff;
}

.npl-3d-root--has-used-tiles .npl-3d-dims {
  bottom: 96px;
}

.npl-3d-viewport__tools {
  position: absolute;
  top: 12px;
  right: 12px;
  left: auto;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
  max-width: calc(100% - 24px);
  pointer-events: none;
}

.npl-3d-block {
  margin: 0 0 8px;
  border: 1px solid var(--npl3d-border);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.npl-3d-block__head {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 7px 10px;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
  line-height: 1.25;
  outline: none;
  box-shadow: none;
}

.npl-3d-block__head:hover {
  background: rgba(255, 255, 255, 0.04);
}

.npl-3d-block__head:focus,
.npl-3d-block__head:focus-visible {
  outline: none;
  /* inset — не вылезает на подсказку под заголовком */
  box-shadow: inset 0 0 0 1px rgba(196, 92, 38, 0.65);
  background: rgba(196, 92, 38, 0.08);
}

.npl-3d-block__chev {
  color: var(--npl3d-muted);
  font-size: 9px;
  width: 10px;
  flex-shrink: 0;
}

.npl-3d-block__hint {
  margin: 0 0 8px;
  font-size: 10px;
  color: var(--npl3d-muted);
  line-height: 1.35;
}

.npl-3d-block__body {
  padding: 2px 10px 10px;
}

.npl-3d-block.is-open {
  border-color: rgba(196, 92, 38, 0.35);
}

.npl-3d-block.is-open > .npl-3d-block__head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.npl-3d-seg--compact {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 8px;
}

.npl-3d-seg--compact button {
  flex: 1 1 auto;
  min-width: 44px;
  padding: 6px 8px;
  font-size: 11px;
  border: 1px solid var(--npl3d-border);
  border-radius: 4px;
  background: transparent;
  color: var(--npl3d-muted);
  cursor: pointer;
}

.npl-3d-seg--compact button.is-active {
  border-color: var(--npl3d-accent);
  color: #fff;
  background: rgba(196, 92, 38, 0.2);
}

.npl-3d-mode-badge {
  display: none;
  position: absolute;
  top: 52px;
  right: 12px;
  z-index: 13;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(196, 92, 38, 0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  pointer-events: none;
}

.npl-3d-mode-badge:not([hidden]) {
  display: block;
}

.npl-3d-btn--loupe.is-active {
  border-color: var(--npl3d-accent);
  background: rgba(196, 92, 38, 0.35);
}

.npl-3d-plan-fab {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  z-index: 14;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  border: 2px solid var(--npl3d-accent);
  background: rgba(20, 22, 26, 0.92);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  animation: npl3d-pulse 1.6s ease-in-out infinite;
}

.npl-3d-plan-fab[hidden],
.npl-3d-root:not([data-view='plan']) .npl-3d-plan-fab {
  display: none !important;
}

.npl-3d-plan-fab__icon {
  display: block;
  font-size: 11px;
  margin-top: 2px;
  color: var(--npl3d-muted);
}

@keyframes npl3d-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(196, 92, 38, 0.55);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(196, 92, 38, 0);
  }
}

.npl-3d-recent {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}

.npl-3d-recent button {
  max-width: 100%;
  padding: 4px 8px;
  border: 1px solid var(--npl3d-border);
  border-radius: 4px;
  background: transparent;
  color: #ddd;
  font-size: 10px;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.npl-3d-check {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 var(--npl3d-field-gap);
  font-size: 11px;
  color: var(--npl3d-muted);
  cursor: pointer;
  user-select: none;
  line-height: 1.3;
}

.npl-3d-estimate-opts {
  margin: 0 0 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.npl-3d-estimate-opts .npl-3d-field {
  margin-bottom: 4px;
}

.npl-3d-estimate-opts .npl-3d-field input[type='number'] {
  max-width: 88px;
}

.npl-3d-check input {
  width: 15px;
  height: 15px;
  accent-color: var(--npl3d-accent);
}

.npl-3d-card-price {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: #e8c9a8;
}

.npl-3d-card-price--na {
  font-weight: 400;
  color: var(--npl3d-muted);
}

.npl-3d-viewport__tools .npl-3d-btn {
  pointer-events: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.npl-3d-btn--tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.npl-3d-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 0;
}

.npl-3d-btn__icon svg {
  display: block;
}

.npl-3d-btn__label {
  white-space: nowrap;
}

.npl-3d-tab__icon {
  display: none;
  line-height: 0;
}

.npl-3d-tab__icon svg {
  display: block;
}

.npl-3d-btn--loupe .npl-3d-ico-minus,
.npl-3d-btn--loupe.is-zoomed .npl-3d-ico-loupe,
#npl-3d-fullscreen .npl-3d-ico-compress,
#npl-3d-fullscreen.is-fs .npl-3d-ico-expand {
  display: none;
}

.npl-3d-btn--loupe.is-zoomed .npl-3d-ico-minus,
#npl-3d-fullscreen.is-fs .npl-3d-ico-compress {
  display: block;
}

/* App-level fullscreen (works in iframe + standalone) */
.npl-3d-root--fs {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  z-index: 2147483000;
  margin: 0 !important;
}

body.npl-3d-fs-active {
  overflow: hidden !important;
}

body.npl-3d-fs-active header,
body.npl-3d-fs-active footer,
body.npl-3d-fs-active .header,
body.npl-3d-fs-active .footer,
body.npl-3d-fs-active .breadcrumbs,
body.npl-3d-fs-active .bx-breadcrumb {
  display: none !important;
}

#npl3dEmbedModal.is-fs .modal-dialog {
  width: 100vw;
  max-width: none;
  margin: 0;
  height: 100vh;
}

#npl3dEmbedModal.is-fs .modal-content {
  height: 100vh;
  border-radius: 0;
}

#npl3dEmbedModal.is-fs iframe {
  height: 100vh;
}

.npl-3d-canvas-wrap {
  position: absolute;
  inset: 0;
}

.npl-3d-canvas-wrap canvas,
.npl-3d-canvas--plan {
  width: 100%;
  height: 100%;
  display: block;
}

.npl-3d-canvas--plan {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #0e1014;
}

.npl-3d-canvas-wrap {
  z-index: 2;
}

.npl-3d-root[data-view="plan"] .npl-3d-canvas-wrap {
  visibility: hidden;
  pointer-events: none;
}

.npl-3d-root[data-view="room3d"] .npl-3d-canvas--plan {
  visibility: hidden;
  pointer-events: none;
}

.npl-3d-toast {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  z-index: 10;
  max-width: 90%;
}

.npl-3d-credit {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 11;
  pointer-events: auto;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: rgba(232, 234, 237, 0.88);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  text-decoration: none;
  text-transform: lowercase;
  cursor: pointer;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.npl-3d-credit:hover,
.npl-3d-credit:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  outline: none;
}

/* Фея СТР ЛАБ — оверлей поверх сцены, не блокирует клики */
.npl-3d-fairy-fx {
  position: absolute;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  overflow: hidden;
}

.npl-3d-fairy-fx.is-done {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.npl-3d-fairy__trail {
  position: absolute;
  inset: 0;
}

.npl-3d-fairy {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  will-change: transform;
  filter: drop-shadow(0 0 10px rgba(255, 230, 160, 0.75)) drop-shadow(0 0 18px rgba(220, 170, 255, 0.45));
}

.npl-3d-fairy__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.npl-3d-fairy__wing--l,
.npl-3d-fairy__wing--r {
  transform-origin: center;
  animation: npl-fairy-wing 0.28s ease-in-out infinite alternate;
}

.npl-3d-fairy__wing--r {
  animation-delay: 0.05s;
}

@keyframes npl-fairy-wing {
  from {
    opacity: 0.75;
  }
  to {
    opacity: 1;
  }
}

.npl-3d-fairy__spark {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--sz, 6px);
  height: var(--sz, 6px);
  margin: calc(var(--sz, 6px) / -2) 0 0 calc(var(--sz, 6px) / -2);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    hsl(var(--hue, 55) 100% 85%) 0%,
    hsl(var(--hue, 55) 90% 70% / 0.85) 40%,
    transparent 70%
  );
  box-shadow: 0 0 6px hsl(var(--hue, 55) 100% 75% / 0.9);
  transform: translate(var(--sx), var(--sy)) scale(1);
  animation: npl-fairy-spark 0.7s ease-out forwards;
}

.npl-3d-fairy__spark::after {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    linear-gradient(90deg, transparent 45%, #fff 50%, transparent 55%),
    linear-gradient(0deg, transparent 45%, #fff 50%, transparent 55%);
  opacity: 0.85;
}

@keyframes npl-fairy-spark {
  0% {
    opacity: 1;
    transform: translate(var(--sx), var(--sy)) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--sx) + var(--dx)), calc(var(--sy) + var(--dy))) scale(0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .npl-3d-fairy-fx {
    display: none !important;
  }
}

/* 2K — чуть шире панель, крупнее кредиты */
@media (min-width: 2400px) {
  :root {
    --npl3d-sidebar-w: 300px;
    --npl3d-ui: 14px;
    --npl3d-pad-x: 12px;
    --npl3d-pad-y: 10px;
    --npl3d-field-gap: 9px;
    --npl3d-input-pad: 7px 9px;
    --npl3d-btn-pad: 8px 12px;
  }

  .npl-3d-sidebar__brand {
    font-size: 16px;
  }

  .npl-3d-tab {
    font-size: 12px;
    padding: 6px 4px;
  }

  .npl-3d-credit {
    left: 18px;
    top: 18px;
    font-size: 18px;
  }
}

/* HiDPI Full HD (125–150% OS scale): не раздувать панель по dppx */
@media (min-width: 1600px) and (max-width: 2399px) and (min-resolution: 1.5dppx) {
  .npl-3d-credit {
    left: 14px;
    top: 14px;
    font-size: 15px;
  }
}

/* 4K */
@media (min-width: 3400px) {
  :root {
    --npl3d-sidebar-w: 340px;
    --npl3d-ui: 15px;
    --npl3d-pad-x: 14px;
    --npl3d-pad-y: 12px;
  }

  .npl-3d-sidebar__brand {
    font-size: 17px;
  }

  .npl-3d-tab {
    font-size: 13px;
    padding: 7px 6px;
  }

  .npl-3d-credit {
    left: 22px;
    top: 22px;
    font-size: 22px;
    letter-spacing: 0.08em;
  }
}

/* Низкая высота (классический 1080p) — ещё плотнее по вертикали */
@media (min-width: 901px) and (max-height: 1100px) {
  :root {
    --npl3d-pad-y: 6px;
    --npl3d-field-gap: 6px;
    --npl3d-input-pad: 4px 7px;
    --npl3d-btn-pad: 5px 9px;
  }

  .npl-3d-block {
    margin-bottom: 6px;
  }

  .npl-3d-block__head {
    padding: 6px 9px;
  }

  .npl-3d-block__body {
    padding: 0 9px 8px;
  }

  .npl-3d-sidebar__actions {
    padding: 6px;
  }
}

.npl-3d-plan-prep {
  position: relative;
  margin-bottom: 8px;
  border-radius: 4px;
  background: #111;
  overflow: hidden;
  max-height: 220px;
}

.npl-3d-plan-prep img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.npl-3d-btn--loupe.is-zoomed {
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  min-width: 36px;
}

.npl-3d-readonly-banner {
  position: absolute;
  left: 12px;
  top: 36px;
  z-index: 6;
  padding: 8px 12px;
  border-radius: 4px;
  background: rgba(20, 22, 26, 0.88);
  border: 1px solid var(--npl3d-border);
  color: var(--npl3d-muted);
  font-size: 12px;
  pointer-events: none;
}

.npl-3d-root--readonly .npl-3d-sidebar__actions,
.npl-3d-root--readonly .npl-3d-plan-fab,
.npl-3d-root--readonly [data-panel='plan'] button,
.npl-3d-root--readonly [data-panel='plan'] input,
.npl-3d-root--readonly [data-panel='plan'] select,
.npl-3d-root--readonly [data-panel='room3d'] button,
.npl-3d-root--readonly [data-panel='room3d'] input,
.npl-3d-root--readonly [data-panel='room3d'] select,
.npl-3d-root--readonly [data-panel='tiles'] button,
.npl-3d-root--readonly [data-panel='tiles'] input,
.npl-3d-root--readonly [data-panel='tiles'] select,
.npl-3d-root--readonly [data-panel='ai'] button,
.npl-3d-root--readonly [data-panel='ai'] textarea,
.npl-3d-root--readonly [data-panel='estimate'] [data-act='cart'],
.npl-3d-root--readonly [data-panel='estimate'] [data-act='quote'] {
  pointer-events: none;
  opacity: 0.45;
}

.npl-3d-root--readonly .npl-3d-tabs button,
.npl-3d-root--readonly .npl-3d-viewport__tools button {
  pointer-events: auto;
  opacity: 1;
}

.npl-3d-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.npl-3d-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--npl3d-border);
  border-radius: 4px;
  margin-bottom: 6px;
  cursor: pointer;
}

.npl-3d-list li.is-active {
  border-color: var(--npl3d-accent);
  background: rgba(196, 92, 38, 0.12);
}

.npl-3d-list--furn li {
  font-size: 12px;
  justify-content: space-between;
}

.npl-3d-list--furn li button {
  border: 0;
  background: transparent;
  color: var(--npl3d-muted);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0 4px;
}

.npl-3d-furn-edit {
  margin: 0 0 14px;
  padding: 10px;
  border: 1px solid var(--npl3d-border);
  border-radius: 4px;
}

.npl-3d-badge {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--npl3d-border);
  color: var(--npl3d-muted);
}

.npl-3d-badge--ok {
  background: rgba(61, 139, 95, 0.3);
  color: #8fd4a8;
}

.npl-3d-badge--no {
  background: rgba(204, 68, 68, 0.25);
  color: #f0a0a0;
}

.npl-3d-catalog-scroll {
  max-height: none;
}

.npl-3d-catalog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.npl-3d-catalog-grid--compact {
  gap: 6px;
}

.npl-3d-catalog-card {
  border: 1px solid var(--npl3d-border);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: var(--npl3d-bg);
}

.npl-3d-catalog-card.is-selected {
  border-color: var(--npl3d-accent);
  box-shadow: 0 0 0 1px var(--npl3d-accent);
}

.npl-3d-catalog-card--compact img {
  aspect-ratio: 16 / 10;
  max-height: 64px;
}

.npl-3d-catalog-card--compact .npl-3d-catalog-card__meta {
  font-size: 11px;
  line-height: 1.25;
  padding: 5px 6px;
}

.npl-3d-card-size {
  display: block;
  margin-top: 2px;
  color: var(--npl3d-muted);
  font-size: 10px;
}

.npl-3d-layout-hint {
  margin: 8px 0;
  padding: 8px 10px;
  border: 1px solid var(--npl3d-border);
  border-radius: 4px;
  background: rgba(196, 92, 38, 0.1);
  font-size: 12px;
  line-height: 1.4;
  color: var(--npl3d-text);
}

.npl-3d-btn--pulse {
  animation: npl3d-pulse 1.1s ease-in-out infinite;
}

@keyframes npl3d-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(196, 92, 38, 0.55);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(196, 92, 38, 0);
    filter: brightness(1.12);
  }
}

.npl-3d-link {
  background: none;
  border: none;
  color: var(--npl3d-accent);
  padding: 0;
  cursor: pointer;
  font-size: 12px;
}

.npl-3d-crumb {
  margin-bottom: 8px;
  font-size: 12px;
}

.npl-3d-muted {
  color: var(--npl3d-muted);
}

.npl-3d-catalog-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: #333;
}

.npl-3d-catalog-card__meta {
  padding: 6px;
  font-size: 11px;
}

/* Крупный превью при наведении на карточку каталога — справа над сценой */
.npl-3d-cat-preview {
  position: absolute;
  left: calc(var(--npl3d-sidebar-w, 248px) + 16px);
  top: 50%;
  transform: translateY(-48%) scale(0.98);
  z-index: 22;
  width: min(460px, calc(100% - var(--npl3d-sidebar-w, 248px) - 48px));
  max-width: 520px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.npl-3d-cat-preview.is-visible {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.npl-3d-cat-preview__frame {
  background: rgba(18, 20, 24, 0.94);
  border: 1px solid var(--npl3d-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

.npl-3d-cat-preview__img {
  display: block;
  width: 100%;
  max-height: min(56vh, 480px);
  object-fit: contain;
  background: #0e1013;
}

.npl-3d-cat-preview__cap {
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.npl-3d-cat-preview__title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.npl-3d-cat-preview__sub {
  margin-top: 3px;
  font-size: 12px;
  color: var(--npl3d-muted);
  line-height: 1.35;
}

@media (max-width: 900px) {
  .npl-3d-cat-preview {
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    top: auto;
    bottom: 12px;
    transform: translateY(8px) scale(0.98);
  }

  .npl-3d-cat-preview.is-visible {
    transform: translateY(0) scale(1);
  }

  .npl-3d-cat-preview__img {
    max-height: 36vh;
  }
}

.npl-3d-estimate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.npl-3d-estimate-table th,
.npl-3d-estimate-table td {
  border-bottom: 1px solid var(--npl3d-border);
  padding: 6px 4px;
  text-align: left;
}

.npl-3d-estimate-total {
  font-size: 18px;
  font-weight: 700;
  margin: 12px 0;
}

.npl-3d-hint {
  font-size: 12px;
  color: var(--npl3d-muted);
  line-height: 1.4;
  margin-bottom: 10px;
}

.npl-3d-hint--tight {
  font-size: 10px;
  margin-bottom: 6px;
  line-height: 1.35;
}

.npl-3d-picked {
  margin: 0 0 8px;
  font-size: 11px;
  color: var(--npl3d-muted);
  line-height: 1.35;
}

.npl-3d-picked strong {
  color: var(--npl3d-text);
  font-weight: 600;
}

.npl-3d-grout {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.npl-3d-grout button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid var(--npl3d-border);
  border-radius: 4px;
  background: transparent;
  color: var(--npl3d-muted);
  font-size: 11px;
  cursor: pointer;
}

.npl-3d-grout button.is-active {
  border-color: var(--npl3d-accent);
  color: #fff;
  background: rgba(196, 92, 38, 0.2);
}

.npl-3d-grout__swatch {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.npl-3d-seg {
  display: flex;
  border: 1px solid var(--npl3d-border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}

.npl-3d-seg--wrap {
  flex-wrap: wrap;
  overflow: visible;
}

.npl-3d-seg--wrap button {
  flex: 0 1 auto;
  min-width: 48px;
}

.npl-3d-seg button {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--npl3d-muted);
  padding: 7px;
  cursor: pointer;
}

.npl-3d-seg button.is-active {
  background: var(--npl3d-accent);
  color: #fff;
}

/* Host modal */
#npl3dEmbedModal .modal-dialog {
  width: 96vw;
  max-width: 1280px;
  margin: 2vh auto;
}

#npl3dEmbedModal .modal-content {
  background: #121418;
  border: none;
  height: 92vh;
}

#npl3dEmbedModal .modal-body {
  padding: 0;
  height: 100%;
}

#npl3dEmbedModal iframe {
  width: 100%;
  height: 92vh;
  border: 0;
  display: block;
}

.npl-3d-open-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 10px 14px;
  background: #c45c26;
  color: #fff !important;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
}

.npl-3d-open-btn:hover {
  background: #d96b32;
  color: #fff !important;
}

.npl-3d-root--share-visual .npl-3d-sidebar,
.npl-3d-root--share-visual .npl-3d-viewport__tools,
.npl-3d-root--share-visual .npl-3d-used-tiles,
.npl-3d-root--share-visual .npl-3d-plan-fab,
.npl-3d-root--share-visual .npl-3d-mode-badge,
.npl-3d-root--share-visual .npl-3d-canvas,
.npl-3d-root--share-visual .npl-3d-canvas-wrap {
  display: none !important;
}

.npl-3d-root--share-visual .npl-3d-viewport {
  display: none;
}

.npl-3d-share-visual {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #1a1d22;
  color: #e8eaed;
  overflow: auto;
  padding: 20px 16px 48px;
}

.npl-3d-share-visual__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
  margin-bottom: 16px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.npl-3d-share-visual__head span {
  color: #9aa0a6;
  font-size: 13px;
}

.npl-3d-share-visual__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}

.npl-3d-share-visual__card {
  margin: 0;
  background: #252a31;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #3a4048;
}

.npl-3d-share-visual__card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.npl-3d-share-visual__before {
  opacity: 0.85;
  border-bottom: 1px solid #3a4048;
}

.npl-3d-share-visual__card figcaption {
  padding: 8px 10px;
  font-size: 12px;
  color: #9aa0a6;
}

.npl-3d-share-visual__video {
  width: 100%;
  border-radius: 8px;
  background: #000;
  grid-column: 1 / -1;
}

.npl-3d-dims {
  position: absolute;
  left: 12px;
  bottom: 48px;
  z-index: 6;
  background: rgba(0, 0, 0, 0.55);
  color: #e8eaed;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 13px;
  pointer-events: none;
}

.npl-3d-ai-compare {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  background: #111;
  user-select: none;
}

.npl-3d-ai-compare__after,
.npl-3d-ai-compare__before {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.npl-3d-ai-compare__before-wrap {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  overflow: hidden;
  border-right: 2px solid #c45c26;
  pointer-events: none;
}

.npl-3d-ai-compare__before {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.npl-3d-ai-compare__range {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  width: 90%;
  margin: 0 5%;
  z-index: 2;
  accent-color: #c45c26;
}

.npl-3d-ai-compare__label {
  position: absolute;
  top: 6px;
  z-index: 2;
  font-size: 10px;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 3px;
  color: #e8eaed;
  pointer-events: none;
}

.npl-3d-ai-compare__label--l {
  left: 6px;
}

.npl-3d-ai-compare__label--r {
  right: 6px;
}

.npl-3d-hotkeys {
  position: absolute;
  inset: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.npl-3d-hotkeys__card {
  background: var(--npl3d-panel, #252a31);
  border: 1px solid var(--npl3d-border, #3a4048);
  border-radius: 8px;
  padding: 16px 18px;
  max-width: 440px;
  max-height: min(86vh, 720px);
  width: 100%;
  color: var(--npl3d-text, #e8eaed);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.npl-3d-hotkeys__card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.npl-3d-hotkeys__group {
  margin: 12px 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--npl3d-muted, #9aa0a6);
}

.npl-3d-hotkeys__group:first-of-type {
  margin-top: 0;
}

.npl-3d-hotkeys__card ul {
  margin: 0 0 4px;
  padding-left: 18px;
  line-height: 1.45;
  font-size: 13px;
}

.npl-3d-hotkeys__card li {
  margin-bottom: 4px;
}

.npl-3d-hotkeys__card li strong {
  font-weight: 600;
  color: #fff;
}

.npl-3d-hotkeys__card kbd {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid #6a7380;
  border-radius: 3px;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.25);
}

.npl-3d-hotkeys__card .npl-3d-btn {
  margin-top: 12px;
}

.npl-3d-ai-angles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.npl-3d-ai-out {
  min-height: 1.2em;
  margin: 8px 0;
  font-size: 13px;
  color: var(--npl3d-muted, #8a8580);
}

.npl-3d-ai-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0 12px;
}

.npl-3d-ai-card {
  border: 1px solid var(--npl3d-border);
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.12);
}

.npl-3d-ai-card.is-selected {
  border-color: #c45c26;
  box-shadow: inset 0 0 0 1px #c45c26;
}

.npl-3d-ai-card__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.npl-3d-ai-card__pair:has(.npl-3d-ai-card__half:only-child) {
  grid-template-columns: 1fr;
}

.npl-3d-ai-card__half span {
  display: block;
  font-size: 11px;
  color: var(--npl3d-muted, #8a8580);
  margin-bottom: 4px;
}

.npl-3d-ai-card__half img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.npl-3d-ai-card__meta {
  font-size: 12px;
  margin: 6px 0 4px;
  color: var(--npl3d-muted, #8a8580);
}

.npl-3d-ai-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.npl-3d-ai-card__actions .npl-3d-btn {
  padding: 4px 8px;
  font-size: 12px;
}

.npl-3d-ai-video {
  width: 100%;
  margin-top: 8px;
  border-radius: 4px;
  background: #000;
}

.npl-3d-wizard {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.npl-3d-wizard__card {
  background: var(--npl3d-panel);
  border: 1px solid var(--npl3d-border);
  border-radius: 8px;
  padding: 20px;
  max-width: 360px;
  width: 100%;
  color: var(--npl3d-text);
}

.npl-3d-wizard__card p {
  margin: 0 0 16px;
  line-height: 1.45;
  font-size: 15px;
}

.npl-3d-wizard__progress {
  height: 4px;
  border-radius: 2px;
  background: #2a2e34;
  margin-bottom: 14px;
  overflow: hidden;
}

.npl-3d-wizard__progress::after {
  content: '';
  display: block;
  height: 100%;
  width: var(--npl3d-wiz, 20%);
  background: var(--npl3d-accent, #c45c26);
  transition: width 0.2s ease;
}

@media (max-width: 900px) {
  .npl-3d-root {
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
  }

  .npl-3d-sidebar {
    width: 100%;
    flex: 0 0 auto;
    max-height: 42vh;
  }

  .npl-3d-sidebar__brand {
    font-size: 14px;
    padding: 8px 10px 4px;
  }

  .npl-3d-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 4px;
    padding: 4px 8px 6px;
    scrollbar-width: none;
  }

  .npl-3d-tabs::-webkit-scrollbar {
    display: none;
  }

  .npl-3d-tab {
    flex: 1 0 auto;
    min-width: 52px;
    flex-direction: column;
    gap: 2px;
    font-size: 10px;
    padding: 6px 6px;
    line-height: 1.15;
  }

  .npl-3d-tab__icon {
    display: inline-flex;
  }

  .npl-3d-sidebar__actions {
    gap: 6px;
    padding: 6px 8px;
  }

  .npl-3d-sidebar__actions .npl-3d-btn--tool {
    flex: 1;
    min-height: 40px;
    padding: 6px 8px;
    font-size: 11px;
  }

  .npl-3d-viewport {
    flex: 1 1 auto;
    min-height: 0;
  }

  .npl-3d-credit {
    left: 10px;
    top: auto;
    bottom: 10px;
    font-size: 11px;
    letter-spacing: 0.03em;
    max-width: 42%;
    z-index: 11;
  }

  .npl-3d-root--has-used-tiles .npl-3d-credit {
    bottom: calc(10px + var(--npl3d-used-h, 88px));
  }

  .npl-3d-used-tiles {
    padding: 6px 8px 8px;
    gap: 4px;
  }

  .npl-3d-used-tiles__hint {
    display: none;
  }

  .npl-3d-used-tiles__item {
    max-width: 168px;
    padding: 5px 8px 5px 5px;
  }

  .npl-3d-used-tiles__img {
    width: 34px;
    height: 34px;
  }

  .npl-3d-used-tiles__name {
    max-width: 110px;
    font-size: 11px;
  }

  .npl-3d-used-tiles__total {
    min-width: 72px;
    padding-left: 6px;
  }

  .npl-3d-used-tiles__total-value {
    font-size: 13px;
  }

  .npl-3d-root--has-used-tiles .npl-3d-dims {
    bottom: calc(12px + var(--npl3d-used-h, 88px));
  }

  .npl-3d-viewport__tools {
    top: 8px;
    right: 8px;
    left: 8px;
    max-width: none;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .npl-3d-viewport__tools::-webkit-scrollbar {
    display: none;
  }

  .npl-3d-viewport__tools .npl-3d-btn--tool {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    border-radius: 10px;
  }

  .npl-3d-viewport__tools .npl-3d-btn__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .npl-3d-btn--hotkeys {
    display: none;
  }

  .npl-3d-mode-badge {
    top: 56px;
    right: 8px;
  }
}

/* End */
/* /local/components/molotok/catalog/templates/brands_new/style.css?17810332071877 */
/* /local/templates/new_plitka/components/bitrix/catalog.element/newelem/style.css?17815073672709 */
/* /local/templates/new_plitka/components/bitrix/news.list/main_gallery/style.css?17814638122273 */
/* /local/templates/new_plitka/components/bitrix/system.pagenavigation/.default/style.css?1781463812744 */
/* /local/templates/new_plitka/components/bitrix/news.list/collection_photos/style.css?17842228273026 */
/* /local/templates/new_plitka/components/bitrix/system.pagenavigation/new_navig/style.css?1781463812431 */
/* /local/templates/new_plitka/components/bitrix/catalog.section/main/style.css?17814638123629 */
/* /local/templates/new_plitka/components/bitrix/catalog.section/.default/style.css?1781463812648 */
/* /local/templates/new_plitka/css/npl_3d_bath.css?178423946839353 */
