/* ============================================
   XCD PDP CSS - Premium Tab Slider Style (PC Only)
   ============================================ */

/* Base Container */
.xcd-pdp {
	position: relative;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0 2.5%;
}

/* ============================================
   选项区 - 2列Grid布局（细长填满风格）
   ============================================ */
.xcd-pdp .options-detail {
	margin-bottom: 16px !important;
}

.xcd-pdp .options-detail .inner-flex {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 12px 20px !important;
	width: 100% !important;
}

.xcd-pdp .options-detail .item,
.xcd-pdp .options-detail .inner-flex .item {
	margin: 0 !important;
	width: 100% !important;
	min-width: 0 !important;
	display: block !important;
}

.xcd-pdp .options-detail .item .title {
	margin-bottom: 6px !important;
}

.xcd-pdp .options-detail .item .title span,
.xcd-pdp .options-detail .item .title span strong {
	font: 400 13px/1.3 "Lato", sans-serif !important;
	color: rgba(0, 0, 0, 0.65) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.xcd-pdp .options-detail .item select.form-control {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	height: 36px !important;
	padding: 6px 32px 6px 12px !important;
	font: 400 13px/1.3 "Lato", sans-serif !important;
	color: rgba(0, 0, 0, 0.85) !important;
	background: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, 0.12) !important;
	border-radius: 6px !important;
	cursor: pointer !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 12px center !important;
	transition: border-color 0.2s ease !important;
}

.xcd-pdp .options-detail .item select.form-control:hover {
	border-color: rgba(0, 0, 0, 0.25) !important;
}

.xcd-pdp .options-detail .item select.form-control:focus {
	border-color: rgba(192, 26, 32, 0.5) !important;
	box-shadow: 0 0 0 2px rgba(192, 26, 32, 0.08) !important;
	outline: none !important;
}

/* 移动端选项区 */
@media (max-width: 767px) {
	.xcd-pdp .options-detail .inner-flex {
		grid-template-columns: 1fr 1fr !important;
		gap: 12px 14px !important;
	}
	
	.xcd-pdp .options-detail .item .title span,
	.xcd-pdp .options-detail .item .title span strong {
		font-size: 12px !important;
	}
	
	.xcd-pdp .options-detail .item select.form-control {
		height: 40px !important;
		padding: 8px 32px 8px 12px !important;
		font-size: 13px !important;
		border-radius: 8px !important;
	}
}

/* ============================================
   支付方式 - 自适应2-3列布局
   ============================================ */
.xcd-payment-methods {
	display: flex;
	margin-bottom: 20px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	overflow: hidden;
	background: #ffffff;
}

/* 通用项目样式 - Afterpay/Zip/Humm 都使用 */
.xcd-payment-methods > div,
.xcd-payment-methods > p,
.xcd-payment-methods > span,
.xcd-payment-methods__item,
.xcd-payment-methods .afterpay-paragraph,
.xcd-payment-methods .zippay-paragraph {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 14px 12px;
	text-align: center;
	min-height: 70px;
	border-right: 1px solid rgba(0, 0, 0, 0.08);
}

/* 最后一个元素不需要右边框 */
.xcd-payment-methods > *:last-child {
	border-right: none;
}

/* 统一文字样式 */
.xcd-payment-methods p,
.xcd-payment-methods span {
	font: 400 12px/1.5 "Lato", sans-serif;
	color: rgba(0, 0, 0, 0.7);
	margin: 0;
}

.xcd-payment-methods strong,
.xcd-payment-methods b {
	font-weight: 700;
	color: rgba(0, 0, 0, 0.9);
}

/* 统一Logo大小 */
.xcd-payment-methods img {
	max-height: 22px !important;
	width: auto !important;
	margin: 4px 0;
}

/* Humm 样式 */
.xcd-payment-methods__humm {
	flex: 1;
}

.xcd-humm-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	text-decoration: none;
	color: rgba(0, 0, 0, 0.7);
	transition: all 0.2s ease;
}

.xcd-humm-link:hover {
	text-decoration: none;
	color: rgba(0, 0, 0, 0.9);
}

.xcd-humm-logo {
	max-height: 22px !important;
	width: auto !important;
}

.xcd-humm-text {
	font: 400 12px/1.4 "Lato", sans-serif;
	color: rgba(0, 0, 0, 0.7);
}

/* 移动端适配 - 保持横向 A | B | C */
@media (max-width: 767px) {
	.xcd-payment-methods {
		flex-direction: row;
	}
	
	.xcd-payment-methods > div,
	.xcd-payment-methods > p,
	.xcd-payment-methods > span,
	.xcd-payment-methods__item,
	.xcd-payment-methods .afterpay-paragraph,
	.xcd-payment-methods .zippay-paragraph {
		border-right: 1px solid rgba(0, 0, 0, 0.08);
		border-bottom: none;
		padding: 10px 8px;
		min-height: 60px;
	}
	
	.xcd-payment-methods > *:last-child {
		border-right: none;
	}
	
	.xcd-payment-methods img {
		max-height: 18px !important;
	}
	
	.xcd-payment-methods p,
	.xcd-payment-methods span {
		font-size: 11px !important;
		line-height: 1.4 !important;
	}
	
	.xcd-humm-logo {
		max-height: 18px !important;
	}
	
	.xcd-humm-text {
		font-size: 11px !important;
	}
}

/* ============================================
   库存显示 - 胶囊Tab样式
   ============================================ */
.xcd-availability {
	margin: 20px 0;
	padding: 16px 20px;
	background: rgba(248, 248, 248, 0.6);
	border-radius: 12px;
	border: 1px solid rgba(0, 0, 0, 0.06);
}

.xcd-availability__label {
	font: 600 11px/1.5 "Lato", sans-serif;
	color: rgba(0, 0, 0, 0.6);
	text-transform: uppercase;
	letter-spacing: 0.8px;
	margin-bottom: 12px;
}

.xcd-availability__tabs {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

/* 胶囊按钮样式 */
.xcd-availability__pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border: none;
	border-radius: 50px;
	font: 500 13px/1.4 "Lato", sans-serif;
	cursor: pointer;
	transition: all 0.25s ease;
	background: #ffffff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.xcd-availability__pill:hover {
	transform: translateY(-1px);
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.xcd-availability__pill:focus {
	outline: none;
}

/* 状态指示圆点 */
.xcd-availability__pill-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
}

/* 有货状态 - 绿色 */
.xcd-availability__pill.is-instock {
	background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
	color: #2e7d32;
}

.xcd-availability__pill.is-instock .xcd-availability__pill-dot {
	background: #4caf50;
	box-shadow: 0 0 6px rgba(76, 175, 80, 0.5);
}

.xcd-availability__pill.is-instock:hover {
	background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
}

.xcd-availability__pill.is-instock.active {
	background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(76, 175, 80, 0.35);
}

.xcd-availability__pill.is-instock.active .xcd-availability__pill-dot {
	background: #ffffff;
	box-shadow: none;
}

/* 缺货状态 - 红色 */
.xcd-availability__pill.is-outstock {
	background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
	color: #c62828;
}

.xcd-availability__pill.is-outstock .xcd-availability__pill-dot {
	background: #f44336;
	box-shadow: 0 0 6px rgba(244, 67, 54, 0.5);
}

