

/* Start:/local/templates/brushespaints/components/bitrix/news.detail/home_big_slider/style.css?1762898646155*/
div.news-detail
{
	word-wrap: break-word;
}
div.news-detail img.detail_picture
{
	float:left;
	margin:0 8px 6px 1px;
}
.news-date-time
{
	color:#486DAA;
}

/* End */


/* Start:/bitrix/components/sprint.editor/blocks/templates/my_bigslider/_style.css?17628977333376*/
.big-slider-item-content {
    width: calc(100% - 60px);
    max-width: 630px;
    height: 100%;
    color: var(--white);
    z-index: 1;
    left: 30px;
    top: 0;
    position: absolute;
    flex-direction: column;
    justify-content: center;
}

/* Восстановление контента для десктопа */
.big-slider-item-content__inner {
    flex: 1;
    flex-direction: column;
    justify-content: center;
}

.big-slider-item-title {
    font-family: "Transgender Grotesk";
    font-size: 54px;
    line-height: 110%;
    margin-bottom: 16px;
}

@media (max-width: 1280px) {
    .big-slider-item-title {
        font-size: var(--section-title);
    }
}

.big-slider-item-text {
    max-width: 420px;
    font-size: 20px;
    margin-bottom: 30px;
}

.big-slider-item-image {
    border-radius: 30px;
    width: 100%;
    height: auto;
}

.big-slider-address {
    font-size: 18px;
    margin-bottom: 47px;
    align-items: center;
}

.big-slider-address img {
    width: 12px;
    margin-right: 5px;
}

.big-slider-callback {
    max-width: max-content;
}

/* Сохранение стилей для десктопа */
@media (min-width: 1200px) {
    .big-slider-item-content {
        width: 50%;
        left: 55px;
    }

    .big-slider-callback {
        display: inline-block;
        width: auto; /* Восстановление авто ширины кнопки */
        margin-top: 15px;
    }

    .big-slider-callback a {
        padding: 15px 30px; /* Размеры кнопки для десктопа */
    }
}

/* Для экранов до 768px */
@media (max-width: 768px) {
    .big-slider-item-content {
        padding: 50px 0 26px;
    }
    
    .big-slider-item-content__inner {
        justify-content: flex-start;
    }

    
    .big-slider-item-image {
        min-height: 653px;
        object-fit: cover;
        object-position: left;
        max-height: 89vh;
    }

    .big-slider-item-title {
        margin-bottom: 13px;
    }

    .big-slider-item-text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .big-slider-callback {
        width: 100%; /* Делаем кнопку на всю ширину родителя */
        max-width: 270px; /* Ограничиваем ширину кнопки */
        min-height: 50px;
        margin-left: 0;
        margin-right: 0;
        display: flex; /* Flexbox для центрирования текста */
        justify-content: center; /* Центрирование текста */
    }

    .big-slider-callback a {
        display: flex;
        align-items: center; /* Центрирование по вертикали */
        justify-content: center; /* Центрирование по горизонтали */
        width: 100%;
        max-width: 100%; /* Делаем ссылку широкой */
        padding: 10px 0; /* Настраиваем padding для мобильной версии */
        text-align: center;
        box-sizing: border-box;
    }

    .big-slider-address {
        font-size: 14px;
        display: flex;
        align-items: center;
        flex-direction: row;
        width: 100%;
        margin-top: 10px;
        margin-bottom: 0;
    }
}

/* End */


/* Start:/local/templates/brushespaints/components/bitrix/news.detail/home_before_after/style.css?17628986455271*/
.before-after-section {
	padding-top: 55px;
	margin-top: 55px;
	border-top: 1px solid var(--black);
}

.before-after-section__row {
    gap: 30px;
}

.before-after-section__row .col-6 {
    flex: 1;
    border: 1px solid var(--black);
	border-radius: var(--border-radius);
	padding: 0;
}

.before-after-section__row .before-after-section__col--photo {
    border: none;
}

@media (max-width: 1024px) {
    .before-after-section__row {
       min-height: 444px;
       gap: 16px;
    }
    
    .beforeAfter  {
        width: 100%;
        justify-content: space-between;
    }

  
    .before-after-section {
    	padding-top: 30px;
    	margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .before-after-section__row {
       flex-direction: column;
       min-height: unset;
    }
  
    .before-after-section__row .col-6 {
        flex: unset;
    }
}

.beforeAfter {
    width: 100%;
    height: 100%;
    position: relative;
}

.beforeAfter .wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    overflow: hidden;
    border-radius: var(--border-radius);
}

.beforeAfter img {
    max-width: unset;
    border-radius: var(--border-radius);
    width: 644px;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
}

