

body {
	background: #fff;
}


.red .detail_meta_label {
    color: var(--red);
}
.red .detail_action_btn,
.red .section_label,
.red .order_modal_confirm,
.red .image_modal_download{
    background: var(--red);
}
.red .detail_thumbs .swiper-slide-thumb-active {
    border: 0.04rem solid var(--red);
}
.red .video_toggle{
    background: #fff url(../img/play.png) center center no-repeat;
    background-size: contain;
}
.red .detail_zoom_btn {
	background: rgba(255, 255, 255, 0.8) url(../img/red_max.png) center center no-repeat;
	background-size: 70%;
}
.red .detail_download_btn{
	background: rgba(255, 255, 255, 0.8) url(../img/red_down.png) center center no-repeat;
	background-size: 70%;
}
.red .image_modal_thumb.is-active {
	border-color: var(--red);
}
.red .order_modal_icon{
    background: var(--red) url(../img/order_modal_icon.png) center center no-repeat;
    background-size: contain;
}



.purple .detail_meta_label {
    color: var(--purple);
}
.purple .detail_action_btn,
.purple .section_label,
.purple .order_modal_confirm,
.purple .image_modal_download{
    background: var(--purple);
}
.purple .detail_thumbs .swiper-slide-thumb-active {
    border: 0.04rem solid var(--purple);
}
.purple .video_toggle{
    background: #fff url(../img/play2.png) center center no-repeat;
    background-size: contain;
}
.purple .detail_zoom_btn {
	background: rgba(255, 255, 255, 0.8) url(../img/purple_max.png) center center no-repeat;
	background-size: 70%;
}
.purple .detail_download_btn{
	background: rgba(255, 255, 255, 0.8) url(../img/purple_down.png) center center no-repeat;
	background-size: 70%;
}
.purple .image_modal_thumb.is-active {
	border-color: var(--purple);
}
.purple .order_modal_icon{
    background: var(--purple) url(../img/order_modal_icon.png) center center no-repeat;
    background-size: contain;
}



.blue .detail_meta_label {
    color: var(--blue);
}
.blue .detail_action_btn,
.blue .section_label,
.blue .order_modal_confirm,
.blue .image_modal_download{
    background: var(--blue);
}
.blue .detail_thumbs .swiper-slide-thumb-active {
    border: 0.04rem solid var(--blue);
}
.blue .video_toggle{
    background: #fff url(../img/play3.png) center center no-repeat;
    background-size: contain;
}
.blue .detail_zoom_btn {
	background: rgba(255, 255, 255, 0.8) url(../img/blue_max.png) center center no-repeat;
	background-size: 70%;
}
.blue .detail_download_btn {
	background: rgba(255, 255, 255, 0.8) url(../img/blue_down.png) center center no-repeat;
	background-size: 70%;
}
.blue .image_modal_thumb.is-active {
	border-color: var(--blue);
}
.blue .order_modal_icon{
    background: var(--blue) url(../img/order_modal_icon.png) center center no-repeat;
    background-size: contain;
}



.product_detail_page {
	background: #fff;
	padding-top: 0.36rem;
}
.product_detail_stage {
	width: 94%;
	max-width: 18.2rem;
	margin: 0 auto;
	position: relative;
}
.crumbWrap {
	margin-top: 0.44rem;
}
.detail_hero {
	margin-top: 0.58rem;
	display: grid;
	grid-template-columns: minmax(0, 9.1rem) minmax(0, 1fr);
	column-gap: 0.72rem;
	align-items: start;
}
.detail_gallery {
	min-width: 0;
}

.detail_main_frame {
	width: 100%;
	height: 6.2rem;
	border: 0.01rem solid rgba(0, 0, 0, 0.1);
	border-radius: 0.15rem;
	background: rgba(255, 255, 255, 0.7);
	overflow: hidden;
	box-sizing: border-box;
}

.detail_main_frame:hover .detail_main_actions {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.detail_main_frame .swiper-wrapper {
	height: 100%;
}

.detail_main_frame .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
}

.detail_main_frame .swiper-slide img {
	width: 50%;
	height: 50%;
	object-fit: contain;
	display: block;
}

.detail_main_actions {
	position: absolute;
	left: 50%;
	bottom: 50%;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 0.23rem;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 0.12rem);
	transition: opacity var(--s_tran), transform var(--s_tran);
}

