.elementor-16832 .elementor-element.elementor-element-d1de846{--display:flex;}#elementor-popup-modal-16832{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-16832 .dialog-message{width:1200px;height:auto;}#elementor-popup-modal-16832 .dialog-close-button{display:flex;}#elementor-popup-modal-16832 .dialog-widget-content{box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}@media(max-width:767px){.elementor-16832 .elementor-element.elementor-element-d1de846{--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}#elementor-popup-modal-16832 .dialog-message{width:100vw;}}/* Start custom CSS for shortcode, class: .elementor-element-9531e33 *//* Модалка — фон отдельным слоем */
.size-modal{
  position: fixed;
  inset: 0;
  background: transparent;      /* фон перенесём в ::before */
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
.size-modal.is-open{ display: flex; }

.size-modal::before{
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);  /* можно .35–.55 по вкусу */
}

/* Картинка не затемняется никогда */
.size-modal img{
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* Кнопка закрытия поверх */
.size-modal__close{
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 38px; height: 38px;
  line-height: 38px;
  text-align: center;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  z-index: 2;
}

.sizes_block {
    flex-direction: column-reverse;
}

.sizes_block::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

.sizes_img {
    display: none;
}

.sizes_block {
    padding-bottom: 20px;
    margin-top: 20px;
}

@media screen and (max-width: 991.8px) {
    .sizes_block {
        margin-top: 20px !important;
        padding-bottom: 50px !important;
    }
}/* End custom CSS */