/* Sekcije početne – mjere preuzete sa stranice 251 (Elementor). */

.sw-section-title {
	margin: 0;
	color: var(--e-global-color-primary);
	font-family: var(--e-global-typography-a10f8a0-font-family), sans-serif;
	font-size: var(--e-global-typography-a10f8a0-font-size);
	font-weight: 600;
	line-height: 1.3em;
	text-transform: uppercase;
}

/* Slider */
.sw-slider {
	position: relative;
	--swiper-pagination-bullet-size: 15px;
	--swiper-pagination-bullet-horizontal-gap: 6px;
}

.sw-slider {
	/* Od 1024 px 10 % niže od heroja na arenasport.com (45 % širine, najviše 648 px); ispod 1024 px mobilna slika 4:5. */
	--sw-hero-h: min(45vw, 648px);
}

.sw-slider .swiper {
	height: var(--sw-hero-h);
}

.sw-slider__slide {
	position: relative;
	height: var(--sw-hero-h);
	overflow: hidden;
	background-color: #fff;
}

.sw-slider__bg,
.sw-slider__bg img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.sw-slider__bg img {
	object-fit: cover;
	object-position: 50% 50%;
}

/* Bez potamnjenja slike (želja klijenta); element ostaje zbog rasporeda slojeva. */
.sw-slider__overlay {
	position: absolute;
	inset: 0;
	background-color: transparent;
}

.sw-slider__inner {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 50px 50px 80px;
	color: #fff;
	text-align: center;
}

.sw-slider__contents {
	max-width: 60%;
}

.sw-slider__heading {
	margin-bottom: 16px;
	font-family: var(--e-global-typography-679076f-font-family), sans-serif;
	font-size: 35px;
	font-weight: 600;
	line-height: 1.3em;
	text-transform: uppercase;
}

.sw-slider__text {
	margin-bottom: 24px;
	font-family: var(--e-global-typography-text-font-family), sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2em;
	letter-spacing: 1px;
}

.sw-slider__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 8px 32px;
	border: 0;
	border-radius: 100px;
	background-color: #039ee3;
	color: #fff;
	font-family: var(--e-global-typography-text-font-family), sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.5px;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s;
}

.sw-slider__button:hover,
.sw-slider__button:focus {
	background-color: var(--e-global-color-secondary);
	color: #fff;
}

/* Crtice umjesto tačkica, kao na arenasport.com: aktivna duža i deblja; klik zona viša od same crtice. */
.sw-slider .swiper-pagination {
	bottom: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.sw-slider .swiper-pagination-bullet {
	position: relative;
	width: 32px;
	height: 2px;
	margin: 0 8px;
	border-radius: 4px;
	opacity: 1;
	background-color: rgba(255, 255, 255, 0.75);
	transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}

.sw-slider .swiper-pagination-bullet::before {
	content: "";
	position: absolute;
	inset: -11px 0;
}

.sw-slider .swiper-pagination-bullet-active {
	width: 56px;
	height: 4px;
	background-color: #fff;
}

/* Slogan */
.sw-slogan {
	padding: 10px;
	background-color: var(--e-global-color-accent);
}

.sw-slogan__text {
	margin: 0;
	color: #fff;
	font-family: var(--e-global-typography-a10f8a0-font-family), sans-serif;
	font-size: var(--e-global-typography-a10f8a0-font-size);
	font-weight: 600;
	line-height: 1.3em;
	text-align: center;
	text-transform: uppercase;
}

/* Kategorije */
.sw-cats {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
	max-width: var(--sw-container);
	margin: 40px auto;
	padding: 10px;
}

.sw-cats__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-auto-rows: 1fr;
	align-items: center;
	gap: 20px;
	width: 100%;
	padding: 10px;
}

.sw-cats__box {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px;
	border: 2px solid #f4f4f4;
	border-radius: 5px;
	background-color: #f4f4f4;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.sw-cats__icon {
	display: inline-block;
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	line-height: 0;
}

.sw-cats__icon svg,
.sw-cats__icon img {
	width: 100%;
	height: 100%;
}

.sw-cats__label {
	margin: 8px 0 5px;
	color: var(--e-global-color-text);
	font-family: var(--e-global-typography-text-font-family), sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-transform: none;
}

.sw-cats__label a {
	color: inherit;
	text-decoration: none;
}

/* Baneri */
.sw-banners {
	max-width: var(--sw-container);
	margin: 0 auto;
	padding: 10px;
}

.sw-banners__row {
	display: flex;
	gap: 20px;
	padding: 10px;
}

