

/* Start:/bitrix/templates/cryptostore_2022/components/bitrix/catalog/.default/bitrix/catalog.element/.default/style.css?179542565950164*/
.b-visible {
    display:none;
}

.catalog-detail-desc-text{
    clear: both;
}

.detail-pull-left{
    overflow: hidden;
}

.datail-rating{
    width: 170px;
}
.b-more-link span{
    color: #ccc;
}

/*таблица сравнения товаров*/

#t_compare {
    font-size:12px;
    width: 100%;
}

#t_compare thead  tr td{
    background-color:#e1e1e1;
    font-weight: bold;
    padding:5px;
}
#t_compare thead  tr td a{
    color:black;
    text-decoration:none;
}

#t_compare thead  tr td div{
    height:86px;
}

#t_compare tr:nth-of-type(even) {
    background-color: #f5f5f5;
}

#t_compare tbody tr:last-child td{
    border-bottom: none;
}


#t_compare td {
    /*border-bottom: solid #cccccc 2px;*/
    padding:5px;
    text-align:center;
    height:66px;
}

#t_compare td:first-child {
    width:30%;
    text-align:left;
}

#t_compare .active {
    background-color:#f5f5f5;
    color:#f5232e;
    border-left: 2px solid #e1e1e1;
    border-right: 2px solid #e1e1e1;
}

#t_compare thead .active {
    background-color:#f5f5f5;
}


#t_compare .red-btn2 {
    display:none;
}

#t_compare .active .red-btn2{
    display:block;
}

.gray_div1 {
    /*background: #f8f8f8;
    border: 1px solid #ccc;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;*/
    padding: 8px 0px 8px 0px;
    margin-top: 6px;
    border-top: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
}

#t_compare.tdd7 td {
    width:10%;
}

#t_compare.tdd6 td {
    width:11.67%;
}

#t_compare.tdd5 td {
    width:14%;
}

#t_compare.tdd4 td {
    width:17.5%;
}

#t_compare.tdd3 td {
    width:23.34%;
}

#t_compare.tdd2 td {
    width:35%;
}

#t_compare td.td0{
    width:30%;
}

.t_prop td {
    font-size:11px;
    text-transform:uppercase;
}


.t_c_bold {
    font-size: 22px;
    color: #f5232e;
    font-weight:600;
}

