/*Заголовок h1*/
.h1_header {
    font-size: 30px;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 600;
    color: #000000;
    line-height: 1.15;
}

/*аккордион*/
  .pd-seo-accordion,
  .pd-seo-accordion * {
    box-sizing: border-box;
  }

  .pd-seo-accordion {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: #111;
    font-family: var(--t-text-font, Arial, sans-serif);
  }

  .pd-seo-accordion__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 10px 40px;
  }

  .pd-seo-accordion__item {
    align-self: start;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: #f3f5f7;
  }

  .pd-seo-accordion__summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 97px;
    padding: 30px 90px 30px 30px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  .pd-seo-accordion__summary::-webkit-details-marker {
    display: none;
  }

  .pd-seo-accordion__summary::marker {
    content: "";
  }

  .pd-seo-accordion__title {
    margin: 0;
    padding: 0;
    color: #111;
    font-family: var(--t-heading-font, var(--t-text-font, Arial, sans-serif));
    font-size: 24px;
    font-weight: 600;
    line-height: 1.17;
  }

  .pd-seo-accordion__icon {
    position: absolute;
    top: 50%;
    right: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ff9f11;
    transform: translateY(-50%);
    transition: background-color .2s ease, transform .3s ease;
  }

  .pd-seo-accordion__icon::before,
  .pd-seo-accordion__icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    content: "";
    transform: translate(-50%, -50%);
    transition: transform .3s ease;
  }

  .pd-seo-accordion__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .pd-seo-accordion__item[open] .pd-seo-accordion__icon {
    transform: translateY(-50%) rotate(45deg);
  }

  .pd-seo-accordion__content {
    display: block;
  }

  .pd-seo-accordion--js .pd-seo-accordion__content {
    height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition:
      height .46s cubic-bezier(.22, .61, .36, 1),
      opacity .3s ease;
    will-change: height, opacity;
  }

  .pd-seo-accordion--js .pd-seo-accordion__item[open]:not(.pd-seo-accordion__item--closing) .pd-seo-accordion__content {
    opacity: 1;
    visibility: visible;
  }

  .pd-seo-accordion--js .pd-seo-accordion__item--closing .pd-seo-accordion__content {
    opacity: 0;
    visibility: visible;
  }

  .pd-seo-accordion__content-inner {
    min-height: 0;
    overflow: hidden;
    padding: 0 30px 30px;
  }

  .pd-seo-accordion__content p {
    margin: 0;
    color: #333;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.15;
  }

  .pd-seo-accordion__summary:focus-visible {
    outline: 3px solid rgba(0, 76, 48, .28);
    outline-offset: -3px;
    border-radius: 14px;
  }

  @media (hover: hover) {
    .pd-seo-accordion__summary:hover .pd-seo-accordion__icon {
      background: #c4ac41;
    }

    .pd-seo-accordion__item[open] .pd-seo-accordion__summary:hover .pd-seo-accordion__icon {
      transform: translateY(-50%) rotate(45deg);
    }
  }

  @media (max-width: 959px) {
    .pd-seo-accordion__grid {
      grid-template-columns: minmax(0, 1fr);
      gap: 10px;
    }
  }

  @media (max-width: 479px) {
    .pd-seo-accordion {
      width: 100%;
      padding: 0 20px;
    }

    .pd-seo-accordion__summary {
      min-height: 97px;
      padding: 24px 76px 24px 20px;
    }

    .pd-seo-accordion__title {
      font-size: 20px;
      line-height: 1.2;
    }

    .pd-seo-accordion__icon {
      right: 20px;
      width: 40px;
      height: 40px;
    }

    .pd-seo-accordion__content-inner {
      padding: 0 20px 24px;
    }
  }

  @media (min-width: 960px) {
    .pd-seo-accordion--reveal-ready .pd-seo-accordion__item {
      opacity: 0;
      transform: translateY(36px);
    }

    .pd-seo-accordion--reveal-ready .pd-seo-accordion__item--visible {
      opacity: 1;
      transform: translateY(0);
      transition:
        opacity .65s ease var(--pd-reveal-delay, 0ms),
        transform .65s cubic-bezier(.22, .61, .36, 1) var(--pd-reveal-delay, 0ms);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .pd-seo-accordion__content,
    .pd-seo-accordion__icon,
    .pd-seo-accordion__icon::before,
    .pd-seo-accordion__icon::after,
    .pd-seo-accordion__item {
      transition: none !important;
    }

    .pd-seo-accordion__item {
      opacity: 1 !important;
      transform: none !important;
    }
  }




/*Кнопки*/
.btn_right {justify-content: flex-end};

.pd-btn-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  /*align-self: center;*/
}

