.elem-detale{ position: relative; background: #fff; border-radius: 5px;     box-shadow: 2px 4px 20px rgba(0, 0, 0, 0.05); padding: 20px;}
.elem-images .embla { position: relative; width: 100%}
.elem-images .embla__viewport {position: relative; overflow: hidden; width: 100%;}
.elem-images .embla__viewport.is-draggable { cursor: move;cursor: grab;}
.elem-images .embla__viewport.is-dragging {cursor: grabbing;}
.elem-images .embla__container {  backface-visibility: hidden;display: flex;touch-action: pan-y;flex-direction: row;height: auto; }
.elem-images .embla__slide {position: relative; width: 100%; min-width: 100%}
.elem-images .embla__slide img{width:auto; max-height: 220px; max-width: 220px; display: block; margin: auto}
.elem-image .embla__slide img{max-height: 220px; max-width: 220px; }
.elem-images .embla--thumb {padding-top: 0;margin-top: 20px; width: 100%; max-width: 240px; margin: 0 auto; margin-top: 20px; display: none}
.elem-images .embla__container--thumb {cursor: default;  width: 100%;  }
.elem-images .embla__slide--thumb { width:calc(25% - 6px); flex-basis: calc(25% - 6px); min-width: calc(25% - 6px); margin: 0 3px; box-sizing: border-box; opacity: .6;
    cursor: pointer;  transition: all 0.3s ease;  border: 1px solid #eee}
.elem-images .embla-thumbs__slide--selected{  opacity: 1; border: 1px solid #374151}
.elem-images .embla__slide__inner--thumb { touch-action: manipulation;cursor: pointer;border: 0;outline: 0;margin: 0;padding: 0;
    width: 100%; padding-bottom: 100%; background-color: transparent; background-repeat: no-repeat; background-position: center;
    background-size: cover; position: relative; display: block; overflow: hidden;
}

.embla_navbutton{ position: absolute; top: 0; bottom: 0; width: 34px; height: 34px;  line-height: 34px; text-align: center; color: #6e7772; border-radius: 50%; margin: auto; font-weight: 600; opacity: 0.6; cursor: pointer;  -webkit-transition: opacity .3s ease; transition: opacity .3s ease;}
.embla_navbutton:hover{ opacity: 1}
.embla_navbutton svg{ display: block; width: 100%;  }
.embla_navbutton svg path{fill:#767676}
.embla_navbutton.embla__prev{ left:0px; transform: rotate(180deg)}
.embla_navbutton.embla__next{ right:0px;}

.section-products .__container,
.catalog .__container
{ max-width: 1420px;}
/***/


.fancybox__backdrop{ background: #fff !important;}
.fancybox__toolbar{ background: #fff !important; border-bottom: 1px solid #eee !important;   text-shadow: none !important;}
.fancybox__nav, .fancybox__caption, .fancybox__toolbar{ color: #eee !important}
.fancybox__thumbs .carousel__slide .fancybox__thumb::after{ border-color: #eee !important; border-width: 1px !important}

.section.product{ margin-bottom: 30px;}
.elem-detale{}
.elem-detale .elem-title{ display: flex; justify-content: space-between; margin-bottom: 10px;}
.elem-detale h1{ font-size: 18px; line-height: 1.2; margin: 0; }

.elem-detale .favorites-action {}
.elem-detale .favorites-action .button{width: 30px; min-width: 30px; background-color: transparent;
    background-image: url(../../../images/sprite-icons.svg#favorites-icon-b);    background-repeat: no-repeat; background-position: right center;
    background-size: 20px; margin-left: 15px; box-shadow: none}
.elem-detale .favorites-action .button.is-active{ background-image: url(../../../images/sprite-icons.svg#favorites-icon-blue);}

.elem-detale .elem-offer{margin-top: 20px; display: flex; flex-direction: column}
.elem-detale .elem-offer .elem-offer-price{ flex-grow: 1; font-weight: 700; font-size: 24px;  }
.elem-detale .elem-offer .elem-offer-actions{flex-grow: 1; display: flex; align-items: center; margin-top: 10px;}


.basket-action{ flex-basis: 100%; height: 46px;}
.basket-action .button{ width: 100%; height: 100%; position: absolute; top: 0; left: 0; min-width: 0; display: none }
.basket-action .button.is-show{display: block }



.in-stock{ display: block; font-size: 13px; color: #1ba35f}
.not-in-stock{ display: block; font-size: 13px; color: #939393}

.elem-offer-addons{ margin-top: 30px; padding-top: 20px; border-top: 1px solid #d5d5d5}
.offer-addon{ opacity: .6; padding-right: 20px}
.offer-addon *{ margin: 0}
.offer-addon .icon{ height: 30px; margin-right: 15px; opacity: .6}
.offer-addon .icon svg{ display: block;  width: 46px; height: 100%; }

/***/
.ac-container{ padding-bottom:20px; clear:both}
.ac-container .data{ display:none; box-shadow:0px 0px 30px -10px #00000024; padding: 20px; background: #fff}
.ac-container .item-title{ margin-bottom:10px; background: #fff;}
.ac-container .item-title > .title{ padding:10px; width:100%; border:1px solid #eee; box-sizing:border-box; margin-bottom:5px; background: #fff;
    color: #80858c; position:relative; border-radius: 4px; -webkit-box-shadow: 0px 3px 6px -1px rgba(0, 0, 0, 0.16);    box-shadow: 0px 3px 6px -1px rgba(0, 0, 0, 0.16); cursor:pointer }
.ac-container .item-title .title:hover{ background:#f5f5f7}
.ac-container .item-title .title span{ display:block; width:12px; height:12px; position:absolute; top:0; bottom:0; right:10px; box-sizing:border-box;   margin:auto;    }
.ac-container .item-title .title span:before, .ac-container .item-title .title span:after{ content:""; display:block; width:100%; height:1px; position:absolute; top:0; bottom:0; left:0; right:0; margin:auto; background:#00a7e1; }
.ac-container .item-title .title span:after{ transform:rotate(90deg); left:1px}
.ac-container .item-title.is-open .title span:after{ display:none}
.ac-container .item-title .item-data{ padding-bottom:15px; display:none}
.ac-container .item-content-wrap *{ }
.ac-container .item-content-wrap .title{ font-size:16px; text-transform:uppercase; padding:15px 0;}
.ac-container .item-content-wrap{ padding:10px}
.ac-container .item-content-wrap p{ padding:5px}
.ac-container .item-content-wrap li p{ padding:0px; margin: 0}
.ac-container .item-content-wrap ul, .ac-container .item-content-wrap ol{ margin:5px 0 5px 20px;}

.elem-props{ max-width: 420px; margin-bottom: 15px;}
.elem-props:last-child{margin-bottom: 0;}
.elem-description  .elem-props{ max-width: 360px; margin-top: 20px;}
.elem-props-title{ font-weight: bold; font-size: 15px; margin-bottom: 10px;}
.elem-prop{ font-size: 14px; padding: 2px 0; display: -webkit-flex; display: flex; justify-content: space-between; -webkit-justify-content: space-between; -webkit-align-items: stretch;     align-items:stretch;}
.elem-prop-delemiter{ min-width: 50px; border-bottom: 1px dotted #b7b7b7; -webkit-flex:1; flex: 1; }

.elem-prop .elem-prop-val{  font-weight: bold }
.elem-props-link{ text-decoration: underline; opacity: 0.7; cursor: pointer; margin-left: 15px; }

.short-props{ font-size:12px;}
.short-props table td{width:50%; vertical-align:bottom; padding:5px 5px; line-height:1.3em; border-bottom: 1px dotted #eee;}

.elem-props.all{ width: 100%; max-width: none;}
.elem-props.all .elem-prop{  margin-bottom: 1px}
.elem-props.all .elem-prop-delemiter{ display: none}
.elem-props.all .elem-prop-name{ background: #f5f5f5; -webkit-flex: 1; flex: 1; padding: 5px; text-align: right; width: 70% }
.elem-props.all .elem-prop-val{ background: #eee; padding:5px 10px; text-align: left; width: 30%}

@media only screen and (min-width: 600px) {


    .elem-detale .elem-offer{ flex-direction: row  }
    .elem-detale .elem-offer .elem-offer-price{ min-width: 130px; flex-grow: 1 }
    .elem-detale .elem-offer .elem-offer-actions{flex-grow: 2; min-width: 250px; margin-top: 0px;}
}

@media only screen and (min-width: 768px) {

    .elem-wrapper{ display: flex;  }
    .elem-detale h1{ font-size: 26px; text-align: left}


    .elem-images { display: flex; flex-direction: row; flex: 1; flex-basis: 50%  }

    .elem-image{ order: 1; margin: auto}
    .elem-image .embla__container{ width: 360px;}
    .elem-image .embla__slide img{max-height: 300px; max-width: 300px; }

    .elem-thumb{ order: 0; margin-right: 20px}

    .elem-description{flex: 1; flex-basis: 50%; margin-left: 20px; margin-top: 20px}

    /***/
    .elem-images .embla--main{ order: 1}
    .elem-images .embla--thumb { --slide-spacing: 1rem; --slide-size: 100%; --slide-height: 19rem;
        padding: 1.6rem; order: 0; width: 80px; max-width: 80px; min-width:80px; padding: 0; margin: 0;}
    .elem-images .embla--thumb .embla__viewport {overflow: hidden;}
    .elem-images .embla--thumb .embla__container { display: flex; flex-direction: column;
        height: calc(var(--slide-spacing) + var(--slide-height)); max-height: 300px;}
    .elem-images .embla--thumb .embla__slide {flex: 0 0 var(--slide-size); min-height: 0; padding-top: var(--slide-spacing); position: relative;
        width: 100%; min-width: 100%; max-width: 100%;height: 80px;max-height: 80px;padding: 0; margin: 5px 0;}
    .embla_navbutton.embla__prev{ left: 15px;}
    .embla_navbutton.embla__next{ right: 15px;}

    .elem-props.all .elem-prop-name{  width: 50% }
    .elem-props.all .elem-prop-val{ width: 50%}


    .elem-detale .elem-offer{ flex-direction: column  }
    .elem-detale .elem-offer .elem-offer-actions { margin-top: 10px; max-width: 280px;}
    .quantity-variable-container{  }
}

@media only screen and (min-width: 1024px) {
    .elem-images .embla--thumb { display: flex}
    .elem-image .embla__container{ width: 420px;}

    .elem-detale .elem-offer-price{ font-size: 28px;}
    .basket-action { width: 160px; }
    /***/
    .ac-container .item-title{ display:inline-block; margin:0;}
    .ac-container .item-title .title { padding:10px 20px; margin:0;  -webkit-box-shadow: none; box-shadow:none; border-radius:7px 7px 0 0; margin:0; }
    .ac-container .titles{    border-bottom: 2px solid #374151}
    .ac-container .item-title .title span{ display:none}
    .ac-container .item-title.is-open .title {    background: #374151;   color: #fff; border-color:#374151}
    .ac-container .item-title .item-data { display:none}
    .ac-container .data{ display:block}
    .ac-container .data .item-content{ display:none}
    .ac-container .item-content-wrap{ padding:20px 0;}

}

@media only screen and (min-width: 1280px) {
    .elem-image .embla__container{ width: 500px;}
    .elem-image .embla__slide img{max-height: 400px; max-width: 400px; }
    .elem-images .embla--thumb{ --slide-height: 25rem;}
    .elem-images .embla--thumb .embla__container { max-height: 400px;}

    .elem-detale .elem-offer{ flex-direction: row; justify-content: flex-start;  }
    .elem-detale .elem-offer .elem-offer-price{ flex-grow: 0}
    .elem-detale .elem-offer .elem-offer-actions { margin-top: 0px; max-width: 280px;}
}


/***/
