/*產品排版樣式新增*/
.product-slider-1col-info {
	display: flex;
	justify-items: center;
	align-items: center;
}

.product-slider-1col-info .img-box,
.product-slider-1col-info .text-box {
	width: 50%;
}

.product-slider-1col-info .text-box {
	padding-left: 30px;
}

.product-slider-3col .slider-item {
	padding: 15px;
}

a .text-box>.middle-title,
a .middle-title-l,
a .large-title {
	color: #121a2f;
}

a:hover .middle-title,
a:hover .middle-title-l,
a:hover .large-title {
	color: #C6A300;
}

a .btn-sub,
.btn-sub {
	display: inline-block;
	padding: 10px 28px;
	color: #666 !important;
	border: 2px solid #666;
	background: white;
	font-size: 0.875rem;
	letter-spacing: 3px;
	line-height: 1.5;
	text-transform: uppercase;
	font-weight: 400;
	transition: .3s ease-in-out;
	cursor: pointer;
}

a:hover .btn-sub,
.btn-sub:hover {
	color: white !important;
	border: 2px solid #CFA667;
	background: #CFA667;
}

.img-box.rounded-circle {
	width: min(280px, 90%);
	padding-bottom: min(280px, 90%);
	/* 與寬度相同 */
	position: relative;
	border-radius: 50%;
	overflow: hidden;
	margin: 20px auto;
}

.img-box.rounded-circle img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}


.sub-style .middle-title,
.middle-title-l,
.large-title {
	line-height: 1.5 !important;
	margin-top: 15px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	display: -webkit-box;
}

.middle-title-l {
	height: 52px;
}

.large-title {
	height: 65px;
}

.sub-style .middle-title {
	height: 50px;
}

.large-title {
	font-size: 1.25rem;
	letter-spacing: 3px;
}

.middle-title-l {
	font-size: 1.15rem;
	letter-spacing: 2px;
}

.slick-prev:before,
.slick-next:before {
	font-size: 30px !important;
	color: #333;
	opacity: 1;
}

.slick-prev,
.slick-next {
	height: 30px;
	width: 30px;
	z-index: 10;
	top: 30%;
}

.slick-prev {
	left: -20px;
}

.slick-next {
	right: -20px;
}

.index-slider.sub-style .img-box.rounded-circle {
	width: min(220px, 90%);
	padding-bottom: min(220px, 90%);
}

.index-slider.sub-style .slider-item {
	padding: 10px;
}