.beforeAfter .before,
.beforeAfter .after {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

@media (max-width: 1200px) {
    .beforeAfter .content-image {
        height: 100%;
            min-width: calc(100vw - 40px);
    }
}


.beforeAfter .before {
    width: 315px;
	z-index: 1;
}

.beforeAfter .scroller {
    width: 13px;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 0;
    pointer-events: auto;
    cursor: pointer;
	z-index: 2;
}

.beforeAfter .scroller svg {
    width: 13px;
    height: 43px;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
}

.beforeAfter .scroller:hover {
    opacity: 1;
}

.beforeAfter .scrolling {
    pointer-events: none;
    opacity: 1;
}

.beforeAfter .scroller__thumb {
    width: 100%;
    height: 100%;
    padding: 5px;
}

.beforeAfter .scroller:before {
    content: " ";
    display: block;
    width: 2px;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 0;
    margin-left: -1px;
    z-index: 30;
    transition: 0.1s;
}

.beforeAfter .scroller:before,
.beforeAfter .scroller:after {
    background: #fff;
}
.before-after__text-col {
    overflow: hidden;
}

.before-after__text--1 {
	padding: var(--section-padding);
	padding-bottom: calc(var(--section-padding) / 2);
	font-size: 1.3em;
}

.before-after__text--1 h2 {
	font-size: var(--section-title);
	line-height: 1.2;
	margin-bottom: 20px;
}
.before-after__text--2 {
	font-size: 1.4em;
	color: var(--white);
    align-items: center;
	padding: var(--section-padding);
	padding-top: 120px;
	background-image: url(/local/templates/brushespaints/images/big_pattern_1_1440px.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
	border-bottom-left-radius: var(--border-radius);
	border-bottom-right-radius: var(--border-radius);
	position: relative;
}

.before-after__text--2 .before-after__text--content {
	width: 50%;
}
.before-after__text--2 .before-after__text--content strong,
.before-after__text--2 .before-after__text--content b {
	font-weight: inherit;
	border-radius: 20px;
	border: 1px solid;
	padding-left: 5px;
	margin-right: 5px;
}

@media (max-width: 1280px) {
    .before-after__text--2 .before-after__text--content strong,
    .before-after__text--2 .before-after__text--content b {
        border-radius: 10px;
    }
}

.before-after__text--2 p:not(:last-of-type) {
	margin-bottom: 10px;
}
.before-after__dog {
	width: 266px;
	max-width: 50%;
	margin-top: -74px;
	margin-bottom: calc(-1 * var(--section-padding));
}


@media (max-width: 1230px) {
    .before-after__text--1 {
       padding: 40px;
    }
    
   .before-after__text--2 {
       padding: 70px 40px 40px;
  }
}

@media (max-width: 1184px) {
    .before-after__text--2 .before-after__text--content {
        width: unset;
    }
    
    .before-after__text--2 {
	    background-image: url(/local/templates/brushespaints/images/big_pattern_1_390px.png);
    }
    
    .before-after__text--1 {
        padding: 19px 17px 4px;
    }
  
    .before-after__text--2 {
        padding: 8vw 16px 25px;
        font-size: 15px;
    }
    
    .before-after__dog {
        width: 220px;
    }
}

@media (max-width: 838px) {
    .before-after__text--1 h2 {
        margin-bottom: 10px;
    }
    
    .before-after__text--1 .before-after__text--content {
    	font-size: 12px;
    }
    
    .before-after__dog {
        align-self: flex-end;
        height: max-content;
    	width: 148px;
    	max-width: 100%;
    	margin-top: 0;
    	margin-bottom: -25px;
    }
    
    
    .beforeAfter img {
        max-width: 100%;
        height: auto;
    }
    .beforeAfter .scroller {
        width: 40px;
    }
    .beforeAfter .scroller svg {
        left: 13px;
    }
}
/* End */


/* Start:/local/templates/brushespaints/components/bitrix/news.list/gallery/style.css?17628986452563*/
/* Main Styles */
.gallery-list {
    padding-top: var(--section-padding);
    margin-top: var(--section-padding);
    border-top: 1px solid var(--black);
}

.gallery-list__slider {
    margin-top: calc(var(--inner-padding) * 3);
}

.gallery-list__slide--image {
    display: flex;
    justify-content: center;
    height: 410px;
}

.gallery-list__slide--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--border-radius);
}

.gallery-list__nav {
    margin-top: var(--inner-padding);
    gap: 6px;
    justify-content: flex-end;
}

.gallery-list__prev,
.gallery-list__next {
    cursor: pointer;
}

.gallery-list__prev:hover svg,
.gallery-list__next:hover svg {
    fill: var(--main-color-hover);
}

.gallery-list__nav .btn {
    justify-content: center;
    height: 56px;
}

.gallery-list__slide--content {
    padding-left: 10px;
}

.gallery-list__slide--title {
    font-family: var(--font-family-title);
    font-size: 18px;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    border: 1px solid;
    margin-top: 12px;
    margin-bottom: 10px;
    background-color: var(--white);
}

.gallery-list__slide--author {
    font-size: 0.9em;
    margin-bottom: 5px;
}

/* Media Queries */

