/* =========== test ============ */

.disclaimer-wrapper {
	background: var(--main-color);
	position: relative;
	padding: 0.5rem 2.5rem 0.5rem 0.5rem;
	text-align: center;
}

/* Бягащ режим — активира се с JS клас */
.disclaimer-wrapper.disclaimer-marquee {
	overflow: hidden;
	white-space: nowrap;
	cursor: grab;
	text-align: left;
}

.disclaimer-wrapper.disclaimer-marquee::after {
	content: '';
	width: 30px;
	height: 100%;
	background: var(--main-color);
	position: absolute;
	right: 0;
	top: 0;
}

.disclaimer-track {
	display: flex;
	justify-content: center;
	align-items: center;
}

.disclaimer-marquee .disclaimer-track {
	display: inline-flex;
	will-change: transform;
}

.disclaimer-text {
	color: #fff;
	font-size: 1rem;
}

.disclaimer-marquee .disclaimer-text {
	padding-right: 20px;
}

@media (min-width: 767px) {
	.disclaimer-marquee .disclaimer-text {
		padding-right: 20%;
	}
}

html body .disclaimer-wrapper button.disclaimer-close {

	font-size: 1.5rem;

	width: 2.5rem;
	height: 2.5rem;
	line-height: 2.5rem;

	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;

	border: none !important;
	border-radius: 50%;
	overflow: hidden;
	cursor: pointer;

	transition: transform 0.3s ease;
	transform-origin: center center;

}

html body .disclaimer-wrapper button.disclaimer-close:hover {
	background: none !important;
	transform: translateY(-50%) rotate(90deg)
}

/* =========== end test ============ */

/* ===================== LINE 1 ================ */

#line-1 {
	position: relative;
}

.hero {
	font-size: 1.2rem;
	font-weight: 600
}

.hero h1 {
	font-size: 2.5rem;
	font-weight: 600
}


/* Hero list items */
.hero ul {
	list-style: none;
	padding: 0;
	margin-left: 0;
	display: block 
}

.hero ul li {
	font-size: 1.05rem;
	font-style: italic;
	position: relative;

	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 0.8rem;
}

.hero .btn {
	margin-left: 2rem
}

/* ===================== icons  ================ */

.hero ul li i {
	font-size: 1.4rem;
	color: #1e3a5f;
	flex-shrink: 0;
	width: 1.8rem;
	text-align: center;
}

/* ===================== LINE 2 ================ */

#line-2 {
	position: relative;
	box-shadow: 0 0 12px 6px rgba(0, 0, 0, .12)
		/*box-shadow:0 0 12px 6px rgba(0,0,0,.2)*/
}

@media (min-width: 768px) {

	.r-carusel .r-carusel-title {
		transform: translateX(90px)
	}
}

.r-carusel.container {
	padding-left: 0;
	padding-right: 0;
	overflow: hidden
}

.offers-header {
	position: relative;
	margin-bottom: 20px;
}

.offers-header h2 {
	flex-grow: 1;
	text-align: center;
}

.offers-arrows {
	gap: 10px;
}

.r-carusel .offers-arrows svg {
	width: 100%;
	height: auto;
	display: block
}

.offers-arrows .swiper-button-prev,
.offers-arrows .swiper-button-next {
	width: 40px;
	height: 40px;
	background: var(--white-color);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.offers-arrows svg {
	width: 20px;
	height: 20px;
	color: #333;
}

.offers-arrows>div:hover svg path {
	fill: #fff
}

.offers-arrows>div:hover {
	background-color: var(--main-color);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

.swiper-button-prev::after,
.swiper-rtl .swiper-button-next::after,
.swiper-button-next::after,
.swiper-rtl .swiper-button-prev::after {
	display: none;
	content: '';
}

.swiper-button-prev,
.swiper-button-next {
	position: static;
	margin: 0;
	transform: none
}


.shop-card .row.btns div.col .btn {
	width: calc(100% - 8px) !important
}

/*
.shop-card .front .price .col {
	max-width: 50%;
}*/

/* ===================== LINE 3 ================ */

section#brands {
	background: white
}

/* ===================== LINE 4 ================ */

.sec-line {
	font-family: var(--sec-font);
	font-size: 1rem;
}

.tri-line {
	font-family: var(--sec-font);
	font-size: 1rem;
	background: var(--tri-color);
}

@media (min-width: 767px) {

	.swiper.r-shop {
		margin-right: -20px;
	}
}


@media (max-width: 767px) {

	/* ================ HOME LINE 4 =================== */

	#line-4 h2 {
		text-align: center
	}
}

/* ===================== LINE 2B — ================ */
#line-2 {
	margin-top: 1rem;
	margin-bottom: 0 !important;
	z-index: 1
}

#line-2b {
	background: var(--mod-bkg-color)
}

/* 
===================== 
================================================================= FILTERS DROP-DOWN LINE 1
===================== 
*/

/* ===== HOME FILTER DROPDOWN ===== */

/* ── Позиция на дропдауна ── */
#home-filter-dropdown {
	display: none;
	position: absolute;
	top: 0;
	left:0;
	bottom: 0;
	width: 100%;
	max-width: 796px;
	z-index: 50 
}

#home-filter-dropdown.is-open {
	display: block;
}

/* ── Панелът наследява .sidebar-filters от klimaticy-sidebar.css ── */
#home-filter-dropdown .sidebar-filters {
	display: flex;
	flex-direction: column; 
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	position: relative;
	padding-top: 5rem 
}

