/* ==========================================================================
   1. 产品列表网格 (Product List Grid)
   ========================================================================== */
.royal-product-list-section {
	background: #F0FFFD;
	overflow: hidden;
	padding: 90px 0 40px;
}

.royal-rec-products-g {
	padding: 30px 0;
	overflow: hidden;
}

.royal-product-list {
	overflow: hidden;
}

.royal-list-product-item {
	padding: 10px;
}

.royal-list-product-img .royal-thumb-wrapper {
	padding-bottom: 100%;
}

/* 产品卡片 */
.royal-list-product-card {
	overflow: hidden;
	border-radius: 5px;
	border: 1px solid #f3f3f3;
	background-color: #fff;
	position: relative;
	box-shadow: 3px 6px 15px rgba(0, 0, 0, 0.02);
	transition: all ease-in-out .5s;
	padding: 20px;
}

.royal-list-product-card:hover {
	transform: translateY(-10px);
	box-shadow: 3px 6px 15px rgba(0, 0, 0, 0.06);
}

/* 产品卡片信息 */
.royal-list-product-info {
	padding: 20px 0 0;
	overflow: hidden;
}

.royal-list-product-info h3 {
	font-size: 16px;
	position: relative;
	height: 48px;
	overflow: hidden;
}

/* ==========================================================================
   2. 商品详情页主区域 (Product Detail Section)
   ========================================================================== */
.royal-product-detail-section {
	overflow: hidden;
	background: #F0FFFD;
	padding: 110px 0 40px;
}

.royal-product-detil-content {
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	overflow: hidden;
	padding: 40px;
}

.royal-product-detail-intro {
	overflow: hidden;
}

.royal-product-detail-info {
	overflow: hidden;
	padding-left: 40px;
}

.royal-product-detail-gallery {
	overflow: hidden;
}

/* 产品标题 */
.royal-product-detail-info-title {
	font-size: 20px;
	text-transform: uppercase;
	color: #73D7DC;
}

/* 产品描述卡片 */
.royal-product-detail-desc {
	padding: 40px;
	background: #fff;
	border-radius: 20px;
	border-left: 4px solid #73D7DC;
	line-height: 1.8;
	font-size: 16px;
	overflow: hidden;
	margin: 20px 0 40px;
}

/* ==========================================================================
   3. 图片放大镜 (Image Zoom / Loupe)
   ========================================================================== */
.royal-zoomdiv {
	z-index: 9;
	position: absolute;
	top: 20px;
	left: 20px;
	width: 200px;
	height: 200px;
	background: #ffffff;
	border: 1px solid #e6e6e6;
	display: none;
	text-align: center;
	overflow: hidden;
	border-radius: 5px;
}

.royal-zoomdiv img {
	max-width: none !important;
}

.royal-zoomMask {
	position: absolute;
	background: url("/uploads/images/mask.png") repeat scroll 0 0 transparent;
	cursor: move;
	z-index: 1;
}

/* ==========================================================================
   4. 主图轮播区域 (Main Gallery Swiper)
   ========================================================================== */
.royal-product-detail-swiper-main {
	width: 100%;
	overflow: hidden;
	position: relative;
	border: 1px solid #e6e6e6;
	background: #fff;
	margin-bottom: 10px;
	border-radius: 10px;
}

/* 图片容器 - 垂直居中显示 */
.royal-product-detail-image-wrapper {
	padding-bottom: 100%;
	border-radius: 10px;
}

/* 主图轮播导航按钮 */
.royal-product-detail-swiper-button-prev,
.royal-product-detail-swiper-button-next {
	width: 40px;
	height: 40px;
}

/* ==========================================================================
   5. 缩略图轮播 (Thumbnail Swiper)
   ========================================================================== */
.royal-product-detail-swiper-thumbs {
	overflow: hidden;
}

.royal-product-detail-thumb-wrapper .royal-thumb-wrapper {
	border: 1px solid #e6e6e6;
	border-radius: 5px;
	cursor: pointer;
	overflow: hidden;
	padding-bottom: 100%;
}

/* 当前激活的缩略图高亮 */
.swiper-slide-active .royal-thumb-wrapper {
	border-color: #73D7DC;
	border-width: 2px;
	overflow: hidden;
}

.royal-product-detail-thumb {
	max-width: 100%;
	max-height: 80px;
	-o-object-fit: contain;
	object-fit: contain;
}

/* ==========================================================================
   6. 详情内容区域 (Detail Content)
   ========================================================================== */
.royal-product-detail-content {
	overflow: hidden;
	margin: 40px 0;
}

.royal-product-detail-content-title {
	padding-bottom: 20px;
	margin-bottom: 40px;
	border-bottom: 1px solid #e6e6e6;
	font-size: 20px;
	font-weight: 900;
	text-transform: uppercase;
	color: #73D7DC;
}

/* 标题下划线装饰 */
.royal-product-detail-content-title span {
	position: relative;
	padding-bottom: 26px;
}

.royal-product-detail-content-title span::after {
	width: 100%;
	height: 5px;
	background: #73D7DC;
	left: 0;
	bottom: 0;
	position: absolute;
	content: '';
	border-radius: 5px;
}

.royal-product-detail-content h3 {
	font-size: 20px;
	margin: 20px 0;
	color: #73D7DC;
}

/* 详情内容文本区域 */
.royal-product-detail-content-info {
	line-height: 1.8;
	overflow-x: auto;
	font-size: 16px;
}

/* 详情表格 */
.royal-product-detail-content-info table {
	width: 100%;
	border-collapse: collapse;
}

.royal-product-detail-content-info table tr {
	border: 1px solid #e6e6e6;
}

.royal-product-detail-content-info table td,
.royal-product-detail-content-info table th {
	padding: 0.5em 1em;
	border: 1px solid #e6e6e6;
}

/* ==========================================================================
   7. 响应式设计 - 移动端 (Responsive - Mobile 992px)
   ========================================================================== */
@media (max-width: 992px) {
	/* 列表页 */
	.royal-product-list-section {
		padding: 20px 0;
	}

	.royal-product-list {
		margin: 0 -10px;
		padding: 10px 0;
	}

	/* 详情页 */
	.royal-product-detail-section {
		padding: 70px 0 20px;
	}

	.royal-product-detil-content {
		border: none;
		padding: 0;
	}

	.royal-product-detail-intro {
		padding: 0;
	}

	.royal-product-detail-info {
		padding: 20px 5px;
	}

	.royal-product-detail-desc {
		margin: 10px 0 20px;
	}

	.royal-product-detail-content {
		margin: 20px 0 0;
	}
}