.small-title span.on-sale,
.product-group>a .text-box>.small-title span.on-sale,
.price-area .price-block.on-sale span {
	color: #cfa667;
	text-decoration: none;
	margin-right: 8px;
	font-weight: 700;
	font-family: 'Noto Sans TC', "微軟正黑體", "Open Sans", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.text-box .text-secondary {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	height: 52px;
	text-align: justify;
	display: none;
}

.product-slider-1col-info .text-secondary {
	display: block;
	overflow: visible;
	height: auto;
	text-align: justify;
}

.product-slider-1col-info .large-title {
	height: auto;
	display: block;
}

@media (max-width: 576px) {
	.product-slider-1col-info {
		flex-direction: column;
	}

	.product-slider-1col-info .img-box,
	.product-slider-1col-info .text-box {
		width: 100%;
	}

	.product-slider-1col-info .text-box {
		padding-left: 0px;
	}

	.index-slider.sub-style .img-box.rounded-circle {
		width: min(280px, 90%);
		padding-bottom: min(280px, 90%);
	}

	.large-title {
		height: auto;
		display: block;
		font-size: 1.2rem;
	}

	.product-slider-1col-info .text-secondary {
		display: -webkit-box;
		-webkit-line-clamp: 4;
		-webkit-box-orient: vertical;
		overflow: hidden;
		max-height: 240px;
		text-align: justify;
	}

	.product-slider-3col .middle-title-l,
	.sub-style .middle-title {
		font-size: 1.1rem;
		letter-spacing: 2px;
	}

	.middle-title-l {
		font-size: 1.1rem;
		height: 50px;
	}
}

.html-info .container .img-box.rounded-circle img {
	margin: 0;
}

.html-info h1,
.html-info h2,
.html-info h3,
.html-info h4,
.html-info h5,
.html-info h6 {
	font-family: Montserrat, 'Noto Sans TC', "Heiti TC", "微軟正黑體", "Open Sans", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.original-price,
.product-group>a .text-box>.small-title span {
	color: #999999;
	text-decoration: line-through;
}

.product-group>a .img-box {
	border-radius: 0 !important;
}

.product-group>a .text-box>p {
	display: none;
}

.product-group>a .text-box>.small-title span,
.small-title span {
	font-size: 1rem !important;
	font-weight: 700;
	font-family: 'Noto Sans TC', "微軟正黑體", "Open Sans", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.middle-title {
	font-size: 1rem;
}

.standard-list>li>a:hover {
	border-color: #CFA667;
	color: #CFA667;
}

.standard-list>li.chosen>a::after {
	display: none;
}

.standard-list>li.chosen>a {
	border-color: #CFA667;
	color: #ffffff;
	background-color: #CFA667;
}

/*soldoutStyle 售完商品圖刷淡*/
.soldoutStyle img {
	opacity: 0.3;
}

/*活動商品列表新增功能*/
.img-box {
	position: relative;
}

/* 桌機版懸停效果 */
.product-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: hsla(0, 0%, 100%, 0.6);
	opacity: 0;
	transition: opacity 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	z-index: 1;
}

.img-box:hover .product-overlay {
	opacity: 1;
}

.overlay-btn {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.9);
	color: #cfa667;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
	cursor: pointer;
}

.index-slider .slider-item a.overlay-btn,
.index-slider .slider-item .img-box a {
	display: flex;
	padding: 0;
}

.overlay-btn:hover {
	background: white;
	color: #cfa667 !important;
	text-decoration: none;
	transform: scale(1.1);
}

.overlay-btn.cart,
.overlay-btn.cart:hover {
	background: #cfa667;
	color: white !important;
}

.overlay-btn.cart.disabled {
	background: rgba(128, 128, 128, 0.9);
	color: #666;
	cursor: not-allowed;
}

.overlay-btn.cart.disabled:hover {
	transform: none;
	background: rgba(128, 128, 128, 0.9);
}

/* 提示文字 */
.btn-tooltip {
	position: absolute;
	bottom: -35px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	white-space: nowrap;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.overlay-btn:hover .btn-tooltip {
	opacity: 1;
}

.btn-sold-out {
	background: rgb(239, 239, 239) !important;
	color: #888 !important;
	cursor: not-allowed;
	border: 1px solid rgb(239, 239, 239) !important;
	cursor: not-allowed !important;
}

.tag-badge {
	position: absolute;
	top: 0px;
	left: 0px;
	background: linear-gradient(to right,
			rgba(198, 163, 0, 0) 0%,
			rgba(198, 163, 0, 0.9) 40%,
			rgba(198, 163, 0, 1) 50%,
			rgba(198, 163, 0, 0.9) 60%,
			rgba(198, 163, 0, 0) 100%);
	color: white;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	padding: 4px 15px;
	font-size: 14px;
	font-weight: 500;
	z-index: 2;
	letter-spacing: 2px;
}

@media (min-width: 768px) {
	.mobile-only {
		display: none !important;
	}

	.desktop-hover {
		display: flex;
	}
}

@media (max-width: 767.98px) {
	.desktop-hover {
		display: none !important;
	}

	.mobile-only {
		display: block !important;
	}
}

.product-group .text-box .middle-title {
	color: #121a2f;
	margin-bottom: 10px;
	height: 2.6em;
	line-height: 1.3em;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	display: -webkit-box;
	margin-top: 10px;
}


.small-product-view-footer {
	display: none;
}

.small-product-view-footer {
	position: sticky;
	bottom: 0;
	background: #fff;
	width: 100%;
	padding: 10px 0 20px 0;
	border-top: 1px solid #e0e0e0;
}

.small-product-view-footer .counter-group {
	max-width: 100%;
	height: 100%;
}

.small-product-view-footer .price-area,
.small-product-view-footer .price-area .price-block {
	margin-top: 0;
	border-bottom: 0px;
}

.small-product-view-footer .price-area {
	margin-bottom: 10px;
}

@media (max-width: 768px) {
	.standard-list.small-view:not(.mobile)::before {
		display: none;
	}

	.standard-list.small-view:not(.mobile)::after {
		display: none;
	}

	.small-product-view-footer {
		display: block;
	}

	.price-area.mobile-hidden {
		display: none !important;
	}
}

.index-slider .slider-item {
	padding: 10px;
}