

/* Start:/local/templates/ecommerce/components/bitrix/news/sales2/bitrix/news.detail/sale/style.css?176431236622072*/
.main {
 width: 100% !important;
 max-width: 100% !important;
}

.sales--detail .sales--detail__banner {
	width: 100%;
}
.sales--detail .sales--detail__banner img {
	width: 100%;
    border-radius: 25px;
}
.main .main__banner img {
    width: 100%;
}
.main .main__banner {
    margin-bottom: 25px;
}
.main .catalog {

    display: flex;
    flex-wrap: wrap;
    margin-top: 5px;
}



.main .catalog .catalog-main .catalog-main__sort.--flex {
	display: flex;
}
.main .catalog .catalog-main .catalog-main__sort .sort__item {
    margin-right: 20px;
    display: inline-block;
    padding: 8px;
}


.main .catalog .catalog-main .catalog-main__sort .sort__item.is-active,
.main .catalog .catalog-main .catalog-main__sort .sort__item.is-active:hover {
    background: #ededed;
    color: black;
    text-decoration: none;
}
.main .catalog .catalog-main .catalog-main__buttons {
	z-index: 1;
	position: relative;
}
.main .catalog .catalog-main .catalog-main__buttons .catalog-button {
    bottom: 0;
    z-index: 200;
    left: 0;
    padding: 15px;
    width: 49%;
    background: #ededed;
}
.main .catalog .catalog-main .catalog-main__buttons .catalog-button.catalog-button--sort {
	border-right: 2px solid #fff;
}
.catalog-main__sections {
    background: #fff;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

#nextSection li {
    padding-left: 0;
    list-style: none;
}

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

    .main .catalog {
        grid-template-areas: unset;
		grid-auto-rows: unset;
		display: block;
	}
	
	.main .catalog .catalog-sidebar {
        position: absolute;
        background-color: #fff;
		z-index: 100;
		width: 100%;
		left: 0;
		transition-duration: 0.5s;
		transition-timing-function: ease-in-out;
	}

    .main .catalog .catalog-main .catalog-main__sort {
        padding: 0 10px;
        display: none;
        flex-direction: column;
        width: 49%;
        position: absolute;
        z-index: 100;
        background: white;
    }

    .main .catalog .catalog-main {
        margin-right: 0;
    }

    .main .catalog .catalog-main .catalog-main .catalog-main__sort .sort__item {
        padding: 8px;
    }

    .main .catalog .catalog-main .catalog-main .catalog-main__sort .sort__item.is-active {
        background: #f7f7f7;
    }
}

div#nextSection {

    padding-bottom: 10px;

}

#nextSection {
    margin-top: 0;
}
#nextSection .title {
    background-color: #f3f3f3;
}

#nextSection, #nextSection .title, #nextSection li {
    border: 0;
    margin: 3px 0;
}
#nextSection li:nth-of-type(1) {
  padding-top: 4px;
}
#nextSection ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.category-heading {
    display: none;
}
#nextSection, #nextSection .title, #nextSection li, #smartFilter, #smartFilter .paramsBox {
    border: 0;
}
#nextSection .sectionLine {

}
#nextSection .sectionColumn {
    display: table-cell;
    vertical-align: middle;
}
#nextSection .sectionColumn:hover {
    font-weight: bold;
     color: #000;
}
#nextSection a {
   text-decoration: none;
   
   font-size: 15px;
   color: #333;
}

#nextSection a:hover {
   color: #AFC647;
}


.section_list_selector_ul .toggler-items {
    height: 17px;
    font-size: 12px;
    color: #00bc52;
    cursor: pointer;
}
.category-with-children .icon svg path{
    fill: none !important;
}
.toggler-items {
  width: 100%;
}
.main__container .rules {
    padding: 22px;
    border: 1px solid #f3f5f4;
    font-size: 18px;
    font-weight: 600;
    background: #f3f5f4;
    cursor: pointer;
    margin-top: 20px;
}
.main__container .rules:hover a {
    text-decoration: underline;
}
.main__container .rules_text {
    display: block;
    border: 1px solid #f3f5f4;
    padding: 20px;
}
#main-content.main {
    width: 100%;
}
.main__container__column img {
    max-width: 100%;
}
.background-square {
    right: 0;
    width: 20px;
    height: 25px;
    position: absolute;
    background: white;
    top: 0;
    z-index: 1;
}
.filterClose {
    display: none;
}

