/* 전체 페이지 스타일 */
body {
	background-color: #f7f9fc;
	font-family: 'Noto Sans KR', sans-serif;
	color: #333;
}

/* 헤더 섹션 스타일 */
.site-header {
	background: linear-gradient(135deg, #2c3e50 0%, #4ca1af 100%);
	color: white;
	padding: 2.5rem 0;
	position: relative;
	overflow: hidden;
}

.site-header:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
	opacity: 0.8;
}

.header-content {
	position: relative;
	z-index: 2;
}

.site-title {
	font-weight: 700;
	font-size: 2.5rem;
	margin-bottom: 0.5rem;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.site-description {
	font-weight: 300;
	font-size: 1.1rem;
	margin-bottom: 1.5rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* 업데이트 배지 */
.update-badge {
	display: inline-block;
	background-color: rgba(255, 255, 255, 0.2);
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 50px;
	font-size: 0.9rem;
	font-weight: 400;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 메인 컨테이너 */
.main-container {
	padding: 1rem 0;
}

/* 소개 섹션 */
.intro-section {
	background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
	border-radius: 15px;
	padding: 1.5rem;
	margin-bottom: 1rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	position: relative;
	overflow: hidden;
}

.intro-section::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 250px;
	height: 100%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%230097a7' fill-opacity='0.1' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'/%3E%3C/svg%3E");
	opacity: 0.5;
}

.intro-title {
	font-size: 1.8rem;
	font-weight: 700;
	color: #00838f;
	margin-bottom: 1rem;
}

.intro-desc {
	font-size: 1.1rem;
	color: #006064;
	margin-bottom: 1.5rem;
	line-height: 1.6;
	max-width: 90%;
}

.intro-highlight {
	background-color: #ffd54f;
	color: #333;
	padding: 1.5rem;
	border-radius: 10px;
	position: relative;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	border-left: 5px solid #ffc107;
}

.intro-highlight-title {
	font-size: 1.3rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

/* 섹션 제목 */
.section-title {
	font-size: 1.8rem;
	font-weight: 700;
	color: #2c3e50;
	margin-bottom: 1.5rem;
	position: relative;
	padding-bottom: 0.5rem;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50px;
	height: 4px;
	background: linear-gradient(90deg, #4ca1af 0%, #2c3e50 100%);
	border-radius: 2px;
}

/* 알림 메시지 */
.notice-box {
	background-color: #e3f2fd;
	border-left: 5px solid #2196f3;
	color: #0d47a1;
	padding: 1rem;
	border-radius: 5px;
	margin-bottom: 2rem;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 상품 카드 스타일 */
.product-card {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0,0,0,0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
	background-color: white;
	border: none;
}

.product-card:hover {
	transform: translateY(-7px);
	box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.product-img-container {
	height: 220px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f5f5f5;
	position: relative;
}

.product-img-container img {
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	transition: transform 0.5s ease;
}

.product-card:hover .product-img-container img {
	transform: scale(1.05);
}

.product-price-tag {
	position: absolute;
	top: 10px;
	right: 10px;
	background-color: rgba(33, 150, 243, 0.9);
	color: white;
	padding: 0.3rem 0.7rem;
	border-radius: 20px;
	font-weight: 600;
	font-size: 0.85rem;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-info {
	padding: 1.2rem;
}

.product-title {
	font-weight: 600;
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
	height: 3.3rem;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	color: #2c3e50;
}

.product-meta {
	display: flex;
	align-items: center;
	margin-bottom: 0.25rem;
	color: #7f8c8d;
	font-size: 0.9rem;
}

.product-meta i {
	margin-right: 0.4rem;
	font-size: 0.85rem;
	color: #3498db;
}

.product-amount {
	font-weight: bold;
	color: #e74c3c;
	font-size: 1.2rem;
	margin-top: 0.7rem;
	margin-bottom: 0.7rem;
}

.detail-btn {
	width: 100%;
	border-radius: 50px;
	background-color: #3498db;
	border-color: #3498db;
	font-weight: 500;
	padding: 0.5rem 0;
	transition: all 0.3s ease;
}

.detail-btn:hover {
	background-color: #2980b9;
	border-color: #2980b9;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 페이지네이션 */
.pagination {
	margin-top: 3rem;
	margin-bottom: 1rem;
	justify-content: center;
}

.page-item.active .page-link {
	background-color: #3498db;
	border-color: #3498db;
}

.page-link {
	color: #3498db;
	border-radius: 5px;
	margin: 0 3px;
}

.page-link:hover {
	color: #2980b9;
	background-color: #e3f2fd;
}



/* 푸터 스타일 */
.footer {
	background-color: #2c3e50;
	color: white;
	padding: 3rem 0;
	margin-top: 4rem;
}

.footer-title {
	font-weight: 600;
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.footer-text {
	color: #bdc3c7;
	line-height: 1.7;
}

.footer-link {
	color: #3498db;
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-link:hover {
	color: #2980b9;
	text-decoration: underline;
}

.social-links {
	margin-top: 1.5rem;
}

.social-links a {
	color: white;
	background-color: rgba(255,255,255,0.1);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 10px;
	transition: all 0.3s ease;
}

.social-links a:hover {
	background-color: #3498db;
	transform: translateY(-3px);
}

/* 반응형 조정 */
@media (max-width: 768px) {
	.intro-section::before {
		display: none;
	}
	
	.intro-desc {
		max-width: 100%;
	}
	
	.product-img-container {
		height: 180px;
	}
	
	.scroll-top-btn {
		width: 40px;
		height: 40px;
	}
}

/* 애니메이션 */
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

.fade-in {
	animation: fadeIn 0.5s ease-out forwards;
}

.fade-in-delay-1 {
	opacity: 0;
	animation: fadeIn 0.5s ease-out 0.1s forwards;
}

.fade-in-delay-2 {
	opacity: 0;
	animation: fadeIn 0.5s ease-out 0.2s forwards;
}

/* 로딩 중 상태 */
.empty-state {
	text-align: center;
	padding: 3rem 0;
}

.empty-icon {
	font-size: 3rem;
	color: #bdc3c7;
	margin-bottom: 1rem;
}

.empty-title {
	font-size: 1.5rem;
	color: #7f8c8d;
	margin-bottom: 0.5rem;
}

.empty-desc {
	color: #95a5a6;
	max-width: 500px;
	margin: 0 auto;
}


/* floating-buttons */
.floating-buttons {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.floating-button {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background-color: rgba(33, 37, 41, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.scroll-top-button {
    background-color: #4b5563;
}

.share-button {
    background-color: #6366f1;
}

.floating-button:hover {
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .floating-buttons {
        right: 10px;
    }
    .floating-button {
        width: 40px;
        height: 40px;
    }
}



/* ===================================
   카운트다운 애니메이션 스타일
   =================================== */
/* 펄스 애니메이션 정의 */
@keyframes pulseText {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* 깜박임 애니메이션 정의 */
@keyframes blinkText {
    0% { opacity: 1; }
    25% { opacity: 0.5; }
    50% { opacity: 1; }
    75% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* 확대/축소 애니메이션 정의 */
@keyframes scaleText {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* 애니메이션 클래스 */
.pulse-animation {
    animation: pulseText 2s infinite;
    display: inline-block;
}

.blink-animation {
    animation: blinkText 1s infinite;
    display: inline-block;
}

.scale-animation {
    animation: scaleText 1.5s infinite;
    display: inline-block;
    transform-origin: center;
}

.countdown-warning {
    color: #dc3545; /* Bootstrap 빨간색 */
}

.countdown-normal {
    color: #0d6efd; /* Bootstrap 파란색 */
}

/* 버튼 텍스트 및 아이콘 스타일 */
.detail-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    position: relative;
    overflow: hidden;
}

.btn-text {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 0.5rem;
}

.btn-arrow {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.detail-btn:hover .btn-arrow {
    transform: translateX(3px);
    opacity: 1;
}

/* 툴팁 커스터마이징 */
.tooltip .tooltip-inner {
    background-color: #2c3e50;
    color: white;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

.tooltip .tooltip-arrow::before {
    border-top-color: #2c3e50;
}