.x_desc_1 {
    background-color:#f5f5f5;
    padding:20px;
    font-size:12px;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

.x_desc_1 table tr:nth-of-type(odd){
    background:#ffffff;
}

.x_desc_1 table tr td {
    /*border-width:0px;*/
}


.main_product{
    display: flex;
    margin-top:64px;
}

.cart_product_img img {
    margin: 24px;
    width: 320px;
    height: max-content;
    max-width: 320px;
    object-fit: contain;
    margin-bottom: 0;
    max-height: 400px;
}
.cart_product_img{
    margin-right: 32px;
}

.about_product2{
    display: flex;
}

.product_breads_crumbs a{
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;

    /* identical to box height, or 171% */

    /* gray 1 */
    color: #565B61;
}

.product_breads_crumbs a:hover{
    color: #C01B24;
    transition: color 0.1s ease;
    cursor: pointer;
}

a.vector{
    background-image: url(/bitrix/templates/cryptostore_2022/components/bitrix/catalog/.default/bitrix/catalog.element/.default/image3/vector.svg);
    width: 24px;
    background-repeat: no-repeat;
    height: 24px;
    background-position: center;
    display: block;
}

.product_breads_crumbs {
display: flex;
margin-bottom: 16px;
}

.about_product h1{
    font-style: normal;
    font-weight: 500;
    font-size: 32px;
    line-height: 40px;

    /* identical to box height, or 125% */

    /* black */
    color: #0F0F10;
    margin: 0;
    margin-bottom: 12px;
}

.about_product2 p{
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 22px;

    /* or 137% */

    /* black */
    color: #0F0F10;
    margin: 0;
    margin-bottom: 28px;
}

.about_product_dis{
    width: 468px;
}


.product_total {
width: 248px;
margin-left: 52px;
}

.product_price_old{
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 24px;

    /* identical to box height, or 120% */
    text-decoration-line: line-through;

    /* gray 1 */
    color: #565B61;
}

.sale_percent{
    background: #DB1F29;
border-radius: 4px;
padding: 4px 8px;
display: block;
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 16px;

/* identical to box height, or 114% */

color: #FFFFFF;
width: 53px;
box-sizing: border-box;
margin-left: 12px;
}

.price_sale{
    display: flex;
    margin-bottom: 4px;
}

.product_price output{
    font-weight: bold;
    font-size: 32px;
    line-height: 40px;

    /* identical to box height, or 125% */

    /* black */
    color: #0F0F10;
}


.product_price a{
    margin-top: 20px;
    margin-bottom: 36px;
    display: block;
    padding: 13px 36px 15px;
    box-sizing: border-box;
    width: 100%;
    height: 52px;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;

    /* identical to box height, or 133% */

    /* white */
    color: #FFFFFF;
    /* red */
    background: #DB1F29;
    border-radius: 4px;
    text-align: center;
}


.product_price a:hover{
    transition: 0.2s ease;
    background: #C01B24;
    cursor: pointer;
}

.com_question_icon::before{
    background-image: url(/bitrix/templates/cryptostore_2022/components/bitrix/catalog/.default/bitrix/catalog.element/.default/image3/bar-chart-2.svg);
}

.com_question_icon2::before{
    background-image: url(/bitrix/templates/cryptostore_2022/components/bitrix/catalog/.default/bitrix/catalog.element/.default/image3/help-circle.svg);
}

.com_question_icon3::before{
    background-image: url(/bitrix/templates/cryptostore_2022/components/bitrix/catalog/.default/bitrix/catalog.element/.default/image3/share-2.svg);
}

.com_question a::before{
    display: block;
    width: 20px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    content: "";
    margin-right: 8px;
}

.com_question a:hover{
    color: #C01B24;
}
.com_question a:hover:before{
filter: invert(21%) sepia(71%) saturate(6971%) hue-rotate(349deg) brightness(90%) contrast(90%);
    }

.com_question a{
    display: flex;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;

    /* identical to box height, or 171% */

    /* red */
    color: #DB1F29;
    margin-right: 14px;
    text-decoration: none;
transition: color 0.1s ease;
cursor: pointer;
}

.com_question{
    display: flex;
    margin-bottom: 36px;
}

.custom_poduct::before{
    content: "";
    background-image: url(/bitrix/templates/cryptostore_2022/components/bitrix/catalog/.default/bitrix/catalog.element/.default/image3/icon_suc.svg);
    display: block;
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size:contain;
    margin-right: 9px;
    min-width: 24px;
}

.custom_poduct{
    display: flex;
    margin-bottom: 16px;
}

.custom_poduct span{
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;

    /* identical to box height, or 143% */

    /* black */
    color: #0F0F10;
}

span.delivery_min{
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;

    /* or 143% */

    /* black */
    color: #0F0F10;
}

.product_select_item input[type="radio"] {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}

.product_select_item label{
    padding: 3px 8px 5px 8px;
    cursor: pointer;
    color: #454547;
    font-size: 15px;
    line-height: 22px;
    text-align: left;
    border-radius: 6px;
    border: 1px solid #CFD1D6;
}


.product_select_item input[type=radio]:checked + label {
  border: 1px solid #0F0F10;
}

.product_select_item input:focus + label {
  border: 1px solid #0F0F10;
}

.select_product_flex{
    display: flex;
    flex-wrap: wrap;
}

.product_select_item{
    margin-right: 12px;
}

.select_product span{
    display: block;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;

    /* identical to box height, or 150% */

    /* black */
    color: #0F0F10;
    margin-bottom: 10px;
}

.select_product{
    margin-bottom: 24px;
}

.product_select_item label:hover{
    border: 1px solid #565B61;
}

.product_select_item label{
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;

    /* identical to box height, or 143% */
    overflow: hidden;
    /* black */
    color: #0F0F10;
   padding: 6px 10px;
height: 32px;
display: block;
box-sizing: border-box;
}

.dropdown_dop_product{
    display: none;
}

.add_product_item{
    display: flex;
}

input[type="checkbox"]:checked + label::before {
    background-color: #0F0F10;
    border: 1px solid #0F0F10;
}

input[type="checkbox"] + label::before {
    content: "";
    display: inline-block;
    vertical-align: -15%;
    height: 20px;
    width: 20px;
    background-color: rgba(0,0,0,0);
    border: 1px solid #787F87;
    border-radius: 4px;
    margin-right: 10px;
    transition: border 0.2s ease;
    box-sizing: border-box;
transition: color 0.1s ease;
}

input[type="checkbox"]:checked + label::after {
    content: '';
    position: absolute;
    width: 1.3ex;
    height: 0.7ex;
    background: rgba(0, 0, 0, 0);
    top: 0.9ex;
    left: 0.8ex;
    border: 2.5px solid #fff;
    border-top: none;
    border-right: none;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 1ex;
}

.add_product_item_check_text {
    position: relative;
    cursor: pointer;
}

.add_product_item_check input[type="checkbox"] {
    position: absolute;
    left: -999em;
}

.add_product_item_price{
    margin:0 8px;
}

.add_product_item_check label{
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 25px;

    /* identical to box height, or 150% */

    /* black */
    color: #0F0F10;
}

.add_product_item_check label:hover:before{
    border: 1px solid #0F0F10;
}

.add_product_item_price p{
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;

    /* identical to box height, or 150% */

    /* gray 1 */
    color: #565B61;
    margin: 0;
}

.add_product_item_question img{
    margin-right: 8px;
    width: 24px;
    height: 24px;
}

.url_dop_product img{
        width: 24px;
    height: 24px;
}

.add_product{
    margin-bottom: 12px;
}

.add_product_item_question:hover .dropdown_dop_product{
    display: block;
}

.dropdown_dop_product{
    -webkit-animation: fade-in 0.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation: fade-in 0.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    background: #FFFFFF;

    /* shadow */
    box-shadow: 0px 1px 4px rgba(17, 17, 26, 0.05), 0px 8px 24px rgba(17, 17, 26, 0.1), 0px 16px 48px rgba(17, 17, 26, 0.1);
    border-radius: 4px;
    position: absolute;
    z-index: 99;
    width: 468px;
}


.dropdown_dop_product p{
    margin: 0;
    padding: 20px 24px;
}

.description_product_content_tab{
    display: none;
}

.description_product{
    display: flex;
    padding-top: 40px;
    border-top: 1px solid #DBDEE1;
    margin-top: 48px;
}

.description_product_menu{
    width: 368px;
    margin-right: 32px;
    position: sticky;
    height: max-content;
    overflow: auto;
    top: 100px;
    bottom: 0;

}

.description_product_content{
    width: 768px;
}

.description_product_menu ul{
    margin: 0;
}

.description_product_content_tab{
    -webkit-animation: fade-in 0.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation: fade-in 0.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

.description_product_content_tab p{
    margin: 0;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 22px;

    /* or 137% */

    /* gray add */
    color: #303336;
margin-bottom: 32px;
}

.product_property_string{
    margin-bottom: 24px;
    display: flex;
}



.product_property_string span{
    font-style: normal;
font-weight: normal;
font-size: 16px;
line-height: 22px;

/* identical to box height, or 137% */

/* gray add */
color: #303336;
display: block;
width: 368px;
}

span.product_property_string_name{
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 22px;

    /* identical to box height, or 137% */

    /* gray 1 */
    color: #303336;
    position: absolute;
    top: 0;
    width: max-content;
    background: #fff;
    z-index: 2;
    font-weight: 500;
}



.product_property_string_dots{
    width: 400px;
    position: relative;
}

.description_product_content_button{
   font-style: normal;
font-weight: normal;
font-size: 16px;
line-height: 24px;

/* identical to box height, or 150% */

/* gray add */
color: #303336;
display: flex;
cursor: pointer;
transition: color 0.1s ease;
margin-bottom: 8px;
}

.description_product_content_button.active{
     font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;

    /* identical to box height, or 150% */

    /* black */
    color: #0F0F10;
}

.description_product_content_button.active::after{
    content: '';
    background-image: url(/bitrix/templates/cryptostore_2022/components/bitrix/catalog/.default/bitrix/catalog.element/.default/image3/arrow.svg);
    width: 22px;
    height: 22px;
    background-position: center;
    margin-left: 8px;
    display: block;
        -webkit-animation: fade-in 0.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation: fade-in 0.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;

}



.section_product{
    padding-bottom: 80px;
}

.block_recently_product:hover p{
    color: #DB1F29;
}

.block_recently_product{
    padding: 16px;
    box-sizing: border-box;border: 1px solid #fff;
}

.block_recently_product:hover{
    cursor: pointer;
    border: 1px solid #DBDEE1;
    box-sizing: border-box;
}

.recently_product_add_basket a:hover{
    background-color: #C01B24;
}

#count_block_basket{
    display:none;
    width: 248px;
    margin-top: 20px;
    margin-bottom: 24px;
    -webkit-animation: fade-in 0.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation: fade-in 0.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

#count_block_basket span{
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 40px;
    /* identical to box height, or 150% */
    
    
    /* black */
    
    color: #0F0F10;
}

.count_plus_minus{
    width:120px;
    display:flex;
    border: 1px solid #DBDEE1;
    box-sizing: border-box;
    border-radius: 4px;
    margin-left:auto;
}

.count_plus_minus input {
    border: 0;
    background: #fff;
    cursor: pointer;
    border-radius: 6px;
    padding:0 !important;
    width:40px;
    height:40px;
    text-align:center;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    /* identical to box height, or 150% */
    
    
    /* black */
    
    color: #0F0F10;
    outline:0;
}

#button_minus {
    transition: filter 0.1s ease;
    background: url(/bitrix/templates/cryptostore_2022/components/bitrix/catalog/.default/bitrix/catalog.element/.default/image3/basket_minus.svg);
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -99999px;
    filter:invert(91%) sepia(10%) saturate(66%) hue-rotate(169deg) brightness(98%) contrast(89%);
}