@media screen and (max-width: 700px) {
    .main .catalog-view .catalog-sidebar {
        display: none;
    }

    .main .catalog-view .catalog-sidebar.sidebar-display {
        display: block;
        width: 100%;
        z-index: 1000;
        background: white;
        margin-top: 10px;
    }

    .filterClose {
        display: block;
        z-index: 100;
        position: absolute;
        right: 5px;
        top: 5px;
        background: white;
        border: 1px solid #e2e2e2;
        padding: 5px 10px;
        border-radius: 18px;
        color: #a2a2a2;
    }

  
}
.sales--detail__body {
	line-height: 23px;
}
.sort__block {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    margin: 0 2px;
  }
  .sort__block--sorting {
    display: flex;
    gap: 10px;
    position: relative;
  }
  .sort__block i {
    margin-right: 5px;
  }
  .shadow__block {
    border-radius: 2px;
    background: #FFF;
    box-shadow: 0px 0.5px 25px 0px rgba(0, 0, 0, 0.03);
}
@media screen and (min-width: 960px) {
    .sort__block--filter {
        display: none;
    }
    .sort__block { 
        justify-content: flex-end;
    }
   
}
.catalog .catalog-sidebar {
    flex: 0 0 20%;
    max-width: 20%;
    padding-right: 5px;
}
.catalog .catalog-main {
    flex: 0 0 80%;
    max-width: 80%;
}
@media  screen and (max-width: 959px) {
    .main .catalog .catalog-sidebar {
        display: none;
    }
    .catalog .catalog-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .catalog .catalog-main {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
.section_list_children {
    display: none;
    padding-left: 0;
    margin-top: 6px;
    margin-bottom: 6px;
    margin-left: 15px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.section_list_children.second_children {
    padding-left: 0;
    margin-left: 15px;
    border-left-color: #e8e8e8;
    margin-top: 4px;
    margin-bottom: 4px;
}
.section_list_selector_li {
    margin-bottom: 2px;
}

/* Перший рівень - основні категорії */
.section_list_selector_ul > .section_list_selector_li {
    margin-bottom: 8px;
}

.section_list_selector_ul > .section_list_selector_li:first-child {
    margin-top: 0;
}

.section_list_selector_ul > .section_list_selector_li > a {
    font-size: 15px;
    font-weight: 400;
    padding: 10px;
    border-left: 3px solid transparent;
    background-color: #fff;
}

.section_list_selector_ul > .section_list_selector_li > a:hover {
    border-left-color: #AFC647;
    background-color: #f8f9fa;
}

/* Другий рівень - підкатегорії */
.section_list_children > .section_list_selector_li {
    margin-bottom: 3px;
}

.section_list_children > .section_list_selector_li > a {
    font-size: 14px;
    font-weight: 400;
    padding: 10px;
    position: relative;
    background-color: #fafafa;
}


.section_list_children > .section_list_selector_li > a:hover {
    border-left-color: #AFC647;
    background-color: #f0f5e8;
    padding-left: 30px;
}

.section_list_children > .section_list_selector_li > a:hover::before {
    background: #AFC647;
}

/* Третій рівень - під-підкатегорії */
.section_list_children.second_children > .section_list_selector_li {
    margin-bottom: 2px;
}

.section_list_children.second_children > .section_list_selector_li > a {
    font-size: 13px;
    font-weight: 400;
    padding: 8px 15px 8px 40px;
    background-color: #f5f5f5;
}

.section_list_children.second_children > .section_list_selector_li > a::before {
    left: 25px;
    width: 4px;
    height: 4px;
    background: #aaa;
}

.section_list_children.second_children > .section_list_selector_li > a:hover {
    padding-left: 45px;
    background-color: #f0f5e8;
}

.section_list_selector_li a {
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s, padding-left 0.2s, border-left-color 0.2s;
}

.section_list_selector_li a:hover {
    background-color: #f5f5f5;
    color: #AFC647;
}

.section_list_selector_li a .icon {
    margin-left: auto;
    margin-right: 0;
    transition: transform 0.3s, color 0.2s;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section_list_selector_li a .icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.section_list_selector_li a .icon.rotate90 {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.section_list_selector_li.has-open-children > a .icon.rotate90 {
    transform: rotate(90deg);
}

.section_list_selector_li a:hover .icon {
    color: #AFC647;
    fill: #AFC647;
}
.section_list_children.open {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}
.section__checked,
.section__checked.active {
    background-color: #AFC647 !important;
    color: white !important;
    font-weight: 600;
    border-left-color: #8fb038 !important;
}

.section__checked::before,
.section__checked.active::before {
    background: white !important;
}

.section__checked .icon,
.section__checked.active .icon {
    fill: white;
    color: white;
}

.section_list_selector_li a:hover .icon {
    fill: #AFC647;
    color: #AFC647;
}
.item__price-current.--discount.--old {
    color: #C5C1C1;
    text-decoration: line-through;
}
.sales--detail__disabled.container {
    margin-top: 15px;
    color: #F21717;
}
.sales--detail__title.container {
    margin-top: 20px;
    margin-bottom: 10px;
    padding-top: 0;
    padding-bottom: 0;

}

@media screen and (min-width: 960px) {
    .sort__block {
        justify-content: flex-start;
    }
    .sort__block--sorting {
        display: block;
    }
    .sort__block--sorting i {
        display: none;
    }
    .sort__block--sorting .choosed-sort-item {
        display: none;
    }
    .sort__popup, .sort__popup.hidden {
        display: flex;
        background: none;
        box-shadow: none;
        width: 100%;
        position: relative;
        top: 0;
        flex-direction: row;
        float: left;
        padding: 0;
    }
    .sort__popup a, .sort__popup.hidden a, .sort__popup span, .sort__popup.hidden span {
        font-size: 14px;
        border: 1px solid #0000008f;
        padding: 10px 25px;
        border-radius: 12px;
        font-weight: 300;
    }
    .sort__popup a.is-active, .sort__popup.hidden a.is-active, .sort__popup span.is-active, .sort__popup.hidden span.is-active {
        background: #D9D9D9;
    }
}

/* Banner Block Styles */
.sales--detail__banner-block {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.sales--detail__banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    min-height: 400px;
}

.sales--detail__banner-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 25px;
}

.sales--detail__banner-content {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 10px 60px 10px 58px;
    min-height: 400px;
    color: white;
    width: 100%;
    left: 0;
}

.sales--detail__banner-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: -1;
    border-radius: 25px;
}

.banner-content__right {
    flex-shrink: 0;
    z-index: 3;
    width: 100%;
    max-width: 420px;
}

.sales--detail__banner-text {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.sales--detail__banner-subscribe {
    padding: 25px 30px;
    border-radius: 12px;
    color: white;
    width: 100%;
    max-width: 420px;
    flex-shrink: 0;
}

.banner-subscribe__text {
    font-size: 16px;
    color: white;
    line-height: 1.4;
    text-align: center;
}

.banner-subscribe__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.banner-subscribe__input {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
}

.banner-subscribe__input::placeholder {
    color: #999;
}

.banner-subscribe__button {
    padding: 12px 20px;
    background: #AFC647;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.banner-subscribe__button:hover {
    background: #8fb038;
    color: white;
    text-decoration: none;
}

.banner-subscribe__result {
    font-size: 14px;
    color: white;
    display: block;
}

.banner-subscribe__event-info {
    text-align: center;
}

.event-info__title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
    color: white;
}

.event-info__date {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.sales--detail__banner-timer {
    display: flex;
    gap: 12px;
    
    background: rgba(60, 60, 60, 0.85);
    padding: 18px 20px;
    border-radius: 8px;
    margin-top: 20px;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.timer-value {
    font-size: 36px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 6px;
    color: white;
    text-align: center;
    font-family: 'Courier New', monospace;
}

.timer-label {
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* Categories Carousel Styles */
.sales--detail__categories-carousel {
    margin-top: 5px;
}

.categories-carousel__wrapper {
    position: relative;
    overflow: hidden;
}

.categories-carousel__track {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 8px;
}

.categories-carousel__track::-webkit-scrollbar {
    display: none;
}

.categories-carousel__item {
    flex: 0 0 auto;
    min-width: 140px;
    max-width: 140px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s, transform 0.2s;
    margin: 10px 0;
    position: relative;
}

.categories-carousel__item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.category-item__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s;
    height: 100%;
}

.category-item__link:hover {
    /* transform: translateY(-5px); */
}

.category-item__image {
    width: 100%;
    height: 120px;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-item__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.category-item__name {
    font-size: 14px;
    text-align: center;
    line-height: 1.3;
    font-weight: 300;
    text-transform: uppercase;
    margin-top: auto;
}

.category-item__discount {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #F21717;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
    min-width: 40px;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
    pointer-events: none;
}

.category-item__link:hover .category-item__discount {
    transform: translateZ(0);
    position: absolute;
    top: 10px;
    right: 10px;
}

.categories-carousel__item:hover .category-item__discount {
    transform: translateZ(0);
    position: absolute;
    top: 10px;
    right: 10px;
}

.categories-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.categories-carousel__arrow--left {
    left: 0;
}

.categories-carousel__arrow--right {
    right: 0;
}

.categories-carousel__arrow:hover {
    background: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #AFC647;
}

.categories-carousel__arrow:hover svg {
    color: #AFC647;
}

.categories-carousel__arrow svg {
    width: 20px;
    height: 20px;
    transition: color 0.3s;
}

.categories-carousel__arrow--hidden {
    display: none;
}

/* FAQ Styles */
.sales--detail__faq {
    margin: 50px 0;
    padding: 40px 0;
}

.faq__title {
    font-size: 18px;
    font-weight: bold;
    text-align: left;
    color: #333;
}

.faq__list {
    margin: 0 auto;
}

.faq__item {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 12px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq__item:hover {
    border-color: #d0d0d0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq__item--open {
    border-color: #d0d0d0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #fafafa;
}

.faq__question {
    width: 100%;
    padding: 18px 20px;
    border: none;
    text-align: left;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    transition: background-color 0.2s, color 0.2s;
}

.faq__item--open .faq__question {
    color: #333;
}

.faq__question:hover {
    background: #f8f8f8;
    color: #333;
}

.faq__question-text {
    flex: 1;
    padding-right: 20px;
}

.faq__question-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: #666;
}

.faq__item--open .faq__question-icon {
    transform: rotate(90deg);
    color: #333;
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq__item--open .faq__answer {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
}

.faq__answer-content {
    padding: 20px;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    background: #fff;
}

/* Responsive Styles */
@media screen and (max-width: 960px) {
    .sales--detail__banner-block {
        min-height: auto;
        border-radius: 0;
    }
    
    /* Якщо дозволено блок на банері - показуємо банер як фон */
    .sales--detail__banner-block .sales--detail__banner-image {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    
    .sales--detail__banner-block .sales--detail__banner-image img {
        object-fit: cover;
        border-radius: 0;
    }
    
    .sales--detail__banner-content {
        padding: 30px 20px;
        flex-direction: column;
        align-items: center;
        min-height: 400px;
        position: relative;
        z-index: 2;
        background: rgba(0, 0, 0, 0.4);
        justify-content: center;
    }
    
    .sales--detail__banner-content::before {
        display: block;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
        border-radius: 0;
    }
    
   
    
    .sales--detail__banner-subscribe {
        max-width: 100%;
        width: 100%;
        padding: 25px 20px;
        border-radius: 12px;
    }
    
    /* Якщо не дозволено блок - показуємо тільки банер */
    .sales--detail__banner {
        display: block;
    }
    
    .sales--detail__banner img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 0;
    }
    
    .event-info__title {
        font-size: 20px;
    }
    
    .sales--detail__banner-timer {
        gap: 10px;
        padding: 15px;
    }
    
    .timer-value {
        font-size: 28px;
    }
    
    .timer-label {
        font-size: 10px;
    }
    
    .categories-carousel__item {
        min-width: 120px;
        max-width: 120px;
    }
    
    /* FAQ Mobile Styles */
    .sales--detail__faq {
        margin: 30px 0;
        padding: 20px 0;
    }
    
    .faq__title {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    
    .faq__item {
        margin-bottom: 10px;
    }
    
    .faq__question {
        padding: 15px;
        font-size: 14px;
    }
    
    .faq__question-text {
        padding-right: 15px;
        line-height: 1.4;
    }
    
    .faq__question-icon {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }
    
    .faq__answer-content {
        padding: 15px;
        font-size: 14px;
        line-height: 1.6;
    }
    
    .category-item__image {
        height: 100px;
    }
    .sales--detail.container {
        padding: 0;
    }
}
#breadcrumbs {
    margin-bottom: 12px;
}
@media screen and (max-width: 500px) {
    .banner-content__right {
        width: 100%;
        max-width: 100%;
    }
}
/* End */
/* /local/templates/ecommerce/components/bitrix/news/sales2/bitrix/news.detail/sale/style.css?176431236622072 */