.xcd-availability__pill.is-outstock:hover {
	background: linear-gradient(135deg, #ffcdd2 0%, #ef9a9a 100%);
}

.xcd-availability__pill.is-outstock.active {
	background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(244, 67, 54, 0.35);
}

.xcd-availability__pill.is-outstock.active .xcd-availability__pill-dot {
	background: #ffffff;
	box-shadow: none;
}

/* 仓库名称 */
.xcd-availability__pill-name {
	white-space: nowrap;
}

/* 详情区域 */
.xcd-availability__detail {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	display: none;
}

.xcd-availability__detail.show {
	display: block;
}

.xcd-availability__detail-content {
	font: 400 13px/1.6 "Lato", sans-serif;
	color: rgba(0, 0, 0, 0.75);
}

.xcd-availability__detail-qty {
	font-weight: 600;
}

.xcd-availability__detail-qty.in-stock {
	color: #2e7d32;
}

.xcd-availability__detail-qty.out-stock {
	color: #c62828;
}

/* 移动端适配 */
@media (max-width: 767px) {
	.xcd-availability {
		padding: 14px 16px;
	}
	
	.xcd-availability__tabs {
		gap: 8px;
	}
	
	.xcd-availability__pill {
		padding: 8px 14px;
		font-size: 12px;
	}
	
	.xcd-availability__pill-dot {
		width: 8px;
		height: 8px;
	}
}

/* ============================================
   PC端 Key Features - 样式优化（CMS内容）
   ============================================ */
@media (min-width: 1200px) {
	.xcd-pdp .key-features-pc-mobile {
		margin-top: 24px !important;
	}
	
	.xcd-pdp .key-features {
		background: rgba(248, 248, 248, 0.7);
		border: 1px solid rgba(0, 0, 0, 0.06);
		border-radius: 12px;
		padding: 20px 24px;
	}
	
	/* Key Features 标题 */
	.xcd-pdp .key-features h3,
	.xcd-pdp .key-features h4,
	.xcd-pdp .key-features .key-features-title {
		font: 700 14px/1.5 "Lato", sans-serif;
		color: rgba(0, 0, 0, 0.85);
		text-transform: uppercase;
		letter-spacing: 0.8px;
		margin: 0 0 16px 0;
		padding-bottom: 12px;
		border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	}
	
	/* Key Features 列表 */
	.xcd-pdp .key-features ul {
		list-style: none;
		padding: 0;
		margin: 0;
	}
	
	.xcd-pdp .key-features ul li {
		position: relative;
		padding: 10px 0 10px 28px;
		font: 400 14px/1.6 "Lato", sans-serif;
		color: rgba(0, 0, 0, 0.75);
		border-bottom: 1px solid rgba(0, 0, 0, 0.04);
	}
	
	.xcd-pdp .key-features ul li:last-child {
		border-bottom: none;
	}
	
	/* 列表项圆点图标 */
	.xcd-pdp .key-features ul li::before {
		content: '';
		position: absolute;
		left: 0;
		top: 50%;
		transform: translateY(-50%);
		width: 8px;
		height: 8px;
		background: #C01A20;
		border-radius: 50%;
	}
	
	/* 如果是纯文本内容（非列表） */
	.xcd-pdp .key-features p {
		font: 400 14px/1.7 "Lato", sans-serif;
		color: rgba(0, 0, 0, 0.75);
		margin: 0 0 12px 0;
	}
	
	.xcd-pdp .key-features p:last-child {
		margin-bottom: 0;
	}
}

/* ============================================
   PC端布局优化 - 控制整体宽度和间距
   ============================================ */
@media (min-width: 1200px) {
	/* PC端顶部区域（图片+购买栏）限制最大宽度 */
	.xcd-pdp__top {
		max-width: 1500px;
		margin: 0 auto;
		padding: 0 40px;
	}
	
	/* 增加.xcd-pdp的左右间距 */
	.xcd-pdp {
		padding: 0 4%;
	}
	
	/* 图片列和购买列的间距 */
	.xcd-pdp__top > .row {
		margin-left: -20px;
		margin-right: -20px;
	}
	
	.xcd-pdp__top .xcd-pdp__media-col,
	.xcd-pdp__top .xcd-pdp__buy-col {
		padding-left: 20px;
		padding-right: 20px;
	}
	
	/* 购买列固定宽度 */
	.xcd-pdp__top .xcd-pdp__buy-col {
		max-width: 520px;
		flex: 0 0 520px;
	}
	
	/* 图片列自适应剩余空间 */
	.xcd-pdp__top .xcd-pdp__media-col {
		flex: 1;
		max-width: calc(100% - 520px);
	}
	
	/* 使用flex布局让row更灵活 */
	.xcd-pdp__top > .row {
		display: flex;
		flex-wrap: nowrap;
		align-items: flex-start;
	}
	
	/* ============================================
	   PC端轮播图优化
	   ============================================ */
	
	/* 1. Slick初始化前隐藏，防止竖排堆叠闪烁 */
	#product_images .slider-for:not(.slick-initialized),
	#product_images .slider-nav:not(.slick-initialized) {
		visibility: hidden;
		max-height: 0;
		overflow: hidden;
		opacity: 0;
	}
	
	/* Slick初始化后淡入显示 */
	#product_images .slider-for.slick-initialized,
	#product_images .slider-nav.slick-initialized {
		visibility: visible;
		max-height: none;
		overflow: visible;
		opacity: 1;
		transition: opacity 0.3s ease;
	}
	
	/* 图片容器加载占位 */
	#product_images .product-images {
		min-height: 400px;
		background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
		border-radius: 12px;
		position: relative;
	}
	
	/* 加载spinner */
	#product_images .product-images::before {
		content: '';
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 40px;
		height: 40px;
		border: 3px solid rgba(0, 0, 0, 0.1);
		border-top-color: #C01A20;
		border-radius: 50%;
		animation: xcd-spin 0.8s linear infinite;
		z-index: 1;
	}
	
	/* Slick初始化后移除占位 */
	#product_images .product-images:has(.slick-initialized) {
		min-height: auto;
		background: transparent;
	}
	#product_images .product-images:has(.slick-initialized)::before {
		display: none;
	}
	/* 兼容不支持:has()的浏览器 */
	#product_images .product-images.slick-ready {
		min-height: auto;
		background: transparent;
	}
	#product_images .product-images.slick-ready::before {
		display: none;
	}
	
	/* 2. 主图宽度100%对齐TAB（覆盖h_customer.css的calc(100% - 80px)） */
	#product_images .slider-for {
		width: 100% !important;
		margin: 0 0 20px 0 !important;
		border: none !important;
	}
	
	/* 主图容器相对定位，用于放置箭头 */
	#product_images .product-images {
		position: relative;
	}
	
	/* 3. 左右导航箭头 - 在容器内部，现代极简风格 */
	#product_images .xcd-slider-arrow {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		z-index: 10;
		width: 48px;
		height: 48px;
		border: none;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.95);
		box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		transition: all 0.25s ease;
		opacity: 0;
	}
	
	#product_images .product-images:hover .xcd-slider-arrow {
		opacity: 1;
	}
	
	#product_images .xcd-slider-arrow:hover {
		background: #ffffff;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
		transform: translateY(-50%) scale(1.05);
	}
	
	#product_images .xcd-slider-arrow:focus {
		outline: 2px solid #C01A20;
		outline-offset: 2px;
	}
	
	#product_images .xcd-slider-arrow--prev {
		left: 16px;
	}
	
	#product_images .xcd-slider-arrow--next {
		right: 16px;
	}
	
	/* 箭头图标 */
	#product_images .xcd-slider-arrow svg {
		width: 20px;
		height: 20px;
		fill: none;
		stroke: #333;
		stroke-width: 2.5;
		stroke-linecap: round;
		stroke-linejoin: round;
	}
	
	#product_images .xcd-slider-arrow:hover svg {
		stroke: #C01A20;
	}
	
	/* 4. 缩略图固定位置，左对齐不跟随滑动 */
	#product_images .slider-nav {
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 8px 0 !important; /* 上下留出空间给hover效果 */
		overflow-x: auto; /* 缩略图过多时可横向滚动 */
		overflow-y: visible; /* 允许hover向上位移 */
	}
	
	/* 隐藏滚动条但保持滚动功能 */
	#product_images .slider-nav::-webkit-scrollbar {
		height: 6px;
	}
	#product_images .slider-nav::-webkit-scrollbar-track {
		background: transparent;
	}
	#product_images .slider-nav::-webkit-scrollbar-thumb {
		background: rgba(0, 0, 0, 0.15);
		border-radius: 3px;
	}
	#product_images .slider-nav::-webkit-scrollbar-thumb:hover {
		background: rgba(0, 0, 0, 0.25);
	}
	
	#product_images .slider-nav .slick-list {
		overflow: visible !important; /* 允许hover效果溢出 */
	}
	
	#product_images .slider-nav .slick-track {
		transform: none !important;
		width: auto !important;
		display: flex;
		gap: 10px;
	}
	
	#product_images .slider-nav .slick-slide {
		width: 80px !important;
		height: 80px;
		flex-shrink: 0;
	}
	
	#product_images .slider-nav .item {
		padding: 0 !important;
		width: 80px;
		height: 80px;
		border-radius: 8px;
		overflow: hidden;
		border: 2px solid transparent;
		transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
		cursor: pointer;
	}
	
	#product_images .slider-nav .item:hover {
		transform: translateY(-4px);
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	}
	
	#product_images .slider-nav .item img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		border: none !important;
		border-radius: 6px;
	}
	
	#product_images .slider-nav .item.slick-current,
	#product_images .slider-nav .slick-current .item {
		border-color: #C01A20 !important;
	}
	
	/* 隐藏默认的slick箭头 */
	#product_images .slick-arrow {
		display: none !important;
	}
}

/* box-sizing - 只应用到tab相关元素，不应用到图片容器 */
.xcd-pdp .nav-tabs,
.xcd-pdp .nav-tabs *,
.xcd-pdp .tab-content,
.xcd-pdp .tab-content *,
.xcd-pdp .tab-pane,
.xcd-pdp .tab-pane * {
	box-sizing: border-box;
}

/* ============================================
   Premium Tab Navigation Style - Enhanced
   ============================================ */

/* Tab Navigation Container */
.xcd-pdp .nav-tabs {
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	margin-bottom: 40px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	background: transparent;
	position: relative;
}

.xcd-pdp .nav-tabs::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(to right, 
		transparent 0%, 
		rgba(0, 0, 0, 0.12) 50%, 
		transparent 100%);
}

/* Individual Tab Items */
.xcd-pdp .nav-tabs > li {
	margin: 0;
	margin-bottom: -1px;
	float: none;
	position: relative;
}

/* Tab Link */
.xcd-pdp .nav-tabs > li > a {
	padding: 20px 36px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.02em;
	color: rgba(0, 0, 0, 0.55);
	background: transparent;
	border: none;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	margin-right: 0;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	cursor: pointer;
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.xcd-pdp .nav-tabs > li > a::before {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	right: 0;
	height: 2px;
	background: transparent;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.xcd-pdp .nav-tabs > li > a:hover,
.xcd-pdp .nav-tabs > li > a:focus {
	background: rgba(0, 0, 0, 0.03);
	border-color: transparent;
	color: rgba(0, 0, 0, 0.85);
	outline: none;
	text-decoration: none;
}

.xcd-pdp .nav-tabs > li > a:hover::before {
	background: rgba(0, 0, 0, 0.25);
	transform: scaleX(1);
}

/* Active Tab */
.xcd-pdp .nav-tabs > li.active > a,
.xcd-pdp .nav-tabs > li.active > a:hover,
.xcd-pdp .nav-tabs > li.active > a:focus {
	color: #000;
	font-weight: 700;
	background: transparent;
	border: none;
	border-bottom: 2px solid #000;
	cursor: default;
	position: relative;
}

.xcd-pdp .nav-tabs > li.active > a::before {
	background: #000;
	transform: scaleX(1);
}

.xcd-pdp .nav-tabs > li.active > a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-bottom: 4px solid rgba(0, 0, 0, 0.05);
	opacity: 0;
	transition: opacity 0.2s ease;
}

/* Tab Icon Styling */
.xcd-pdp .nav-tabs > li > a i {
	margin-right: 12px;
	font-size: 17px;
	vertical-align: middle;
	opacity: 0.7;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.xcd-pdp .nav-tabs > li.active > a i {
	opacity: 1;
}

.xcd-pdp .nav-tabs > li > a:hover i {
	opacity: 0.85;
}

/* Reviews Tab Stars */
.xcd-pdp .nav-tabs > li > a.reviews .fa-star,
.xcd-pdp .nav-tabs > li > a.reviews .fa-star-o {
	margin-left: 10px;
	font-size: 14px;
	opacity: 0.8;
}

.xcd-pdp .nav-tabs > li.active > a.reviews .fa-star,
.xcd-pdp .nav-tabs > li.active > a.reviews .fa-star-o {
	opacity: 1;
}

/* Tab Content Container */
.xcd-pdp .tab-content {
	padding: 0;
	margin-top: 0;
	position: relative;
}

/* PC端Tab Pane - 只在PC端应用display控制和动画 */
@media (min-width: 1200px) {
	.xcd-pdp .tab-content > .tab-pane {
		display: none;
		opacity: 0;
		transform: translateY(8px);
		transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
	}

	.xcd-pdp .tab-content > .tab-pane.active {
		display: block;
		opacity: 1;
		transform: translateY(0);
		animation: fadeInUp 0.3s ease-out;
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Tab Content Inner Styling */
.xcd-pdp .tab-pane .productdetails,
.xcd-pdp .tab-pane .n-responsive-content {
	padding: 0;
}

.xcd-pdp .tab-pane .panel {
	background: transparent;
	border: none;
	box-shadow: none;
	margin-bottom: 0;
}

/* 移动端防止横向溢出 - 不影响图片容器 */
@media (max-width: 1199px) {
	.xcd-pdp {
		overflow-x: hidden;
		width: 100%;
		max-width: 100%;
	}
	
	.xcd-pdp__mobile {
		overflow-x: hidden;
		width: 100%;
		max-width: 100%;
	}
	
	/* 隐藏移动端容器内buybox中的header（标题已在.xcd-pdp__header-mobile显示） */
	.xcd-pdp__buy-mobile-container .xcd-pdp__header {
		display: none !important;
	}
	
	/* ============================================
	   移动端加载优化 - 完整方案（不加白色背景）
	   ============================================ */
	
	/* 第二帧优化：隐藏Slick初始化前的图片堆叠 */
	#product_images_mobile .slider-for:not(.slick-initialized),
	#product_images_mobile .slider-nav:not(.slick-initialized) {
		visibility: hidden;
		max-height: 0;
		overflow: hidden;
		opacity: 0;
	}
	
	/* Slick初始化后淡入显示 */
	#product_images_mobile .slider-for.slick-initialized,
	#product_images_mobile .slider-nav.slick-initialized {
		visibility: visible;
		max-height: none;
		overflow: visible;
		opacity: 1;
		transition: opacity 0.3s ease;
	}
	
	/* 图片容器加载占位 - 浅灰背景 + spinner */
	#product_images_mobile {
		min-height: 350px;
		background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
		border-radius: 12px;
		margin-bottom: 16px;
		position: relative;
		overflow-x: visible;
		overflow-y: visible;
	}
	
	/* 加载动画spinner */
	#product_images_mobile::before {
		content: '';
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 40px;
		height: 40px;
		border: 3px solid rgba(0, 0, 0, 0.1);
		border-top-color: #C01A20;
		border-radius: 50%;
		animation: xcd-spin 0.8s linear infinite;
		z-index: 1;
	}
	
	@keyframes xcd-spin {
		to { transform: translate(-50%, -50%) rotate(360deg); }
	}
	
	/* Slick初始化后移除占位背景和spinner */
	#product_images_mobile:has(.slick-initialized) {
		min-height: auto;
		background: transparent;
	}
	#product_images_mobile:has(.slick-initialized)::before {
		display: none;
	}
	/* 兼容不支持:has()的浏览器 */
	#product_images_mobile.slick-ready {
		min-height: auto;
		background: transparent;
	}
	#product_images_mobile.slick-ready::before {
		display: none;
	}
	
	/* ============================================
	   移动端缩略图优化 - 固定位置不跟随滑动
	   ============================================ */
	#product_images_mobile .slider-nav {
		padding: 8px 0 !important;
		overflow-x: auto;
		overflow-y: visible;
	}
	
	/* 隐藏滚动条 */
	#product_images_mobile .slider-nav::-webkit-scrollbar {
		height: 4px;
	}
	#product_images_mobile .slider-nav::-webkit-scrollbar-track {
		background: transparent;
	}
	#product_images_mobile .slider-nav::-webkit-scrollbar-thumb {
		background: rgba(0, 0, 0, 0.1);
		border-radius: 2px;
	}
	
	#product_images_mobile .slider-nav .slick-list {
		overflow: visible !important;
	}
	
	#product_images_mobile .slider-nav .slick-track {
		transform: none !important;
		width: auto !important;
		display: flex;
		justify-content: center;
		gap: 8px;
	}
	
	#product_images_mobile .slider-nav .slick-slide {
		width: 60px !important;
		height: 60px;
		flex-shrink: 0;
	}
	
	#product_images_mobile .slider-nav .item {
		width: 60px;
		height: 60px;
		border-radius: 6px;
		overflow: hidden;
		border: 2px solid transparent;
		transition: border-color 0.2s ease;
	}
	
	#product_images_mobile .slider-nav .item img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		border-radius: 4px;
	}
	
	#product_images_mobile .slider-nav .item.slick-current,
	#product_images_mobile .slider-nav .slick-current .item {
		border-color: #C01A20 !important;
	}
	
	/* 第四帧优化：buybox容器预留空间 */
	.xcd-pdp__buy-mobile-container {
		min-height: 80px;
		transition: min-height 0.3s ease;
	}
	.xcd-pdp__buy-mobile-container:has(.xcd-buybox),
	.xcd-pdp__buy-mobile-container.buybox-ready {
		min-height: auto;
	}
	
	/* 其他移动端容器防止溢出 */
	.xcd-pdp__header-mobile,
	.xcd-pdp__freebie-mobile,
	.xcd-pdp__buy-mobile,
	.xcd-pdp__accordion-mobile,
	.key-features-mobile {
		overflow-x: hidden;
		max-width: 100%;
	}
	
	/* 确保移动端buying_options区域正常显示 */
	.xcd-pdp__buy-mobile .extra-options,
	.xcd-pdp__buy-mobile .buying-options,
	.xcd-pdp__buy-mobile #shipbox {
		display: block !important;
		visibility: visible !important;
	}
}