#button_plus {
    transition: filter 0.1s ease;
    background: url(/bitrix/templates/cryptostore_2022/components/bitrix/catalog/.default/bitrix/catalog.element/.default/image3/basket_plus.svg);
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -99999px;
}

#button_plus:hover, #button_minus:hover {
    filter: invert(27%) sepia(100%) saturate(5566%) hue-rotate(347deg) brightness(77%) contrast(95%);
}

.delivery_min{
    display:-webkit-box;
}

.delivery_min::before{
    content: "";
    background-image: url(/bitrix/templates/cryptostore_2022/components/bitrix/catalog/.default/bitrix/catalog.element/.default/image3/mail.svg);
    display: block;
    width: 100%;
    max-width: 20px;
    height: 20px;
    background-position: center;
    background-repeat: no-repeat;
        background-size: contain;
    margin-right: 8px;
}

p.delivery_min {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #0F0F10;
}

.block_done_products {
    margin-top: 40px;
    padding: 16px 24px;
    background: var(--gray-4);
}

.block_done_products h4{
    margin: 0;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 8px;
    color: var(--black);
}

.done_products a{
    dsiplay:block;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: var(--red);
}


.product_price2{
    text-align:center;
}

.section_price{
    display:none;
    padding-top: 64px;
    padding-bottom: 80px;
        -webkit-animation: fade-in 0.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation: fade-in 0.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

.ask_price_flex{
    display:flex;
    justify-content: space-between;
}

.ask_price_tittle {
    width: 368px;
}

.ask_price_tittle h2{
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    
    margin:0;
    color: var(--black);
}

.ask_price_form{
    width:768px;
}

.ask_price_form h4{
    margin-bottom:32px;
    margin-top:8px;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    
    /* identical to box height, or 133% */
    
    /* black */
    color: var(--black);
}

.ask_price_input input{
    border: 0;
    border-bottom: 1px solid var(--gray-2);
    display: block;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    box-sizing: border-box;
    color: var(--gray-1);
    width: 100%;
    max-width: 468px;
    padding: 9px 0;
    height: 40px;
    transition:1s ease;
}

.ask_price_input label{
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: var(--gray-1);
    width: 100%;
    max-width: 468px;
    padding: 9px 0;
}


.ask_price_input span{
    display:block;
    margin-bottom: 32px;
  vertical-align: top;
  position: relative;
}

.ask_price_input span.error::after{
    content: "Ошибка";
    font-weight: 500;
    font-size: 12px;
    line-height: 12px;

    /* identical to box height, or 100% */

    /* red */
    color: var(--red);
    margin-top:4px;
    position:absolute;
    display:block;
}


.ask_price_input input:focus-visible{
    outline:0;
}   


.ask_price_input a{
    width: 168px;
    padding: 9px 28px 11px;    
    background: var(--red);
    border-radius: 4px;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    color: #FFFFFF;
    display: block;
    text-align: center;
    height: 44px;
    margin-top: 48px;
    transition: color 0.1s ease;
}

.ask_price_input a:hover{
    background: var(--red-hover);
}

.ask_price_privacy{
    margin-top:24px;
    width:468px;
}


.ask_price_privacy span{
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    
    /* or 133% */
    
    /* gray 1 */
    color: var(--gray-1);
}


.form-input:focus-visible ~ label, .form-input:valid ~ label{
  top: -17px;
  font-size: 14px;
    line-height: 14px;
}

input[type="text"], input[type="password"] {
    padding: 0 !important;
}

.form-input:focus-visible, .form-input:valid{
    border-bottom: 1px solid var(--black);
    color: var(--black);
}

.form-label {
  position: absolute;
  pointer-events: none;
  top: 0px;
  white-space: nowrap;
  overflow: hidden;
  line-height: 40px;
  transition: .3s;
}

.section_done{
    display:none;
    -webkit-animation: fade-in 0.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation: fade-in 0.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    padding-top: 64px;
    padding-bottom: 80px;
}

.return_product a {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: var(--red);
    display: flex;
    transition: color 0.1s ease;
}

.return_product a:hover{
    color:var(--red-hover);
}

.return_product a::before {
    margin-top: -2px;
    background-image: url(/bitrix/templates/cryptostore_2022/components/bitrix/catalog/.default/bitrix/catalog.element/.default/image3/return_left.svg);
    content: '';
    width: 24px;
    height: 24px;
    background-position: center;
    display: block;
    margin-right: 4px;
}

.done_price_ask h4{
    margin:0;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;

    /* identical to box height, or 133% */

    /* black */
    color: var(--black);
    margin-bottom:16px;
}

.done_price_ask p{
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    
    /* identical to box height, or 150% */
    
    /* gray add */
    color: var(--gray-add);
    margin:0;
    padding-bottom:168px;
}

.com_question input[type="checkbox"] {
    position: absolute;
    left: -999em;
}


.com_question label.com_question_icon::before{
    display: block;
    width: 20px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    content: "";
    margin-right: 8px;
    border: 0;
}

.com_question label {
    display: flex;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;
    color: #DB1F29;
    margin-right: 14px;
    text-decoration: none;
    transition: color 0.1s ease;
    cursor: pointer;
}

.com_question input[type="checkbox"]:checked + label::before {
     background-color: inherit;
    border: inherit;
}

.add_product_item_check.add_product_item_text {
    max-width: 300px;
    width: 100%;
}

.description_product_content_tab {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: var(--black);
}

.description_product_content_tab ul {
    margin-bottom: 32px;
    margin-top: 0;
}


.description_product_content_tab ul li::before {
    content: '\2022';
    margin-right: 4px;
    line-height: 20px;
}

.popup_product_share {
    display: none;
    position: absolute;
    background-color: #fff;
    padding: 12px 16px;
    box-shadow: 0px 16px 56px rgba(17, 17, 26, 0.1), 0px 8px 16px rgba(17, 17, 26, 0.1), 0px 4px 16px rgba(17, 17, 26, 0.1);
    border-radius: 4px;
right: 0;
top: 26px;
-webkit-animation: fade-in 0.15s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
animation: fade-in 0.15s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

.com_question{
    position:relative;
    width: max-content;
}

a.com_question_icon3:hover ~ .popup_product_share{
    display:flex;
}

.popup_product_share:hover{
    display:flex;
}

.share_product_img{
    display: block;
    filter: invert(52%) sepia(15%) saturate(199%) hue-rotate(171deg) brightness(92%) contrast(93%);
    transition: 0.15s ease;
    width: 24px;
    height: 24px;
    margin: 8px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


.share_product_img:hover{
    filter: grayscale(0%);
}

.share_product_vk {
  background-image: url(/bitrix/templates/cryptostore_2022/components/bitrix/catalog/.default/bitrix/catalog.element/.default/image3/simple-icons_vk.svg);
}

.share_product_tg {
  background-image: url(/bitrix/templates/cryptostore_2022/components/bitrix/catalog/.default/bitrix/catalog.element/.default/image3/simple-icons_telegram.svg);
}

.dop_image_product {
    display: flex;
    width: max-content;
    justify-content: space-between;
    margin: 0 auto;
    overflow-x: scroll;
    scrollbar-width: none;
    max-width: 304px;
}

.dop_image_product .dop_img img {
    width: 70px;
    max-width: 70px;
    padding: 0;
    border: 1px solid var(--gray-3);
    box-sizing: border-box;
    border-radius: 4px;
    height: 52px;
    margin-right: 0px;
    object-fit: contain;  
    cursor: pointer;
    transition: 0.1s ease;
}

.dop_image_product .dop_img img:hover {
    border: 1px solid var(--black);
}

.chevron_left{
    width: 24px;
    height: 24px;
    border: 1px solid var(--gray-2);
    box-sizing: border-box;
    border-radius: 20px;
    padding: 2px;
    bottom: 24px;
    right: -8px;
    position: absolute;
    cursor: pointer;
    transition: 0.1s ease;
    background: #fff;
	text-align: center;

}

 .chevron_left_popup{
    width: 36px;
    height: 36px;
    border: 1px solid var(--gray-2);
    box-sizing: border-box;
    border-radius: 20px;
    padding: 6px;
    bottom: 0;
    right: 16px;
    position: absolute;
    cursor: pointer;
    transition: 0.1s ease;
    background: #fff;
    margin:auto;
    top:0;
}


.chevron_right {
    width: 24px;
    height: 24px;
    border: 1px solid var(--gray-2);
    box-sizing: border-box;
    border-radius: 20px;
    padding: 2px;
    bottom: 24px;
    left: -8px;
    position: absolute;
    cursor: pointer;
    transition: 0.1s ease;
    transform: scale(-1, 1);
    background: #fff;
	text-align: center;
}

.chevron_right_popup {
    width: 36px;
    height:36px;
    border: 1px solid var(--gray-2);
    box-sizing: border-box;
    border-radius: 20px;
    padding: 6px;
    bottom: 0;
    left: 16px;
    position: absolute;
    cursor: pointer;
    transition: 0.1s ease;
    transform: scale(-1, 1);
    background: #fff;
    top:0;
    margin:auto;
}


.chevron_left_popup:hover img, .chevron_left:hover img, .chevron_right:hover img, .chevron_right_popup:hover img {
  filter: invert(21%) sepia(71%) saturate(6971%) hue-rotate(349deg) brightness(90%) contrast(90%);
}

.chevron_left_popup:hover, .chevron_left:hover, .chevron_right:hover, .chevron_right_popup:hover {
    border-color: var(--red);
}

.chevron_left img, .chevron_right img {
    padding: 0;
    width: 14.4px;
    height: 14.4px;
    margin:0;
}

.cart_product_img{
    position:relative;
}

.dop_image_product::-webkit-scrollbar {
  display: none;
    height:0;
    overflow:hidden;
}

.popup_image_product{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    top: 0;
    z-index: 9999999;
    left: 0;
    display:none;
}

.popup_image_product:focus {
    outline: none;
}

.popup_modal_product {
    width: 968px;
    height: 636px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    padding: 56px 68px;
    display: flex;
    justify-content: space-between;
    border-radius: 4px;
    background: #fff;
    padding-right: 38px;
    overflow: hidden;
}

.image_popup {
    width: 768px;
    height: 480px;
    margin: 0 auto;
    display:none;
}
.image_popup img{
    object-fit: contain;
    width: 768px;
    height: 480px;
}


.dop_image_product.dop_image_product_popup{
    width: max-content;
    position: absolute;
    bottom: 24px;
    margin: auto;
    left: 0;
    right: 0;
}

.image_popup_active{
    display:block !important;
}

.dop_image_active img{
    border:1px solid var(--black) !important;
}

.image_change_block{
    position:relative;
  overflow:hidden;
}

.img-magnifier-glass {
  position: absolute;
  cursor: zoom-in;
  width: 200%;
  height: 150%;
}

/* Слайдер фото и видео */
.ps_slider {
    width: 368px;
    max-width: 100%;
}

.ps_track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.ps_track::-webkit-scrollbar {
    display: none;
}

.ps_slide {
    flex: 0 0 100%;
    box-sizing: border-box;
    /* единая высота всех слайдов (--ps-inner задаёт JS по основному фото), чтобы контент не прыгал */
    height: calc(var(--ps-inner, 320px) + 24px);
    padding: 24px 24px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.ps_slide img {
    margin: 0;
    cursor: zoom-in;
    max-height: var(--ps-inner, 400px);
}

.ps_video_wrap {
    position: relative;
    /* рамка 9:16 по высоте слайдера (вертикальные ролики) */
    height: var(--ps-inner, 320px);
    width: auto;
    aspect-ratio: 9 / 16;
    max-width: 100%;
}

.ps_slide video {
    cursor: pointer;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Кнопка «во весь экран»: прозрачная, в правом нижнем углу видео */
.ps_full {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 0;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    opacity: 0.85;
    transition: 0.15s ease;
    z-index: 2;
}

.ps_full svg {
    display: block;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.7));
}

.ps_full:hover,
.ps_full:focus-visible {
    opacity: 1;
    background: rgba(15, 15, 16, 0.35);
}

/* Иконка «продолжить просмотр» — только когда видео на паузе */
.ps_play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    padding: 0 0 0 3px;
    display: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 2px solid #fff;
    border-radius: 50%;
    background: rgba(15, 15, 16, 0.7);
    cursor: pointer;
    transition: 0.1s ease;
}

.ps_slide.is_paused .ps_play,
.image_popup.is_paused .ps_play {
    display: flex;
}

.ps_play:hover {
    background: var(--red);
    border-color: var(--red);
}

/* Стрелки как у остальных стрелок галереи (.chevron_*): круг, серая рамка, красная при наведении.
   Иконка chevron-left.svg по факту смотрит вправо, поэтому влево её отражаем. */
.ps_nav {
    position: absolute;
    top: 50%;
    width: 32px;
    height: 32px;
    margin-top: -16px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px solid var(--gray-2);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.15s ease;
    z-index: 2;
}

.cart_product_img .ps_nav img {
    width: 14.4px;
    height: 14.4px;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.ps_prev {
    left: 4px;
    transform: scale(-1, 1);
}

.ps_next {
    right: 4px;
}

.ps_nav:hover,
.ps_nav:focus-visible {
    opacity: 1;
}

.ps_nav:hover {
    border-color: var(--red);
}

.ps_nav:hover img {
    filter: invert(21%) sepia(71%) saturate(6971%) hue-rotate(349deg) brightness(90%) contrast(90%);
}

.ps_dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 6px 0 0;
}

.ps_dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--gray-3);
    cursor: pointer;
    transition: 0.1s ease;
}