/* Max-width: 768px */
@media (max-width: 768px) {
    .gallery-list {
        padding-top: 18px;
        margin-top: 31px;
        border-top: 1px solid var(--black);
    }
    
    .gallery-list__slider {
        margin-top: 15px;
    }
    
    .gallery-list__slide--image {
        max-height: 330px;
    }

    .gallery-list__slide--image img {
        width: 300px;
    }

    .gallery-list__nav {
        justify-content: space-between;
        margin: 0;
    }

    .gallery-list__prev,
    .gallery-list__next {
        width: 50px;
        height: 50px;
    }

    .gallery-list__nav .btn {
        display: flex;
        align-items: center;
        padding-top: 10px;
        padding-bottom: 10px;
        flex: 1;
        height: 50px;
        order: -1;
    }

    .gallery-list__slide--title {
        font-size: 14px;
        padding: 8px 15px;
        text-align: left;
        width: 100%;
        margin: 8px 0 3px;
    }

    .gallery-list__slide--content {
        margin-bottom: 12px;
    }
    
    .gallery-list__slide--author {
        margin-bottom: 2px;
    }
    
    .gallery-list__slide--text {
        font-size: 12px;
        -webkit-line-clamp: 3; 
        display: -webkit-box; 
        -webkit-box-orient: vertical; 
        overflow: hidden;
    }
}

/* End */


/* Start:/local/templates/brushespaints/components/bitrix/news.list/how_it_works/style.css?17628986452356*/
.how-it-works {
    margin-top: var(--section-padding);
    padding: var(--section-padding) 0 0;
    border-top: 1px solid var(--black);
}

/* Заголовок */
.how-it-works__title {
    font-family: var(--font-family-title);
    font-size: var(--section-title);
    margin-bottom: 35px;
}

/* Заголовок блока */
.how-it-works__block--title {
    font-family: var(--font-family-title);
    font-size: 1.3em;
    margin-bottom: var(--inner-padding);
}

/* Внутренняя область */
.how-it-works__inner {
    padding: 45px 40px 57px;
    background-color: var(--white);
    border: 1px solid var(--black);
    border-radius: var(--border-radius);
    display: flex;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: nowrap;
}

@media (max-width: 1150px) {
    .how-it-works__inner {
        flex-direction: column;
        max-width: 100%;
        margin: 0 auto;
    }
}

/* Блок изображений */
.how-it-works__block--image {
    width: 105px;
    height: 105px;
    margin: auto;
}

@media (max-width: 1024px) {
    .how-it-works__block--image {
        width: 95px;
        height: 95px;
    }
}


/* Адаптивность для экранов между 768px и 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
    .how-it-works__inner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
    }

    .how-it-works__block {
        margin-bottom: 20px;
    }

    .how-it-works__block--title {
        font-size: 1.2em;
    }
}

/* Адаптивность для экранов менее 768px (планшеты и смартфоны) */
@media (max-width: 768px) {
    .how-it-works__title {
        margin-bottom: 19px;
    }
    
    .how-it-works {
        margin-top: 31px;
        padding-top: 18px;
        padding-bottom: 0;
    }
    
    .how-it-works__inner {
        flex-direction: column;
        padding: var(--inner-padding);
        flex-wrap: wrap;
    }

    .how-it-works__block {
        margin-bottom: 15px;
    }

    .how-it-works__block--title {
        font-size: 16px;
        max-width: 63%;
        margin: 0 auto 4px;
    }
    
    .how-it-works__block--text {
        font-size: 12px;
    }
}

/* End */


/* Start:/local/templates/brushespaints/components/bitrix/news.detail/how_select_photo/style.css?17628986464569*/
.how-select-photo__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 29px;
}

.how-select-photo__left-col {
    padding: 44px 39px 45px;
    border-radius: var(--border-radius);
    border: 1px solid var(--black);
    background: #FFF;
}

.how-select-photo__right-col {
    border-radius: var(--border-radius);
}

.row div .how-select-photo__right-col  {
    padding: 0 !important;
}

.how-select-photo__text {
    font-size: 1.4em;
    margin: calc(var(--inner-padding) * 2) 0;
}

.how-select-photo__genres {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.how-select-photo__genres ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    column-count: 2;
}

