/**
 * /brands/ — slider brendova (info-on-image, autoplay + strelice).
 */

.runnerp-brands-slider-wrap {
	position: relative;
	max-width: 100%;
	margin: 0 auto 56px;
	padding: 0 52px 8px;
	box-sizing: border-box;
}

/* Razmak između liste brendova i footera */
.page-brands .qodef-page-content-section,
.page-brands .qodef-page-content-holder {
	padding-bottom: 48px;
}

/* Jednake visine slideova */
.runnerp-brands-slider.qodef-swiper-container .swiper-wrapper {
	align-items: stretch;
}

.runnerp-brands-slider .swiper-slide {
	height: auto;
	display: flex;
	box-sizing: border-box;
}

.runnerp-brands-slider .swiper-slide.runnerp-brand-item,
.runnerp-brands-slider .swiper-slide > .qodef-e {
	width: 100%;
	display: flex;
	flex-direction: column;
}

.runnerp-brands-slider .qodef-woo-product-inner {
	width: 100%;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}

.runnerp-brands-slider.qodef-item-layout--info-on-image .qodef-woo-product-image::before {
	padding-bottom: 133.333%;
}

.runnerp-brands-slider.qodef-item-layout--info-on-image .qodef-woo-product-image > a img,
.runnerp-brands-slider.qodef-item-layout--info-on-image .qodef-woo-product-image img {
	object-fit: cover;
}

.runnerp-brands-slider .qodef-woo-product-content {
	display: none !important;
}

.runnerp-brands-slider.qodef-item-layout--info-on-image .qodef-woo-product-image-inner {
	background-color: rgba(255, 255, 255, 0.92) !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
}

.runnerp-brands-slider.qodef-item-layout--info-on-image .qodef-woo-product-image-inner-initial {
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}

.runnerp-brands-slider.qodef-item-layout--info-on-image .qodef-woo-product-image-inner-initial .qodef-woo-product-title {
	margin: 0;
	text-align: center;
}

/* Strelice — vidljive pored slidera (Passim ih inače gura van ekrana) */
.runnerp-brands-slider-wrap .swiper-button-prev,
.runnerp-brands-slider-wrap .swiper-button-next {
	display: flex !important;
	align-items: center;
	justify-content: center;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	cursor: pointer;
	z-index: 20;
	width: 40px !important;
	height: 40px !important;
	top: 38% !important;
	transform: translateY(-50%) !important;
	color: #604235;
}

.runnerp-brands-slider-wrap .swiper-button-prev.swiper-button-outside,
.runnerp-brands-slider-wrap .swiper-button-next.swiper-button-outside {
	transform: translateY(-50%) !important;
}

.runnerp-brands-slider-wrap .swiper-button-prev {
	left: 0 !important;
}

.runnerp-brands-slider-wrap .swiper-button-next {
	right: 0 !important;
}

.runnerp-brands-slider-wrap .swiper-button-prev:hover,
.runnerp-brands-slider-wrap .swiper-button-next:hover {
	color: #B08968;
}

.runnerp-brands-slider-wrap .swiper-button-prev svg,
.runnerp-brands-slider-wrap .swiper-button-next svg {
	width: 28px;
	height: auto;
}

.runnerp-brands-slider-wrap .swiper-button-disabled {
	opacity: 0.35 !important;
	pointer-events: none !important;
}

.runnerp-brands-slider-wrap .swiper-pagination {
	display: none !important;
}

.runnerp-brands-slider .runnerp-brand-no-image::before {
	content: "";
	display: block;
	width: 100%;
	padding-bottom: 133.333%;
	background-color: #f6f6f6;
}

.runnerp-brands-slider .runnerp-brand-no-image .qodef-woo-product-image-inner-initial {
	position: relative;
	padding: 14px 0;
	text-align: center;
}

@media only screen and (max-width: 680px) {
	.page-brands .runnerp-brands-slider-wrap {
		padding: 0 34px;
	}

	.page-brands .runnerp-brands-slider-wrap .swiper-button-prev,
	.page-brands .runnerp-brands-slider-wrap .swiper-button-next {
		width: 26px !important;
		height: 26px !important;
	}

	.page-brands .runnerp-brands-slider-wrap .swiper-button-prev svg,
	.page-brands .runnerp-brands-slider-wrap .swiper-button-next svg {
		width: 18px;
		height: auto;
	}
}