.ps_dots button:hover {
    background: var(--gray-2);
}

.ps_dots button.is_current {
    background: var(--black);
}

.dop_image_product .dop_img.is_current img {
    border-color: var(--black);
}

/* Лента миниатюр под слайдером: видно 3 целых + половина четвёртой (3×78 + 35 = 269px) —
   так понятно, что дальше есть ещё; прокрутка колесом/тачем, полоса скрыта */
.ps_thumbs {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.cart_product_img .ps_thumbs .dop_image_product {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 269px;
    margin: 0;
    gap: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none; /* полосу не показываем: что есть ещё, видно по выглядывающему превью */
}

.cart_product_img .ps_thumbs .dop_image_product::-webkit-scrollbar {
    display: none;
}

.cart_product_img .ps_thumbs .dop_img {
    flex: none;
}

/* Firefox: ::-webkit-scrollbar не поддерживается, используем стандартные свойства.
   В Chrome/Edge их задавать нельзя: они отключают ::-webkit-scrollbar-* и возвращают стрелки на полосе. */
@supports not selector(::-webkit-scrollbar) {
    .dop_image_product.dop_image_product_popup {
        scrollbar-width: thin;
        scrollbar-color: var(--gray-3) transparent;
    }
}

/* .cart_product_img img даёт всем картинкам отступы 24px и ширину 320px: для миниатюр сбрасываем */
.cart_product_img .ps_thumbs .dop_img img {
    width: 70px;
    max-width: 70px;
    height: 52px;
    margin: 0;
}

/* Миниатюра видео: бейдж play по центру самой картинки (70x52).
   Привязка к правому/нижнему краю не зависит от отступов, которые
   .cart_product_img img добавляет миниатюрам слева и сверху. */
.dop_image_product .dop_img.is-video {
    position: relative;
    align-self: flex-start;
    line-height: 0;
}

.dop_image_product .dop_img.is-video .video_badge {
    position: absolute;
    right: 23px;
    bottom: 14px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.dop_image_product .dop_img.is-video .video_badge::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 9px;
    border-style: solid;
    border-width: 6px 0 6px 9px;
    border-color: transparent transparent transparent #fff;
}

/* Детальный просмотр: видео без панели управления, играет само (без звука, по кругу) */
.image_popup .ps_video_wrap {
    width: 768px;
    max-width: 100%;
    height: 480px;
}

.image_popup video {
    cursor: pointer;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Вертикальные ролики 9:16: пока открыто видео, окно просмотра выше (до 900px / 92% высоты экрана),
   а видео занимает всю доступную высоту, чтобы не сжиматься до 480px (270px в ширину) */
@media screen and (min-width: 1001px) {
    .popup_modal_product:has(.image_popup_active .ps_video_wrap) {
        --pv-video-h: calc(min(92vh, 900px) - 170px);
        height: min(92vh, 900px);
    }

    .image_popup:has(.ps_video_wrap) {
        height: var(--pv-video-h, 480px);
    }

    .image_popup:has(.ps_video_wrap) {
        width: 100%;
        max-width: 100%;
    }

    .image_popup .ps_video_wrap {
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        margin: 0 auto;
    }
}

/* Миниатюры в детальном просмотре: отступы между ними; больше 4 — прокрутка,
   пятое выглядывает наполовину (4×78 + 35 = 347px) */
.dop_image_product.dop_image_product_popup {
    gap: 8px;
    justify-content: flex-start;
    max-width: 347px;
    padding-bottom: 6px;
    scrollbar-width: auto; /* перекрываем scrollbar-width: none у .dop_image_product */
}

.dop_image_product_popup .dop_img {
    flex: none;
}

.dop_image_product_popup::-webkit-scrollbar {
    display: block;
    height: 4px;
}

.dop_image_product_popup::-webkit-scrollbar-button {
    display: none;
}

.dop_image_product_popup::-webkit-scrollbar-track {
    background: transparent;
}

.dop_image_product_popup::-webkit-scrollbar-thumb {
    background: var(--gray-3);
    border-radius: 2px;
}

/* Детальный просмотр на планшете и телефоне: размеры по ширине экрана, а не жёсткие 968/768/480px.
   (Правила из template_styles.css для телефонов перебиваются этим файлом, он подключается позже.) */
@media screen and (max-width: 1000px) {
    .popup_image_product {
        --pv-h: clamp(200px, 56vh, 480px);
    }

    /* Вертикальное видео: выше область просмотра */
    .popup_image_product:has(.image_popup_active .ps_video_wrap) {
        --pv-h: clamp(300px, 70vh, 720px);
    }

    .popup_modal_product {
        width: calc(100% - 32px);
        max-width: 968px;
        height: calc(var(--pv-h) + 148px);
        box-sizing: border-box;
        padding: 48px 20px 100px;
        justify-content: center;
    }

    .image_popup {
        width: 100%;
        max-width: 768px;
        height: var(--pv-h);
    }

    .image_popup img {
        width: 100%;
        height: 100%;
    }

    .image_popup .ps_video_wrap {
        width: 100%;
        height: 100%;
    }

    .dop_image_product.dop_image_product_popup {
        max-width: calc(100% - 24px);
    }

    .chevron_left_popup,
    .chevron_right_popup {
        top: calc(48px + var(--pv-h) / 2 - 18px);
        bottom: auto;
        margin: 0;
    }

    .chevron_left_popup {
        right: 6px;
    }

    .chevron_right_popup {
        left: 6px;
    }
}

@media screen and (max-width: 450px) {
    .cart_product_img .dop_image_product .dop_img.is-video .video_badge {
        right: auto;
        bottom: auto;
        top: 50%;
        left: 50%;
        margin: -12px 0 0 -12px;
    }
}

#t_compare thead  tr td {
    background-color:var(--gray-3);
    font-size: 14px;
    line-height: 22px;
}

#t_compare tr:nth-of-type(2n) {
  background-color: var(--gray-4);
}