@media (max-width: 1024px) {
    .how-select-photo__genres ul {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}


.how-select-photo__genres ul li {
    padding-left: 43px;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 32px;
}

.how-select-photo__genres ul li::before {
    content: '';
    width: 33px;
    height: 33px;
    background-image: url(/local/templates/brushespaints/images/checked_icon.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    left: 0;
    position: absolute;
}

.how-select-photo__image {
    height: 100%;
}

.how-select-photo__image--big {
    border-radius: var(--border-radius);
}

.how-select-photo__tooltip-wrapper {
    position: relative;
    display: inline;
}

.how-select-photo__tooltip-hover--text {
    position: absolute;
    top: 0;
    min-width: 390px;
    padding: 20px 20px 20px 29px;
    background-color: white;
    border-radius: 40px;
    border: 1px solid black;
    opacity: 0;
    visibility: hidden;
    font-size: 1.2em;
    transition: ease-out 300ms;
    z-index: 2;
}

.tooltip-left {
    left: auto;
    right: 100%;
}

/* Позиционирование справа от кнопки */
.tooltip-right {
    left: 100%;
}


.how-select-photo__tooltip--paragraph {
    font-size: 16px;
}

@media (hover: hover) and (pointer: fine) {
    .tooltip-icon-o {
        cursor: pointer;
    }

    /* Плавное появление попапа при наведении */
    .tooltip-icon-o:hover + .how-select-photo__tooltip-hover--text {
        opacity: 1;
        visibility: visible;
    }
}

.tooltip-icon-o:hover + .how-select-photo__tooltip-hover--text {
    opacity: 1;
    visibility: visible;
}

#how-select-photo__tooltip--text li {
    font-size: var(--body-font-size);
    padding-left: 18px;
    margin-top: 7px;
    position: relative;
}

#how-select-photo__tooltip--text li::before {
    content: '';
    width: 13px;
    height: 13px;
    background-image: url(/local/templates/brushespaints/images/icons/close_red_icon.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateY(2px);
    left: 0;
    position: absolute;
}

.how-select-photo__logo {
    top: 20px;
    right: 20px;
width: 141px;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .how-select-photo__wrapper {
        gap: 16px;
    }
    
    .how-select-photo__left-col {
        padding: 22px 17px 25px;
    }
    
    .how-select-photo__left-col a {
        max-height: 50px;
    }
    
    .how-select-photo__left-col h2 {
        font-size: 28px;
    }

    .how-select-photo__text {
        font-size: 14px;
        margin: 7px 0 15px;
    }

    .how-select-photo__genres ul {
        column-gap: 16px;
        row-gap: 13px;
    }
    
    .how-select-photo__genres li {
        font-size: 12px;
    }

    .how-select-photo__genres ul li::before {
        width: 24px;
        height: 24px;
    }
    
    .how-select-photo__genres ul li {
        padding-left: 30px;
    }
}

@media (max-width: 768px) {
    .how-select-photo__wrapper {
        display: flex;
        flex-direction: column;
        align-items: center; /* Центрируем элементы по горизонтали */
    }

    .how-select-photo__left-col, 
    .how-select-photo__right-col {
        width: 100% !important; /* Устанавливаем ширину 80% для колонок */
    }
    
    .how-select-photo__right-col {
        order: -1;
    }
    
    .how-select-photo__image--big {
      max-height: 62vw;
    }
    
    .how-select-photo__tooltip-hover--text {
      min-width: 215px;
      padding: 10px 10px 10px 20px;
    }
.how-select-photo__logo {
    top: 10px;
    right: 10px;
    width: 84px;
}
}
/* End */


/* Start:/local/templates/brushespaints/components/bitrix/news.detail/calculator/style.css?179027374819722*/
/* Main Styles */
.calculator__inner {
    margin-top: calc(var(--inner-padding) * 3);
}

#calculator {
    display: flex;
}

.calculator__upload {
    min-width: 410px;
}

.calculator__options {
    flex: 1;
    padding-left: 30px;
}

.calculator__upload img {
    width: 100%;
    border-radius: var(--border-radius);
}

.calculator__upload .calculator__upload--image > img:nth-child(1) {
    width: 100%;
    border-radius: var(--border-radius);
    position: relative;
    z-index: 4;
}
.calculator__upload .calculator__upload--image > img:nth-child(2) {
	width: 295px;
    height: 390px;
    transform: rotate(1.5deg);
    left: 109px;
    top: 34px;
    position: absolute;
    border-radius: 0;
}


.calculator__upload--btn {
    display: flex;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

#calculator_upload_image {
    display: none;
}

.calculator_total {
    justify-content: space-between;
    margin-top: 40px;
    align-items: center;
}



.option-type__vertical .calculator__option--content,
.option-type__horizontal .calculator__option--content {
    display: flex;
}

.option-type__vertical .calculator__option--content {
    flex-direction: column;
}

.option-type__horizontal .calculator__option--content {
    flex-direction: row;
    flex-wrap: wrap;
        gap: 10px;
}

.calculator__option--content input {
    display: none;
}

.calculator__option--content label {
    padding-left: 20px;
    position: relative;
}

.calculator__option--content label::before,
.calculator__option--selected::before {
    content: '';
    width: 15px;
    height: 15px;
    border: 1px solid var(--light-gray);
    border-radius: 50%;
    left: 0;
    top: 1px;
    position: absolute;
}

.calculator__option--content input:checked + label::after,
.calculator__option--selected::after {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--black);
    border-radius: 50%;
    left: 4px;
    top: 5px;
    position: absolute;
}

.calculator__options--wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    grid-auto-flow: dense;
    gap: 20px;
}

