/* pub-hotdeal-banner.css */

.pub-hotdeal-banner-section {
	text-align: center;
	margin-bottom: 30px;
}

.pub-hotdeal-banner-container {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.pub-hotdeal-banner-left {
	flex: 0 0 auto;
	width: calc((100% - 20px) * 0.48);
	max-width: 600px;
	min-width: 450px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.pub-hotdeal-banner-item-left {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pub-hotdeal-banner-item-left:hover {
	transform: translateY(-5px) scale(1.02);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.pub-hotdeal-banner-item-left img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 413 / 251;
	min-height: 200px;
}

.pub-hotdeal-banner-right {
	flex: 0 0 auto;
	width: calc((100% - 20px) * 0.48);
	max-width: 600px;
	min-width: 450px;
	position: relative;
	overflow: hidden;
	height: 100%;
}

.pub-hotdeal-banner-slider {
	width: 100%;
	height: 100%;
	position: relative;
}

.pub-hotdeal-banner-item-right {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
}

.pub-hotdeal-banner-item-right:hover {
	transform: translateY(-5px) scale(1.02);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.pub-hotdeal-banner-item-right img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 413 / 522;
	min-height: 400px;
}

/* Swiper Pagination - 하단 중앙 작은 흰색 점 */
.pub-hotdeal-banner-slider .pub-hotdeal-pagination {
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	width: auto !important;
	z-index: 10;
}

.pub-hotdeal-banner-slider .pub-hotdeal-pagination .swiper-pagination-bullet {
	background: #ffffff;
	opacity: 0.6;
	width: 6px;
	height: 6px;
	margin: 0 3px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 3px;
	transition: width 0.3s ease, opacity 0.3s ease;
}

.pub-hotdeal-banner-slider .pub-hotdeal-pagination .swiper-pagination-bullet-active {
	background: #ffffff;
	opacity: 1;
	border-color: #ffffff;
	width: 20px; /* 활성화된 도트를 가로로 길게 */
}

/* Swiper Navigation - 호버 시 표시 */
.pub-hotdeal-banner-slider .pub-hotdeal-button-next,
.pub-hotdeal-banner-slider .pub-hotdeal-button-prev {
	color: #ffffff;
	width: 40px;
	height: 40px;
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 50%;
	opacity: 0;
	transition: opacity 0.3s ease, background-color 0.3s ease;
	z-index: 10;
}

.pub-hotdeal-banner-slider .pub-hotdeal-button-next::after,
.pub-hotdeal-banner-slider .pub-hotdeal-button-prev::after {
	font-size: 18px;
	font-weight: bold;
}

.pub-hotdeal-banner-slider:hover .pub-hotdeal-button-next,
.pub-hotdeal-banner-slider:hover .pub-hotdeal-button-prev {
	opacity: 1;
}

.pub-hotdeal-banner-slider .pub-hotdeal-button-next:hover,
.pub-hotdeal-banner-slider .pub-hotdeal-button-prev:hover {
	background-color: rgba(0, 0, 0, 0.7);
}

.pub-hotdeal-banner-slider .pub-hotdeal-button-next {
	right: 10px;
}

.pub-hotdeal-banner-slider .pub-hotdeal-button-prev {
	left: 10px;
}

/* 모바일 스타일 */
.pub-hotdeal-banner-section-mobile {
	text-align: center;
	margin-bottom: 20px;
}

.pub-hotdeal-banner-container-mobile {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.pub-hotdeal-banner-item-mobile {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pub-hotdeal-banner-item-mobile img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 413 / 251;
}

.pub-hotdeal-banner-slider-mobile-wrapper {
	position: relative;
	overflow: hidden;
}

.pub-hotdeal-banner-slider-mobile {
	width: 100%;
	padding-bottom: 30px;
}

.pub-hotdeal-banner-item-mobile-slide {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pub-hotdeal-banner-item-mobile-slide img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 413 / 251;
}

/* 모바일 Swiper Pagination - 하단 중앙 작은 흰색 점 */
.pub-hotdeal-banner-slider-mobile .pub-hotdeal-pagination-mobile {
	position: absolute !important;
	bottom: 10px !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	width: auto !important;
	z-index: 10 !important;
	text-align: center !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
}

.pub-hotdeal-banner-slider-mobile .pub-hotdeal-pagination-mobile .swiper-pagination-bullet {
	background: #ffffff;
	opacity: 0.6;
	width: 6px;
	height: 6px;
	margin: 0 3px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 3px;
	transition: width 0.3s ease, opacity 0.3s ease;
}

.pub-hotdeal-banner-slider-mobile .pub-hotdeal-pagination-mobile .swiper-pagination-bullet-active {
	background: #ffffff;
	opacity: 1;
	border-color: #ffffff;
	width: 20px; /* 활성화된 도트를 가로로 길게 */
}

/* 모바일 Swiper Navigation - 호버 시 표시 */
.pub-hotdeal-banner-slider-mobile .pub-hotdeal-button-next-mobile,
.pub-hotdeal-banner-slider-mobile .pub-hotdeal-button-prev-mobile {
	color: #ffffff;
	width: 40px;
	height: 40px;
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 50%;
	opacity: 0;
	transition: opacity 0.3s ease, background-color 0.3s ease;
	z-index: 10;
}

.pub-hotdeal-banner-slider-mobile .pub-hotdeal-button-next-mobile::after,
.pub-hotdeal-banner-slider-mobile .pub-hotdeal-button-prev-mobile::after {
	font-size: 18px;
	font-weight: bold;
}

.pub-hotdeal-banner-slider-mobile:hover .pub-hotdeal-button-next-mobile,
.pub-hotdeal-banner-slider-mobile:hover .pub-hotdeal-button-prev-mobile {
	opacity: 1;
}

.pub-hotdeal-banner-slider-mobile .pub-hotdeal-button-next-mobile:hover,
.pub-hotdeal-banner-slider-mobile .pub-hotdeal-button-prev-mobile:hover {
	background-color: rgba(0, 0, 0, 0.7);
}

.pub-hotdeal-banner-slider-mobile .pub-hotdeal-button-next-mobile {
	right: 10px;
}

.pub-hotdeal-banner-slider-mobile .pub-hotdeal-button-prev-mobile {
	left: 10px;
}

/* 반응형 */
@media (max-width: 768px) {
	.pub-hotdeal-banner-container {
		flex-direction: column;
		gap: 15px;
	}
	
	.pub-hotdeal-banner-left {
		flex: 1 1 100%;
		width: 100%;
	}
	
	.pub-hotdeal-banner-right {
		flex: 1 1 100%;
		width: 100%;
	}
}