/* ============================================
   PC端价格卡片样式 - 极简高级风格（玻璃态）
   统一圆角，优雅边框
   ============================================ */
@media (min-width: 1200px) {
  .xcd-pdp .productpricetext {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.06); /* 优雅的淡灰色边框 */
    border-radius: 16px; /* 统一圆角 */
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 0 0 0.5px rgba(0, 0, 0, 0.02); /* 极细边框阴影 */
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
  }

  /* 极简内部光晕 - 微妙高级感 */
  .xcd-pdp .productpricetext::before {
    content: '';
    position: absolute;
    top: -25%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, 
      rgba(192, 26, 32, 0.03) 0%, 
      transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(30px);
    opacity: 0.6;
  }

  /* 价格项基础样式 */
  .xcd-pdp .productpricetext .item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1;
  }

  .xcd-pdp .productpricetext .item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* 标签样式 */
  .xcd-pdp .productpricetext .item span:first-child {
    font: 400 12px/1.6 "Lato", sans-serif;
    color: rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    flex-shrink: 0;
  }

  /* 价格数字样式 */
  .xcd-pdp .productpricetext .item span:last-child,
  .xcd-pdp .productpricetext .item .price {
    font: 500 16px/1.5 "Lato", sans-serif;
    color: rgba(0, 0, 0, 0.8);
    text-align: right;
    flex-shrink: 0;
  }

  /* 产品价格 - 极简高级风格 */
  .xcd-pdp .productpricetext .item.item-price {
    padding-top: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(192, 26, 32, 0.1);
    margin-bottom: 4px;
    background: rgba(248, 248, 248, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px; /* 统一圆角，比外层小 4px */
    padding-left: 12px;
    padding-right: 12px;
    margin-left: -12px;
    margin-right: -12px;
    box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.8),
      0 0 0 0.5px rgba(0, 0, 0, 0.02);
    border: none;
  }

  .xcd-pdp .productpricetext .item.item-price span:first-child {
    font: 500 13px/1.5 "Lato", sans-serif;
    color: rgba(0, 0, 0, 0.75);
  }

  .xcd-pdp .productpricetext .item.item-price .price,
  .xcd-pdp .productpricetext .item.item-price .price strong {
    font: 600 24px/1.3 "Lato", sans-serif;
    color: rgba(0, 0, 0, 0.85);
    letter-spacing: -0.3px;
  }

  /* RRP 原价 */
  .xcd-pdp .productpricetext .item.item-price-rrp {
    padding: 8px 0;
  }

  .xcd-pdp .productpricetext .item.item-price-rrp .price-old {
    font: 400 13px/1.5 "Lato", sans-serif;
    color: rgba(0, 0, 0, 0.35);
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(0, 0, 0, 0.15);
  }

  /* Options Total */
  .xcd-pdp .productpricetext .item#options-total,
  .xcd-pdp .productpricetext .item#options-total_mobile {
    padding: 8px 0;
  }

  .xcd-pdp .productpricetext .item#options-total b,
  .xcd-pdp .productpricetext .item#options-total_mobile b {
    font: 400 16px/1.5 "Lato", sans-serif;
    color: rgba(0, 0, 0, 0.55);
  }

  /* Grand Total - 极简高级风格 */
  .xcd-pdp .productpricetext .item#grand-total,
  .xcd-pdp .productpricetext .item#grand-total_mobile {
    margin-top: 8px;
    padding: 20px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05); /* 优雅分隔线 */
    border-bottom: none;
    background: linear-gradient(135deg, 
      rgba(192, 26, 32, 0.04) 0%, 
      rgba(192, 26, 32, 0.02) 100%);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-radius: 12px; /* 统一圆角，与 item-price 一致 */
    padding-left: 16px;
    padding-right: 16px;
    margin-left: -16px;
    margin-right: -16px;
    margin-bottom: -8px;
    box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.7),
      0 0 0 0.5px rgba(192, 26, 32, 0.05);
    border: none;
  }

  .xcd-pdp .productpricetext .item#grand-total span:first-child,
  .xcd-pdp .productpricetext .item#grand-total_mobile span:first-child {
    font: 600 13px/1.5 "Lato", sans-serif;
    color: rgba(0, 0, 0, 0.75);
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .xcd-pdp .productpricetext .item#grand-total b,
  .xcd-pdp .productpricetext .item#grand-total_mobile b {
    font: 600 28px/1.2 "Lato", sans-serif;
    color: #C01A20;
    letter-spacing: -0.4px;
    text-shadow: 0 2px 4px rgba(192, 26, 32, 0.12);
  }
}

/* ============================================
 顶部悬浮价格提示面板 - 玻璃态风格
 ============================================ */
.xcd-pdp__sticky-header {
position: fixed;
left: 0;
right: 0;
z-index: 9998; /* 低于 TOP BAR 的 9999 */
transform: translateY(-100%);
opacity: 0;
transition: transform 0.3s ease-out, opacity 0.3s ease-out;
/* top 值通过 JavaScript 动态设置 */
background: rgba(255, 255, 255, 0.98);
backdrop-filter: blur(24px) saturate(180%);
-webkit-backdrop-filter: blur(24px) saturate(180%);
border-bottom: 2px solid rgba(0, 0, 0, 0.12);
box-shadow: 
  0 8px 32px rgba(0, 0, 0, 0.12),
  0 4px 16px rgba(0, 0, 0, 0.08),
  0 2px 8px rgba(0, 0, 0, 0.06),
  inset 0 1px 0 rgba(255, 255, 255, 1);
}

.xcd-pdp__sticky-header.is-visible {
transform: translateY(0);
opacity: 1;
}

.xcd-pdp__sticky-header-inner {
max-width: 1320px;
margin: 0 auto;
padding: 14px 24px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
position: relative;
}

/* 添加顶部高光线条，增强层次感 */
.xcd-pdp__sticky-header-inner::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1px;
background: linear-gradient(90deg, 
  transparent 0%, 
  rgba(255, 255, 255, 0.8) 20%, 
  rgba(255, 255, 255, 0.8) 80%, 
  transparent 100%);
}

.xcd-pdp__sticky-header-left {
display: flex;
align-items: center;
gap: 16px;
flex: 1;
min-width: 0; /* 允许文本截断 */
}

.xcd-pdp__sticky-header-image {
flex-shrink: 0;
width: 60px;
height: 60px;
border-radius: 8px;
overflow: hidden;
background: #ffffff;
border: 2px solid rgba(0, 0, 0, 0.08);
box-shadow: 
  0 2px 8px rgba(0, 0, 0, 0.08),
  inset 0 1px 0 rgba(255, 255, 255, 1);
}

.xcd-pdp__sticky-header-image img {
width: 100%;
height: 100%;
object-fit: cover;
}

.xcd-pdp__sticky-header-info {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 6px;
}

.xcd-pdp__sticky-header-name {
font: 600 15px/1.4 "Lato", sans-serif;
color: rgba(0, 0, 0, 0.9);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
letter-spacing: 0.2px;
}

.xcd-pdp__sticky-header-price-wrapper {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}