.t_prop td {
    font-size:14px;
    text-transform:initial;
    line-height: 22px;
}

.red-btn2 {
	margin:0 auto;
	margin-top: 5px;
	padding: 5px 15px;
	display: block;
	box-sizing: border-box;
	width: max-content;
	height:max-content;
	font-weight: 500;
	font-size: 18px;
	line-height: 24px;
	color: #FFFFFF;
	background: #DB1F29;
	border-radius: 4px;
	text-align: center;
	border:0;
	outline:0;
	transition:0.15s ease;
}

.red-btn2:hover {
	color: #FFFFFF;
	background: var(--red-hover);
}

.t_c_bold {
	font-weight: bold;
	font-size: 20px;
	line-height: 28px;
	color: #0F0F10;
}

#instr a, #dist_product a{
	color: var(--gray-add);
	transition:0.1s ease;
}



#instr a:hover, #dist_product a:hover{
	color: var(--red);
}

@media screen and (max-width: 450px){

	
	.description_product_menu {
	position: inherit;
	}

	.product_property_string {
		display: block;
	}

	#compare {
		overflow-x: scroll;
	}
}

#wantproject, #wantproject_send {
	display: block;
    margin: 0 auto;
}

#wantproject {
	display: block;
    padding: 13px 16px 15px;
    box-sizing: border-box;
    width: 100%;
    height: 52px;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: #FFFFFF;
    background: #DB1F29;
    border-radius: 4px;
    text-align: center;
	border:none;
	text-decoration: none;
}