.option__pozhelaniya {
    grid-row: 3 / 5;
    grid-column: 3 / 4;
}

.option__optsii {
    grid-row: 3 / 5;
    grid-column: 4 / 5;
}

.calculator__option--block {
    position: relative;
}

.calculator__option--title {
    display: flex;
    align-items: center;
    min-height: 24px;
    margin-bottom: 8px;
    font-size: 1.2em;
}

.calculator__option--group-subtitle {
    font-size: 0.9em;
    margin-top: 10px;
    margin-bottom: 4px;
}

.calculator__option--title button {
    margin-left: 5px;
}

.calculator__option--selected {
    min-width: 190px;
    max-width: 190px;
    font-size: 0.9em;
    padding: 15px 30px 15px 35px;
    border: 1px solid var(--light-gray);
    border-radius: 30px;
    white-space: nowrap;
    background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2216%22%20height%3D%229%22%20viewBox%3D%220%200%2016%209%22%20fill%3D%22none%22%3E%0A%3Cpath%20d%3D%22M1%201L8%207.5L15%201%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22/%3E%0A%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) 50%;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    cursor: pointer;
}

.option-type__select.show .calculator__option--selected {
    background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2216%22%20height%3D%229%22%20viewBox%3D%220%200%2016%209%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1%208L8%200.5L15%208%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22/%3E%3C/svg%3E');
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

.calculator__option--selected::before,
.calculator__option--selected::after {
    top: 50%;
}

.calculator__option--selected::before {
    margin-top: -8px;
    left: 15px;
}

.calculator__option--selected::after {
    margin-top: -4px;
    left: 19px;
}

.option-type__select .calculator__option--content {
    min-width: 170px;
    max-width: 190px;
    max-height: 240px;
    width: 100%;
    padding: 15px;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-top-color: transparent;
    border-radius: 25px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    z-index: 1;
    opacity: 0;
    overflow-y: scroll;
    visibility: hidden;
    position: absolute;
}

.option-type__select.show .calculator__option--content {
    opacity: 1;
    visibility: visible;
}

.calculator__option--content label:not(:last-of-type) {
    margin-bottom: 8px;
}

.option__title-hidden .calculator__option--content label {
    margin-bottom: 0;
}

.option__slozhnost input:checked ~ label::after {
    visibility: hidden;
}

.option__slozhnost label::after,
.option__slozhnost input:checked + label::after {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--black);
    border-radius: 50%;
    visibility: visible;
    left: 4px;
    top: 5px;
    position: absolute;
}

.calculator__upload--image {
    position: relative;
}

.calculator__uploaded-image {
    width: 295px;
    height: 390px;
    opacity: 0;
    transition: all 200ms linear;
    transform: rotate(1.5deg);
    left: 109px;
    top: 34px;
    position: absolute;
    z-index: 2;
}

.calculator__uploaded-image.uploaded {
    opacity: 1;
}

.calculator__uploaded-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.calculator__uploaded-image iframe {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.calculator_sum {
    font-size: 30px;
}

.calculator_total .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
}

.option__title-hidden .calculator__option--block.option-type__radio {
    padding: 14px 0;
}

/* Media Queries */

/* Max-width: 1280px */
@media (max-width: 1340px) {
    #calculator {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .calculator__upload {
        display: grid;
        margin: 0 auto 50px auto;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 100px 1fr;
        column-gap: 50px;
        min-width: 200px;
    }

    .calculator__options {
        padding: 0;
    }

    .calculator__upload--btn {
        height: 54px;
    }

    .calculator__options--wrapper {
        gap: 30px;
    }

    .calculator__option--selected {
        max-width: 21vw;
        border-radius: 30px;
    }
    
    .option-type__select .calculator__option--content {
        max-width: 21vw;
    }

    .calculator__upload--image {
        grid-row: 1 / 4;
    }

    .calculator_total {
        justify-content: flex-end;
        gap: 50px;
    }
}

/* Max-width: 950px */
@media (max-width: 992px) {
    .calculator__option--selected {
        max-width: 28vw;
    }
    
    .option-type__select .calculator__option--content {
        max-width: 28vw;
    }
    
    .calculator__options--wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

    .option__pozhelaniya {
        grid-row: 5 / 7;
        grid-column: 1 / 2;
    }

    .option__optsii {
        grid-row: 4 / 5;
        grid-column: 3 / 4;
    }

    .option__dobavit-v-zakaz {
        grid-row: 4 / 5;
    }

    .option__laki {
        grid-row: 4 / 5;
        grid-column: 1 / 2;
    }

    .option__slozhnost {
        grid-row: 5 / 6;
        grid-column: 2 / 3;
    }

    .calculator__option--title {
        margin-bottom: 14px;
    }
    
    .option__title-hidden .calculator__option--block.option-type__radio {
        padding: 10px 0;
    }
    
    .calculator_sum {
        font-size: 24px;
    }
    html {
        font-size: calc(100vw / 375 * 10);
    }
    body {
        font-size: 1.6rem;
    }
    .calculator__upload .calculator__upload--image > img:nth-child(1) {
        height: 35.8rem;
        object-fit: cover;
    }
    .calculator__upload .calculator__upload--image > img:nth-child(2) {
        width: 22.3rem;
        height: 29.7rem;
        left: 6.3rem;
        top: 2.7rem;
    }
    .calculator__uploaded-image {
        width: 23.5rem;
        height: 30rem;
        left: 6rem;
        top: 2.6rem;
    }

}