.detail_hover_btn {
	width: 0.76rem;
	height: 0.76rem;
	border: none;
	border-radius: 50%;
	padding: 0;
	cursor: pointer;
	display: block;
}

.detail_thumbs {
	margin-top: 0.33rem;
}

.detail_thumbs .swiper-wrapper {
	align-items: stretch;
}

.detail_thumbs .swiper-slide {
	height: 1.36rem;
	padding: 0.1rem;
	background: #fff;
	border: 0.03rem solid #f1f1f1;
	border-radius: 0.1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	overflow: hidden;
	box-sizing: border-box;
}

.detail_thumbs .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.detail_info {
	min-width: 0;
	padding-top: 0.04rem;
}

.detail_title {
	margin: 0 0 0.33rem;
	font-family: Museo;
	font-size: 0.75rem;
	line-height: 1;
	color: #000;
	font-weight: 900;
	letter-spacing: 0;
}

.detail_sku {
	margin-bottom: 0.2rem;
	font-family: "Poppins";
	font-size: 0.24rem;
	line-height: 1.25;
	color: #333;
}

.detail_meta_grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 0.48rem;
	row-gap: 0.24rem;
}

.detail_meta,
.detail_quantity_box {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.06rem;
	font-family: "Poppins";
	font-size: 0.3rem;
	line-height: 1.67;
}

.detail_meta_label {
	font-weight: 800;
	font-family: "Poppins";
}

.detail_meta_value {
    width: 100%;
	color: #000;
	font-weight: 500;
}

.detail_quantity_box {
    margin-top: 0.48rem;
    width: 100%;
	align-items: center;
    font-size: 0.25rem;
    color: #666;
    font-family: "Poppins";
}
.quantity_stepper {
	width: 1.96rem;
	height: 0.51rem;
	border-radius: 999rem;
    padding: 0 0.15rem;
	background: #e5e7eb;
	border: 0.01rem solid rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	justify-content: space-between;
	overflow: hidden;
    margin: 0 0.16rem 0 0.65rem;
}
.quantity_btn {
	width: 0.26rem;
	height: 0.26rem;
	border: none;
	background: transparent;
	cursor: pointer;
}
.quantity_btn img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.quantity_value {
	width: 0.9rem;
	text-align: center;
	font-family: Poppins;
	font-size: 0.18rem;
	line-height: 1;
	color: #555;
}
.detail_quantity_box .quantity_num{
    margin-left: 0.47rem;
    color: #555;
    font-size: 0.25rem;
    font-weight: 600;
}





.detail_actions {
	margin-top: 1.3rem;
	display: flex;
	align-items: center;
	gap: 0.37rem;
}
.detail_action_btn {
	width: 0.96rem;
	height: 0.96rem;
	border-radius: 50%;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform var(--s_tran), box-shadow var(--s_tran), background-color var(--s_tran);
}
.detail_action_btn[aria-label="favorite product"].is-on {
	transform: scale(1.08);
	box-shadow: 0 0 0 0.04rem rgba(255, 255, 255, 0.9), 0 0 0 0.08rem currentColor;
}
.red .detail_action_btn[aria-label="favorite product"].is-on { color: var(--red); }
.purple .detail_action_btn[aria-label="favorite product"].is-on { color: var(--purple); }
.blue .detail_action_btn[aria-label="favorite product"].is-on { color: var(--blue); }
.detail_action_btn img {
	width: 0.42rem;
	height: 0.42rem;
	display: block;
	object-fit: contain;
    filter: brightness(0) invert(1);
}


.detail_section {
	margin-top: 0.87rem;
}

.section_label {
    width: fit-content;
	min-width: 2.27rem;
	height: 0.7rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Poppins";
	font-size: 0.32rem;
	font-weight: 800;
	line-height: 1;
	color: #fff;
    padding: 0.1rem;
}

.section_copy {
	margin-top: 0.28rem;
	font-family: "Poppins";
	font-size: 0.35rem;
	font-weight: 500;
	line-height: 1.43;
	color: #000;
}

.picture_stack {
	margin-top: 0.38rem;
	display: grid;
	gap: 0.08rem;
}