#wantproject_send {
	margin-top: 4px;
	display: block;
    padding: 3px 16px 5px;
    box-sizing: border-box;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: #FFFFFF;
    background: #DB1F29;
    border-radius: 4px;
    text-align: center;
	border:none;
}

#wantproject:hover {
	transition: 0.2s ease;
    background: #C01B24;
    cursor: pointer;
	text-decoration: none;
}

#wantproject_form {
	background:white;
	
}
#wantproject_form label {
	width:100%
}

#wantproject_form input {
	padding: 0 0 0 0.45em !important;
}

#wantproject_result {
	text-align:center;
}

.wantproject {
	margin-top: 40px;
}

#wp_form {
    padding: 10px;
}

.ask_price a {
	background: #ccc;
}

.cart_product_img {
	height: max-content;
	padding-bottom: 10px;
}


@media screen and (max-width: 450px) {

	.cart_product_img .image_change_block img {
		margin: 0 auto;
		display: block;
	}

	.cart_product_img {
	  margin: 0;
	}
	  .cart_product_img .dop_image_product {
		margin: 0 auto;
		gap: 8px;
	  }
	  .cart_product_img img {
			margin: 0;
	  }
	
	.dop_image_product .dop_img img {
	  width: 100%;
	  height: 100%;
	  object-fit: cover;
	}

	.chevron_left img, .chevron_right img {
		width: 100% !important;
	}

}

.ask_price_input_sel select {
    border: 0;
    border-bottom: 1px solid var(--gray-2);
    display: block;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    box-sizing: border-box;
    color: var(--gray-1);
    width: 100%;
    max-width: 468px;
    padding: 9px 0;
    height: 40px;
    background: transparent;
    appearance: none; /* убирает стрелку по умолчанию в некоторых браузерах */
    transition: 1s ease;
}

.ask_price_input_sel span {
    display: block;
    margin-bottom: 32px;
    vertical-align: top;
    position: relative;
}

/* Добавим стрелку для select */
.ask_price_input_sel select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='5'><path fill='gray' d='M0 0l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px 5px;
}

.ask_price_input_sel select:focus-visible {
    outline: 0;
}

.ask_price_input_sel select:valid {
    color: #333; /* черный для выбранного значения */
}
/* Видео занимает всю ширину области просмотра, сохраняя исходные пропорции. */
.ps_slide .ps_video_wrap { width: 100%; aspect-ratio: auto; }
.ps_slide_video { height: calc(var(--ps-inner, 320px) + 24px); }
.ps_slide_video .ps_video_wrap { height: 100%; }

/* Центрируем контейнер, подобранный по размеру кадра. */
.image_popup .ps_video_wrap { top: 50%; transform: translateY(-50%); margin: 0 auto; }

/* Больше места для видео, снизу остаётся место для миниатюр. */
@media screen and (min-width: 1001px) {
    .popup_modal_product:has(.image_popup_active .ps_video_wrap) {
        box-sizing: border-box;
        padding-top: 24px;
        padding-bottom: 86px;
        --pv-video-h: calc(min(92vh, 900px) - 110px);
    }
}
@media screen and (max-width: 1000px) {
    .popup_image_product:has(.image_popup_active .ps_video_wrap) {
        --pv-h: calc(min(92vh, 868px) - 104px);
    }
    .popup_modal_product:has(.image_popup_active .ps_video_wrap) {
        height: min(92vh, 868px);
        padding-top: 20px;
        padding-bottom: 84px;
    }
    .popup_image_product:has(.image_popup_active .ps_video_wrap) .chevron_left_popup,
    .popup_image_product:has(.image_popup_active .ps_video_wrap) .chevron_right_popup {
        top: calc(20px + var(--pv-h) / 2 - 18px);
    }
}
/* Размер окна подстраивается под кадр и оставляет место для управления. */
.popup_modal_product:has(.image_popup_active .ps_video_wrap) {
    width: var(--video-modal-width, min(968px, 96vw));
    height: var(--video-modal-height, min(900px, 92vh));
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    box-sizing: border-box;
    padding: 20px 52px 96px;
}
.popup_modal_product:has(.image_popup_active .ps_video_wrap) .image_popup_active {
    width: 100%;
    max-width: none;
    height: 100%;
}
.popup_modal_product:has(.image_popup_active .ps_video_wrap) .dop_image_product_popup {
    bottom: 12px;
}
.popup_modal_product:has(.image_popup_active .ps_video_wrap) .chevron_left_popup,
.popup_modal_product:has(.image_popup_active .ps_video_wrap) .chevron_right_popup {
    top: calc((100% - 76px) / 2 - 18px);
    bottom: auto;
    margin: 0;
    z-index: 3;
}
@media screen and (max-width: 600px) {
    .popup_modal_product:has(.image_popup_active .ps_video_wrap) {
        padding: 20px 16px 96px;
    }
    .popup_modal_product:has(.image_popup_active .ps_video_wrap) .chevron_left_popup { right: 4px; }
    .popup_modal_product:has(.image_popup_active .ps_video_wrap) .chevron_right_popup { left: 4px; }
}
.popup_modal_product:has(.image_popup_active .ps_video_wrap) .close_popup {
    width: 32px; height: 32px; right: 4px; top: 2px; z-index: 4; cursor: pointer;
    background-color: rgba(255, 255, 255, .9); border-radius: 50%;
}

/* Пространство между стрелками и кадром видео. */
.popup_modal_product:has(.image_popup_active .ps_video_wrap) { padding-left: 64px; padding-right: 64px; }
@media screen and (max-width: 600px) {
    .popup_modal_product:has(.image_popup_active .ps_video_wrap) { padding-left: 52px; padding-right: 52px; }
}