.pd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #ffffff !important;
  background-color: #ff9f11;

  border: 0;
  border-style: none !important;
  border-radius: 10px;

  box-shadow: 0px 15px 30px -10px rgba(0, 11, 48, 0.2) !important;

  font-family: var(--t-text-font, Arial), sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 1.15px;

  padding: 6px 12px;

  text-decoration: none !important;
  cursor: pointer;

  transition-duration: 0.2s;
  transition-property: background-color, color, border-color, box-shadow, opacity, transform, gap;
  transition-timing-function: ease-in-out;
}

@media (hover: hover) {
  .pd-btn:hover {
    color: #f9f9f9 !important;
    background-color: #c4ac41 !important;
    box-shadow: 0px 2px 3px rgba(0, 11, 48, 0.25) !important;
  }

  .pd-btn:focus-visible {
    color: #f9f9f9 !important;
    background-color: #c4ac41 !important;
    box-shadow: 0px 2px 3px rgba(0, 11, 48, 0.25) !important;
    outline: none;
  }
}

/*главная страница кнопка подробнее*/
#rec1883276051 .t-card__descr {
  font-size: 16px;
  line-height: 1.15;
  text-transform: uppercase;
}


/* Кнопка "Подробнее" в блоке блога */
#rec1884209851 .t-btnflex.t-btnflex_type_button,
#rec1884209851 .t-btn {
    color: #ffffff !important;
    background-color: #ff9f11 !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 15px 30px -10px rgba(0, 11, 48, 0.2) !important;
    transition: 
        background-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease !important;
}

/* Hover */
#rec1884209851 .t-btnflex.t-btnflex_type_button:hover,
#rec1884209851 .t-btn:hover {
    color: #ffffff !important;
    background-color: #c4ac41 !important;
    box-shadow: 0 8px 18px -8px rgba(0, 11, 48, 0.35) !important;
    transform: translateY(-2px);
}

/* Активное нажатие */
#rec1884209851 .t-btnflex.t-btnflex_type_button:active,
#rec1884209851 .t-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px -6px rgba(0, 11, 48, 0.35) !important;
}

/* Фокус с клавиатуры */
#rec1884209851 .t-btnflex.t-btnflex_type_button:focus-visible,
#rec1884209851 .t-btn:focus-visible {
    outline: 2px solid #c4ac41 !important;
    outline-offset: 3px !important;
}




/*Иконка назад*/
.icons_arrow_back {
   fill: #F0EDE4;
   width: 32px;
   height: 32px;
   -webkit-transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    z-index: 99;
}