#home-filter-dropdown .sidebar-filters form#home-filter-form{ 
	display: flex;
	flex-direction: column;
	height:100%
}

#home-filter-dropdown .sidebar-filters .ex{ 
	display: flex;
	flex-direction: column;
}

#home-filter-dropdown .sidebar-filters .btn.action{
	margin-top:auto;
	max-width: 360px	
}

#home-filter-dropdown .sidebar-filters #hf-clear-btn{
	max-width: 360px;
	background:none !important;
	border:none !important
}

#home-filter-dropdown .sidebar-filters #hf-clear-btn:hover{
	text-decoration:underline
}

/* ── Close бутон ── */
.hf-close {
	position: absolute;
	top: 0;
	right: .5rem;
	background: none;
	border: none; 	
	font-size: 4rem;
	line-height: 1;
	color: #888;
	cursor: pointer;
	padding: 2px 8px;
	z-index: 1;
}

.hf-close:hover {
	color: var(--text-color);
}

/* ── Редове Label | Съдържание ── */
.hf-row {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 4px;
}

.hf-row.top-align {
	align-items: flex-start;
}

.hf-label {
	font-size: .88rem;
	font-weight: 600;
	color: var(--sec-color);
	min-width: 130px;
	flex-shrink: 0;
}

/* ── Слайдерите — реплика на noUi стиловете от #klimaticy-sidebar ── */
#home-filter-dropdown .noUi-horizontal {
	height: 0.25rem;
	margin: 1rem auto;
	max-width: 100%;
}

#home-filter-dropdown .noUi-connect {
	background: var(--sec-color);
}

#home-filter-dropdown .noUi-handle::before,
#home-filter-dropdown .noUi-handle::after {
	display: none !important;
}

#home-filter-dropdown .noUi-touch-area,
#home-filter-dropdown .noUi-handle {
	width: .85rem !important;
	height: .85rem !important;
	border-radius: 50%;
	background: var(--sec-color);
	overflow: hidden;
	border: none !important;
}

#home-filter-dropdown .noUi-horizontal .noUi-handle {
	right: -0.5rem;
	top: -0.4rem;
}

/* ── Brands ── */
.hf-brands {
	display: flex;
	flex-wrap: wrap; 
	align-items: center;
	gap: 6px 6px;
	margin-right:-6px;
	
	flex: 1;
	min-width: 0; 
}

.hf-brand-label {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer; 
	max-width: calc( ( 100% / 3 ) - 6px );
	padding:2px;
	
	border:solid 1px #2d3d63 /* var(--main-color) */
	
}

.hf-brand-label input[type="checkbox"] {
	display: none;
}

.hf-brand-label input:checked~* {
	opacity: 1;
}

.hf-brand-label:has(input:checked) {
	opacity: 1;
}

.hf-brand-label img {
	width: 90px;
	height: 36px;
	object-fit: contain;
	display: block;
	
	opacity: .6;
	filter: grayscale(80%);
 	
	transition: all .3s ease-in-out
}
/*
.hf-brand-label:hover {
	opacity: 1;
	filter: grayscale(0%);
}*/
 
.hf-brand-label:hover img,
.hf-brand-label:has(input:checked) img {
	opacity: 1;
	filter: grayscale(0%);
} 
 
.hf-checks {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	flex: 1;
}
 
.hf-advanced {
	display: block;
	font-size: .85rem;
	color: var(--sec-color);
	text-decoration: underline;
	margin-bottom: 14px;
}

.hf-advanced:hover {
	color: var(--main-color);
}
/* 
.hf-clear {
	display: block;
	text-align: center;
	font-size: .83rem;
	color: #888;
	text-decoration: none;
	margin-top: 8px;
}

.hf-clear:hover {
	color: var(--sec-color);
}
*/
.hf-slider-col {
		flex: 1;
		min-width: 0;
	} 
	
#home-filter-dropdown .sf-slider-row .slider{
	max-width: calc( 100% - 64px );
	transform:translateX(-2px)
}
	
@media (min-width: 1200px) {
 	
	#home-filter-dropdown .sf-slider-row .sf-slider-inputs .min-val, 
	#home-filter-dropdown .sf-slider-row .sf-slider-inputs .max-val {
		width:75px
	}
	
	#home-filter-dropdown .sf-slider-row{
		position:relative
	}
	
	#home-filter-dropdown .sf-slider-row .slider{
		position:absolute;
		left:50%;
		transform:translateX(-50%);
		max-width: calc( 100% - 182px ) 
		
	}
	
}


@media (max-width: 1200px) {
	.hero h1 {
		margin-top:2rem
	}	
}

@media (min-width: 768px) {
	
	.hero ul{
		padding-bottom: 2rem
	}
	
	#line-1.home-section section.hero .btns{
		margin-top: 1.5rem
	}
}


@media (max-width: 767px) {
	
	#line-1.home-section section.hero {
		padding-top:2rem;
		padding-bottom:1rem 		
	}
	
	#line-1.home-section section.hero .btns{
		padding-top: .5rem;
		padding-left: 8px		
	}
	
	
	#home-filter-dropdown {
		max-width: 100% 
	}
	
	#home-filter-dropdown .sidebar-filters{
		height:auto
	}
	
	#home-filter-dropdown .sidebar-filters .btn.action{
		margin-top:1rem
	}

	.hf-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}

	.hf-slider-col {
		width: 100%;
	}
	
	.hero h1 {
		margin-top:0;
		font-size: clamp(1.8rem, 4.5vw, 2.5rem );
	}
}