.popup_modal_product:has(.image_popup_active .ps_video_wrap) .close_popup:hover,
.popup_modal_product:has(.image_popup_active .ps_video_wrap) .close_popup:focus-visible {
    background-color: transparent;
}

/* В модальном окне миниатюры фото и видео имеют одинаковый размер. */
.dop_image_product_popup .dop_img {
    position: relative;
    flex: 0 0 70px;
    width: 70px;
    height: 52px;
    line-height: 0;
}
.dop_image_product_popup .dop_img img {
    display: block;
    width: 70px;
    height: 52px;
    margin: 0;
}
.dop_image_product_popup .dop_img.is-video .video_badge {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
}
/* Одинаковое окно и кнопка закрытия для фото и видео. */
.popup_image_product .popup_modal_product,
.popup_image_product .popup_modal_product:has(.image_popup_active .ps_video_wrap) {
    box-sizing: border-box;
    width: min(968px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    height: min(740px, calc(100vh - 24px));
    max-height: calc(100vh - 24px);
    padding: 24px 64px 96px;
}
.popup_image_product .popup_modal_product .image_popup,
.popup_image_product .popup_modal_product:has(.image_popup_active .ps_video_wrap) .image_popup_active {
    width: 100%;
    max-width: none;
    height: 100%;
}
.popup_image_product .popup_modal_product .image_popup img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.popup_image_product .popup_modal_product .close_popup,
.popup_image_product .popup_modal_product:has(.image_popup_active .ps_video_wrap) .close_popup {
    width: 40px;
    height: 40px;
    top: 4px;
    right: 4px;
    z-index: 4;
    background-color: transparent;
    cursor: pointer;
}
.popup_image_product .popup_modal_product .chevron_left_popup,
.popup_image_product .popup_modal_product .chevron_right_popup,
.popup_image_product .popup_modal_product:has(.image_popup_active .ps_video_wrap) .chevron_left_popup,
.popup_image_product .popup_modal_product:has(.image_popup_active .ps_video_wrap) .chevron_right_popup {
    top: calc((100% - 72px) / 2 - 18px);
    bottom: auto;
    margin: 0;
}
@media screen and (max-width: 600px) {
    .popup_image_product .popup_modal_product,
    .popup_image_product .popup_modal_product:has(.image_popup_active .ps_video_wrap) {
        padding-left: 52px;
        padding-right: 52px;
    }
}
.popup_image_product .popup_modal_product .dop_image_product_popup,
.popup_image_product .popup_modal_product:has(.image_popup_active .ps_video_wrap) .dop_image_product_popup { bottom: 12px; }

.ps_sound {
    position: absolute; left: 6px; bottom: 6px; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; padding: 0; border: 0; border-radius: 6px;
    color: #fff; background: rgba(15, 15, 16, .35); cursor: pointer;
}
.ps_sound svg { filter: drop-shadow(0 0 2px rgba(0, 0, 0, .7)); }
.ps_sound:hover, .ps_sound:focus-visible { background: rgba(15, 15, 16, .65); }
.ps_sound[aria-pressed="false"] .ps_sound_on,
.ps_sound[aria-pressed="true"] .ps_sound_off { display: none; }
.ps_slide_video .ps_sound { left: auto; right: 6px; }

/* Компактная галерея и подсказки для открытия просмотра. */
.cart_product_img .ps_slide { position: relative; padding: 8px 8px 0; }
.cart_product_img .ps_slide:not(.ps_slide_video) > img {
    width: 100%; max-width: 100%; height: 100%; max-height: var(--ps-inner, 400px);
    margin: 0; object-fit: contain;
}
.cart_product_img .ps_prev { left: 16px; }
.cart_product_img .ps_next { right: 16px; }
.ps_hint {
    position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
    z-index: 1; padding: 6px 10px; border-radius: 4px;
    color: #fff; background: rgba(20, 20, 20, .72); font-size: 12px;
    line-height: 16px; white-space: nowrap; pointer-events: none;
}
.ps_hint_photo { opacity: 0; transition: opacity .15s ease; }
.ps_slide:hover .ps_hint_photo, .ps_slide:focus-within .ps_hint_photo { opacity: 1; }
@media (hover: none) { .ps_hint_photo { display: none; } }
.ps_hint_video { opacity: 0; transition: opacity .15s ease; }
.ps_slide_video:hover .ps_hint_video, .ps_slide_video:focus-within .ps_hint_video { opacity: 1; }
@media (hover: none) { .ps_hint_video { display: none; } }

.ps_slide_video .ps_sound { bottom: 16px; }

.popup_image_product { z-index: 1000000000; }
@media screen and (max-width: 1000px) { .ps_hint { display: none; } }

/* На телефоне отдаём видео ширину окна, стрелки остаются поверх его краёв. */
@media screen and (max-width: 600px) {
    .popup_image_product .popup_modal_product:has(.image_popup_active .ps_video_wrap) {
        padding-left: 12px;
        padding-right: 12px;
    }
    .popup_image_product .popup_modal_product:has(.image_popup_active .ps_video_wrap) .chevron_right_popup { left: 4px; }
    .popup_image_product .popup_modal_product:has(.image_popup_active .ps_video_wrap) .chevron_left_popup { right: 4px; }
}
@media screen and (max-width: 600px) {
    .popup_image_product .popup_modal_product,
    .popup_image_product .popup_modal_product:has(.image_popup_active .ps_video_wrap) {
        padding: 12px 12px 76px;
    }
    .popup_image_product .popup_modal_product .chevron_left_popup,
    .popup_image_product .popup_modal_product .chevron_right_popup { display: none; }
    .popup_image_product .popup_modal_product .dop_image_product_popup,
    .popup_image_product .popup_modal_product:has(.image_popup_active .ps_video_wrap) .dop_image_product_popup { bottom: 6px; }
    .popup_image_product .image_popup { touch-action: pan-y; }
}
/* На телефоне высота окна подстраивается под материалы галереи. */
@media screen and (max-width: 600px) {
    .popup_image_product .popup_modal_product,
    .popup_image_product .popup_modal_product:has(.image_popup_active .ps_video_wrap) {
        height: var(--mobile-gallery-height, min(740px, calc(100vh - 24px)));
    }
}
/* Отдельная строка для закрытия над изображением и видео. */
@media screen and (max-width: 600px) {
    .popup_image_product .popup_modal_product,
    .popup_image_product .popup_modal_product:has(.image_popup_active .ps_video_wrap) {
        padding-top: 48px;
    }
}
/* End */


/* Start:/bitrix/templates/cryptostore_2022/jquery/fancybox/jquery.fancybox-1.3.1.css?17803981745604*/
/*
 * FancyBox - jQuery Plugin
 * Simple and fancy lightbox alternative
 *
 * Examples and documentation at: http://fancybox.net
 * 
 * Copyright (c) 2008 - 2010 Janis Skarnelis
 *
 * Version: 1.3.1 (05/03/2010)
 * Requires: jQuery v1.3+
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	height: 40px;
	width: 40px;
	margin-top: -20px;
	margin-left: -20px;
	cursor: pointer;
	overflow: hidden;
	z-index: 1104;
	display: none;
}

* html #fancybox-loading {	/* IE6 */
	position: absolute;
	margin-top: 0;
}