/* Max-width: 768px */
@media (max-width: 768px) {
    .calculator__option {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: auto;
        grid-auto-flow: dense;
    }
    .calculator__option--selected {
        max-width: 43vw;
        padding-left: 28px;
        background-position: calc(100% - 9px) 50%;
        background-size: 14px;
        border: 1px solid black;
    }

    .option-type__select .calculator__option--content {
        max-width: 43vw;
    }
    
    .calculator__inner {
        margin-top: 20px;
    }
    
    .calculator__upload {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-bottom: 20px;
    }

    .calculator__upload--btn {
        margin: 10px 0;
        height: 50px;
    }
    
    .calculator__option--title {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .calculator__options--wrapper {
        gap: 15px;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calculator__upload--requirements {
        font-size: 12px;
    }
    
    .calculator__upload--requirements p {
        margin-bottom: 5px;
    }

    .option__pozhelaniya,
    .option__optsii,
    .option__dobavit-v-zakaz,
    .option__slozhnost {
        grid-row: auto;
        grid-column: auto;
    }

    .option__laki {
        display: grid;
        column-gap: 15px;
        grid-column: 1 / 3;
        grid-row: 6 / 7;
        grid-template-areas:
            "top-left top-right"
            "bottom-left bottom-right";
    }
    
    .option__laki .calculator__option--title {
        grid-area: top-left;
    }
    
    .option__laki .calculator__option--group-subtitle {
        margin-top: 0;
    }
    
    .option__laki .calculator__option--block {
        grid-area: bottom-left;
    }
    
    .option__laki .calculator__option--block:last-child {
        grid-area: bottom-right;
    }
    
    .option__pozhelaniya {
        grid-column: 1 / 3;
    }
    
    .option__pozhelaniya .calculator__option--content {
        display: grid;
        column-gap: 15px;
        grid-template-columns: 1fr 1fr;
    }
    
    .option__pozhelaniya .calculator__option--block {
        max-width: none;
        width: 100%;
    }
    
    .option__optsii {
        grid-column: 1 / 3;
    }
    
    .option__optsii .calculator__option--block {
        max-width: none;
        width: 100%;
    }
    
    .option__dobavit-v-zakaz {
        grid-column: 1 / 3;
    }
    
    .option__dobavit-v-zakaz .calculator__option--block {
        max-width: none;
        width: 100%;
    }
    
    .option__dobavit-v-zakaz .calculator__option--content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 15px;
    }

    .calculator__option--content {
        font-size: 12px;
    }

    .calculator__option--content label:not(:last-of-type) {
        margin-bottom: 7px;
    }

    .calculator_total {
        display: grid !important;
        grid-template-columns: 2fr 1fr;
        gap: 15px;
        justify-content: space-between;
    }

    .calculator_total .btn {
        max-width: 250px;
        height: 50px;
    }
    
    .calculator__option--selected::before {
        margin-top: -8px;
        left: 9px;
    }
    
    .calculator__option--selected::after {
        margin-top: -4px;
        left: 13px;
    }
    
    .option-type__select .calculator__option--content {
        padding: 10px;
        border: 1px solid black;
        border-top: none;
    }
    
    .option__slozhnost .calculator__option--content label::before,
    .option__slozhnost .calculator__option--selected::before {
         width: 23px;
         height: 23px;
    }
    
    .option__slozhnost label::after, .option__slozhnost input:checked + label::after {
         width: 9px;
         height: 9px;
         top: 8px;
         left: 7px;
    }
    
    .option__slozhnost .calculator__option--content {
        gap: 5px;
    }
    .option__slozhnost .calculator__option--content label {
            padding-top: 30px;
    padding-left: 10px;
    padding-right: 10px;
    }
}

/* Max-width: 570px */
@media (max-width: 570px) {
    .calculator_total {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 17px;
    }

    .calculator_total .btn {
        max-width: 100%
    }
    
    .calculator__options--wrapper {
        row-gap: 12px;
    }
}

/* Max-width: 450px */
@media (max-width: 450px) {
    .calculator__option--block {
        max-width: 170px;
    }
}
/* ============================================================
   ОПЦИИ С ФОТО (.option--with-photo) — карточки в выпадашке
   Специфичность .calculator__option.option--with-photo (0,3,0)
   намеренно выше базовых правил, чтобы работать и внутри медиа.
   ============================================================ */

/* --- выпадающий список --- */
.calculator__option.option--with-photo .calculator__option--content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 8px;
    min-width: 340px;
    max-width: 360px;
    max-height: 330px;
    padding: 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .10);
    scrollbar-width: thin;
}