.picture_card {
	height: auto;
	padding: 0.24rem;
	background: #f7f7f7;
	border: 0.01rem solid rgba(0, 0, 0, 0.06);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.picture_card_hero {
	min-height: 10.8rem;
}

.picture_card img {
	width: auto;
	max-width: 90%;
	max-height: 4.8rem;
	object-fit: contain;
	display: block;
}

.detail_video_section {
	margin-top: 0.84rem;
}

.detail_video_stage {
	position: relative;
	width: calc(100% + 1.2rem);
	margin-top: 0.66rem;
    margin-left: -0.6rem;
	aspect-ratio: 974 / 532;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	padding: 0;
	background: #000;
	cursor: pointer;
}

.detail_video_poster {
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #000;
	display: block;
}

.video_toggle {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 0.72rem;
	height: 0.72rem;
	border: none;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}


.detail_video_modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.96);
}

.detail_video_modal.is-open {
	display: flex;
}

.detail_video_modal_panel {
	position: relative;
	width: min(1066px, 100vw);
	height: min(100vh, 1080px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.detail_video_modal_close {
	position: absolute;
	top: 0.2rem;
	right: 0.25rem;
	z-index: 1;
	width: 0.28rem;
	height: 0.28rem;
	border: none;
	background: transparent;
	cursor: pointer;
}

.detail_video_modal_close::before,
.detail_video_modal_close::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 0.3rem;
	height: 0.025rem;
	border-radius: 999rem;
	background: #fff;
}

.detail_video_modal_close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.detail_video_modal_close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.detail_video_modal_stage {
	position: relative;
	width: min(1066px, calc(100vw - 0.4rem));
	height: min(600px, calc(100vh - 1rem));
	display: flex;
	align-items: center;
	justify-content: center;
}

.detail_video_modal_player {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	background: transparent;
}

.detail_video_modal_iframe {
	display: none;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}

.detail_video_modal_play {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 0.72rem;
	height: 0.72rem;
	border: none;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	cursor: pointer;
}

.red .detail_video_modal_play { background: transparent url(../img/play.png) center center / contain no-repeat; }
.blue .detail_video_modal_play { background: transparent url(../img/play3.png) center center / contain no-repeat; }
.purple .detail_video_modal_play { background: transparent url(../img/play2.png) center center / contain no-repeat; }

.detail_video_modal_empty {
	position: absolute;
	inset: 0;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.2rem;
	background: rgba(0, 0, 0, 0.55);
	color: rgba(255, 255, 255, 0.9);
	font-family: Poppins, Microsoft YaHei;
	font-size: 0.24rem;
}

.detail_video_modal_empty_icon {
	width: 0.56rem;
	height: 0.56rem;
	display: block;
	flex: 0 0 auto;
	background: url(../img/play.png) center center / contain no-repeat;
}
.red .detail_video_modal_empty_icon {
	background-image: url(../img/play.png);
}
.purple .detail_video_modal_empty_icon {
	background-image: url(../img/play2.png);
}
.blue .detail_video_modal_empty_icon {
	background-image: url(../img/play3.png);
}

.modal_open {
	overflow: hidden;
}

.order_modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.8);
}

.order_modal.is-open {
	display: flex;
}

.order_modal_panel {
	width: 6rem;
	height: fit-content;
	max-width: calc(100vw - 0.4rem);
	max-height: calc(100vh - 0.4rem);
	border-radius: 0.12rem;
	background: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
	padding: 0.84rem 0.3rem 0.6rem;
}

.order_modal_icon {
	width: 0.8rem;
	height: 0.8rem;
	border-radius: 50%;
}
.order_modal_text {
	margin-top: 0.25rem;
	font-family: "Poppins";
	font-size: 0.3rem;
	font-weight: 700;
	line-height: 1.2;
	color: #000;
	text-align: center;
}

.order_modal_confirm {
	width: 1.76rem;
	height: 0.5rem;
	margin-top: 0.51rem;
	border: none;
	border-radius: 0.04rem;
	font-family: "Poppins";
	font-size: 0.18rem;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	cursor: pointer;
}

.image_modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: none;
	background: #f1f1f1;
}

.image_modal.is-open {
	display: block;
}

.image_modal_close {
	position: absolute;
	top: 0.19rem;
	right: 0.27rem;
	z-index: 4;
	width: 0.36rem;
	height: 0.36rem;
	border: none;
	background: transparent;
	cursor: pointer;
	padding: 0;
}

.image_modal_close::before,
.image_modal_close::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 0.34rem;
	height: 0.03rem;
	border-radius: 999rem;
	background: #000;
}