.icons_arrow_back:hover { fill: #004c30; }
.icons_arrow_back:active { fill: #004c30; }


/*Иконка назад popUp*/
.icons_arrow_back_beton {
   fill: #004c30 !important;
   width: 32px;
   height: 32px;
   -webkit-transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    z-index: 99;
}


.str_icon_arrow_back_2 {
    stroke: #fff;
    stroke-width: 20;
    stroke-miterlimit: 22.9256;
    stroke-linecap:round;
    stroke-linejoin:round;
    z-index: 98;
}

.icons_arrow_back:hover .str_icon_arrow_back_2 { 
    stroke: red; 
    fill: red;
    color: red;
}



/*Иконка поделиться*/
.icon_share{
   fill:#B4E9FE;
   width: 32px;
   height: 32px;
    cursor: pointer;
    z-index: 99;
}

.fil_icon_bg_share,
.fil_icon_share {
   -webkit-transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.fil_icon_bg_share{ fill:#B4E9FE; }
.fil_icon_share{ fill:#fff; }


.cont_icon_share:hover .fil_icon_share { fill:#fdfdfd; }
.cont_icon_share:hover .fil_icon_bg_share { fill:#00bfff; }



/*иконка назад внутри popUp*/
.icons_arrow_back_beton {
   fill: #F0EDE4;
   width: 32px;
   height: 32px;
   -webkit-transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    z-index: 99;
}

.icons_arrow_back_beton:hover { fill: #004c30; }
.icons_arrow_back_beton:active { fill: #004c30; }


/*картинки выпоненные работы (главная страница)*/
#rec1883276051 .t959__card {
    padding: 10px 5px 0px 5px;
}

/*Отзывы (главная страница)*/
.reviews {
   /*width:100%;*/
   /*margin: 0 20px;*/
   height:800px;
   overflow:hidden;
   position:relative; 
   display: flex;
   justify-content: center;
}

.reviews_iframe {
    display: flex;
    width:100%;
    height:100%;
    margin: 0 20px;
    border:1px solid #e6e6e6;
    border-radius:8px;
    box-sizing:border-box;
};


@media screen and (max-width: 479px) {
    div.t396__elem.tn-elem.tn-elem__20244787711773322726902 { width: 100%; }
    .badge { 
        width: 100%;
        margin: 0 20px;
    }
    
    
    
}



.badge__comments {
    
}


/*Скрыть полосу прокрутки у блока с преимуществами (главная страница)*/

.advantages-parent-scroll::-webkit-scrollbar {
    display: none;
}

.advantages-parent-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
}



/*Слайдер первый экран (главная страница)*/

.t1120__content {
    margin: 15px 0;
    align-items: flex-end;
}



@media screen and (max-width: 1200px) {
    .t-title_xl {
        font-size: 28px;
    }
}

.t1120__col-right {
     width: auto;
     display: none;
    /* width: 33%; */
}

/*div.t1120__col-right {*/
/*     display: none;*/
/*}*/

@media screen and (max-width: 960px) {
    .t1120__content
 {
        display: block;
        margin: 15px 0;
    }
}

div.t1120__content t1120__content_top {
    
}



@media screen and (max-width: 480px) {
    .t-btnflex_xs, .t-btn.t-btnflex_xs, .t-submit.t-btnflex_xs {
        --height: 30px;
    }
}

@media screen and (max-width: 960px) {
    .t1120__col-left+.t1120__col-right
 {
        margin-top: 15px;
    }
}


/*Отступ 20px от краев экрана, ширина 100% для мобильных экранов до 479px*/

@media (max-width: 479px) {
  .mob_flex_100 {
    left: 0 !important;
    right: 0 !important;
    width: calc(100% - 40px) !important;
    max-width: calc(100% - 40px) !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
    box-sizing: border-box !important;
  }
}

/*----------------------------------------*/
/*Стили для описания карточек товара*/
/*----------------------------------------*/

/*урна брест*/
 .pd-material-option {
    box-sizing: border-box !important;
    cursor: pointer !important;
    border-radius: 14px !important;
    outline: none !important;
  }

  .pd-material-option.pd-material-selected {
    border: 2px solid #004c30 !important;
  }

  .pd-material-option:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 76, 48, .22) !important;
  }

  .add_to_cart {
    position: relative !important;
  }

  .change_invoice,
  .change_invoice .tn-atom,
  .change_invoice .tn-atom * {
    cursor: pointer !important;
    transition: color .2s ease !important;
  }

  .add_to_cart,
  .download_layout,
  .add_to_cart > .tn-molecule,
  .add_to_cart > .tn-atom,
  .download_layout > .tn-molecule,
  .download_layout > .tn-atom,
  .pd-order-link {
    cursor: pointer !important;
    transition: background-color .2s ease !important;
  }

  .product_quantity .deduct_product,
  .product_quantity .add_product,
  .product_quantity .deduct_product > .tn-molecule,
  .product_quantity .deduct_product > .tn-atom,
  .product_quantity .add_product > .tn-molecule,
  .product_quantity .add_product > .tn-atom {
    cursor: pointer !important;
    transition: color .2s ease !important;
  }

  @media (hover: hover) {
    .change_invoice:hover,
    .change_invoice:hover .tn-atom,
    .change_invoice:hover .tn-atom * {
      color: #00bfff !important;
    }

    .add_to_cart:hover > .tn-molecule,
    .add_to_cart:hover > .tn-atom,
    .download_layout:hover > .tn-molecule,
    .download_layout:hover > .tn-atom {
      background-color: #00bfff !important;
    }

    .product_quantity .deduct_product:hover,
    .product_quantity .deduct_product:hover .tn-atom,
    .product_quantity .deduct_product:hover .tn-atom *,
    .product_quantity .add_product:hover,
    .product_quantity .add_product:hover .tn-atom,
    .product_quantity .add_product:hover .tn-atom * {
      color: #f0ede4 !important;
    }
  }

  .pd-order-link {
    position: absolute;
    inset: 0;
    z-index: 20;
    border-radius: inherit;
    font-size: 0;
  }

  .vdiz-slides-track,
  .vdiz-slides-track *,
  .pd-generated-thumb,
  .pd-generated-thumb *,
  .pd-gallery-popup,
  .pd-gallery-popup * {
    box-sizing: border-box;
  }

  .Vdiz_gallery .current_img {
    position: relative !important;
    overflow: hidden !important;
    cursor: zoom-in;
    background: transparent !important;
  }

  .Vdiz_gallery .current_img > .tn-molecule,
  .Vdiz_gallery .current_img > .tn-atom,
  .Vdiz_gallery .current_img > .tn-molecule > .tn-atom {
    overflow: hidden !important;
    border-radius: 14px !important;
  }

  /* Не даём исходному фону Tilda просвечивать под динамическими слайдами. */
  .Vdiz_gallery .current_img > .tn-molecule,
  .Vdiz_gallery .current_img > .tn-atom {
    background-color: transparent !important;
    background-image: none !important;
  }

  .vdiz-slides-track {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    height: 100%;
    will-change: transform;
    transition: transform .42s cubic-bezier(.22, .61, .36, 1);
    background: transparent !important;
  }

  .vdiz-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    margin-right: 4px;
    box-sizing: border-box;
    overflow: hidden;
    border: 2px solid #f0ede4;
    border-radius: 14px;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 100%;
  }

/*
.Vdiz_gallery .vdiz-slide .pd-indexable-product-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    background: #fff;
    pointer-events: none;
    user-select: none;
}
*/

.Vdiz_gallery .vdiz-slide .pd-indexable-product-image {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: block;
    width: auto !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: contain;
    object-position: center;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    background: #fff;
    pointer-events: none;
    user-select: none;
}

  .vdiz-slide.is-portrait {
    background-size: auto 100%;
  }

  .vdiz-slide.is-landscape {
    background-size: auto 100%;
  }

  .pd-current-zoom-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    display: block;
    width: 32px;
    height: 32px;
    pointer-events: none;
    transform: scale(1);
    transform-origin: center;
    transition: transform .25s ease;
  }

  .pd-current-zoom-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
    stroke: #004c30;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke-width .25s ease;
  }

  @media (hover: hover) {
    .Vdiz_gallery .current_img:hover .pd-current-zoom-icon {
      transform: scale(1.2);
    }

    .Vdiz_gallery .current_img:hover .pd-current-zoom-icon svg {
      stroke-width: 2;
    }
  }

  .Vdiz_gallery .prew_img,
  .Vdiz_gallery .next_img {
    z-index: 5 !important;
    cursor: pointer !important;
  }

  .Vdiz_gallery .prew_img .tn-atom[role="img"],
  .Vdiz_gallery .next_img .tn-atom[role="img"] {
    background-position: center !important;
    background-size: 20px 20px !important;
    background-repeat: no-repeat !important;
    transition: background-color .2s ease, background-image .2s ease !important;
  }

  .Vdiz_gallery .prew_img .tn-atom[role="img"] {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20d%3D%22M20%207L11%2016L20%2025%22%20fill%3D%22none%22%20stroke%3D%22%23004c30%22%20stroke-width%3D%224%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") !important;
  }

  .Vdiz_gallery .next_img .tn-atom[role="img"] {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20d%3D%22M12%207L21%2016L12%2025%22%20fill%3D%22none%22%20stroke%3D%22%23004c30%22%20stroke-width%3D%224%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") !important;
  }

  @media (hover: hover) {
    .Vdiz_gallery .prew_img:hover .tn-atom[role="img"],
    .Vdiz_gallery .next_img:hover .tn-atom[role="img"] {
      background-color: #004c30 !important;
    }

    .Vdiz_gallery .prew_img:hover .tn-atom[role="img"] {
      background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20d%3D%22M20%207L11%2016L20%2025%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%224%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") !important;
    }

    .Vdiz_gallery .next_img:hover .tn-atom[role="img"] {
      background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20d%3D%22M12%207L21%2016L12%2025%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%224%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") !important;
    }
  }

  .Vdiz_gallery .all_img_gallery.pd-all-img-gallery-scroll {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: 4px !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .Vdiz_gallery .all_img_gallery.pd-all-img-gallery-scroll::-webkit-scrollbar {
    display: none !important;
  }

  .Vdiz_gallery .img_items {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    flex: 0 0 auto !important;
    overflow: hidden !important;
    border: 2px solid #f0ede4 !important;
    border-radius: 14px !important;
    cursor: pointer !important;
    transition: border-color .2s ease !important;
  }

  .Vdiz_gallery .img_items.is-active {
    border: 2px solid #004c30 !important;
  }

  .Vdiz_gallery .img_items .tn-molecule,
  .Vdiz_gallery .img_items .tn-atom,
  .pd-thumb-image {
    width: 100% !important;
    height: 100% !important;
    border-radius: 11px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
  }

  .pd-thumb-image {
    display: block !important;
    overflow: hidden !important;
  }

  .pd-generated-thumb {
    flex: 0 0 120px !important;
    width: 120px !important;
    height: 120px !important;
    padding: 0;
    background: transparent;
  }

  body.pd-gallery-open {
    overflow: hidden !important;
  }

  .pd-gallery-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    color: #fff;
    background: rgba(0, 0, 0, .5);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  .pd-gallery-popup.is-open {
    display: flex;
    flex-direction: column;
  }

  .pd-popup-toolbar {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-height: 58px;
    padding: 8px 14px;
  }

  .pd-popup-counter {
    margin-right: auto;
    padding-left: 4px;
    font: 500 14px/1.2 Arial, sans-serif;
  }

  .pd-popup-button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: rgba(0, 0, 0, .34);
    cursor: pointer;
    font: 500 23px/1 Arial, sans-serif;
    transition: background .2s ease, transform .2s ease;
  }

  .pd-popup-button:hover {
    background: rgba(0, 76, 48, .88);
  }

  .pd-popup-button:active {
    transform: scale(.94);
  }

  .pd-popup-button.is-playing {
    background: #004c30;
  }

  .pd-popup-stage {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    touch-action: none;
  }

  .pd-popup-image-wrap {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
  }

  .pd-popup-image {
    display: block;
    max-width: calc(100vw - 140px);
    max-height: calc(100vh - 160px);
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    transform: translate3d(0, 0, 0) scale(1);
    transform-origin: center;
    transition: transform .18s ease;
    cursor: zoom-in;
  }

  .pd-popup-image.is-zoomed {
    cursor: grab;
    transition: none;
  }

  .pd-popup-image.is-dragging {
    cursor: grabbing;
  }

  .pd-popup-prev,
  .pd-popup-next {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
  }

  .pd-popup-prev {
    left: 18px;
  }

  .pd-popup-next {
    right: 18px;
  }

  .pd-popup-thumbs {
    position: relative;
    z-index: 4;
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 20px 16px;
    scrollbar-width: thin;
  }

  .pd-popup-thumb {
    flex: 0 0 74px;
    width: 74px;
    height: 58px;
    padding: 0;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .45);
    border-radius: 10px;
    background: #1a1a1a;
    cursor: pointer;
  }

  .pd-popup-thumb.is-active {
    border-color: #36a77c;
  }

  .pd-popup-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  @media (max-width: 479px) {
    .product_Information {
      left: 50% !important;
      width: calc(100vw - 40px) !important;
      min-width: 0 !important;
      max-width: calc(100vw - 40px) !important;
      box-sizing: border-box !important;
      transform: translateX(-50%) !important;
    }

    .product_Information > .tn-molecule,
    .product_Information > .tn-atom {
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
    }

    .Vdiz_gallery {
      left: 50% !important;
      width: 100vw !important;
      max-width: 100vw !important;
      transform: translateX(-50%) !important;
    }

    .Vdiz_gallery .current_img {
      width: 100vw !important;
      height: 200px !important;
      max-width: 100vw !important;
    }

    .Vdiz_gallery .current_img > .tn-molecule,
    .Vdiz_gallery .current_img > .tn-atom {
      width: 100% !important;
      height: 200px !important;
    }

    .Vdiz_gallery .prew_img,
    .Vdiz_gallery .next_img {
      display: none !important;
    }

    .Vdiz_gallery .all_img_gallery {
      width: 100vw !important;
      max-width: 100vw !important;
      padding: 0 0 4px !important;
    }

    .Vdiz_gallery .all_img_gallery .img_items:first-child {
      margin-left: 20px !important;
    }

    .Vdiz_gallery .all_img_gallery .img_items:last-child {
      margin-right: 20px !important;
    }

    .Vdiz_gallery .img_items {
      flex-basis: 86px !important;
      width: 86px !important;
      height: 68px !important;
    }

    .pd-popup-toolbar {
      min-height: 54px;
      padding: 6px 10px;
    }

    .pd-popup-button {
      width: 40px;
      height: 40px;
    }

    .pd-popup-prev,
    .pd-popup-next {
      display: none;
    }

    .pd-popup-image {
      max-width: 100vw;
      max-height: calc(100vh - 145px);
    }
  }

  @media (min-width: 480px) and (max-width: 959px) {
    .Vdiz_gallery .pd-generated-thumb {
      flex-basis: 96px !important;
      width: 96px !important;
      height: 96px !important;
    }
  }


/*
.Vdiz_gallery .vdiz-slide .pd-indexable-product-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    background: #fff;
    pointer-events: none;
    user-select: none;
}
*/


body.pd-material-viewer-open {
  overflow: hidden !important;
}

/*
 * Временно скрывает меню фактур вместе с его фоном,
 * сохраняя состояние и позицию прокрутки.
 */
.t1093.pd-material-menu-suspended {
  display: none !important;
}

.pd-material-viewer {
  z-index: 1000001;
}

.pd-material-viewer__title {
  min-width: 0;
  margin-right: auto;
  overflow: hidden;
  color: #fff;
  font: 500 16px/1.25 "Roboto", Arial, sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Старая SVG-иконка «Назад» */
.pd-material-viewer__back {
  display: block;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin-left: 6px;
  margin-right: 4px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  cursor: pointer;
}

.pd-material-viewer__back:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 8px;
}

.pd-material-viewer__back .icons_arrow_back_beton {
  display: block;
  width: 32px;
  height: 32px;
  fill: #004c30 !important;
  transition: transform .2s ease;
}

.pd-material-viewer__back:hover .icons_arrow_back_beton {
  transform: scale(1.06);
}

.pd-material-viewer__back:active .icons_arrow_back_beton {
  transform: scale(.94);
}

.pd-material-viewer__back .str_icon_arrow_back_2 {
  fill: none;
  stroke: #fff;
  stroke-width: 20;
  stroke-miterlimit: 22.9256;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pd-material-viewer .pd-popup-stage {
  padding: 10px 70px 30px;
}

.pd-material-viewer .pd-popup-image {
  max-width: min(820px, calc(100vw - 140px));
  max-height: calc(100vh - 125px);
  border-radius: 20px;
  box-shadow: 0 16px 55px rgba(0, 0, 0, .32);
}

@media (max-width: 479px) {

  /*
   * Первая строка:
   * назад — название — закрыть.
   *
   * Вторая строка:
   * уменьшить — увеличить.
   */
  .pd-material-viewer .pd-popup-toolbar {
    display: grid;
    grid-template-columns:
      32px minmax(0, 1fr) 40px 40px 32px;
    grid-template-areas:
      "back title title title close"
      ".    .     minus plus  .";
    align-items: center;
    gap: 6px;
    min-height: 0;
    padding: 8px 10px;
  }

  /*
   * Кнопка возврата остаётся такой же,
   * как в текущем варианте.
   */
  .pd-material-viewer__back {
    grid-area: back;
    flex: 0 0 32px;
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    margin: 0;
  }

  /*
   * Название занимает широкую первую строку
   * и может переноситься максимум на две строки.
   */
  .pd-material-viewer__title {
    grid-area: title;
    display: -webkit-box;
    min-width: 0;
    max-height: 2.5em;
    margin: 0;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.25;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    text-overflow: clip;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  /*
   * Минус и плюс всегда остаются круглыми
   * и больше не сжимаются заголовком.
   */
  .pd-material-viewer__zoom-out,
  .pd-material-viewer__zoom-in {
    flex: 0 0 40px;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
  }

  .pd-material-viewer__zoom-out {
    grid-area: minus;
  }

  .pd-material-viewer__zoom-in {
    grid-area: plus;
  }

  /*
   * Крестик оформлен как зелёная
   * скруглённая кнопка возврата.
   */
  .pd-material-viewer__close {
    grid-area: close;
    flex: 0 0 32px;
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    color: #ffffff;
    border: 0;
    border-radius: 8px;
    background: #004c30;
    font-size: 25px;
    line-height: 1;
  }

  .pd-material-viewer__close:hover,
  .pd-material-viewer__close:focus-visible {
    background: #006640;
  }

  .pd-material-viewer .pd-popup-stage {
    padding: 8px 10px 16px;
  }

  /*
   * Учитываем увеличившуюся двухстрочную шапку.
   */
  .pd-material-viewer .pd-popup-image {
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 130px);
    max-height: calc(100dvh - 130px);
    border-radius: 14px;
  }
}