.xcd-pdp__sticky-header-save-badge {
display: inline-flex;
align-items: center;
padding: 5px 12px;
border-radius: 6px;
background: linear-gradient(135deg, #C01A20 0%, #A50A0F 100%);
color: #ffffff;
font: 700 11px/1.2 "Lato", sans-serif;
text-transform: uppercase;
letter-spacing: 0.8px;
box-shadow: 
  0 3px 8px rgba(192, 26, 32, 0.3),
  0 1px 3px rgba(0, 0, 0, 0.2),
  inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.xcd-pdp__sticky-header-price {
font: 700 22px/1.2 "Lato", sans-serif;
color: #C01A20;
white-space: nowrap;
text-shadow: 0 1px 2px rgba(192, 26, 32, 0.1);
}

.xcd-pdp__sticky-header-right {
flex-shrink: 0;
display: flex; /* 确保按钮容器使用 flexbox */
align-items: center; /* 垂直居中 */
justify-content: flex-end; /* 右对齐 */
}

/* Sticky Header 按钮 - 统一所有按钮样式，覆盖 h_customer.css 的影响 */
.xcd-pdp__sticky-header-btn {
padding: 10px 24px !important; /* 覆盖 h_customer.css 的 padding: 0 */
font-size: 14px !important; /* 统一字体大小，覆盖 h_customer.css */
font-weight: 700;
text-transform: uppercase;
border-radius: 5px;
white-space: nowrap;
transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease; /* 排除 width/padding 相关的 transition，防止抖动 */
min-width: 140px; /* 统一最小宽度，确保所有按钮大小一致 */
width: 140px; /* 固定宽度，确保所有按钮大小一致 */
height: auto !important; /* 覆盖 h_customer.css 的 height: 50px */
display: flex !important; /* 使用 flexbox 确保内容居中，!important 确保优先级 */
align-items: center;
justify-content: center;
gap: 8px; /* spinner 和文本之间的间距 */
line-height: 1 !important; /* 覆盖 Bootstrap 的 line-height，让 flexbox 完全控制对齐 */
box-sizing: border-box; /* 确保 padding 包含在宽度内 */
}

/* Sticky Header 按钮 - Success (Add to Cart) */
.xcd-pdp__sticky-header-btn.btn-success {
background: linear-gradient(135deg, #C01A20 0%, #A50A0F 100%);
border: 2px solid #C01A20;
color: #ffffff;
box-shadow: 0 6px 20px rgba(192, 26, 32, 0.3);
}

.xcd-pdp__sticky-header-btn.btn-success:hover,
.xcd-pdp__sticky-header-btn.btn-success:focus {
background: linear-gradient(135deg, #A50A0F 0%, #850000 100%);
border-color: #A50A0F;
color: #ffffff;
box-shadow: 0 8px 24px rgba(192, 26, 32, 0.4);
transform: translateY(-1px);
}

.xcd-pdp__sticky-header-btn.btn-success:active {
background: linear-gradient(135deg, #850000 0%, #6B0000 100%);
border-color: #850000;
transform: translateY(0);
box-shadow: 0 4px 12px rgba(192, 26, 32, 0.3);
}

/* Sticky Header 按钮 - Warning (Backorder) */
.xcd-pdp__sticky-header-btn.btn-warning[title="Backorder"] {
background: #000000;
border: 2px solid #000000;
color: #ffffff;
font-weight: 700;
text-transform: uppercase;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.xcd-pdp__sticky-header-btn.btn-warning[title="Backorder"]:hover,
.xcd-pdp__sticky-header-btn.btn-warning[title="Backorder"]:focus {
background: #1a1a1a;
border-color: #1a1a1a;
color: #ffffff;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
transform: translateY(-1px);
}

.xcd-pdp__sticky-header-btn.btn-warning[title="Backorder"]:active {
background: #000000;
border-color: #000000;
transform: translateY(0);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Sticky Header 按钮 - Warning (Pre-Order) */
.xcd-pdp__sticky-header-btn.btn-warning[title="Add to Cart"] {
background: linear-gradient(135deg, #C01A20 0%, #A50A0F 100%);
border: 2px solid #C01A20;
color: #ffffff;
box-shadow: 0 6px 20px rgba(192, 26, 32, 0.3);
}

.xcd-pdp__sticky-header-btn.btn-warning[title="Add to Cart"]:hover,
.xcd-pdp__sticky-header-btn.btn-warning[title="Add to Cart"]:focus {
background: linear-gradient(135deg, #A50A0F 0%, #850000 100%);
border-color: #A50A0F;
color: #ffffff;
box-shadow: 0 8px 24px rgba(192, 26, 32, 0.4);
transform: translateY(-1px);
}

.xcd-pdp__sticky-header-btn.btn-warning[title="Add to Cart"]:active {
background: linear-gradient(135deg, #850000 0%, #6B0000 100%);
border-color: #850000;
transform: translateY(0);
box-shadow: 0 4px 12px rgba(192, 26, 32, 0.3);
}

/* Sticky Header 按钮 - Info (Notify Me) */
.xcd-pdp__sticky-header-btn.btn-info {
background: #ffffff;
border: 2px solid rgba(0, 0, 0, 0.2);
color: rgba(0, 0, 0, 0.8);
}

.xcd-pdp__sticky-header-btn.btn-info:hover,
.xcd-pdp__sticky-header-btn.btn-info:focus {
background: rgba(248, 248, 248, 1);
border-color: rgba(0, 0, 0, 0.3);
color: rgba(0, 0, 0, 1);
}

.xcd-pdp__sticky-header-btn.btn-info:active {
background: rgba(240, 240, 240, 1);
border-color: rgba(0, 0, 0, 0.4);
}

/* Sticky Header 按钮 - 隐藏图标（除了 spinner） */
.xcd-pdp__sticky-header-btn i:not(.fa-spinner):not(.fa-spin),
.xcd-pdp__sticky-header-btn .icon-white:not(.fa-spinner):not(.fa-spin),
.xcd-pdp__sticky-header-btn .fa:not(.fa-spinner):not(.fa-spin) {
display: none !important;
}

/* Sticky Header 按钮 - Loading 状态 */
.xcd-pdp__sticky-header-btn.loading,
.xcd-pdp__sticky-header-btn[disabled] {
opacity: 0.8;
cursor: not-allowed;
pointer-events: none;
}

.xcd-pdp__sticky-header-btn.loading,
.xcd-pdp__sticky-header-btn[disabled] {
width: 140px !important; /* 确保加载时宽度不变 */
height: auto !important; /* 确保高度一致 */
}

/* Sticky Header 按钮 - 对齐优化 */
.xcd-pdp__sticky-header-btn > * {
line-height: 1;
}

.xcd-pdp__sticky-header-btn .fa-spinner,
.xcd-pdp__sticky-header-btn .fa-spin {
margin: 0;
line-height: 1;
vertical-align: baseline;
}

/* Sticky Header 响应式 - 中等屏幕 */
@media (max-width: 1199px) {
.xcd-pdp__sticky-header-inner {
  padding: 12px 20px;
  gap: 16px;
}

.xcd-pdp__sticky-header-image {
  width: 50px;
  height: 50px;
}

.xcd-pdp__sticky-header-name {
  font-size: 14px;
}

.xcd-pdp__sticky-header-price {
  font-size: 20px;
}

.xcd-pdp__sticky-header-btn {
  min-width: 120px;
  width: 120px;
  padding: 10px 20px !important;
  font-size: 13px !important;
}

.xcd-pdp__sticky-header-btn.loading,
.xcd-pdp__sticky-header-btn[disabled] {
  width: 120px !important;
}
}

/* Sticky Header 响应式 - 移动端 */
@media (max-width: 767px) {
.xcd-pdp__sticky-header-inner {
  padding: 10px 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.xcd-pdp__sticky-header-left {
  flex: 1 1 100%;
  min-width: 0;
  margin-bottom: 8px;
}

.xcd-pdp__sticky-header-image {
  width: 45px;
  height: 45px;
}

.xcd-pdp__sticky-header-info {
  flex: 1;
  min-width: 0;
}

.xcd-pdp__sticky-header-name {
  font-size: 13px;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.3;
  max-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.xcd-pdp__sticky-header-price-wrapper {
  margin-top: 4px;
}

.xcd-pdp__sticky-header-price {
  font-size: 18px;
}

.xcd-pdp__sticky-header-save-badge {
  padding: 4px 10px;
  font-size: 10px;
}

.xcd-pdp__sticky-header-right {
  flex: 1 1 100%;
  justify-content: flex-end;
  gap: 8px;
}

.xcd-pdp__sticky-header-btn {
  min-width: 100px;
  width: 100px;
  padding: 8px 16px !important;
  font-size: 12px !important;
}

.xcd-pdp__sticky-header-btn.loading,
.xcd-pdp__sticky-header-btn[disabled] {
  width: 100px !important; /* 确保加载时宽度不变 */
  height: auto !important; /* 确保高度一致 */
}

.xcd-pdp__sticky-header-btn i {
  font-size: 12px;
}

/* 移动端可以隐藏产品名称，只显示价格和按钮 */
.xcd-pdp__sticky-header-name {
  display: none;
}
}

/* ============================================
   PC端价格卡片样式 - 极简高级风格（玻璃态）
   与移动端风格统一，但适配 PC 端尺寸
   ============================================ */
@media (min-width: 1200px) {
  /* PC端价格卡片 - 极简高级风格 */
  .xcd-pdp .productpricetext {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.06); /* 优雅的淡灰色边框 */
    border-radius: 16px; /* 统一圆角 */
    padding: 26px;
    gap: 16px;
    margin-bottom: 26px;
    display: flex;
    flex-direction: column;
    /* 极简内阴影，无外阴影 */
    box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 0 0 0.5px rgba(0, 0, 0, 0.02); /* 极细边框阴影 */
    position: relative;
    overflow: hidden;
  }

  /* 极简内部光晕 - 微妙高级感 */
  .xcd-pdp .productpricetext::before {
    content: '';
    position: absolute;
    top: -25%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, 
      rgba(192, 26, 32, 0.03) 0%, 
      transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(30px);
    opacity: 0.6;
  }

  .xcd-pdp .productpricetext::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, 
      rgba(147, 197, 253, 0.04) 0%, 
      transparent 55%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(25px);
    opacity: 0.5;
  }

  /* 价格项基础样式 */
  .xcd-pdp .productpricetext .item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1;
  }

  .xcd-pdp .productpricetext .item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* 标签样式 */
  .xcd-pdp .productpricetext .item span:first-child {
    font: 400 12px/1.6 "Lato", sans-serif;
    color: rgba(0, 0, 0, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    flex-shrink: 0;
  }

  /* 价格数字样式 */
  .xcd-pdp .productpricetext .item span:last-child,
  .xcd-pdp .productpricetext .item .price {
    font: 500 16px/1.5 "Lato", sans-serif;
    color: rgba(0, 0, 0, 0.8);
    text-align: right;
    flex-shrink: 0;
  }

  /* 产品价格 - 极简高级风格 */
  .xcd-pdp .productpricetext .item.item-price {
    padding-top: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(192, 26, 32, 0.1);
    margin-bottom: 4px;
    background: rgba(248, 248, 248, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px; /* 统一圆角，比外层小 4px */
    padding-left: 12px;
    padding-right: 12px;
    margin-left: -12px;
    margin-right: -12px;
    /* 极简内阴影 */
    box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.8),
      0 0 0 0.5px rgba(0, 0, 0, 0.02);
    border: none;
  }

  .xcd-pdp .productpricetext .item.item-price span:first-child {
    font: 500 13px/1.5 "Lato", sans-serif;
    color: rgba(0, 0, 0, 0.75);
  }

  .xcd-pdp .productpricetext .item.item-price .price,
  .xcd-pdp .productpricetext .item.item-price .price strong {
    font: 600 24px/1.3 "Lato", sans-serif;
    color: rgba(0, 0, 0, 0.85);
    letter-spacing: -0.3px;
  }

  /* RRP 原价 */
  .xcd-pdp .productpricetext .item.item-price-rrp {
    padding: 8px 0;
  }

  .xcd-pdp .productpricetext .item.item-price-rrp .price-old {
    font: 400 13px/1.5 "Lato", sans-serif;
    color: rgba(0, 0, 0, 0.35);
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(0, 0, 0, 0.15);
  }

  /* Options Total */
  .xcd-pdp .productpricetext .item#options-total,
  .xcd-pdp .productpricetext .item#options-total_mobile {
    padding: 8px 0;
  }

  .xcd-pdp .productpricetext .item#options-total b,
  .xcd-pdp .productpricetext .item#options-total_mobile b {
    font: 400 16px/1.5 "Lato", sans-serif;
    color: rgba(0, 0, 0, 0.55);
  }

  /* Grand Total - 极简高级风格 */
  .xcd-pdp .productpricetext .item#grand-total,
  .xcd-pdp .productpricetext .item#grand-total_mobile {
    margin-top: 8px;
    padding: 20px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05); /* 优雅分隔线 */
    border-bottom: none;
    background: linear-gradient(135deg, 
      rgba(192, 26, 32, 0.04) 0%, 
      rgba(192, 26, 32, 0.02) 100%);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-radius: 12px; /* 统一圆角，与 item-price 一致 */
    padding-left: 16px;
    padding-right: 16px;
    margin-left: -16px;
    margin-right: -16px;
    margin-bottom: -8px;
    /* 极简内阴影 */
    box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.7),
      0 0 0 0.5px rgba(192, 26, 32, 0.05);
    border: none;
  }

  .xcd-pdp .productpricetext .item#grand-total span:first-child,
  .xcd-pdp .productpricetext .item#grand-total_mobile span:first-child {
    font: 600 13px/1.5 "Lato", sans-serif;
    color: rgba(0, 0, 0, 0.75);
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .xcd-pdp .productpricetext .item#grand-total b,
  .xcd-pdp .productpricetext .item#grand-total_mobile b {
    font: 600 28px/1.2 "Lato", sans-serif;
    color: #C01A20; /* 使用新的红色 */
    letter-spacing: -0.4px;
    text-shadow: 0 2px 4px rgba(192, 26, 32, 0.12);
  }

  /* ============================================
     PC端计价器样式 - 极简高级风格（玻璃态）
     与移动端风格统一，但适配 PC 端尺寸
     ============================================ */
  /* Shipbox 主容器 - 仅在 PC 端 Sticky 购买框内 */
  .xcd-buybox.xcd-pdp__sticky #shipbox.panel.panel-default,
  .xcd-buybox.xcd-pdp_sticky #shipbox.panel.panel-default {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.06); /* 优雅的淡灰色边框 */
    border-radius: 16px; /* 统一圆角 */
    /* 极简内阴影，无外阴影 */
    box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 0 0 0.5px rgba(0, 0, 0, 0.02); /* 极细边框阴影 */
    overflow: hidden;
    margin-top: 20px;
  }

  /* Panel Heading - 标题区域 */
  .xcd-buybox.xcd-pdp__sticky #shipbox .panel-heading,
  .xcd-buybox.xcd-pdp_sticky #shipbox .panel-heading {
    background: rgba(248, 248, 248, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* 优雅分隔线 */
    border-radius: 16px 16px 0 0; /* 统一圆角 */
    padding: 16px 20px;
    margin: 0;
    /* 极简内阴影 */
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }

  .xcd-buybox.xcd-pdp__sticky #shipbox .panel-heading .panel-title,
  .xcd-buybox.xcd-pdp_sticky #shipbox .panel-heading .panel-title {
    font: 600 15px/1.5 "Lato", sans-serif;
    color: rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
  }

  /* Panel Body - 内容区域 */
  .xcd-buybox.xcd-pdp__sticky #shipbox .panel-body,
  .xcd-buybox.xcd-pdp_sticky #shipbox .panel-body {
    background: transparent;
    padding: 20px;
    border-radius: 0 0 16px 16px; /* 统一圆角 */
  }

  /* 输入框行样式 */
  .xcd-buybox.xcd-pdp__sticky #shipbox .row.btn-stack,
  .xcd-buybox.xcd-pdp_sticky #shipbox .row.btn-stack {
    margin: 0 -5px 15px -5px;
    gap: 8px;
  }

  .xcd-buybox.xcd-pdp__sticky #shipbox .row.btn-stack .col-xs-12.col-md-3,
  .xcd-buybox.xcd-pdp_sticky #shipbox .row.btn-stack .col-xs-12.col-md-3 {
    padding: 0 5px;
  }

  /* 输入框样式 */
  .xcd-buybox.xcd-pdp__sticky #shipbox .form-control,
  .xcd-buybox.xcd-pdp_sticky #shipbox .form-control {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08); /* 优雅边框 */
    border-radius: 10px; /* 统一圆角，比外层小 6px */
    padding: 10px 12px;
    font: 400 14px/1.5 "Lato", sans-serif;
    color: rgba(0, 0, 0, 0.85);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* 极简内阴影 */
    box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.6),
      0 0 0 0.5px rgba(0, 0, 0, 0.02);
  }

  .xcd-buybox.xcd-pdp__sticky #shipbox .form-control:focus,
  .xcd-buybox.xcd-pdp_sticky #shipbox .form-control:focus {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(192, 26, 32, 0.25); /* 优雅的红色边框 */
    box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.8),
      0 0 0 2px rgba(192, 26, 32, 0.08); /* 优雅的 focus ring */
    outline: none;
  }

  /* Calculate 按钮样式 */
  .xcd-buybox.xcd-pdp__sticky #shipbox .btn-primary,
  .xcd-buybox.xcd-pdp_sticky #shipbox .btn-primary {
    background: linear-gradient(135deg, #C01A20 0%, #A50A0F 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    border-radius: 10px; /* 统一圆角，与输入框一致 */
    color: #ffffff;
    font: 600 14px/1.5 "Lato", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* 极简内阴影 */
    box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 0 0 0.5px rgba(0, 0, 0, 0.05);
  }

  .xcd-buybox.xcd-pdp__sticky #shipbox .btn-primary:hover,
  .xcd-buybox.xcd-pdp__sticky #shipbox .btn-primary:focus,
  .xcd-buybox.xcd-pdp_sticky #shipbox .btn-primary:hover,
  .xcd-buybox.xcd-pdp_sticky #shipbox .btn-primary:focus {
    background: linear-gradient(135deg, #A50A0F 0%, #850000 100%);
    box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.25),
      0 0 0 0.5px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
  }

  .xcd-buybox.xcd-pdp__sticky #shipbox .btn-primary:active,
  .xcd-buybox.xcd-pdp_sticky #shipbox .btn-primary:active {
    background: linear-gradient(135deg, #850000 0%, #6B0000 100%);
    transform: translateY(0);
    box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.15),
      0 0 0 0.5px rgba(0, 0, 0, 0.1);
  }

  /* 运费选项列表样式 */
  .xcd-buybox.xcd-pdp__sticky #shipbox .panel-body > hr,
  .xcd-buybox.xcd-pdp_sticky #shipbox .panel-body > hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.05); /* 优雅分隔线 */
    margin: 16px 0;
    height: 0;
  }

  .xcd-buybox.xcd-pdp__sticky #shipbox .panel-body strong,
  .xcd-buybox.xcd-pdp_sticky #shipbox .panel-body strong {
    font: 600 15px/1.6 "Lato", sans-serif;
    color: rgba(0, 0, 0, 0.85);
    display: block;
    margin-bottom: 4px;
  }

  .xcd-buybox.xcd-pdp__sticky #shipbox .panel-body strong[style*="color:red"],
  .xcd-buybox.xcd-pdp_sticky #shipbox .panel-body strong[style*="color:red"] {
    color: #C01A20 !important; /* 使用新的红色 */
  }

  .xcd-buybox.xcd-pdp__sticky #shipbox .panel-body i.text-muted,
  .xcd-buybox.xcd-pdp_sticky #shipbox .panel-body i.text-muted {
    font: 400 13px/1.5 "Lato", sans-serif;
    color: rgba(0, 0, 0, 0.55);
    font-style: italic;
    display: block;
    margin-top: 6px;
    padding-left: 4px;
  }

  .xcd-buybox.xcd-pdp__sticky #shipbox .panel-body block,
  .xcd-buybox.xcd-pdp_sticky #shipbox .panel-body block {
    display: block;
    font: 400 12px/1.5 "Lato", sans-serif;
    color: #C01A20; /* 使用新的红色 */
    margin-top: 4px;
    padding-left: 4px;
  }

  /* 运费选项整体容器 */
  .xcd-buybox.xcd-pdp__sticky #shipbox .panel-body > p,
  .xcd-buybox.xcd-pdp_sticky #shipbox .panel-body > p {
    margin: 0;
    padding: 12px 0;
    transition: background 0.2s ease;
    border-radius: 10px;
  }

  .xcd-buybox.xcd-pdp__sticky #shipbox .panel-body > p:hover,
  .xcd-buybox.xcd-pdp_sticky #shipbox .panel-body > p:hover {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    padding-left: 8px;
    padding-right: 8px;
    margin-left: -8px;
    margin-right: -8px;
  }

  /* Alert 样式 */
  .xcd-buybox.xcd-pdp__sticky #shipbox .alert,
  .xcd-buybox.xcd-pdp_sticky #shipbox .alert {
    background: rgba(242, 222, 222, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(169, 68, 66, 0.2);
    border-radius: 10px; /* 统一圆角 */
    padding: 12px 16px;
    margin: 12px 0;
  }
}