#fancybox-loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background-image: url('/bitrix/templates/cryptostore_2022/jquery/fancybox/fancybox.png');
}

#fancybox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: #000;
	z-index: 1100;
	display: none;
}

* html #fancybox-overlay {	/* IE6 */
	position: absolute;
	width: 100%;
}

#fancybox-tmp {
	padding: 0;
	margin: 0;
	border: 0;
	overflow: auto;
	display: none;
}

#fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 20px;
	z-index: 1101;
	display: none;
}

#fancybox-outer {
	position: relative;
	width: 100%;
	height: 100%;
	background: #FFF;
}

#fancybox-inner {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: 0;
	outline: none;
	overflow: hidden;
}

#fancybox-hide-sel-frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
}

#fancybox-close {
	position: absolute;
	top: -15px;
	right: -15px;
	width: 30px;
	height: 30px;
	background-image: url('/bitrix/templates/cryptostore_2022/jquery/fancybox/fancybox.png');
	background-position: -40px 0px;
	cursor: pointer;
	z-index: 1103;
	display: none;
}

#fancybox_error {
	color: #444;
	font: normal 12px/20px Arial;
	padding: 7px;
	margin: 0;
}

#fancybox-content {
	height: auto;
	width: auto;
	padding: 0;
	margin: 0;
}

#fancybox-img {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	line-height: 0;
	vertical-align: top;
	-ms-interpolation-mode: bicubic;
}

#fancybox-frame {
	position: relative;
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

#fancybox-title {
	position: absolute;
	bottom: 0;
	left: 0;
	font-family: Arial;
	font-size: 12px;
	font-weight:bold;
	z-index: 1102;
	padding: 0 !important;
}

.fancybox-title-inside {
	padding: 10px 0;
	text-align: center;
	color: #333;
}

.fancybox-title-outside {
	padding-top: 5px;
	color: #FFF;
	text-align: center;
	font-weight: bold;
}

.fancybox-title-over {
	color: #FFF;
	text-align: center;
}

#fancybox-title-over {
	padding: 10px;
	background-image: url('/bitrix/templates/cryptostore_2022/jquery/fancybox/fancy_title_over.png');
	display: block;
}

#fancybox-title-wrap {
	display: inline-block;
}

#fancybox-title-wrap span {
	height: 32px;
	float: left;
}

#fancybox-title-left {
	padding-left: 15px;
	background-image: url('/bitrix/templates/cryptostore_2022/jquery/fancybox/fancybox.png');
	background-position: -40px -90px;
	background-repeat: no-repeat;
}

#fancybox-title-main {
	font-weight: bold;
	line-height: 29px;
	background-image: url('/bitrix/templates/cryptostore_2022/jquery/fancybox/fancybox-x.png');
	background-position: 0px -40px;
	color: #FFF;
}

#fancybox-title-right {
	padding-left: 15px;
	background-image: url('/bitrix/templates/cryptostore_2022/jquery/fancybox/fancybox.png');
	background-position: -55px -90px;
	background-repeat: no-repeat;
}

#fancybox-left, #fancybox-right {
	position: absolute;
	bottom: 0px;
	height: 100%;
	width: 35%;
	cursor: pointer;
	outline: none;
	background-image: url('/bitrix/templates/cryptostore_2022/jquery/fancybox/blank.gif');
	z-index: 1102;
	display: none;
}

#fancybox-left {
	left: 0px;
}

#fancybox-right {
	right: 0px;
}

#fancybox-left-ico, #fancybox-right-ico {
	position: absolute;
	top: 50%;
	left: -9999px;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	cursor: pointer;
	z-index: 1102;
	display: block;
}

#fancybox-left-ico {
	background-image: url('/bitrix/templates/cryptostore_2022/jquery/fancybox/fancybox.png');
	background-position: -40px -30px;
}

#fancybox-right-ico {
	background-image: url('/bitrix/templates/cryptostore_2022/jquery/fancybox/fancybox.png');
	background-position: -40px -60px;
}

#fancybox-left:hover, #fancybox-right:hover {
	visibility: visible;    /* IE6 */
}

#fancybox-left:hover span {
	left: 20px;
}

#fancybox-right:hover span {
	left: auto;
	right: 20px;
}

.fancy-bg {
	position: absolute;
	padding: 0;
	margin: 0;
	border: 0;
	width: 20px;
	height: 20px;
	z-index: 1001;
}

#fancy-bg-n {
	top: -20px;
	left: 0;
	width: 100%;
	background-image: url('/bitrix/templates/cryptostore_2022/jquery/fancybox/fancybox-x.png');
}

#fancy-bg-ne {
	top: -20px;
	right: -20px;
	background-image: url('/bitrix/templates/cryptostore_2022/jquery/fancybox/fancybox.png');
	background-position: -40px -162px;
}

#fancy-bg-e {
	top: 0;
	right: -20px;
	height: 100%;
	background-image: url('/bitrix/templates/cryptostore_2022/jquery/fancybox/fancybox-y.png');
	background-position: -20px 0px;
}

#fancy-bg-se {
	bottom: -20px;
	right: -20px;
	background-image: url('/bitrix/templates/cryptostore_2022/jquery/fancybox/fancybox.png');
	background-position: -40px -182px; 
}

#fancy-bg-s {
	bottom: -20px;
	left: 0;
	width: 100%;
	background-image: url('/bitrix/templates/cryptostore_2022/jquery/fancybox/fancybox-x.png');
	background-position: 0px -20px;
}

#fancy-bg-sw {
	bottom: -20px;
	left: -20px;
	background-image: url('/bitrix/templates/cryptostore_2022/jquery/fancybox/fancybox.png');
	background-position: -40px -142px;
}

#fancy-bg-w {
	top: 0;
	left: -20px;
	height: 100%;
	background-image: url('/bitrix/templates/cryptostore_2022/jquery/fancybox/fancybox-y.png');
}

#fancy-bg-nw {
	top: -20px;
	left: -20px;
	background-image: url('/bitrix/templates/cryptostore_2022/jquery/fancybox/fancybox.png');
	background-position: -40px -122px;
}

/* End */
/* /bitrix/templates/cryptostore_2022/components/bitrix/catalog/.default/bitrix/catalog.element/.default/style.css?179542565950164 */
/* /bitrix/templates/cryptostore_2022/jquery/fancybox/jquery.fancybox-1.3.1.css?17803981745604 */
