/**
 * Gigant Promo Wide - Swiper slider with promotional banners
 */

/* === Section Base === */
.section.category-banner {
	position: relative;
}

/* === Slider Container === */
.category-banner .top-slider-container {
	position: relative;
	width: 100%;
	height: 100%;
}

.category-banner .top-slider-container .swiper-slide,
.category-banner .top-slider-container .swiper-wrapper {
	width: 100%;
	height: 100%;
}

/* === Flex Wrapper === */
.category-banner .flex-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	position: relative;
}

.category-banner .flex-wrapper > div {
	box-sizing: border-box;
}

/* === Text Box === */
.category-banner .text-box {
	padding: 20px 5px 20px 20px;
}

.category-banner .text-box.white {
	color: #fff;
}

.category-banner .subtitle {
	font-size: 18px;
}

.category-banner .title {
	font-size: 52px;
	margin: 20px 0 30px;
}

/* === Button === */
.category-banner .btn {
	color: var(--button-text-color, #242323);
	background-color: var(--primary-color);
	border: 4px solid var(--primary-color);
	border-radius: 30px;
	padding: 10px 60px;
	font-size: 16px;
	font-weight: bold;
	display: inline-block;
	transition: background-color .15s ease-out, border-color .15s ease-out;
	box-shadow: 0px 10px 25px 3px rgba(0, 0, 0, 0.3);
}

.category-banner .btn:hover {
	color: #fff;
	background-color: #242323;
	border-color: #242323;
}

/* === Image Box === */
.category-banner .img-box {
	clip-path: polygon(90% 0%, 100% 50%, 90% 100%, 0% 100%, 10% 50%, 0% 0%);
}

.category-banner .img {
	display: block;
	max-width: 750px;
}

/* === Hide Link (mobile tap area) === */
.category-banner .hide-link {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	z-index: 5;
}

/* === Navigation Buttons === */
.category-banner .swiper-button-prev,
.category-banner .swiper-button-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 100;
	width: 44px;
	height: 44px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	color: #000;
	opacity: 0.7;
	transition: opacity .15s ease-out;
	pointer-events: auto;
	background: none;
}

.category-banner .swiper-button-prev:hover,
.category-banner .swiper-button-next:hover {
	opacity: 1;
}

.category-banner .swiper-button-prev {
	left: 10px;
}

.category-banner .swiper-button-next {
	right: 10px;
}

/* === Pagination === */
.category-banner .swiper-pagination,
.category-banner .swiper-pagination-main {
	position: absolute;
	bottom: 20px;
	left: 0;
	right: 0;
	z-index: 10;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.category-banner .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 50%;
	cursor: pointer;
	transition: background .15s ease-out;
}

.category-banner .swiper-pagination-bullet:hover {
	background: rgba(0, 0, 0, 0.5);
}

.category-banner .swiper-pagination-bullet-active {
	background: rgba(0, 0, 0, 0.8);
}

/* === Tablet Styles (749px - 1250px) === */
@media only screen and (max-width: 1250px) and (min-width: 749px) {
	.category-banner .title {
		font-size: 36px;
		margin: 10px 0 15px;
	}

	.category-banner .subtitle {
		font-size: 14px;
	}

	.category-banner .btn {
		border-width: 3px;
		padding: 6px 40px;
		font-size: 14px;
	}

	.category-banner .img {
		max-width: 450px;
	}
}

/* === Mobile Styles (< 749px) === */
@media only screen and (max-width: 748px) {
	.category-banner .swiper-slide .container {
		padding: 0;
	}

	.category-banner .title {
		font-size: 20px;
		margin: 10px 0;
		min-width: 140px;
	}

	.category-banner .subtitle {
		font-size: 10px;
	}

	.category-banner .btn {
		border-width: 2px;
		padding: 4px 20px;
		font-size: 10px;
	}

	.category-banner .img {
		max-width: 300px;
	}

	.category-banner .flex-wrapper {
		justify-content: end;
	}

	.category-banner .img-box {
		overflow: hidden;
	}

	/* Hide nav buttons on mobile - use swipe */
	.category-banner .swiper-button-prev,
	.category-banner .swiper-button-next {
		display: none;
	}
}