.sw-banners__item {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-end;
	gap: 5px;
	width: 50%;
	aspect-ratio: 16 / 9;
	padding: 30px;
	border-radius: 10px;
	background-position: top left;
	background-repeat: no-repeat;
	background-size: cover;
	text-decoration: none;
}

.sw-banners__item::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background-image: linear-gradient(150deg, #feffff 50%, #002e55 100%);
	mix-blend-mode: multiply;
}

.sw-banners__title,
.sw-banners__subtitle {
	position: relative;
	margin: 0;
	color: #fff;
	font-weight: 600;
	text-transform: uppercase;
}

.sw-banners__title {
	font-family: var(--e-global-typography-679076f-font-family), sans-serif;
	font-size: var(--e-global-typography-679076f-font-size);
	line-height: 1.3em;
}

.sw-banners__subtitle {
	font-family: var(--e-global-typography-4aceb21-font-family), sans-serif;
	font-size: var(--e-global-typography-4aceb21-font-size);
	line-height: var(--e-global-typography-4aceb21-line-height);
}

/* Brendovi */
.sw-brands {
	max-width: var(--sw-container);
	margin: 0 auto;
	padding: 10px;
}

.sw-brands__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding: 10px;
}

.sw-brands__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
	padding: 10px;
}

.sw-brands__card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	aspect-ratio: 2 / 3; /* visina ne zavisi od teksta: kartica je ista i bez opisa */
	padding: 30px;
	border-radius: 10px;
	background-image: var(--sw-brand-bg, none);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.sw-brands__card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background-image: linear-gradient(180deg, #0f0f1700 30%, var(--e-global-color-accent) 100%);
}

.sw-brands__top,
.sw-brands__bottom {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.sw-brands__name {
	margin: 0;
	color: #fff;
	font-family: var(--e-global-typography-a10f8a0-font-family), sans-serif;
	font-size: var(--e-global-typography-a10f8a0-font-size);
	font-weight: 600;
	line-height: 1.3em;
	text-transform: uppercase;
}

.sw-brands__text {
	color: #fff;
	font-size: 14px;
	line-height: 1.2em;
}

.sw-brands__text p {
	margin: 0 0 14.4px;
}

.sw-brands__button {
	display: inline-block;
	padding: 10px 30px;
	border: 2px solid #fff;
	border-radius: 10px;
	background-color: var(--e-global-color-accent);
	color: #fff;
	font-family: var(--e-global-typography-accent-font-family), sans-serif;
	font-size: var(--e-global-typography-accent-font-size);
	font-weight: 500;
	line-height: 1.2em;
	letter-spacing: var(--e-global-typography-accent-letter-spacing);
	text-transform: uppercase;
	text-decoration: none;
}

.sw-brands__button:hover {
	background-color: #fff;
	color: var(--e-global-color-text);
}

@media (max-width: 1023px) {
	.sw-slider {
		--sw-hero-h: 125vw;
	}
}

@media (max-width: 1024px) {
	.sw-slider__contents {
		max-width: 100%;
	}

	.sw-slider__heading {
		font-size: 30px;
	}

	.sw-cats__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.sw-brands__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.sw-brands__card {
		aspect-ratio: 2 / 1;
		background-image: var(--sw-brand-bg-m, var(--sw-brand-bg, none));
	}
}

@media (max-width: 767px) {
	.sw-slider__inner {
		padding: 30px 24px 40px;
	}

	.sw-slider__contents {
		width: 100%;
	}

	.sw-slider__text {
		margin-bottom: 20px;
		font-size: 16px;
		letter-spacing: 0.5px;
		line-height: 1.3em;
	}

	.sw-slider__button {
		display: flex;
		width: 100%;
		min-height: 40px;
		font-size: 14px;
	}

	.sw-slider__heading {
		font-size: 25px;
	}

	.sw-cats__grid {
		grid-template-columns: repeat(2, 1fr);
		padding: 0;
	}

	.sw-cats__box {
		padding: 10px 5px;
	}

	.sw-cats__icon {
		width: 35px;
		height: 35px;
	}

	.sw-cats__label {
		font-size: 13px;
		line-height: 1.2;
	}

	.sw-banners__row {
		flex-wrap: wrap;
	}

	.sw-banners__item {
		width: 100%;
	}

	.sw-brands__card {
		flex-direction: row;
		flex-wrap: wrap;
		align-content: space-between; /* naziv gore, dugme dolje i bez opisa */
		aspect-ratio: 1 / 1;
	}

	.sw-brands__text {
		font-size: 12px;
	}
}