.image_modal_close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.image_modal_close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.image_modal_view {
	position: absolute;
	left: 50%;
	top: 50%;
	width: min(20rem, 100vw);
	height: min(14.4rem, 97vh);
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.image_modal_img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.image_modal_download {
	position: absolute;
	top: 50%;
	right: 0.49rem;
	z-index: 4;
	width: 1.04rem;
	height: 1.04rem;
	border-radius: 50%;
	transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.image_modal_download img{
    width: 70%;
    height: 70%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.image_modal_thumbs {
	position: absolute;
	left: 50%;
	bottom: 0.62rem;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.1rem;
	transform: translateX(-50%);
}

.image_modal_thumb {
	width: 1.68rem;
	height: 1.04rem;
	padding: 0.08rem;
	border: 0.03rem solid #e5e7eb;
	border-radius: 0.1rem;
	background: #fff;
	cursor: pointer;
	overflow: hidden;
	box-sizing: border-box;
}

.image_modal_thumb.is-active {
	border-width: 0.04rem;
}

.image_modal_thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.product_detail_page .footerWrap {
	margin-top: 0;
}


@media screen and (min-width: 1025px) and (max-width: 1440px) {
	.detail_hero {
		grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
		gap: clamp(32px, 4vw, 64px);
	}

	.detail_main_frame,
	.picture_card_hero {
		height: auto;
		min-height: 0;
		aspect-ratio: 1.25;
	}

	.detail_actions {
		margin-top: clamp(36px, 4vw, 62px);
	}

	.detail_meta_grid {
		column-gap: clamp(16px, 2vw, 32px);
	}
}

@media screen and (max-width: 1042px) {
	.product_detail_page {
		padding-top: 24px;
	}

	.detail_hero {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 52px;
	}

	.detail_main_frame {
		height: 640px;
	}

	.detail_title {
		font-size: 36px;
	}

	.detail_sku,
	.detail_meta,
	.detail_quantity_box {
		font-size: 16px;
	}

	.section_label {
		font-size: 18px;
	}

	.section_copy {
		font-size: 14px;
	}

	.detail_meta_grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.detail_actions {
		margin-top: 62px;
	}

	.picture_card_hero {
		min-height: 640px;
	}

	.detail_video_stage {
		width: 100%;
		margin-left: 0;
	}
}

@media screen and (max-width: 768px) {
	.product_detail_page {
		padding-top: 20px;
	}

	.crumbWrap {
		margin-top: 15px;
	}

	.detail_hero {
		margin-top: 18px;
		row-gap: 18px;
	}

	.detail_main_frame {
		height: 230px;
		border-radius: 6px;
	}

	.detail_main_actions {
		opacity: 1;
		pointer-events: auto;
		bottom: 12px;
		transform: translateX(-50%);
	}

	.detail_hover_btn {
		width: 28px;
		height: 28px;
	}

	.detail_thumbs .swiper-slide {
		height: 51px;
	}

	.detail_title {
		margin-bottom: 9px;
		font-size: 24px;
	}

	.detail_sku {
		font-size: 12px;
	}

	.detail_meta_grid {
		column-gap: 11px;
		row-gap: 9px;
	}

	.detail_meta,
	.detail_quantity_box {
		font-size: 14px;
		gap: 0;
	}

	.detail_quantity_box {
		gap: 6px;
	}

	.quantity_stepper {
		width: 84px;
		margin: 0;
	}

	.detail_quantity_box .quantity_num {
		margin-left: 0;
		font-size: 12px;
	}

	.quantity_value {
		font-size: 14px;
	}

	.detail_action_btn {
		width: 36px;
		height: 36px;
	}

	.detail_section {
		margin-top: 28px;
	}

	.section_label {
		min-width: 86px;
		height: 28px;
		font-size: 14px;
	}

	.section_copy {
		font-size: 13px;
	}

	.picture_card {
		height: auto;
		padding: 12px;
	}

	.picture_card img {
		max-height: 240px;
	}

	.picture_card_hero {
		min-height: 200px;
	}

	.detail_video_stage {
		margin-top: 17px;
	}

	.image_modal_view {
		top: 50%;
		width: 98vw;
		height: 92vh;
	}

	.image_modal_download {
		top: auto;
		right: 12px;
		bottom: 97.5px;
		width: 34px;
		height: 34px;
		transform: none;
	}

	.image_modal_thumbs {
		width: 92vw;
		bottom: 21px;
		justify-content: flex-start;
		overflow-x: auto;
	}

	.image_modal_thumb {
		width: 62.5px;
		height: 41px;
		flex: 0 0 auto;
	}

	.order_modal_text {
		font-size: 12px;
	}
}