/* ============================================
   移动端 TAB 下拉样式 - 现代化玻璃态卡片风格
   匹配 Sticky Header 和按钮设计语言
   ============================================ */
@media (max-width: 767px) {
  /* 内容区域样式 - 与标题卡片匹配 */
  .xcd-pdp .panel-collapse {
    padding: 0; /* 移除默认 padding，使用内部容器控制 */
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0 0 12px 12px; /* 底部圆角，与标题卡片匹配 */
    /* 移除阴影和 overflow，避免内容被裁掉 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* 确保 Bootstrap collapse 功能正常工作 */
  .xcd-pdp .panel-collapse.collapse {
    display: none; /* Bootstrap 默认：折叠状态隐藏 */
  }

  .xcd-pdp .panel-collapse.collapse.in {
    display: block !important; /* Bootstrap 默认：展开状态显示 */
  }

  /* 确保 tab-pane 在移动端正常显示 */
  .xcd-pdp .tab-content > .tab-pane {
    display: block !important; /* 移动端所有 tab-pane 都显示（通过 collapse 控制内容） */
  }

  /* 内容区域内部容器 */
  .xcd-pdp .panel-collapse .productdetails,
  .xcd-pdp .panel-collapse .n-responsive-content {
    padding: 20px 16px;
  }

  .xcd-pdp .detail-product .tabbable:before {
    display: none;
  }

  /* 移动端 TAB 下拉样式 - 现代化玻璃态卡片风格 */
  .xcd-pdp .title-mobile-tabs {
    display: inline-block;
    width: 100%;
    min-height: 56px; /* 从固定 height 改为 min-height，允许内容自适应 */
    text-align: left;
    font-size: 16px; /* 从 24px 调整为 16px */
    text-transform: uppercase;
    font-weight: 700;
    font-family: "Lato", sans-serif;
    color: rgba(0, 0, 0, 0.9); /* 使用 rgba 提升质感 */
    text-decoration: none;
    line-height: 1.5; /* 从 45px 改为 1.5，更灵活 */
    position: relative;
    padding: 16px 20px; /* 优化内边距 */
    /* 玻璃态背景 */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* 边框 */
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px; /* 从 5px 提升到 12px，匹配 sticky header */
    /* 移除阴影，避免被盒子边距裁掉 */
    box-shadow: none;
    /* 平滑过渡 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 12px; /* TAB 之间的间距 */
    box-sizing: border-box;
  }

  /* 展开状态（默认） */
  .xcd-pdp .title-mobile-tabs:not(.collapsed) {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.12);
    color: rgba(0, 0, 0, 0.9);
  }

  /* 折叠状态 */
  .xcd-pdp .title-mobile-tabs.collapsed {
    background: rgba(248, 248, 248, 0.9);
    border-color: rgba(0, 0, 0, 0.06);
    color: rgba(0, 0, 0, 0.7);
  }

  /* 图标样式 - 优化位置和样式 */
  .xcd-pdp .title-mobile-tabs:before {
    content: "\f077"; /* 向上箭头（展开状态） */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: normal normal normal 18px/1 FontAwesome;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.6);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
  }

  .xcd-pdp .title-mobile-tabs.collapsed:before {
    content: "\f078"; /* 向下箭头（折叠状态） */
    color: rgba(0, 0, 0, 0.5);
  }

  /* 隐藏旧的图标背景图 */
  .xcd-pdp .title-mobile-tabs .icon {
    display: none !important; /* 隐藏旧的背景图标 */
  }

  /* Hover 状态 */
  .xcd-pdp .title-mobile-tabs:hover {
    text-decoration: none;
    background: rgba(255, 255, 255, 1); /* 轻微变亮 */
    border-color: rgba(0, 0, 0, 0.12);
  }

  .xcd-pdp .title-mobile-tabs.collapsed:hover {
    background: rgba(252, 252, 252, 0.95);
    border-color: rgba(0, 0, 0, 0.08);
  }

  /* Active/Focus 状态 */
  .xcd-pdp .title-mobile-tabs:focus,
  .xcd-pdp .title-mobile-tabs:active {
    text-decoration: none;
    outline: none;
    transform: scale(0.98); /* 点击反馈 */
  }

  .xcd-pdp .title-mobile-tabs:focus:not(:active) {
    outline: none;
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 0, 0, 0.15);
  }

  /* TAB 内容容器优化 */
  .xcd-pdp .tab-content {
    padding: 0; /* 移除默认 padding，让每个 tab-pane 自己控制 */
  }

  .xcd-pdp .tab-content > .tab-pane {
    margin-bottom: 0; /* 移除底部 margin，由 .title-mobile-tabs 的 margin-bottom 控制 */
    margin-top: 0; /* 移除顶部 margin */
  }

  /* ============================================
     移动端价格卡片样式 - 极简高级风格
     优雅边框，统一圆角，避免外阴影被裁切
     ============================================ */
  .xcd-pdp .productpricetext {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.06); /* 优雅的淡灰色边框 */
    border-radius: 16px; /* 统一圆角 */
    padding: 20px;
    gap: 16px;
    margin-bottom: 24px;
    /* 极简内阴影，无外阴影 */
    box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 0 0 0.5px rgba(0, 0, 0, 0.02); /* 极细边框阴影 */
    position: relative;
    overflow: hidden;
  }

  /* 极简内部光晕 - 微妙高级感 */
  .xcd-pdp .productpricetext::before {
    content: '';
    position: absolute;
    top: -25%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, 
      rgba(192, 26, 32, 0.03) 0%, 
      transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(30px);
    opacity: 0.6;
  }

  /* 价格项基础样式 */
  .xcd-pdp .productpricetext .item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
  }

  .xcd-pdp .productpricetext .item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* 标签样式 */
  .xcd-pdp .productpricetext .item span:first-child {
    font: 500 12px/1.6 "Lato", sans-serif; /* 更粗的字体 */
    color: rgba(0, 0, 0, 0.7); /* 更深的颜色 */
    text-transform: uppercase;
    letter-spacing: 0.8px;
    flex-shrink: 0;
  }

  /* 价格数字样式 */
  .xcd-pdp .productpricetext .item span:last-child,
  .xcd-pdp .productpricetext .item .price {
    font: 500 16px/1.5 "Lato", sans-serif;
    color: rgba(0, 0, 0, 0.9); /* 更深的颜色 */
    text-align: right;
    flex-shrink: 0;
  }

  /* 产品价格 - 极简高级风格 */
  .xcd-pdp .productpricetext .item.item-price {
    padding: 16px;
    border-bottom: none;
    margin-bottom: 8px;
    background: rgba(248, 248, 248, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px; /* 统一圆角，比外层小 4px */
    padding-left: 16px;
    padding-right: 16px;
    margin-left: -16px;
    margin-right: -16px;
    /* 极简内阴影 */
    box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.8),
      0 0 0 0.5px rgba(0, 0, 0, 0.03);
    border: none;
    position: relative;
  }

  .xcd-pdp .productpricetext .item.item-price span:first-child {
    font: 600 13px/1.5 "Lato", sans-serif; /* 更粗 */
    color: rgba(0, 0, 0, 0.85);
  }

  .xcd-pdp .productpricetext .item.item-price .price,
  .xcd-pdp .productpricetext .item.item-price .price strong {
    font: 700 26px/1.3 "Lato", sans-serif; /* 更大的字体 */
    color: rgba(0, 0, 0, 0.95);
    letter-spacing: -0.3px;
  }

  /* Grand Total - 极简高级风格 */
  .xcd-pdp .productpricetext .item#grand-total,
  .xcd-pdp .productpricetext .item#grand-total_mobile {
    margin-top: 12px;
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05); /* 优雅分隔线 */
    border-bottom: none;
    background: linear-gradient(135deg, 
      rgba(192, 26, 32, 0.04) 0%, 
      rgba(192, 26, 32, 0.02) 100%);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-radius: 12px; /* 统一圆角，与 item-price 一致 */
    padding-left: 20px;
    padding-right: 20px;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: -12px;
    /* 极简内阴影 */
    box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.7),
      0 0 0 0.5px rgba(192, 26, 32, 0.05);
    border: none;
    position: relative;
  }

  .xcd-pdp .productpricetext .item#grand-total span:first-child,
  .xcd-pdp .productpricetext .item#grand-total_mobile span:first-child {
    font: 700 14px/1.5 "Lato", sans-serif; /* 更粗 */
    color: rgba(0, 0, 0, 0.85);
    text-transform: uppercase;
    letter-spacing: 1.2px;
  }

  .xcd-pdp .productpricetext .item#grand-total b,
  .xcd-pdp .productpricetext .item#grand-total_mobile b {
    font: 700 30px/1.2 "Lato", sans-serif; /* 更大的字体 */
    color: #C01A20;
    letter-spacing: -0.4px;
    text-shadow: 0 2px 4px rgba(192, 26, 32, 0.15);
  }

  /* ============================================
     移动端计价器样式 - 极简高级风格
     优雅边框，统一圆角，避免外阴影被裁切
     ============================================ */
  .xcd-pdp__buy-mobile #shipbox.panel.panel-default,
  .xcd-pdp__mobile #shipbox.panel.panel-default {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.06); /* 优雅的淡灰色边框 */
    border-radius: 16px; /* 统一圆角 */
    /* 极简内阴影，无外阴影 */
    box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 0 0 0.5px rgba(0, 0, 0, 0.02); /* 极细边框阴影 */
    overflow: hidden;
    margin-top: 24px;
  }

  /* Panel Heading - 标题区域（极简高级风格） */
  .xcd-pdp__buy-mobile #shipbox .panel-heading,
  .xcd-pdp__mobile #shipbox .panel-heading {
    background: rgba(248, 248, 248, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* 优雅分隔线 */
    border-radius: 16px 16px 0 0; /* 统一圆角 */
    padding: 18px 20px;
    margin: 0;
    /* 极简内阴影 */
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
  }

  .xcd-pdp__buy-mobile #shipbox .panel-heading .panel-title,
  .xcd-pdp__mobile #shipbox .panel-heading .panel-title {
    font: 700 15px/1.5 "Lato", sans-serif; /* 更粗的字体 */
    color: rgba(0, 0, 0, 0.9); /* 更深的颜色 */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
  }

  /* Panel Body - 内容区域 */
  .xcd-pdp__buy-mobile #shipbox .panel-body,
  .xcd-pdp__mobile #shipbox .panel-body {
    background: transparent;
    padding: 20px;
    border-radius: 0 0 16px 16px; /* 统一圆角 */
  }

  /* 输入框行样式 */
  .xcd-pdp__buy-mobile #shipbox .row.btn-stack,
  .xcd-pdp__mobile #shipbox .row.btn-stack {
    margin: 0 -5px 14px -5px;
    gap: 10px;
  }

  .xcd-pdp__buy-mobile #shipbox .row.btn-stack .col-xs-12.col-md-3,
  .xcd-pdp__mobile #shipbox .row.btn-stack .col-xs-12.col-md-3 {
    padding: 0 5px;
    margin-bottom: 10px;
  }

  /* 输入框样式（极简高级风格） */
  .xcd-pdp__buy-mobile #shipbox .form-control,
  .xcd-pdp__mobile #shipbox .form-control {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08); /* 优雅边框 */
    border-radius: 10px; /* 统一圆角，比外层小 6px */
    padding: 12px 14px;
    font: 400 14px/1.5 "Lato", sans-serif;
    color: rgba(0, 0, 0, 0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    /* 极简内阴影 */
    box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.6),
      0 0 0 0.5px rgba(0, 0, 0, 0.02);
  }

  .xcd-pdp__buy-mobile #shipbox .form-control:focus,
  .xcd-pdp__mobile #shipbox .form-control:focus {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(192, 26, 32, 0.25); /* 优雅的红色边框 */
    box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.8),
      0 0 0 2px rgba(192, 26, 32, 0.08); /* 优雅的 focus ring */
    outline: none;
  }

  /* Calculate 按钮样式（极简高级风格） */
  .xcd-pdp__buy-mobile #shipbox .btn-primary,
  .xcd-pdp__mobile #shipbox .btn-primary {
    background: linear-gradient(135deg, #C01A20 0%, #A50A0F 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    border-radius: 10px; /* 统一圆角，与输入框一致 */
    color: #ffffff;
    font: 600 14px/1.5 "Lato", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 12px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* 极简内阴影 */
    box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 0 0 0.5px rgba(0, 0, 0, 0.05);
    width: 100%;
  }

  .xcd-pdp__buy-mobile #shipbox .btn-primary:hover,
  .xcd-pdp__buy-mobile #shipbox .btn-primary:focus,
  .xcd-pdp__mobile #shipbox .btn-primary:hover,
  .xcd-pdp__mobile #shipbox .btn-primary:focus {
    background: linear-gradient(135deg, #A50A0F 0%, #850000 100%);
    box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.25),
      0 0 0 0.5px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
  }

  .xcd-pdp__buy-mobile #shipbox .btn-primary:active,
  .xcd-pdp__mobile #shipbox .btn-primary:active {
    background: linear-gradient(135deg, #850000 0%, #6B0000 100%);
    transform: translateY(0);
    box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.15),
      0 0 0 0.5px rgba(0, 0, 0, 0.1);
  }

  /* 运费选项列表样式（极简分隔线） */
  .xcd-pdp__buy-mobile #shipbox .panel-body > hr,
  .xcd-pdp__mobile #shipbox .panel-body > hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.05); /* 优雅分隔线 */
    margin: 20px 0;
    height: 0;
  }

  .xcd-pdp__buy-mobile #shipbox .panel-body strong,
  .xcd-pdp__mobile #shipbox .panel-body strong {
    font: 700 15px/1.6 "Lato", sans-serif; /* 更粗的字体 */
    color: rgba(0, 0, 0, 0.9);
    display: block;
    margin-bottom: 6px;
  }

  .xcd-pdp__buy-mobile #shipbox .panel-body strong[style*="color:red"],
  .xcd-pdp__mobile #shipbox .panel-body strong[style*="color:red"] {
    color: #C01A20 !important;
  }

  .xcd-pdp__buy-mobile #shipbox .panel-body i.text-muted,
  .xcd-pdp__mobile #shipbox .panel-body i.text-muted {
    font: 400 13px/1.5 "Lato", sans-serif;
    color: rgba(0, 0, 0, 0.6);
    font-style: italic;
    display: block;
    margin-top: 6px;
    padding-left: 4px;
  }

  .xcd-pdp__buy-mobile #shipbox .panel-body block,
  .xcd-pdp__mobile #shipbox .panel-body block {
    display: block;
    font: 400 12px/1.5 "Lato", sans-serif;
    color: #C01A20;
    margin-top: 4px;
    padding-left: 4px;
  }

  /* 运费选项整体容器 */
  .xcd-pdp__buy-mobile #shipbox .panel-body > p,
  .xcd-pdp__mobile #shipbox .panel-body > p {
    margin: 0;
    padding: 14px 0;
    transition: background 0.2s ease;
    border-radius: 10px;
  }

  .xcd-pdp__buy-mobile #shipbox .panel-body > p:hover,
  .xcd-pdp__mobile #shipbox .panel-body > p:hover {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: -10px;
    margin-right: -10px;
  }
}