/* если справа не хватает места — прижимаем к правому краю блока */
.calculator__option.option--with-photo .calculator__option--content.is-flipped {
    left: auto;
    right: 0;
}

.calculator__option.option--with-photo .calculator__option--content::-webkit-scrollbar {
    width: 6px;
}

.calculator__option.option--with-photo .calculator__option--content::-webkit-scrollbar-thumb {
    background: var(--light-gray);
    border-radius: 3px;
}

/* --- карточка --- */
.calculator__option.option--with-photo .calculator__option--content label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 6px 6px 8px;
    border: 1px solid var(--light-gray);
    border-radius: 14px;
    background: var(--white);
    cursor: pointer;
    transition: border-color 150ms linear, box-shadow 150ms linear;
}

.calculator__option.option--with-photo .calculator__option--content label:hover {
    border-color: var(--black);
}

/* убираем радио-кружок из базовых стилей */
.calculator__option.option--with-photo .calculator__option--content label::before {
    content: none;
}

.opt-card__media {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f3f3;
}

.opt-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.opt-card__title {
    font-size: 0.82em;
    line-height: 1.25;
    margin-top: auto;
}

.opt-card__price {
    font-size: 0.82em;
    font-weight: 600;
    white-space: nowrap;
}

/* --- выбранная карточка --- */
.calculator__option.option--with-photo .calculator__option--content input:checked + label {
    border-color: var(--black);
    box-shadow: inset 0 0 0 1px var(--black);
}

.calculator__option.option--with-photo .calculator__option--content input:checked + label::after {
    content: '';
    width: 18px;
    height: 18px;
    top: 12px;
    left: auto;
    right: 12px;
    border-radius: 50%;
    background-color: var(--black);
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="10" height="8" viewBox="0 0 10 8" fill="none"%3E%3Cpath d="M1 4L3.8 6.5L9 1" stroke="white" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    position: absolute;
}

/* --- строка «Выбрать» — на всю ширину, без фото --- */
.calculator__option.option--with-photo .calculator__option--content label.opt-card--empty {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.85em;
}

.calculator__option.option--with-photo .calculator__option--content input:checked + label.opt-card--empty::after {
    top: 50%;
    margin-top: -9px;
}

/* карточка без загруженного фото не должна схлопываться */
.calculator__option.option--with-photo .calculator__option--content label.opt-card--no-photo {
    min-height: 64px;
    justify-content: center;
}

/* --- поле «выбрано» с миниатюрой --- */
.calculator__option.option--with-photo .calculator__option--selected {
    display: flex;
    align-items: center;
    gap: 8px;
}

.calculator__option.option--with-photo .calculator__option--selected > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.opt-selected__thumb {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    border-radius: 6px;
    object-fit: cover;
    display: block;
}

/* --- адаптив --- */
@media (max-width: 1340px) {
    .calculator__option.option--with-photo .calculator__option--content {
        min-width: min(340px, 40vw);
        max-width: min(360px, 42vw);
    }
}

@media (max-width: 992px) {
    .calculator__option.option--with-photo .calculator__option--content {
        min-width: 100%;
        max-width: 100%;
        max-height: 300px;
        left: auto;
        right: 0;
    }
    .calculator__option.option--with-photo .calculator__option--content {
    display: flex;
    flex-direction: column;
    }
}

@media (max-width: 768px) {
    .calculator__option.option--with-photo .calculator__option--content {
        min-width: 100%;
        max-width: 100%;
        max-height: 270px;
        padding: 8px;
        gap: 6px;
    }

    .calculator__option.option--with-photo .calculator__option--content label {
        padding: 5px 5px 6px;
        border-radius: 12px;
    }

    .opt-card__title,
    .opt-card__price {
        font-size: 13px;
    }

    .calculator__option.option--with-photo .calculator__option--content input:checked + label::after {
        width: 16px;
        height: 16px;
        top: 9px;
        right: 9px;
    }
}

@media (max-width: 450px) {
    .calculator__option.option--with-photo .calculator__option--content {
        min-width: 100%;
        max-width: 100%;
    }
}
/* End */


/* Start:/local/templates/brushespaints/components/bitrix/news.list/included_in_price/style.css?17628986451905*/
.included-in-price__inner {
	background-image: url(/local/templates/brushespaints/images/included_in_price_bg_desktop.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	border-radius: var(--border-radius);
	padding: var(--section-padding);
}

.included-in-price__inner .section-title {
	color: var(--white);
}

.included-in-price__wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
	margin-top: calc(var(--inner-padding) * 3);
	gap: 30px;
}

.included-in-price__block {
    max-height: 75px;
	width: 100%;
	border-radius: 30px;
	background: var(--white);
	padding: 25px 25px 25px 60px;
	align-items: center;
	display: flex;
}

.included-in-price__block--title {
	font-size: 1.2em;
	position: relative;
}
.included-in-price__block--title::before {
	content: '';
	width: 28px;
	height: 28px;
	background-image: url(/local/templates/brushespaints/images/icons/checked_black_icon.png);
	background-repeat: no-repeat;
	background-position: center;
	transform: translateY(-50%);
    top: 50%;
    left: -35px;
	position: absolute;	
}

@media (max-width: 1024px) {
    .included-in-price__wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .included-in-price__inner .section-title {
	    width: 70%;
    }
    
    .included-in-price__wrap {
        column-gap: 15px;
        row-gap: 10px;
    }
    
    .included-in-price__block {
        padding: 4px 15px 4px 35px;
        min-height: 50px;
    }
    
    .included-in-price__inner {
        padding: 28px 17px 35px;
	    background-image: url(/local/templates/brushespaints/images/included_in_price_bg_mobile.jpg);
    }
    
    .included-in-price__block--title {
        font-size: 12px;
    }
    
    .included-in-price__block--title::before {
        width: 22px;
        height: 18px;
        left: -27px;
        background-size: cover;
    }
}

/* End */


/* Start:/local/templates/brushespaints/components/bitrix/news.list/faq/style.css?17628986452771*/
/* Широкие экраны (десктоп) */
.row .col-6 {
    padding: 0 !important;
}
.faq__wrapper {
    border-top: 1px solid var(--black);
    margin-top: calc(var(--inner-padding) * 3);
    display: flex;
    flex-wrap: wrap;
}

.faq__block {
    padding: calc(var(--inner-padding) * 2) 0;
    border-bottom: 1px solid var(--black);
    flex: 1 1 100%; /* На узких экранах блоки занимают всю ширину */
}

.faq__block--answer {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 200ms linear;
}

.faq__block--answer p:not(:last-of-type) {
    margin-bottom: calc(var(--inner-padding) / 2);
}

.faq__block.show .faq__block--answer {
    padding-top: var(--inner-padding);
    max-height: 1000px;
    opacity: 1;
    visibility: visible;
}

.faq__block--question {
    position: relative;
    font-size: 1.2em;
    padding-right: 30px;
    cursor: pointer;
}

.faq__block--question::after {
    content: '';
    width: 20px;
    height: 11px;
    background-image: url(/local/templates/brushespaints/images/icons/drop_down_arrow.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateY(-50%);
    top: 50%;
    right: 0;
    position: absolute;
    transition: ease-out 300ms;
}

.faq__block.show .faq__block--question::after {
  transform: rotate(180deg) translateY(50%);
}

/* Адаптация для мобильных устройств */
@media (max-width: 1024px) {
    .faq__wrapper {
        flex-direction: column;
    }
    
    .col-6 {
        width: 100% !important; /* Переопределяем ширину на 100% для узких экранов */
    }
    
    .faq__wrapper {
        margin-bottom: 30px; /* Добавляем отступ снизу для блока FAQ */
    }

    .form-question {
        margin-top: 30px; /* Добавляем отступ сверху для формы */
        padding-left: 0px !important;
    }
    

    .faq__block {
        padding: calc(var(--inner-padding) * 1.5) 0;
        flex: 1 1 100%; /* 100% ширины для каждого блока */
    }

    .faq__block--question {
        font-size: 1.1em; /* Уменьшаем размер шрифта */
        padding-right: 15px;
    }
}

@media (max-width: 768px) {
    .faq__block {
        padding: 0;
    }
    
    .faq__wrapper {
        margin: 13px 0 31px;
    }
    
    .faq__block--question {
        min-height: 62px;
        display: flex;
        align-items: center;
        font-size: 12px; 
        padding-right: 10px;
    }
    
    .faq__block--text {
        max-width: 90%;
    }
    
    .faq__block.show .faq__block--answer {
        padding: 0 0 15px;
    }
}

/* End */
/* /local/templates/brushespaints/components/bitrix/news.detail/home_big_slider/style.css?1762898646155 */
/* /bitrix/components/sprint.editor/blocks/templates/my_bigslider/_style.css?17628977333376 */
/* /local/templates/brushespaints/components/bitrix/news.detail/home_before_after/style.css?17628986455271 */
/* /local/templates/brushespaints/components/bitrix/news.list/gallery/style.css?17628986452563 */
/* /local/templates/brushespaints/components/bitrix/news.list/how_it_works/style.css?17628986452356 */
/* /local/templates/brushespaints/components/bitrix/news.detail/how_select_photo/style.css?17628986464569 */
/* /local/templates/brushespaints/components/bitrix/news.detail/calculator/style.css?179027374819722 */
/* /local/templates/brushespaints/components/bitrix/news.list/included_in_price/style.css?17628986451905 */
/* /local/templates/brushespaints/components/bitrix/news.list/faq/style.css?17628986452771 */