/* ============================================
   运费/自提 Tab 组件样式
   ============================================ */
.xcd-shipping-tabs {
	margin-top: 24px;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(20px) saturate(180%);
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		0 0 0 0.5px rgba(0, 0, 0, 0.02);
}

/* Tab 导航栏 */
.xcd-shipping-tabs__nav {
	display: flex;
	background: rgba(248, 248, 248, 0.6);
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.xcd-shipping-tabs__btn {
	flex: 1;
	padding: 16px 20px;
	background: transparent;
	border: none;
	border-bottom: 2px solid transparent;
	font: 600 13px/1.5 "Lato", sans-serif;
	color: rgba(0, 0, 0, 0.55);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	cursor: pointer;
	transition: all 0.25s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.xcd-shipping-tabs__btn:first-child {
	border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.xcd-shipping-tabs__btn i {
	font-size: 14px;
	opacity: 0.7;
	transition: opacity 0.25s ease;
}

.xcd-shipping-tabs__btn:hover {
	background: rgba(255, 255, 255, 0.6);
	color: rgba(0, 0, 0, 0.75);
}

.xcd-shipping-tabs__btn:hover i {
	opacity: 0.9;
}

.xcd-shipping-tabs__btn.active {
	background: rgba(255, 255, 255, 0.9);
	color: #C01A20;
	border-bottom-color: #C01A20;
}

.xcd-shipping-tabs__btn.active i {
	opacity: 1;
}

.xcd-shipping-tabs__btn:focus {
	outline: none;
}

/* Tab 内容区域 */
.xcd-shipping-tabs__content {
	padding: 0;
}

.xcd-shipping-tabs__panel {
	display: none;
	padding: 20px;
	animation: xcd-fadeIn 0.3s ease;
}

.xcd-shipping-tabs__panel.active {
	display: block;
}

@keyframes xcd-fadeIn {
	from {
		opacity: 0;
		transform: translateY(4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* 运费计算Tab - 覆盖原有panel样式 */
.xcd-shipping-tabs #shipbox.panel {
	background: transparent;
	border: none;
	box-shadow: none;
	margin: 0;
	border-radius: 0;
}

.xcd-shipping-tabs #shipbox .panel-heading {
	display: none; /* 隐藏原有标题，使用Tab标题 */
}

.xcd-shipping-tabs #shipbox .panel-body {
	padding: 0;
	background: transparent;
}

/* 运费结果列表样式 */
.xcd-shipping-tabs .shipping-results {
	margin-top: 20px;
}

.xcd-shipping-tabs .shipping-results__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.xcd-shipping-tabs .shipping-results__item {
	padding: 16px;
	background: rgba(248, 248, 248, 0.6);
	border-radius: 10px;
	border: 1px solid rgba(0, 0, 0, 0.04);
	transition: all 0.2s ease;
}

.xcd-shipping-tabs .shipping-results__item:hover {
	background: rgba(248, 248, 248, 0.9);
	border-color: rgba(0, 0, 0, 0.08);
}

.xcd-shipping-tabs .shipping-results__item strong {
	font: 600 14px/1.5 "Lato", sans-serif;
	color: rgba(0, 0, 0, 0.85);
}

.xcd-shipping-tabs .shipping-results__item strong[style*="color:red"] {
	color: #C01A20 !important;
}

.xcd-shipping-tabs .shipping-results__item i.text-muted {
	display: block;
	margin-top: 6px;
	font: 400 12px/1.5 "Lato", sans-serif;
	color: rgba(0, 0, 0, 0.5);
	font-style: italic;
}

.xcd-shipping-tabs .shipping-results__item block {
	display: inline-block;
	margin-top: 4px;
	font: 400 12px/1.5 "Lato", sans-serif;
	color: #C01A20;
}

/* 隐藏已移至Pickup Tab的项目 */
.xcd-shipping-tabs .shipping-results__item.is-pickup.moved-to-pickup {
	display: none;
}

/* Pick Up Tab 样式 */
.xcd-shipping-tabs .pickup-info {
	padding: 0;
}

.xcd-shipping-tabs .pickup-info__header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.xcd-shipping-tabs .pickup-info__header i {
	font-size: 18px;
	color: #C01A20;
}

.xcd-shipping-tabs .pickup-info__header span {
	font: 500 14px/1.5 "Lato", sans-serif;
	color: rgba(0, 0, 0, 0.75);
}

.xcd-shipping-tabs .pickup-info__locations {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.xcd-shipping-tabs .pickup-info__placeholder {
	padding: 24px;
	text-align: center;
	background: rgba(248, 248, 248, 0.5);
	border-radius: 10px;
	border: 1px dashed rgba(0, 0, 0, 0.1);
}

.xcd-shipping-tabs .pickup-info__placeholder p {
	margin: 0;
	font: 400 13px/1.6 "Lato", sans-serif;
	color: rgba(0, 0, 0, 0.5);
}

/* Pickup 地点项目样式 - 根据库存状态显示颜色 */
.xcd-shipping-tabs .pickup-info__locations .shipping-results__item {
	background: rgba(248, 248, 248, 0.6);
	border-color: rgba(0, 0, 0, 0.08);
	position: relative;
	padding-left: 20px;
}

.xcd-shipping-tabs .pickup-info__locations .shipping-results__item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	border-radius: 10px 0 0 10px;
	background: #9e9e9e;
}

/* 有货状态 - 绿色 */
.xcd-shipping-tabs .pickup-info__locations .shipping-results__item.pickup-instock {
	background: rgba(232, 245, 233, 0.6);
	border-color: rgba(76, 175, 80, 0.2);
}

.xcd-shipping-tabs .pickup-info__locations .shipping-results__item.pickup-instock::before {
	background: linear-gradient(180deg, #4caf50 0%, #388e3c 100%);
}

.xcd-shipping-tabs .pickup-info__locations .shipping-results__item.pickup-instock:hover {
	background: rgba(232, 245, 233, 0.9);
	border-color: rgba(76, 175, 80, 0.35);
}

/* 缺货状态 - 红色 */
.xcd-shipping-tabs .pickup-info__locations .shipping-results__item.pickup-outstock {
	background: rgba(255, 235, 238, 0.6);
	border-color: rgba(244, 67, 54, 0.2);
}

.xcd-shipping-tabs .pickup-info__locations .shipping-results__item.pickup-outstock::before {
	background: linear-gradient(180deg, #f44336 0%, #d32f2f 100%);
}

.xcd-shipping-tabs .pickup-info__locations .shipping-results__item.pickup-outstock:hover {
	background: rgba(255, 235, 238, 0.9);
	border-color: rgba(244, 67, 54, 0.35);
}

/* Pickup 缺货提示文字 */
.xcd-shipping-tabs .pickup-info__locations .shipping-results__item.pickup-outstock strong {
	color: #c62828 !important;
}

/* Pickup 库存状态标签 */
.xcd-pickup-status {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 4px;
	font: 600 10px/1.4 "Lato", sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-left: 8px;
}

.xcd-pickup-status.in-stock {
	background: rgba(76, 175, 80, 0.15);
	color: #2e7d32;
}

.xcd-pickup-status.out-stock {
	background: rgba(244, 67, 54, 0.15);
	color: #c62828;
}

/* 输入框样式覆盖 */
.xcd-shipping-tabs .form-control {
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	padding: 12px 14px;
	font: 400 14px/1.5 "Lato", sans-serif;
	color: rgba(0, 0, 0, 0.85);
	transition: all 0.2s ease;
	height: auto;
}

.xcd-shipping-tabs .form-control:focus {
	background: #ffffff;
	border-color: rgba(192, 26, 32, 0.4);
	box-shadow: 0 0 0 3px rgba(192, 26, 32, 0.08);
	outline: none;
}

/* 计算按钮样式 */
.xcd-shipping-tabs .btn-primary {
	background: linear-gradient(135deg, #C01A20 0%, #A50A0F 100%);
	border: none;
	border-radius: 10px;
	color: #ffffff;
	font: 600 13px/1.5 "Lato", sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 12px 16px;
	transition: all 0.25s ease;
}

.xcd-shipping-tabs .btn-primary:hover {
	background: linear-gradient(135deg, #A50A0F 0%, #850000 100%);
	transform: translateY(-1px);
}

.xcd-shipping-tabs .btn-primary:active {
	background: linear-gradient(135deg, #850000 0%, #6B0000 100%);
	transform: translateY(0);
}

/* Alert 样式 */
.xcd-shipping-tabs .alert-shipping-error {
	background: rgba(248, 215, 218, 0.8);
	border: 1px solid rgba(220, 53, 69, 0.2);
	border-radius: 10px;
	padding: 14px 16px;
	margin-top: 16px;
	font: 400 13px/1.5 "Lato", sans-serif;
	color: #721c24;
}

/* 移动端适配 - 与PC端一致的横向布局 */
@media (max-width: 767px) {
	/* Shipping Tabs 与下面TAB的间距 */
	.xcd-shipping-tabs {
		margin-bottom: 20px !important;
	}
	
	.xcd-shipping-tabs__btn {
		padding: 12px 10px;
		font-size: 11px;
	}
	
	.xcd-shipping-tabs__btn i {
		font-size: 12px;
	}
	
	.xcd-shipping-tabs__panel {
		padding: 14px;
	}
	
	/* 移除shipbox外框 */
	.xcd-shipping-tabs #shipbox.panel {
		background: transparent !important;
		border: none !important;
		box-shadow: none !important;
		margin: 0 !important;
		padding: 0 !important;
		border-radius: 0 !important;
	}
	
	.xcd-shipping-tabs #shipbox .panel-body {
		padding: 0 !important;
	}
	
	/* 输入区域横向排列 - 与PC一致 */
	.xcd-shipping-tabs .row.btn-stack {
		display: flex !important;
		flex-wrap: nowrap !important;
		gap: 8px !important;
		margin: 0 !important;
	}
	
	.xcd-shipping-tabs .row.btn-stack .col-xs-12,
	.xcd-shipping-tabs .row.btn-stack .col-md-3 {
		flex: 1 !important;
		width: auto !important;
		padding: 0 !important;
		margin: 0 !important;
		float: none !important;
	}
	
	/* 按钮列稍宽一点 */
	.xcd-shipping-tabs .row.btn-stack .col-xs-12:last-child,
	.xcd-shipping-tabs .row.btn-stack .col-md-3:last-child {
		flex: 1.2 !important;
	}
	
	/* 输入框稍大一点 */
	.xcd-shipping-tabs .form-control {
		height: 40px !important;
		padding: 8px 12px !important;
		font-size: 13px !important;
		border-radius: 8px !important;
	}
	
	.xcd-shipping-tabs .btn-primary {
		height: 40px !important;
		padding: 8px 12px !important;
		font-size: 12px !important;
		border-radius: 8px !important;
		white-space: nowrap !important;
	}
	
	/* 覆盖app.css的container padding，让TAB撑满宽度 */
	.xcd-pdp .detail-product .container,
	.xcd-pdp .detail-product .tabbable .container,
	.xcd-pdp__accordion-mobile .container,
	.xcd-pdp .tab-content .container {
		padding-left: 0 !important;
		padding-right: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
	}
	
	/* TAB标题撑满 */
	.xcd-pdp .title-mobile-tabs {
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
	}
}

/* ============================================
   新版价格卡片 - 方案F1: 毛玻璃质感 + 精致阴影
   ============================================ */

/* 价格卡片容器 - 毛玻璃简洁风格 */
.xcd-price-card {
	margin: 20px 0;
	margin-top: 32px; /* 为悬浮标签预留空间 */
	border-radius: 20px;
	overflow: visible; /* 允许标签溢出 */
	background: linear-gradient(145deg, 
		rgba(255, 255, 255, 0.95) 0%, 
		rgba(250, 250, 252, 0.9) 100%);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: none;
	position: relative;
}

/* 有折扣时的卡片样式 - 简洁无阴影 */
.xcd-price-card.has-discount {
	border: 1px solid rgba(220, 100, 50, 0.1);
	box-shadow: none;
}

/* 折扣标题头部 - 悬浮圆角标签 橙红系 */
.xcd-price-card__header {
	position: absolute;
	top: -14px;
	left: 24px;
	background: linear-gradient(145deg, 
		#e85d30 0%, 
		#e6633a 25%,
		#e05a32 50%,
		#d95028 75%,
		#d24a22 100%);
	color: #fff;
	padding: 10px 20px;
	font: 700 11px/1.4 "Lato", sans-serif;
	text-transform: uppercase;
	letter-spacing: 1.8px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: 25px;
	box-shadow: 
		0 3px 10px rgba(220, 80, 40, 0.12),
		0 1px 4px rgba(0, 0, 0, 0.06);
	z-index: 1;
}

.xcd-price-card__header i {
	font-size: 13px;
	color: #fff;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12));
}

.xcd-price-card__header span {
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* 价格卡片主体 */
.xcd-price-card__body {
	padding: 32px 28px 28px 28px;
	background: transparent;
}

/* 有折扣时增加顶部padding */
.xcd-price-card.has-discount .xcd-price-card__body {
	padding-top: 24px;
}

/* 价格行通用样式 */
.xcd-price-card__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
}

.xcd-price-card__label {
	font: 500 12px/1.4 "Lato", sans-serif;
	color: rgba(0, 0, 0, 0.4);
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

.xcd-price-card__value {
	font: 600 17px/1.3 "Lato", sans-serif;
	color: rgba(0, 0, 0, 0.65);
}

/* WAS 划线价格行 */
.xcd-price-card__was {
	border-bottom: none;
	padding: 8px 0;
}

.xcd-price-card__was .xcd-price-card__value {
	color: rgba(0, 0, 0, 0.35);
	text-decoration: line-through;
	text-decoration-thickness: 2px;
	text-decoration-color: rgba(192, 26, 32, 0.35);
	font-size: 16px;
}

/* NOW / GRAND TOTAL 主价格行 */
.xcd-price-card__now {
	padding: 18px 0 10px 0;
	border-top: 1px solid rgba(0, 0, 0, 0.04);
	margin-top: 8px;
}

.xcd-price-card__now .xcd-price-card__label {
	font-weight: 700;
	color: rgba(0, 0, 0, 0.55);
	font-size: 13px;
	letter-spacing: 1.5px;
}

.xcd-price-card__now .xcd-price-card__value,
.xcd-price-card__now .xcd-price-card__value b {
	font: 700 38px/1.2 "Lato", sans-serif;
	color: #4f4f4f;
	letter-spacing: -0.5px;
}

/* 无折扣时的 GRAND TOTAL 样式 */
.xcd-price-card:not(.has-discount) {
	margin-top: 20px; /* 无悬浮标签，恢复正常margin */
}

.xcd-price-card:not(.has-discount) .xcd-price-card__body {
	padding: 32px 28px;
}

.xcd-price-card:not(.has-discount) .xcd-price-card__now {
	padding: 0;
	border-top: none;
	margin-top: 0;
}

.xcd-price-card:not(.has-discount) .xcd-price-card__now .xcd-price-card__label {
	font-size: 13px;
	letter-spacing: 2px;
	color: rgba(0, 0, 0, 0.45);
}

.xcd-price-card:not(.has-discount) .xcd-price-card__now .xcd-price-card__value,
.xcd-price-card:not(.has-discount) .xcd-price-card__now .xcd-price-card__value b {
	color: #C01A20;
	font-size: 40px;
}

/* SAVE 节省金额行 - 半透明红底 */
.xcd-price-card__save {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin: 16px 0 0 0;
	padding: 16px 24px;
	background: linear-gradient(135deg, 
		rgba(192, 26, 32, 0.06) 0%, 
		rgba(192, 26, 32, 0.1) 100%);
	border-radius: 14px;
	border: 1px solid rgba(192, 26, 32, 0.08);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.xcd-price-card__save span {
	font: 600 11px/1.4 "Lato", sans-serif;
	color: rgba(192, 26, 32, 0.7);
	text-transform: uppercase;
	letter-spacing: 2px;
}

.xcd-price-card__save strong {
	font: 700 22px/1.3 "Lato", sans-serif;
	color: #C01A20;
}

/* Options Total - 隐藏但保留计算功能 */
.xcd-price-card__options-total {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ============================================
   价格卡片移动端适配 - 方案F1
   ============================================ */
@media (max-width: 767px) {
	.xcd-price-card {
		margin: 16px 0;
		margin-top: 28px;
		border-radius: 18px;
		/* 移动端关闭扩散光晕，避免被容器裁切 */
		box-shadow: 
			0 4px 12px rgba(0, 0, 0, 0.06),
			0 2px 4px rgba(0, 0, 0, 0.03),
			inset 0 1px 0 rgba(255, 255, 255, 0.9);
	}
	
	.xcd-price-card.has-discount {
		/* 移动端关闭红色光晕 */
		box-shadow: 
			0 4px 12px rgba(0, 0, 0, 0.06),
			0 2px 4px rgba(0, 0, 0, 0.03),
			inset 0 1px 0 rgba(255, 255, 255, 0.9);
		border: 1px solid rgba(192, 26, 32, 0.06);
	}
	
	.xcd-price-card__header {
		top: -12px;
		left: 18px;
		padding: 8px 16px;
		font-size: 10px;
		letter-spacing: 1.5px;
		border-radius: 20px;
		/* 移动端悬浮标签仅保留基础投影 - 橙红系 */
		box-shadow: 
			0 2px 6px rgba(220, 80, 40, 0.1),
			0 1px 3px rgba(0, 0, 0, 0.05);
	}
	
	.xcd-price-card__header i {
		font-size: 11px;
	}
	
	.xcd-price-card__body {
		padding: 26px 20px 22px 20px;
	}
	
	.xcd-price-card.has-discount .xcd-price-card__body {
		padding-top: 20px;
	}
	
	.xcd-price-card__row {
		padding: 10px 0;
	}
	
	.xcd-price-card__label {
		font-size: 11px;
		letter-spacing: 1.2px;
	}
	
	.xcd-price-card__value {
		font-size: 15px;
	}
	
	.xcd-price-card__was .xcd-price-card__value {
		font-size: 14px;
	}
	
	.xcd-price-card__now {
		padding: 14px 0 8px 0;
	}
	
	.xcd-price-card__now .xcd-price-card__label {
		font-size: 11px;
	}
	
	.xcd-price-card__now .xcd-price-card__value,
	.xcd-price-card__now .xcd-price-card__value b {
		font-size: 32px;
	}
	
	.xcd-price-card:not(.has-discount) {
		margin-top: 16px;
	}
	
	.xcd-price-card:not(.has-discount) .xcd-price-card__body {
		padding: 26px 20px;
	}
	
	.xcd-price-card:not(.has-discount) .xcd-price-card__now .xcd-price-card__value,
	.xcd-price-card:not(.has-discount) .xcd-price-card__now .xcd-price-card__value b {
		font-size: 34px;
	}
	
	.xcd-price-card__save {
		padding: 14px 18px;
		margin-top: 12px;
		border-radius: 12px;
		gap: 10px;
	}
	
	.xcd-price-card__save span {
		font-size: 10px;
		letter-spacing: 1.5px;
	}
	
	.xcd-price-card__save strong {
		font-size: 18px;
	}
}
